/* Hero Section for Tour Page */
.page-hero {
  background: url('/assets/image/Ram_Mandir\,_Ayodhya-hero.png') no-repeat center center;
  background-size: cover;
  color: rgb(245, 244, 243);
  padding: 100px 5%;
  text-align: center;
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  z-index: 2;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(70, 68, 68, 0.637);
  z-index: 1;
}

.page-hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.page-hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Filters Section */
.filters {
  padding: 60px 0;
  background-color: #f9f9f9;
}

.filters h2 {
  text-align: center;
  margin-bottom: 30px;
  color: #333;
}

.filter-options {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  align-items: end;
}

.filter-group {
  display: flex;
  flex-direction: column;
}

.filter-group label {
  margin-bottom: 8px;
  font-weight: 500;
  color: #333;
}

.filter-group select {
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 16px;
  min-width: 200px;
}

.filter-btn {
  background-color: #ff6600;
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s;
}

.filter-btn:hover {
  background-color: #e55a00;
}

/* Tours Grid */
.tours-grid {
  padding: 80px 0;
}

.tours-grid h2 {
  text-align: center;
  margin-bottom: 50px;
  color: #333;
}

.tours-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.tour-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.tour-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.tour-image {
  height: 200px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.tour-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #ff6600;
  color: white;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.tour-badge.adventure {
  background: #4CAF50;
}

.tour-badge.luxury {
  background: #9C27B0;
}

.tour-badge.culture {
  background: #2196F3;
}

.tour-content {
  padding: 20px;
}

.tour-content h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #333;
}

.tour-details {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 15px;
  font-size: 14px;
  color: #666;
}

.tour-details i {
  margin-right: 5px;
  color: #ff6600;
}

.tour-content p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
}

.tour-price {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.price {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ff6600;
}

.book-btn {
  background-color: #ff6600;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s;
}

.book-btn:hover {
  background-color: #e55a00;
}

/* CTA Section */
.cta-section {
  padding: 80px 0;
  background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('/assets/image/') no-repeat center center;
  background-size: cover;
  color: white;
  text-align: center;
}

.cta-section h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.cta-section p {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 30px;
}

.cta-btn {
  background-color: #ff6600;
  color: white;
  border: none;
  padding: 15px 30px;
  border-radius: 4px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s;
}

.cta-btn:hover {
  background-color: #e55a00;
}

/* Results counter */
.results-info {
  text-align: center;
  margin-bottom: 30px;
  color: #666;
}

/* No results message */
.no-results {
  text-align: center;
  padding: 40px;
  grid-column: 1 / -1;
  color: #666;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-hero h1 {
    font-size: 2.2rem;
  }

  .filter-options {
    flex-direction: column;
    align-items: stretch;
  }

  .tour-price {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
  }

  .cta-section h2 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .page-hero {
    padding: 60px 5%;
  }

  .page-hero h1 {
    font-size: 1.8rem;
  }

  .tours-container {
    grid-template-columns: 1fr;
  }
}

/* Demo pages section styling */
.demo-pages {
  padding: 60px 5%;
  background-color: #f9f9f9;
}

.demo-pages h2 {
  text-align: center;
  margin-bottom: 40px;
  color: #333;
  font-size: 2.2rem;
}

.pages-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 20px;
  margin: 0 auto;
}

