/* ===============================================
   PACKAGES PAGE STYLES
   =============================================== */

/* .packages-header {
  background: #f4f1e8;
  padding: 0;
  text-align: left;
  max-width: 100%;
  min-height: 550px;
  display: flex;
  flex-direction: row;
  position: relative;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.packages-header-content {
  flex: 1;
  padding: 60px 70px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(135deg, #f9f7f4 0%, #f4f1e8 100%);
  position: relative;
  z-index: 2;
}

.packages-header-content h2 {
  font-size: 3.5rem;
  font-weight: 700;
  color: #0b5e4f;
  line-height: 1.2;
  margin: 0 0 24px 0;
}

.packages-header-content h2 span {
  color: #0b5e4f;
  font-weight: 700;
  display: block;
}

.packages-header-content p {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
  margin: 0 0 32px 0;
  max-width: 90%;
}

.learn-more-btn {
  display: inline-block;
  padding: 12px 32px;
  border: 2px solid #0b5e4f;
  color: #0b5e4f;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
  width: fit-content;
}

.learn-more-btn:hover {
  background-color: #0b5e4f;
  color: #fff;
} */
html {
  scroll-behavior: smooth !important;
}
.packages-header {
  /* background: #f4f1e8;  */
  background-color: #0b5e4f;
  min-height: 250px;
  display: flex;
  justify-content: center;   /* centers horizontally */
  align-items: center;       /* centers vertically */
  text-align: center;        /* centers text */
  padding: 40px 24px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.packages-header-content {
  max-width: 800px;          /* keeps text nicely contained */
  padding: 20px;
}

.packages-header-content h2 {
  font-size: 4rem;
  font-weight: 700;
  color: #fff !important; 
  margin-bottom: 24px;
  line-height: 1.2;
}
.packages-header-content h2 span {
   color: #fff !important; /* white font for span too */ 
   display: block !important; /* puts "Travel" on its own line */ 
   font-size: 3.5rem !important; /* even bigger for emphasis */ 
   font-weight: 700 !important; /* super bold */ 
   font-style: italic !important; /* adds stylish flair */ 
   /* color: #fff; */
  }

.packages-header-content p {
  /* font-size: 1.1rem; */
  color: #fff !important;
  /* line-height: 1.6;
  margin-bottom: 32px; */
  font-size: 1.4rem !important;   /* larger body text */
  line-height: 2.2rem !important;
  margin-bottom: 2.5rem !important;
}

.learn-more-btn {
  display: inline-block;
  padding: 12px 32px;
  border: 2px solid #fff;
  color: #fff;
  border-radius: 6px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.learn-more-btn:hover {
  background-color: #fff;
  color: #0b5e4f;
}


.social-icons {
  display: flex;
  gap: 20px;
  margin-top: 40px;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: rgba(11, 94, 79, 0.1);
  color: #0b5e4f;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-icons a:hover {
  background-color: #0b5e4f;
  color: #fff;
  transform: translateY(-3px);
}

.social-icons svg {
  width: 20px;
  height: 20px;
}

.packages-header-image {
  flex: 1;
  background: linear-gradient(135deg, #2d7a8d 0%, #1a5a70 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 550px;
  position: relative;
  overflow: hidden;
}

.packages-header-image::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 1;
}

.packages-header-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
  position: relative;
}


.packages-header h2 {
  font-size: 3.5rem;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
  line-height: 1.25;
  max-width: 520px;
  color: #222;
  position: relative;
  z-index: 1;
}

.packages-header h2 span {
  color: #0b5e4f;
  font-style: italic;
  font-weight: 700;
  display: block;
}

.packages-header .subtitle {
  font-size: 0.9rem;
  color: #0b5e4f;
  margin-bottom: 28px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}

.packages-header p {
  font-size: 1rem;
  color: #555;
  letter-spacing: 0.3px;
  max-width: 520px;
  margin: 0 0 40px 0;
  line-height: 1.9;
  font-weight: 400;
  position: relative;
  z-index: 1;
}

.packages-header .btn {
  width: fit-content;
  padding: 14px 40px;
  background: linear-gradient(135deg, #0b5e4f 0%, #094c3e 100%);
  color: #fff;
  border: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  cursor: pointer;
  transition: all 0.4s ease;
  text-decoration: none;
  box-shadow: 0 8px 25px rgba(11, 94, 79, 0.2);
  position: relative;
  z-index: 1;
}

.packages-header .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(11, 94, 79, 0.35);
  background: linear-gradient(135deg, #094c3e 0%, #062e27 100%);
}

/* ===============================================
   PACKAGE CARDS
   =============================================== */

.package-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  text-align: left;
  padding: 0 !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.package-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.card-content {
  padding: 24px;
  background-color: var(--white);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.package-card h3 {
  margin-bottom: 12px;
  color: var(--primary);
  font-size: 1.2rem;
  font-weight: 600;
}

.package-description {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 16px !important;
  text-align: left;
}

.package-details {
  margin-bottom: 16px;
}

.detail-item {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
  align-items: flex-start;
}

.detail-icon {
  font-size: 1.2rem;
  min-width: 24px;
  text-align: center;
}

.detail-item strong {
  display: block;
  font-size: 13px;
  color: var(--primary);
  margin-bottom: 2px;
}

.detail-item p {
  margin: 0 !important;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.4;
}

.price-text {
  font-size: 14px;
  color: #c85a2a;
  font-weight: 600;
  margin: 12px 0 !important;
}

.card-buttons {
  display: flex;
  gap: 12px;
  margin-top: auto;
}

/* ===============================================
   IMAGE CAROUSEL
   =============================================== */

.card-image-wrapper {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  background-color: #e0e0e0;
}

.card-image {
  display: flex;
  gap: 0;
  overflow-x: auto;
  height: 100%;
  scroll-behavior: smooth;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
  scroll-padding: 0;
}

.card-image::-webkit-scrollbar {
  display: none;
}

.card-image img {
  min-width: 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  flex-shrink: 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.scroll-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.7);
  color: #333;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
}

.scroll-btn:hover {
  background-color: rgba(255, 255, 255, 0.9);
  color: var(--primary);
}

.scroll-left {
  left: 10px;
}

.scroll-right {
  right: 10px;
}

/* ===============================================
   LIGHTBOX MODAL
   =============================================== */

.image-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.image-modal img {
  max-width: 90%;
  max-height: 85vh;
  object-fit: contain;
  animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 40px;
  cursor: pointer;
  transition: color 0.3s ease;
}

.modal-close:hover {
  color: #ccc;
}

.modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.3);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 28px;
  font-weight: bold;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-nav:hover {
  background-color: rgba(255, 255, 255, 0.5);
}

.modal-prev {
  left: 20px;
}

.modal-next {
  right: 20px;
}

.gallery-photo {
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.gallery-photo:hover {
  opacity: 0.8;
}

/* ===============================================
   TOUR PACKAGES SECTION
   =============================================== */

.tour-packages {
  text-align: center;
  padding: 48px 24px;
}

.tour-packages h2 {
  font-size: 36px;
  color: #0b5e4f;
  margin-bottom: 12px;
}

.tour-packages .subheading {
  font-size: 18px;
  color: #555;
  margin-bottom: 24px;
}

.tour-packages .loading {
  font-size: 16px;
  color: #888;
  margin-bottom: 32px;
}

.tour-packages .btn.dark {
  background-color: #0b5e4f;
  color: #fff;
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.tour-packages .btn.dark:hover {
  background-color: #094c3e;
}

.cta_all_packages {
  display: flex;
  justify-content: center;
  gap: 16px;
}

/* ===============================================
   RESPONSIVE DESIGN
   =============================================== */

@media (max-width: 768px) {
  .packages-header {
    padding: 40px 24px;
  }

  .packages-header h2 {
    font-size: 2rem;
  }

  .packages-header p {
    font-size: 1rem;
  }

  .card-image-wrapper {
    height: 160px;
  }

  .card-content {
    padding: 16px;
  }

  .scroll-btn {
    width: 35px;
    height: 35px;
    font-size: 16px;
  }

  .card-buttons {
    flex-direction: column;
  }

  .btn-book,
  .btn-call {
    width: 100%;
  }

  .image-modal img {
    max-width: 95%;
    max-height: 75vh;
  }

  .modal-close {
    top: 15px;
    right: 20px;
    font-size: 30px;
  }

  .modal-nav {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }

  .modal-prev {
    left: 10px;
  }

  .modal-next {
    right: 10px;
  }
}
