/* ===== PACKAGE DETAIL PAGE ===== */

/* --- HERO --- */
.pkg-detail-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.pkg-detail-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pkg-detail-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(27, 58, 45, 0.95) 0%,
    rgba(27, 58, 45, 0.6) 40%,
    rgba(27, 58, 45, 0.2) 100%
  );
}

.pkg-detail-hero-content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 0 0 clamp(3rem, 6vw, 5rem) 0;
}
@media (max-width: 1280px) {
  .pkg-detail-hero-content {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}
@media (max-width: 768px) {
  .pkg-detail-hero-content {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

.pkg-detail-badge {
  display: inline-block;
  background: var(--meadow);
  color: var(--forest);
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: 2rem;
  margin-bottom: 1rem;
}

.pkg-detail-title {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 600;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 0.75rem;
}

.pkg-detail-title em {
  font-style: italic;
  color: var(--meadow);
}

.pkg-detail-meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.pkg-detail-meta-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
}

.pkg-detail-meta-item svg {
  opacity: 0.7;
  flex-shrink: 0;
}

.pkg-detail-desc {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  margin-top: 1.25rem;
  max-width: 700px;
}

/* --- TWO-COLUMN LAYOUT --- */
.pkg-detail-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 2.5rem;
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 5rem) 0;
  align-items: start;
}
@media (max-width: 1280px) {
  .pkg-detail-layout {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}
@media (max-width: 1024px) {
  .pkg-detail-layout {
    grid-template-columns: 1fr;
    gap: 0;
  }
}
@media (max-width: 768px) {
  .pkg-detail-layout {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

.pkg-detail-main {
  min-width: 0;
}

/* --- SIDEBAR --- */
.pkg-detail-sidebar {
  position: sticky;
  top: 5.5rem;
}
@media (max-width: 1024px) {
  .pkg-detail-sidebar {
    position: static;
    order: -1;
    margin-bottom: 2.5rem;
  }
}

.sidebar-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid rgba(42, 90, 63, 0.08);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.sidebar-header {
  background: var(--forest);
  padding: 1.5rem 1.5rem 1.25rem;
}

.sidebar-pkg-name {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 0.4rem;
}

.sidebar-pkg-duration {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--moss);
}

.sidebar-body {
  padding: 1.5rem;
}

.sidebar-section-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 0.75rem;
}

.sidebar-destinations {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
}

.sidebar-dest-tag {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--forest);
  background: var(--meadow);
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
}

.sidebar-inclusions {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.sidebar-inclusions li {
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--text);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  line-height: 1.45;
}

.sidebar-inclusions li .si-icon {
  color: #2d8a4e;
  flex-shrink: 0;
  font-weight: 700;
  margin-top: 0.1rem;
}

.sidebar-divider {
  height: 1px;
  background: rgba(42, 90, 63, 0.08);
  margin-bottom: 1.5rem;
}

.sidebar-cta-wa {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.85rem 1.25rem;
  background: #25d366;
  color: var(--white);
  font-family: "Outfit", sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: 3rem;
  text-decoration: none;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
}

.sidebar-cta-wa:hover {
  background: #1fb855;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
}

.sidebar-cta-call {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 100%;
  padding: 0.75rem 1.25rem;
  background: transparent;
  color: var(--text-mid);
  font-family: "Outfit", sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  border-radius: 3rem;
  text-decoration: none;
  transition: all 0.3s;
  border: 1.5px solid var(--sage);
  margin-top: 0.65rem;
}

.sidebar-cta-call:hover {
  color: var(--forest);
  border-color: var(--cedar);
  background: var(--mist);
}

/* --- SECTION COMMON --- */
.pkg-section {
  padding: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 5vw, 4rem);
  max-width: 1280px;
  margin: 0 auto;
}

.pkg-detail-main .pkg-section {
  padding: 0;
  max-width: none;
  margin-bottom: clamp(3rem, 6vw, 4rem);
}

.pkg-detail-main .pkg-section:last-child {
  margin-bottom: 0;
}

.pkg-detail-main .inc-exc-section {
  background: transparent;
}

.pkg-section-title {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 600;
  color: var(--forest);
  margin-bottom: 0.5rem;
}

