/* ================= ELEGANT TOUR DETAIL PAGE ================= */

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #f4ca79;
  margin-bottom: 14px;
  font-weight: 700;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.tour-hero h1 {
  font-family: Georgia, serif;
  font-size: clamp(34px, 5vw, 54px);
  margin: 0 0 12px;
  line-height: 1.1;
}
.tour-hero {
  position: relative;
  min-height: 440px;
  display: flex;
  align-items: flex-end;
  padding: 60px 0;
  color: var(--white);
  background:
    linear-gradient(
      180deg,
      rgba(7, 56, 45, 0.25) 0%,
      rgba(7, 56, 45, 0.92) 100%
    ),
    url("../images/ubud_waterpalace.webp") center/cover no-repeat;
}
.tour-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 13px;
  color: #e8eee9;
  margin-top: 16px;
}

.tour-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid rgba(244, 202, 121, 0.3);
}
.kint_tour-hero {
  position: relative;
  min-height: 440px;
  display: flex;
  align-items: flex-end;
  padding: 60px 0;
  color: var(--white);
  background:
    linear-gradient(
      180deg,
      rgba(7, 56, 45, 0.25) 0%,
      rgba(7, 56, 45, 0.92) 100%
    ),
    url("../images/kintamani1.webp") center/cover no-repeat;
}
.kint_tour-hero h1 {
  font-family: Georgia, serif;
  font-size: clamp(34px, 5vw, 54px);
  margin: 0 0 12px;
  line-height: 1.1;
}
.south_tour-hero {
  position: relative;
  min-height: 440px;
  display: flex;
  align-items: flex-end;
  padding: 60px 0;
  color: var(--white);
  background:
    linear-gradient(
      180deg,
      rgba(7, 56, 45, 0.25) 0%,
      rgba(7, 56, 45, 0.92) 100%
    ),
    url("../images/gwk_yard.webp") center/cover no-repeat;
}
.south_tour-hero h1 {
  font-family: Georgia, serif;
  font-size: clamp(34px, 5vw, 54px);
  margin: 0 0 12px;
  line-height: 1.1;
}
.spa_tour-hero {
  position: relative;
  min-height: 440px;
  display: flex;
  align-items: flex-end;
  padding: 60px 0;
  color: var(--white);
  background:
    linear-gradient(
      180deg,
      rgba(7, 56, 45, 0.25) 0%,
      rgba(7, 56, 45, 0.92) 100%
    ),
    url("../images/healing_spa.webp") center/cover no-repeat;
}
.spa_tour-hero h1 {
  font-family: Georgia, serif;
  font-size: clamp(34px, 5vw, 54px);
  margin: 0 0 12px;
  line-height: 1.1;
}
/* Layout 2 Kolom: Konten Kiri & Kartu Booking Kanan */
.tour-layout {
  display: grid;
  grid-template-columns: 1.65fr 0.95fr;
  gap: 44px;
  align-items: start;
}

.tour-section {
  margin-bottom: 42px;
  padding-bottom: 36px;
  border-bottom: 1px solid #ece6da;
}

.tour-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.tour-section h2 {
  font-size: 28px;
  margin-bottom: 16px;
}

.tour-lead {
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink);
}

/* Galeri Foto Mini */
.tour-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 22px;
}
.anim-slideshow {
  position: relative;
  width: 100%;
  height: 320px;
  overflow: hidden;
  border-radius: 16px;
}

.anim-slideshow img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: fadeSlides 12s infinite;
}

/* Atur jeda tiap gambar (total 12 detik untuk 4 gambar, jeda 3 detik per gambar) */
.anim-slideshow img:nth-child(1) {
  animation-delay: 0s;
}
.anim-slideshow img:nth-child(2) {
  animation-delay: 3s;
}
.anim-slideshow img:nth-child(3) {
  animation-delay: 6s;
}
.anim-slideshow img:nth-child(4) {
  animation-delay: 9s;
}

