/**
 * Kodaikanal Safari Tours - Index Page Styles
 * This file contains styles specific to the index.html page
 */

/* Social Links */
.social-link {
  height: 5px;
}

/* Hero Section */
.hero.hero-static {
  position: relative;
  height: 90vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: -50px;
  left: 0;
  width: 100%;
  height: calc(100% + 100px);
  background-image: url("../images/destinations/green-valley-view.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('data:image/svg+xml,%3Csvg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="%239C92AC" fill-opacity="0.05" fill-rule="evenodd"%3E%3Ccircle cx="3" cy="3" r="3"/%3E%3Ccircle cx="13" cy="13" r="3"/%3E%3C/g%3E%3C/svg%3E');
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 100%);
  z-index: 2;
}

.hero .container {
  position: relative;
  z-index: 3;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  max-width: 100%;
  text-align: center;
}

.hero-text-content {
  max-width: 800px;
  color: #fff;
  text-align: center;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 2.5rem);
  line-height: 1.2;
  margin-bottom: 1rem;
  font-weight: 800;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
  animation: fadeInUp 0.7s ease-out;
}

.hero-title span {
  color: #1d80f2;
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 1.5rem;
  animation: fadeInUp 1.1s ease-out;
}

.hero-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.1);
  padding: 8px 15px;
  border-radius: 50px;
  backdrop-filter: blur(10px);
}

.hero-feature i {
  color: #4CAF50;
  font-size: 1rem;
}

.hero-feature i.fa-users {
  color: #64B5F6;
}

.hero-feature i.fa-shield-alt {
  color: #81C784;
}

.hero-feature span {
  font-weight: 500;
  font-size: 0.9rem;
}

.hero-text {
  font-size: clamp(1rem, 2vw, 1.2rem);
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  opacity: 0.9;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 0.9s ease-out;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  animation: fadeInUp 1.3s ease-out;
}