.pkg-section-subtitle {
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--text-light);
  margin-bottom: 2.5rem;
}

/* --- ITINERARY TIMELINE --- */
.timeline {
  position: relative;
  padding-left: 2.5rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 0.6rem;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 2px;
  background: linear-gradient(to bottom, var(--cedar), var(--sage));
  border-radius: 1px;
}

.timeline-item {
  position: relative;
  padding-bottom: 2.5rem;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -2.5rem;
  top: 0.25rem;
  width: 1.3rem;
  height: 1.3rem;
  background: var(--forest);
  border: 3px solid var(--meadow);
  border-radius: 50%;
  z-index: 1;
}

.timeline-day {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cedar);
  margin-bottom: 0.3rem;
}

.timeline-title {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--forest);
  margin-bottom: 0.5rem;
}

.timeline-text {
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--text);
  line-height: 1.75;
}

.timeline-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.75rem;
}

.timeline-tag {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--pine);
  background: var(--meadow);
  padding: 0.2rem 0.6rem;
  border-radius: 1rem;
}

/* --- INCLUDED / EXCLUDED --- */
.inc-exc-section {
  background: var(--cream);
}

.inc-exc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.inc-exc-col h3 {
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--forest);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.inc-exc-col h3 .icon-included {
  color: #2d8a4e;
}

.inc-exc-col h3 .icon-excluded {
  color: #c0392b;
}

.inc-exc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.inc-exc-list li {
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text);
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  line-height: 1.5;
}

.inc-exc-list li .icon {
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.inc-exc-list li .icon-check {
  color: #2d8a4e;
}

.inc-exc-list li .icon-cross {
  color: #c0392b;
}

/* --- GALLERY --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.gallery-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius);
  transition: transform 0.4s ease;
}

.gallery-grid img:hover {
  transform: scale(1.03);
}

.gallery-grid img:first-child {
  grid-column: span 2;
  height: 300px;
}

/* --- CTA SECTION --- */
.pkg-cta-section {
  background: var(--forest);
  padding: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 5vw, 4rem);
  text-align: center;
}

.pkg-cta-section .pkg-cta-inner {
  max-width: 650px;
  margin: 0 auto;
}

.pkg-cta-section .pkg-cta-heading {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.75rem;
}

.pkg-cta-section .pkg-cta-text {
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.pkg-cta-section .btn-whatsapp-lg {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: #25d366;
  color: #fff;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.9rem 2rem;
  border-radius: 3rem;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.3s ease;
}

.pkg-cta-section .btn-whatsapp-lg:hover {
  background: #1ebe5d;
  transform: translateY(-2px);
}

.pkg-cta-section .btn-call-lg {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.8);
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 400;
  text-decoration: none;
  margin-top: 1.25rem;
  transition: color 0.3s ease;
}

.pkg-cta-section .btn-call-lg:hover {
  color: #fff;
}

/* --- RELATED PACKAGES --- */
.related-section {
  background: var(--cream);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.related-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  color: inherit;
  display: block;
}

.related-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.related-card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.related-card-body {
  padding: 1.25rem;
}

.related-card-badge {
  font-family: var(--sans);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cedar);
  margin-bottom: 0.3rem;
}

.related-card-name {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--forest);
  margin-bottom: 0.25rem;
}

.related-card-duration {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text-light);
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid img:first-child {
    grid-column: span 2;
    height: 260px;
  }

  .gallery-grid img {
    height: 190px;
  }
}

@media (max-width: 768px) {
  .pkg-detail-hero {
    min-height: 55vh;
  }

  .pkg-detail-meta {
    gap: 1rem;
  }

  .inc-exc-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-grid img:first-child {
    grid-column: span 2;
    height: 220px;
  }

  .gallery-grid img {
    height: 160px;
  }

  .related-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .timeline {
    padding-left: 2rem;
  }

  .timeline-dot {
    left: -2rem;
    width: 1.1rem;
    height: 1.1rem;
  }

  .timeline::before {
    left: 0.45rem;
  }
}

@media (max-width: 480px) {
  .pkg-detail-hero {
    min-height: 50vh;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid img:first-child {
    grid-column: span 1;
    height: 200px;
  }

  .gallery-grid img {
    height: 180px;
  }
}