@keyframes fadeSlides {
  0% {
    opacity: 0;
    transform: scale(1);
  }
  10% {
    opacity: 1;
  }
  30% {
    opacity: 1;
  }
  40% {
    opacity: 0;
    transform: scale(1.04);
  }
  100% {
    opacity: 0;
    transform: scale(1.04);
  }
}

/* Cadangan: kalau animasi dimatikan di HP (Reduce Motion / Remove animations / hemat baterai),
   tampilkan gambar pertama saja supaya slideshow tidak kosong */
@media (prefers-reduced-motion: reduce) {
  .anim-slideshow img {
    animation: none;
  }
  .anim-slideshow img:nth-child(1) {
    opacity: 1;
  }
}
.tour-gallery img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 6px 18px #17382d14;
  transition: transform 0.3s ease;
}

.tour-gallery img:hover {
  transform: scale(1.03);
}

/* Timeline Itinerary Elegan */
.timeline {
  position: relative;
  padding-left: 28px;
  margin-top: 24px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, var(--gold), #e6dcc8);
}

.timeline-item {
  position: relative;
  margin-bottom: 26px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -28px;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--cream);
  box-shadow: 0 0 0 2px var(--gold);
}

.timeline-time {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.timeline-item h3 {
  font-family: Georgia, serif;
  font-size: 19px;
  color: var(--green);
  margin: 0 0 6px;
}

.timeline-item p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}

/* Included & Excluded Box */
.inc-exc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.inc-box {
  background: #f9fbf9;
  border: 1px solid #e1ebe6;
  border-radius: 14px;
  padding: 20px;
}

.inc-box.exc {
  background: #fffaf5;
  border-color: #f0e2d0;
}

.inc-box h3 {
  font-family: Georgia, serif;
  font-size: 17px;
  color: var(--green);
  margin: 0 0 12px;
}

.inc-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.inc-box li {
  font-size: 13.5px;
  color: var(--ink);
  line-height: 1.7;
  padding-left: 22px;
  position: relative;
  margin-bottom: 6px;
}

.inc-box li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #20bf61;
  font-weight: 800;
}

.inc-box.exc li::before {
  content: "✕";
  color: #c95b42;
}

/* Sticky Booking Card (Kanan) */
.booking-card {
  position: sticky;
  top: 105px;
  background: var(--white);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 16px 45px rgba(11, 73, 57, 0.12);
  border: 1px solid #efe7d6;
}

.booking-badge {
  display: inline-block;
  background: var(--cream);
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.price-tag {
  border-bottom: 1px solid #f0ece1;
  padding-bottom: 18px;
  margin-bottom: 20px;
}

.price-tag small {
  display: block;
  font-size: 12px;
  color: var(--muted);
}

.price-tag strong {
  font-family: Georgia, serif;
  font-size: 32px;
  color: var(--green);
}

.price-tag span {
  font-size: 13px;
  color: var(--muted);
}

.booking-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

.booking-features li {
  font-size: 13px;
  color: var(--ink);
  padding: 7px 0;
  border-bottom: 1px dashed #ece6da;
  display: flex;
  justify-content: space-between;
}

.booking-features li b {
  color: var(--green);
}

.booking-card .btn {
  width: 100%;
  padding: 15px 20px;
  font-size: 15px;
  margin-bottom: 10px;
}

.booking-note {
  text-align: center;
  font-size: 11.5px;
  color: var(--muted);
  margin: 8px 0 0;
}

/* Responsive untuk Halaman Detail */
@media (max-width: 950px) {
  .tour-layout {
    grid-template-columns: 1fr;
  }
  .booking-card {
    position: static;
  }
}

@media (max-width: 700px) {
  .tour-hero,
  .kint_tour-hero,
  .south_tour-hero,
  .spa_tour-hero {
    min-height: 360px;
    padding: 45px 0;
    background-size: cover;
    background-position: center center;
  }
  .anim-slideshow {
    height: 240px;
  }
  .tour-gallery {
    grid-template-columns: 1fr;
  }
  .tour-gallery img {
    height: 200px;
  }
  .inc-exc-grid {
    grid-template-columns: 1fr;
  }
}
