/* ==========================================================================
   Experience Java Tour - tema Earthy Tone
   Cokelat kayu, olive green, terracotta hangat, dan krem pasir.
   Dibangun di atas Bootstrap 5 (CDN). Hanya berisi lapisan kustom.
   ========================================================================== */

:root {
  /* Warna utama - cokelat kayu */
  --tk-green: #51301F;
  --tk-green-dark: #3E2407;
  --tk-green-light: #F8F3EC;
  /* Aksen - terracotta hangat */
  --tk-orange: #E1937D;
  --tk-orange-dark: #7A3110;
  --tk-orange-light: #FBEDE7;
  /* Aksen kedua - olive green */
  --tk-olive: #8E9867;
  --tk-olive-dark: #283618;
  --tk-olive-light: #EFF1E4;
  /* Netral */
  --tk-cream: #FFF3DB;
  --tk-sand: #F8F3EC;
  --tk-ink: #3E2407;
  --tk-muted: #7A6A57;
  --tk-line: #E8DFD1;
  /* Tinggi area hero. Ubah satu nilai ini untuk membuat hero lebih tinggi/pendek. */
  --tk-hero-height: clamp(420px, 60vh, 700px);
  --tk-radius: 18px;
  --tk-radius-sm: 12px;
  --tk-shadow: 0 10px 30px rgba(62, 36, 7, .10);
  --tk-shadow-lg: 0 22px 50px rgba(62, 36, 7, .16);
  --bs-body-font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

body {
  font-family: var(--bs-body-font-family);
  color: var(--tk-ink);
  background: #fff;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, .display-1, .display-2, .display-3 { font-weight: 800; letter-spacing: -.02em; }
a { text-decoration: none; }
.text-muted-2 { color: var(--tk-muted) !important; }

/* --- Warna utilitas ------------------------------------------------- */
.text-green { color: var(--tk-green) !important; }
.text-orange { color: var(--tk-orange) !important; }
.bg-green { background: var(--tk-green) !important; }
.bg-green-soft { background: var(--tk-green-light) !important; }
.bg-orange { background: var(--tk-orange) !important; }
.bg-orange-soft { background: var(--tk-orange-light) !important; }
.bg-cream { background: #FFF3DB !important; }

.btn-green { background: var(--tk-green); border-color: var(--tk-green); color: #fff; }
.btn-green:hover, .btn-green:focus { background: var(--tk-green-dark); border-color: var(--tk-green-dark); color: #fff; }
.btn-orange { background: var(--tk-orange); border-color: var(--tk-orange); color: #fff; }
.btn-orange:hover, .btn-orange:focus { background: var(--tk-orange-dark); border-color: var(--tk-orange-dark); color: #fff; }
.btn-outline-green { border-color: var(--tk-green); color: var(--tk-green); }
.btn-outline-green:hover { background: var(--tk-green); color: #fff; }
.btn { border-radius: 999px; font-weight: 600; padding: .65rem 1.4rem; }
.btn-lg { padding: .9rem 2rem; font-size: 1.02rem; }
.btn-sm { padding: .4rem 1rem; font-size: .85rem; }

.badge-soft-green { background: var(--tk-green-light); color: var(--tk-green-dark); }
.badge-soft-orange { background: var(--tk-orange-light); color: var(--tk-orange-dark); }
.badge { border-radius: 999px; font-weight: 600; padding: .45em .9em; }

/* --- Navbar --------------------------------------------------------- */
.tk-topbar { background: var(--tk-green-dark); color: #EADFCB; font-size: .85rem; }
.tk-topbar a { color: #EADFCB; }
.tk-topbar a:hover { color: #fff; }

.navbar-tk {
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(62, 36, 7, .07);
  transition: padding .25s ease;
}
.navbar-tk .navbar-brand { font-weight: 800; font-size: 1.3rem; color: var(--tk-green-dark); }
.navbar-tk .navbar-brand span { color: var(--tk-orange); }
.navbar-tk .nav-link { font-weight: 600; color: var(--tk-ink); padding: .6rem 0.9rem !important; border-radius: 999px; }
.navbar-tk .nav-link:hover { color: var(--tk-green); }
.navbar-tk .nav-link.active { color: var(--tk-green-dark); background: var(--tk-green-light); }
.lang-switch a { font-weight: 700; font-size: .8rem; color: var(--tk-muted); padding: .2rem .45rem; border-radius: 6px; }
.lang-switch a.active { background: var(--tk-orange); color: #fff; }

/* --- Hero ----------------------------------------------------------- */
/* Catatan: .tk-hero TIDAK boleh display:flex. Carousel akan menjadi flex item
   tanpa lebar eksplisit, lalu menyusut mengikuti lebar .container di dalamnya
   sehingga gambar hanya menutupi sebagian layar. Biarkan block agar carousel
   otomatis selebar 100%. */
.tk-hero { position: relative; overflow: hidden; }

.tk-hero .carousel,
.tk-hero .carousel-inner { width: 100%; }

/* min-height, bukan height: bila teks judul panjang di layar sempit,
   hero ikut memanjang alih-alih memotong isinya. */
.tk-hero .carousel-item {
  width: 100%;
  min-height: var(--tk-hero-height);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
/* Hero tanpa slider: dipakai bila belum ada slider yang aktif. */
.tk-hero-static {
  position: relative; width: 100%;
  min-height: var(--tk-hero-height);
  background-size: cover; background-position: center center; background-repeat: no-repeat;
}
.tk-hero-static::after,
.tk-hero .carousel-item::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(45, 26, 8, .86) 0%, rgba(45, 26, 8, .55) 45%, rgba(225, 147, 125, .28) 100%);
}

/* Isi hero ditengahkan vertikal tanpa mengubah display carousel-item,
   supaya mekanisme show/hide bawaan Bootstrap tetap utuh. */
.tk-hero-body {
  position: relative; z-index: 3; color: #fff;
  min-height: var(--tk-hero-height);
  display: flex; flex-direction: column; justify-content: center;
  padding: 2.5rem 0;
}
.tk-hero-body h1 { font-size: clamp(2.2rem, 5.2vw, 4rem); line-height: 1.08; text-shadow: 0 2px 24px rgba(0, 0, 0, .3); }
.tk-hero-body p.lead { font-size: clamp(1rem, 1.7vw, 1.22rem); max-width: 620px; color: #FFF3DB; }
.tk-eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .3);
  color: #fff; padding: .45rem 1.1rem; border-radius: 999px;
  font-size: .82rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}

/* --- Kartu ---------------------------------------------------------- */
.tk-card {
  border: 1px solid var(--tk-line); border-radius: var(--tk-radius);
  background: #fff; overflow: hidden; height: 100%;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.tk-card:hover { transform: translateY(-6px); box-shadow: var(--tk-shadow-lg); border-color: transparent; }
.tk-card .tk-thumb { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--tk-green-light); }
.tk-card .tk-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.tk-card:hover .tk-thumb img { transform: scale(1.07); }
.tk-thumb-badge { position: absolute; top: .8rem; left: .8rem; z-index: 2; }
.tk-card-title { font-size: 1.08rem; font-weight: 700; line-height: 1.35; color: var(--tk-ink); }
.tk-card a.stretched-link:hover .tk-card-title { color: var(--tk-green); }

.tk-meta { font-size: .85rem; color: var(--tk-muted); }
.tk-meta i { color: var(--tk-green); }

/* --- Kartu destinasi (overlay) -------------------------------------- */
.tk-dest {
  position: relative; border-radius: var(--tk-radius); overflow: hidden;
  aspect-ratio: 3 / 4; display: block;
}
.tk-dest img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.tk-dest:hover img { transform: scale(1.09); }
.tk-dest::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(45, 26, 8, .9) 8%, rgba(45, 26, 8, .1) 60%);
}
.tk-dest-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 1.2rem; color: #fff; }
.tk-dest-body h5 { margin: 0; font-size: 1.1rem; font-weight: 800; }
.tk-dest-body small { color: #EADFCB; }

/* --- Bagian & judul ------------------------------------------------- */
.tk-section { padding: 5rem 0; }
.tk-section-sm { padding: 3.5rem 0; }
.tk-section-title { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
.tk-title-line { width: 56px; height: 5px; border-radius: 999px; background: var(--tk-orange); }

/* --- Halaman header ------------------------------------------------- */
.tk-pagehead { position: relative; padding: 4.5rem 0 3.5rem; background: var(--tk-green-dark); color: #fff; overflow: hidden; }
.tk-pagehead::before {
  content: ''; position: absolute; inset: 0; opacity: .28;
  background-size: cover; background-position: center; background-image: var(--tk-head-img, none);
}
.tk-pagehead::after {
  content: ''; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px;
  border-radius: 50%; background: rgba(225, 147, 125, .28);
}
.tk-pagehead > .container { position: relative; z-index: 2; }
.tk-pagehead .breadcrumb-item, .tk-pagehead .breadcrumb-item a { color: #EADFCB; }
.tk-pagehead .breadcrumb-item.active { color: #fff; }

/* --- Statistik ------------------------------------------------------ */
.tk-stat { text-align: center; }
.tk-stat .n { font-size: 2.4rem; font-weight: 800; color: var(--tk-green); line-height: 1; }
.tk-stat .l { font-size: .9rem; color: var(--tk-muted); }

/* --- Fitur / kenapa kami -------------------------------------------- */
.tk-feature-icon {
  width: 62px; height: 62px; border-radius: 20px; display: grid; place-items: center;
  font-size: 1.5rem; background: var(--tk-green-light); color: var(--tk-green);
}
.tk-feature:nth-child(even) .tk-feature-icon { background: var(--tk-orange-light); color: var(--tk-orange); }

/* --- Detail paket --------------------------------------------------- */
.tk-gallery-main { border-radius: var(--tk-radius); overflow: hidden; aspect-ratio: 16 / 9; background: var(--tk-green-light); }
.tk-gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.tk-gallery-thumbs img {
  width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--tk-radius-sm);
  cursor: pointer; border: 3px solid transparent; transition: border-color .2s;
}
.tk-gallery-thumbs img:hover, .tk-gallery-thumbs img.active { border-color: var(--tk-orange); }

.tk-day { position: relative; padding-left: 3.4rem; padding-bottom: 1.8rem; }
.tk-day:last-child { padding-bottom: 0; }
.tk-day::before {
  content: attr(data-day); position: absolute; left: 0; top: 0;
  width: 2.4rem; height: 2.4rem; border-radius: 50%;
  background: var(--tk-green); color: #fff; display: grid; place-items: center;
  font-weight: 800; font-size: .85rem;
}
.tk-day::after {
  content: ''; position: absolute; left: 1.18rem; top: 2.6rem; bottom: 0;
  width: 2px; background: var(--tk-line);
}
.tk-day:last-child::after { display: none; }

.tk-fac { list-style: none; padding: 0; margin: 0; }
.tk-fac li { padding: .45rem 0 .45rem 1.9rem; position: relative; border-bottom: 1px dashed var(--tk-line); }
.tk-fac li:last-child { border-bottom: 0; }
.tk-fac.inc li::before { content: '\f26e'; font-family: 'bootstrap-icons'; position: absolute; left: 0; color: var(--tk-green); }
.tk-fac.exc li::before { content: '\f62a'; font-family: 'bootstrap-icons'; position: absolute; left: 0; color: #c94b3f; }

.tk-sticky { position: sticky; top: 100px; }
.tk-price-note {
  border-radius: var(--tk-radius); border: 2px dashed var(--tk-orange);
  background: var(--tk-orange-light); padding: 1.4rem;
}

/* --- Rating --------------------------------------------------------- */
.tk-stars { color: #f6a723; letter-spacing: 1px; }
.tk-rate-input { display: inline-flex; flex-direction: row-reverse; gap: .25rem; }
.tk-rate-input input { position: absolute; opacity: 0; width: 0; height: 0; }
.tk-rate-input label { font-size: 1.7rem; color: #DDD3C4; cursor: pointer; line-height: 1; }
.tk-rate-input input:checked ~ label,
.tk-rate-input label:hover, .tk-rate-input label:hover ~ label { color: #f6a723; }
.tk-rate-input input:focus-visible + label { outline: 2px solid var(--tk-green); border-radius: 4px; }

/* --- Testimoni ------------------------------------------------------ */
.tk-quote {
  background: #fff; border: 1px solid var(--tk-line); border-radius: var(--tk-radius);
  padding: 1.6rem; height: 100%; position: relative;
}
.tk-quote::before {
  content: '\201C'; position: absolute; top: -.3rem; right: 1.2rem;
  font-size: 4.5rem; color: var(--tk-green-light); font-family: Georgia, serif; line-height: 1;
}
.tk-avatar {
  width: 46px; height: 46px; border-radius: 50%; object-fit: cover;
  background: var(--tk-green); color: #fff; display: grid; place-items: center; font-weight: 800;
  flex: 0 0 46px;
}

/* --- Formulir ------------------------------------------------------- */
.form-control, .form-select {
  border-radius: var(--tk-radius-sm); border-color: var(--tk-line);
  padding: .7rem .95rem; font-size: .95rem;
}
.form-control:focus, .form-select:focus {
  border-color: var(--tk-green); box-shadow: 0 0 0 .2rem rgba(81, 48, 31, .14);
}
.form-label { font-weight: 600; font-size: .9rem; margin-bottom: .35rem; }
.tk-captcha-img { border-radius: var(--tk-radius-sm); border: 1px solid var(--tk-line); height: 52px; }
.tk-honey { position: absolute !important; left: -9999px !important; opacity: 0 !important; height: 0 !important; }

.tk-form-card {
  background: #fff; border-radius: var(--tk-radius);
  box-shadow: var(--tk-shadow); padding: 1.8rem; border: 1px solid var(--tk-line);
}

/* --- Pita CTA ------------------------------------------------------- */
.tk-cta-band {
  background: linear-gradient(115deg, var(--tk-green-dark), var(--tk-green) 55%, var(--tk-orange));
  color: #fff; border-radius: 26px; padding: 3rem 2rem; position: relative; overflow: hidden;
}
.tk-cta-band::after {
  content: ''; position: absolute; right: -60px; bottom: -90px;
  width: 260px; height: 260px; border-radius: 50%; background: rgba(255, 255, 255, .12);
}

/* --- Footer --------------------------------------------------------- */
.tk-footer { background: #3E2407; color: #E0D3BE; padding-top: 4rem; }
.tk-footer h6 { color: #fff; font-weight: 700; margin-bottom: 1.1rem; }
.tk-footer a { color: #E0D3BE; }
.tk-footer a:hover { color: var(--tk-orange); }
.tk-footer .tk-social a {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, .09); color: #fff;
}
.tk-footer .tk-social a:hover { background: var(--tk-orange); }
.tk-footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 3rem; padding: 1.2rem 0; font-size: .87rem; }

/* --- Tombol WhatsApp mengambang ------------------------------------- */
.tk-wa {
  position: fixed; right: 20px; bottom: 20px; z-index: 1040;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center;
  font-size: 1.7rem; box-shadow: 0 8px 26px rgba(37, 211, 102, .45);
  transition: transform .2s ease;
}
.tk-wa:hover { transform: scale(1.08); color: #fff; }
.tk-wa::after {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid #25d366; animation: tk-pulse 2s infinite;
}
@keyframes tk-pulse {
  0% { transform: scale(1); opacity: .8; }
  100% { transform: scale(1.6); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .tk-wa::after { animation: none; }
  .tk-card, .tk-card .tk-thumb img, .tk-dest img { transition: none; }
}

/* --- Isi artikel ---------------------------------------------------- */
.tk-prose { font-size: 1.03rem; line-height: 1.85; color: #4A3826; }
.tk-prose h2, .tk-prose h3 { margin-top: 2rem; margin-bottom: .8rem; }
.tk-prose h2 { font-size: 1.5rem; }
.tk-prose h3 { font-size: 1.2rem; }
.tk-prose img { max-width: 100%; height: auto; border-radius: var(--tk-radius-sm); margin: 1.2rem 0; }
.tk-prose blockquote {
  border-left: 4px solid var(--tk-orange); background: var(--tk-orange-light);
  padding: 1rem 1.2rem; border-radius: 0 var(--tk-radius-sm) var(--tk-radius-sm) 0; margin: 1.4rem 0;
}
.tk-prose ul, .tk-prose ol { padding-left: 1.3rem; }
.tk-prose li { margin-bottom: .45rem; }
.tk-prose table { width: 100%; border-collapse: collapse; margin: 1.2rem 0; }
.tk-prose th, .tk-prose td { border: 1px solid var(--tk-line); padding: .6rem .8rem; }

/* --- Accordion ------------------------------------------------------ */
.accordion-item { border: 1px solid var(--tk-line); border-radius: var(--tk-radius-sm) !important; margin-bottom: .8rem; overflow: hidden; }
.accordion-button { font-weight: 700; background: #fff; }
.accordion-button:not(.collapsed) { background: var(--tk-green-light); color: var(--tk-green-dark); box-shadow: none; }
.accordion-button:focus { box-shadow: 0 0 0 .2rem rgba(81, 48, 31, .14); }

/* --- Paginasi ------------------------------------------------------- */
.pagination .page-link { border: 0; color: var(--tk-ink); border-radius: 10px; margin: 0 3px; font-weight: 600; }
.pagination .page-item.active .page-link { background: var(--tk-green); color: #fff; }
.pagination .page-link:hover { background: var(--tk-green-light); color: var(--tk-green-dark); }

/* --- Rasio peta ----------------------------------------------------- */
.tk-map { border-radius: var(--tk-radius); overflow: hidden; }
.tk-map iframe { width: 100%; height: 360px; border: 0; display: block; }
.tk-video { border-radius: var(--tk-radius); overflow: hidden; aspect-ratio: 16 / 9; }
.tk-video iframe { width: 100%; height: 100%; border: 0; }

/* --- Aksesibilitas -------------------------------------------------- */
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 2000;
  background: var(--tk-green); color: #fff; padding: .7rem 1.2rem; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; color: #fff; }
:focus-visible { outline: 3px solid rgba(225, 147, 125, .55); outline-offset: 2px; }

@media (max-width: 991.98px) {
  .tk-section { padding: 3.2rem 0; }
  .tk-hero { --tk-hero-height: clamp(380px, 62vh, 560px); }
  .tk-sticky { position: static; }
  .navbar-tk .nav-link.active { background: transparent; }
}


/* --- Aksen olive green ---------------------------------------------- */
.text-olive { color: var(--tk-olive-dark) !important; }
.bg-olive { background: var(--tk-olive) !important; }
.bg-olive-soft { background: var(--tk-olive-light) !important; }
.badge-soft-olive { background: var(--tk-olive-light); color: var(--tk-olive-dark); }
.btn-olive { background: var(--tk-olive); border-color: var(--tk-olive); color: #fff; }
.btn-olive:hover, .btn-olive:focus { background: var(--tk-olive-dark); border-color: var(--tk-olive-dark); color: #fff; }
.tk-feature:nth-child(3n) .tk-feature-icon { background: var(--tk-olive-light); color: var(--tk-olive-dark); }

/* --- Harga ----------------------------------------------------------- */
.tk-price-tag { display: flex; align-items: baseline; gap: .35rem; flex-wrap: wrap; }
.tk-price-tag .from { font-size: .78rem; color: var(--tk-muted); }
.tk-price-tag .amount { font-size: 1.3rem; font-weight: 800; color: var(--tk-orange-dark); line-height: 1; }
.tk-price-tag .unit { font-size: .8rem; color: var(--tk-muted); }

.tk-calc {
  border-radius: var(--tk-radius); border: 1px solid var(--tk-line);
  background: var(--tk-cream); padding: 1.4rem;
}
.tk-calc-total {
  background: #fff; border-radius: var(--tk-radius-sm);
  padding: 1rem; margin-top: 1rem; border: 1px dashed var(--tk-orange);
}
.tk-calc-total .big { font-size: 1.9rem; font-weight: 800; color: var(--tk-orange-dark); line-height: 1.1; }
.tk-pax-control { display: flex; align-items: center; gap: .5rem; }
.tk-pax-control button {
  width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--tk-line);
  background: #fff; font-size: 1.15rem; font-weight: 700; color: var(--tk-green-dark);
  display: grid; place-items: center; flex: 0 0 42px;
}
.tk-pax-control button:hover:not(:disabled) { background: var(--tk-green); color: #fff; border-color: var(--tk-green); }
.tk-pax-control button:disabled { opacity: .4; cursor: not-allowed; }
.tk-pax-control input {
  text-align: center; font-weight: 700; font-size: 1.05rem;
  border-radius: 12px; border: 1px solid var(--tk-line); height: 42px; width: 100%;
}

.tk-tier { width: 100%; border-collapse: collapse; font-size: .9rem; }
.tk-tier th, .tk-tier td { padding: .6rem .5rem; border-bottom: 1px solid var(--tk-line); }
.tk-tier th { text-align: left; font-weight: 600; color: var(--tk-muted); font-size: .82rem; }
.tk-tier td:last-child { text-align: right; font-weight: 700; color: var(--tk-green-dark); }
.tk-tier tr.active td { background: var(--tk-orange-light); }
.tk-tier tr:last-child th, .tk-tier tr:last-child td { border-bottom: 0; }

/* --- Alur pemesanan --------------------------------------------------- */
.tk-flow { counter-reset: step; }
.tk-flow .s { position: relative; padding-left: 3.2rem; padding-bottom: 1.6rem; }
.tk-flow .s:last-child { padding-bottom: 0; }
.tk-flow .s::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: 0; width: 2.2rem; height: 2.2rem; border-radius: 50%;
  background: var(--tk-olive); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: .85rem;
}
.tk-flow .s::after {
  content: ''; position: absolute; left: 1.07rem; top: 2.4rem; bottom: 0; width: 2px; background: var(--tk-line);
}
.tk-flow .s:last-child::after { display: none; }