.page-card {
  background: white;
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.page-card:hover {
  transform: translateY(-5px);
}

.page-card h3 {
  color: #333;
  margin-bottom: 15px;
  font-size: 1.4rem;
}

.page-card p {
  color: #666;
  margin-bottom: 20px;
  line-height: 1.5;
}

.page-card a {
  color: #ff6600;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
}

.page-card a:hover {
  text-decoration: underline;
}

/* Responsive adjustments for demo pages */
@media (max-width: 1024px) {
  .pages-container {
    gap: 15px;
  }

  .page-card {
    padding: 20px;
  }
}

@media (max-width: 768px) {
  .demo-pages {
    padding: 40px 4%;
  }

  .demo-pages h2 {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }

  .pages-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-card h3 {
    font-size: 1.2rem;
  }
}

@media (max-width: 576px) {
  .demo-pages {
    padding: 30px 3%;
  }

  .demo-pages h2 {
    font-size: 1.6rem;
  }

  .pages-container {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

  .page-card {
    text-align: center;
  }
}

@media (max-width: 400px) {
  .demo-pages h2 {
    font-size: 1.4rem;
  }

  .page-card {
    padding: 15px;
  }

  .page-card h3 {
    font-size: 1.1rem;
  }

  .page-card p {
    font-size: 0.9rem;
  }
}

/* Modal Styles */
    .modal {
      display: none;
      position: fixed;
      top: 20vh;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(240, 234, 234, 0.377);
      z-index: 1000;
      overflow-y: auto;
      opacity: 0;
      transition: opacity 0.3s ease;
    }

    .modal.active {
      display: flex;
      opacity: 1;
    }

    .modal-content {
  background-color: white;
  margin: 20px auto;
  width: 90%;
  max-width: 800px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
  position: relative;
  max-height: 60vh; /* Limit height */
  overflow-y: auto; /* Enable scrolling within modal content */
}

    .modal.active .modal-content {
      transform: translateY(0);
    }

    .modal-header {
      padding: 20px;
      background: linear-gradient(to right, #ff6600, #ff8c00);
      color: white;
      position: sticky;
      top: 0;
    }

    .modal-close {
      position: absolute;
      top: 15px;
      right: 15px;
      background: rgba(255, 255, 255, 0.2);
      width: 30px;
      height: 30px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: background 0.3s;
    }

    .modal-close:hover {
      background: rgba(255, 255, 255, 0.3);
    }

    .modal-body {
      padding: 25px;
      display: flex;
      flex-direction: column;
      gap: 20px;
    }

    .modal-image {
      height: 250px;
      background-size: cover;
      background-position: center;
      border-radius: 8px;
    }

    .modal-details {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 15px;
      margin: 15px 0;
    }

    .detail-item {
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .detail-item i {
      color: #ff6600;
      font-size: 1.2rem;
    }

    .modal-description {
      line-height: 1.6;
      color: #555;
    }

    .modal-features {
      margin: 15px 0;
    }

    .feature-list {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 10px;
      margin-top: 10px;
    }

    .feature-item {
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .feature-item i {
      color: #ff6600;
    }

    .modal-price {
      background-color: #f9f9f9;
      padding: 15px;
      border-radius: 8px;
      text-align: center;
      margin: 15px 0;
    }

    .price-amount {
      font-size: 1.8rem;
      font-weight: bold;
      color: #ff6600;
      margin: 5px 0;
    }

    .modal-actions {
      display: flex;
      gap: 15px;
      justify-content: center;
      margin-top: 20px;
    }

    .btn-book {
      background-color: #ff6600;
      color: white;
      border: none;
      padding: 12px 25px;
      border-radius: 4px;
      font-weight: 600;
      cursor: pointer;
      transition: background-color 0.3s;
    }

    .btn-book:hover {
      background-color: #e55a00;
    }

    .btn-wishlist {
      background-color: transparent;
      color: #ff6600;
      border: 1px solid #ff6600;
      padding: 12px 25px;
      border-radius: 4px;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.3s;
    }

    .btn-wishlist:hover {
      background-color: #fff0e6;
    }

    /* Responsive adjustments */
    @media (max-width: 768px) {
      .modal-details {
        grid-template-columns: 1fr;
      }
      
      .feature-list {
        grid-template-columns: 1fr;
      }
      
      .modal-actions {
        flex-direction: column;
      }
      
      .modal-image {
        height: 200px;
      }
    }

    @media (max-width: 480px) {
      .modal-content {
        width: 95%;
        margin: 20px auto;
      }
      
      .modal-header {
        padding: 15px;
      }
      
      .modal-body {
        padding: 15px;
      }
    }

    /* WhatsApp Notification */
.whatsapp-notification {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #25D366; /* WhatsApp green */
  color: white;
  padding: 12px 20px;
  border-radius: 50px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  z-index: 10000;
  display: none;
  align-items: center;
  gap: 10px;
  animation: slideUp 0.3s ease-out;
}

.whatsapp-notification.active {
  display: flex;
}

.notification-content {
  display: flex;
  align-items: center;
  gap: 8px;
}

.notification-content i {
  font-size: 1.5rem;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translate(-50%, 20px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .whatsapp-notification {
    bottom: 70px; /* Above mobile navigation if exists */
    width: 90%;
    max-width: 300px;
  }
}