.hero-actions .btn-secondary {
  display: inline-block;
  background: linear-gradient(135deg, #4CAF50, #2E7D32);
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.hero-actions .btn-outline {
  display: inline-block;
  background: transparent;
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid white;
  transition: all 0.3s ease;
}

.hero-actions .btn i {
  margin-right: 8px;
}

/* Weather Section Styles */
.weather-section {
  padding: 2rem 0;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.weather-bar {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  margin: 2rem auto;
  padding: 2rem;
  max-width: 100%;
  transition: all 0.3s ease;
}

.weather-bar:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(0,0,0,0.12);
}

.weather-bar-grid {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 2rem;
  align-items: center;
}

.weather-main {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.weather-icon-wrap {
  background: rgba(76, 175, 80, 0.1);
  border-radius: 50%;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.weather-icon {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.weather-info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.weather-temp {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2c3e50;
  line-height: 1;
}

.weather-condition {
  font-size: 1.25rem;
  color: #4CAF50;
  margin: 0;
  font-weight: 500;
}

.weather-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding: 0 1rem;
  border-left: 1px solid #e9ecef;
  border-right: 1px solid #e9ecef;
}

.weather-detail {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.weather-detail i {
  font-size: 1.5rem;
  color: #4CAF50;
  width: 24px;
  text-align: center;
}

.weather-detail-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.weather-detail-label {
  font-size: 0.875rem;
  color: #6c757d;
}

.weather-detail-value {
  font-size: 1.125rem;
  font-weight: 600;
  color: #2c3e50;
}

.weather-controls {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-end;
}

.last-updated {
  font-size: 0.875rem;
  color: #6c757d;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-refresh {
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.btn-refresh:hover {
  transform: scale(1.05);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .weather-bar-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .weather-details {
    grid-column: 1 / -1;
    border: none;
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
    padding: 1.5rem 0;
  }
}

@media (max-width: 768px) {
  .weather-bar {
    padding: 1.5rem;
    margin: 1rem 0;
    border-radius: 12px;
  }

  .weather-bar-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .weather-main {
    justify-content: center;
  }

  .weather-details {
    grid-template-columns: 1fr;
    gap: 1rem;
    text-align: center;
  }

  .weather-detail {
    justify-content: center;
  }

  .weather-controls {
    align-items: center;
  }
}

.info-card {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.info-card-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}

.info-card-icon {
  width: 40px;
  height: 40px;
  background: #e8f5e9;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.info-card-icon i {
  color: #2E7D32;
  font-size: 1.2rem;
}

.info-card-title {
  margin: 0;
  font-size: 1.2rem;
  color: #2c3e50;
}

.info-card-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.info-item {
  display: flex;
  gap: 0.8rem;
  padding: 0.8rem;
  background: #f8f9fa;
  border-radius: 8px;
}

.info-item i {
  color: #2E7D32;
  font-size: 1rem;
  margin-top: 0.2rem;
}

.info-item-content h4 {
  font-size: 0.9rem;
  color: #2c3e50;
  margin: 0 0 0.3rem 0;
}

.info-item-content p {
  font-size: 0.8rem;
  color: #666;
  margin: 0;
}

.season-item {
  padding: 0.8rem;
  background: #f8f9fa;
  border-radius: 8px;
}

.season-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.season-header i {
  color: #2E7D32;
}

.season-header h4 {
  margin: 0;
  font-size: 0.9rem;
  color: #2c3e50;
}

.season-content p {
  margin: 0;
  font-size: 0.8rem;
  color: #666;
}

/* About Section */
.about-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, var(--color-light) 0%, #fff 100%);
  overflow: hidden;
}

.about-hero {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem;
}

.about-description {
  font-size: 1.1rem;
  color: var(--color-text-secondary);
  line-height: 1.8;
  margin-top: 1rem;
}

.about-grid {
  display: grid;
  gap: 3rem;
}

.about-section-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.about-section-header i {
  font-size: 1.8rem;
  color: var(--color-primary);
  background: var(--color-light);
  padding: 1rem;
  border-radius: 12px;
}

.about-section-header h3 {
  font-size: 1.5rem;
  color: var(--color-text);
  margin: 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.service-item {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  text-align: center;
}

.service-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.service-item i {
  font-size: 2rem;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.service-item h4 {
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
  color: var(--color-text);
}

.service-item p {
  color: var(--color-text-secondary);
  line-height: 1.6;
  font-size: 0.95rem;
}

@media (max-width: 1200px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 992px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .about-section {
    padding: 4rem 0;
  }

  .about-grid {
    gap: 2rem;
  }
}

@media (max-width: 576px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* Testimonials Section */
.testimonials-section {
  background: linear-gradient(135deg, #ffffff, #f8f9fa);
  padding: 6rem 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  position: relative;
}

.testimonial-quote {
  position: absolute;
  top: -15px;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: #e8f5e9;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-content {
  margin-bottom: 2rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Media Queries */
@media (max-width: 768px) {
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-actions .btn {
    width: 100%;
  }
}

/* Packages Section Styles */
.packages-section {
  padding: 4rem 0;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.package-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.package-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.package-image {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.package-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.package-card:hover .package-image img {
  transform: scale(1.1);
}

.package-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.6));
}

.package-content {
  padding: 2rem;
}

.package-content h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #2c3e50;
}

.package-content p {
  color: #666;
  margin-bottom: 1.5rem;
}

.package-content ul {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
}

.package-content li {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
}

.package-content li i {
  color: #4CAF50;
  margin-right: 10px;
}

.package-content .btn {
  width: 100%;
  text-align: center;
  padding: 1rem;
  border-radius: 50px;
  background: linear-gradient(135deg, #4CAF50, #2E7D32);
  border: none;
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.3s ease;
}

.package-content .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
}

/* Testimonials Section Styles */
.testimonial-card {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.testimonial-quote {
  position: absolute;
  top: -15px;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: #e8f5e9;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-quote i {
  color: #2E7D32;
  font-size: 1.5rem;
}

.testimonial-content {
  margin-bottom: 2rem;
}

.testimonial-content p {
  color: #666;
  line-height: 1.8;
  font-size: 1.1rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.testimonial-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-right: 1rem;
}

.testimonial-author h4 {
  color: #2c3e50;
  margin-bottom: 0.3rem;
}

.testimonial-author p {
  color: #666;
  margin-bottom: 0.5rem;
}

.testimonial-author .rating {
  color: #4CAF50;
}

/* FAQ Section Styles */
.faq-section {
  background: linear-gradient(135deg, #ffffff, #f8f9fa);
  padding: 6rem 0;
}

.faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.faq-grid {
  display: grid;
  gap: 1.5rem;
}

.faq-item {
  background: white;
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.faq-item h3 {
  color: #2c3e50;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.faq-item p {
  color: #666;
  line-height: 1.6;
}

.faq-item ul {
  list-style: none;
  padding-left: 0;
  margin-top: 0.5rem;
}

.faq-item li {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
}

.faq-item li i {
  color: #4CAF50;
  margin-right: 10px;
}

/* Contact Section Styles */
.contact-section {
  background: linear-gradient(135deg, #ffffff, #f8f9fa);
  padding: 6rem 0;
}

.contact-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-form-container {
  background: white;
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.contact-form .form-group {
  margin-bottom: 1.5rem;
}

.contact-form label {
  display: block;
  margin-bottom: 0.5rem;
  color: #2c3e50;
}

.contact-form .form-control {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ddd;
  border-radius: 10px;
}

.contact-form .btn {
  width: 100%;
  padding: 1rem;
  border: none;
  border-radius: 50px;
  background: linear-gradient(135deg, #4CAF50, #2E7D32);
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.contact-info-container {
  background: white;
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.contact-info-header {
  margin-bottom: 2rem;
}

.contact-info-header h3 {
  font-size: 1.5rem;
  color: #2c3e50;
  margin-bottom: 1rem;
}

.contact-info-header p {
  color: #666;
}

.contact-info-items {
  display: grid;
  gap: 1.5rem;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-icon {
  width: 40px;
  height: 40px;
  background: #e8f5e9;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-icon i {
  color: #4CAF50;
}

.contact-text h4 {
  color: #2c3e50;
  margin-bottom: 0.3rem;
}

.contact-text p {
  color: #666;
}

.contact-social {
  margin-top: 2rem;
}

.contact-social h4 {
  color: #2c3e50;
  margin-bottom: 1rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links .social-link {
  width: 40px;
  height: 40px;
  background: #e8f5e9;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4CAF50;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-links .social-link:hover {
  background: #4CAF50;
  color: white;
}

/* Weather Card Styles */
.weather-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.weather-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.season-card {
  transition: transform 0.3s ease;
}

.season-card:hover {
  transform: translateX(10px);
}

.tip-item {
  transition: transform 0.3s ease;
}

.tip-item:hover {
  transform: translateX(10px);
}

/* Weather Loading Animation */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.weather-loading {
  transition: opacity 0.3s ease;
}

.weather-loading.hidden {
  display: none;
  opacity: 0;
}

.weather-data {
  transition: opacity 0.3s ease;
}

.weather-data.hidden {
  display: none;
  opacity: 0;
}

#refresh-weather {
  transition: all 0.3s ease;
}

#refresh-weather:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

#refresh-weather i {
  transition: transform 0.3s ease;
}

#refresh-weather.refreshing i {
  animation: spin 1s linear infinite;
}

/* Section Headers */
.section-header.text-center {
  margin-bottom: 4rem;
}

.section-subtitle {
  display: inline-block;
  background: #e8f5e9;
  color: #2E7D32;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-weight: 500;
  margin-bottom: 1rem;
}

.section-title {
  font-size: 1.8rem;
  color: #2c3e50;
  margin-bottom: 1.5rem;
  font-weight: 800;
}

.section-description {
  font-size: 1.2rem;
  color: #666;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
}

/* Buttons */
.btn-primary {
  width: 100%;
  text-align: center;
  padding: 1rem;
  border-radius: 50px;
  background: linear-gradient(135deg, #4CAF50, #2E7D32);
  border: none;
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
}

/* Media Queries */
@media (max-width: 768px) {
  .section-title {
    font-size: 1.6rem;
  }
  
  .section-description {
    font-size: 1.1rem;
  }
  
  .package-content h3 {
    font-size: 1.3rem;
  }
}

.emergency-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}

.emergency-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem;
  background: #fff;
  border-radius: 12px;
  text-decoration: none;
  color: #2c3e50;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.emergency-tile:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0,0,0,0.1);
  background: var(--color-primary);
  color: white;
}

.emergency-tile i {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.emergency-tile span {
  font-size: 0.9rem;
  font-weight: 500;
}

@media (max-width: 480px) {
  .emergency-tiles {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
  }
  
  .emergency-tile {
    padding: 0.8rem;
  }
  
  .emergency-tile i {
    font-size: 1.2rem;
  }
  
  .emergency-tile span {
    font-size: 0.8rem;
  }
} 