/* ============================================
   WISATAKU – Travel Agent & Open Trip Theme
   By IndoKoding.net
   Bootstrap 5.3 + Custom CSS
   Identitas: deep sea teal + sunset coral di atas
   kanvas sand-cream, tipografi Calistoga + Inter —
   navigasi standar, nuansa visual-heavy (galeri
   destinasi besar) berbeda dari tema lain yang
   lebih form/dashboard-heavy di katalog.
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Calistoga&family=Inter:wght@400;500;600;700;800&display=swap');

/* ── CSS Variables ────────────────────────── */
:root {
  --teal:         #0E4A52;
  --teal-deep:    #0A363C;
  --teal-soft:    #6FA3AA;
  --coral:        #E2703F;
  --coral-deep:   #C25A2E;
  --coral-soft:   #F3B896;
  --gold:         #D9A441;
  --alert:        #B23B3B;

  --text:         #142F32;
  --text-soft:    #5C6E70;
  --sand:         #FFF8F0;
  --surface:      #FDEFE2;
  --card:         #FFFFFF;
  --line:         #F0DFC9;
  --white:        #FFFFFF;

  --font-display: 'Calistoga', ui-serif, Georgia, serif;
  --font-base:    'Inter', -apple-system, 'Segoe UI', sans-serif;

  --radius-sm:    6px;
  --radius:       14px;
  --shadow:       0 16px 36px rgba(10,40,44,.14);
  --shadow-sm:    0 4px 14px rgba(10,40,44,.10);
  --transition:   all .25s ease;
}

/* ── Base ────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-base);
  font-size: 1rem;
  color: var(--text);
  background: var(--sand);
  line-height: 1.7;
  overflow-x: hidden;
}

h1,h2,h3,h4,h5,h6 { font-family: var(--font-display); font-weight: 400; color: var(--teal); line-height: 1.2; }
a { color: var(--coral-deep); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--coral); }
img { max-width: 100%; height: auto; }
.cursor-pointer { cursor: pointer; }

/* ── Section utility ─────────────────────── */
.section-padding { padding: 80px 0; }
.section-padding-sm { padding: 50px 0; }
.section-eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--coral-deep); margin-bottom: .7rem;
}
.section-eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--coral); }
.section-title { font-size: clamp(1.7rem, 2.8vw, 2.4rem); margin-bottom: .5rem; }
.section-title-row { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.2rem; }
.bg-surface { background: var(--surface) !important; }
.bg-teal { background: var(--teal) !important; }
.text-coral { color: var(--coral-deep) !important; }
.text-soft { color: var(--text-soft) !important; }
.lede { max-width: 60ch; color: var(--text-soft); font-size: 1.06rem; }

/* ── Buttons ─────────────────────────────── */
.btn { font-weight: 600; border-radius: var(--radius-sm); padding: .68rem 1.4rem; }
.btn-coral { background: var(--coral); border-color: var(--coral); color: #fff; }
.btn-coral:hover { background: var(--coral-deep); border-color: var(--coral-deep); color: #fff; }
.btn-outline-teal { border-color: var(--teal); color: var(--teal); }
.btn-outline-teal:hover { background: var(--teal); color: #fff; }
.btn-outline-light2 { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-outline-light2:hover { background: rgba(255,255,255,.14); color: #fff; border-color: #fff; }

/* ── Top utility bar ─────────────────────── */
.topbar { background: var(--teal-deep); color: #D8E7E6; font-size: .78rem; padding: 8px 0; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.topbar a { color: #D8E7E6; opacity: .92; }
.topbar a:hover { opacity: 1; color: var(--coral-soft); }
.topbar .sep { opacity: .3; }
@media (max-width: 576px) { .topbar .hide-xs { display: none; } }

/* ── Main navbar ─────────────────────────── */
.navbar-custom { background: var(--sand); border-bottom: 1px solid var(--line); padding: 16px 0; transition: var(--transition); }
.navbar-custom.scrolled { box-shadow: var(--shadow-sm); padding: 11px 0; }
.navbar-custom .navbar-brand { display: flex; align-items: center; gap: 11px; }
.brand-mark { width: 36px; height: 36px; border-radius: 10px; background: var(--teal); color: var(--coral-soft); flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; }
.brand-name { font-family: var(--font-display); font-weight: 400; font-size: 1.2rem; color: var(--teal); line-height: 1.15; display: block; }
.brand-sub { font-size: .68rem; color: var(--text-soft); letter-spacing: .03em; line-height: 1.2; display: block; margin-top: 1px; }
.navbar-custom .nav-link { color: var(--text-soft); font-weight: 500; padding: .5rem 1rem !important; }
.navbar-custom .nav-link.active, .navbar-custom .nav-link:hover { color: var(--coral-deep); }
.navbar-toggler { border: none; box-shadow: none !important; }

/* ── Hero ────────────────────────────────── */
.hero-section { padding: 0; position: relative; }
.hero-media-full { position: relative; height: 560px; overflow: hidden; }
.hero-media-full img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-media-full::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,40,44,.55) 0%, rgba(10,40,44,.25) 40%, rgba(10,40,44,.65) 100%); }
.hero-content { position: absolute; inset: 0; display: flex; align-items: center; z-index: 2; }
.hero-title { color: #fff; font-size: clamp(2.3rem, 3.6vw + 1rem, 3.8rem); line-height: 1.08; margin: 14px 0 16px; }
.hero-lede { max-width: 50ch; color: #EAF2F1; font-size: 1.1rem; }
.hero-section .section-eyebrow { color: var(--coral-soft); }
.hero-section .section-eyebrow::before { background: var(--coral-soft); }
.hero-stats { display: flex; gap: 34px; margin-top: 30px; flex-wrap: wrap; }
.hero-stats .n { font-family: var(--font-display); font-size: 1.7rem; font-weight: 400; color: #fff; }
.hero-stats .l { font-size: .78rem; color: #CFE0DE; }

.search-bar-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; margin-top: -46px; position: relative; z-index: 3; }

/* ── Page head (inner pages) ─────────────── */
.page-head { background: var(--teal); padding: 46px 0; }
.page-head h1 { color: #fff; font-size: clamp(1.8rem, 3vw, 2.5rem); margin: 0; }
.page-head p { color: #BEDAD8; margin: 8px 0 0; max-width: 60ch; }

/* ── Stat row ────────────────────────────── */
.stat-cluster { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
@media (max-width: 760px) { .stat-cluster { grid-template-columns: repeat(2,1fr); } }
.stat-tile { background: var(--card); padding: 24px 18px; display: flex; flex-direction: column; gap: 6px; }
.stat-tile .n { font-family: var(--font-display); font-size: 1.85rem; font-weight: 400; color: var(--coral-deep); }
.stat-tile .l { font-size: .8rem; color: var(--text-soft); }

/* ── Pull quote ──────────────────────────── */
.pull { border-left: 3px solid var(--coral); padding-left: 18px; font-family: var(--font-display); font-size: 1.3rem; color: var(--teal); margin: 18px 0; }

/* ── Destination cards ───────────────────── */
.dest-card { position: relative; border-radius: var(--radius); overflow: hidden; display: block; height: 100%; }
.dest-card img { width: 100%; height: 280px; object-fit: cover; display: block; transition: var(--transition); }
.dest-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(10,40,44,.82) 100%); }
.dest-card:hover img { transform: scale(1.06); }
.dest-card .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 20px; z-index: 2; color: #fff; }
.dest-card .cap .cat { font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--coral-soft); }
.dest-card .cap h3 { color: #fff; font-size: 1.2rem; margin: 4px 0 2px; }
.dest-card .cap .meta { font-size: .78rem; color: #D8E7E6; }

.doctor-filter-bar, .filter-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 2rem; }
.filter-pill { border: 1px solid var(--line); background: var(--card); color: var(--text-soft); border-radius: 999px; padding: 7px 16px; font-size: .85rem; cursor: pointer; }
.filter-pill.active, .filter-pill:hover { background: var(--teal); border-color: var(--teal); color: #fff; }

/* ── Package cards ───────────────────────── */
.package-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; height: 100%; transition: var(--transition); display: flex; flex-direction: column; }
.package-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.package-card .thumb-wrap { position: relative; }
.package-card .thumb { width: 100%; height: 200px; object-fit: cover; display: block; }
.package-card .duration-chip { position: absolute; top: 12px; left: 12px; background: rgba(10,40,44,.85); color: #fff; border-radius: 999px; padding: .3rem .7rem; font-size: .72rem; font-weight: 600; display: flex; align-items: center; gap: .35rem; }
.package-card .body { padding: 20px; display: flex; flex-direction: column; flex-grow: 1; }
.package-card .cat { font-size: .68rem; font-weight: 700; color: var(--coral-deep); letter-spacing: .05em; text-transform: uppercase; }
.package-card h3 { font-size: 1.12rem; margin: 6px 0 8px; color: var(--teal); }
.package-card p { color: var(--text-soft); font-size: .88rem; margin-bottom: 14px; flex-grow: 1; }
.package-card .price-row { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); padding-top: 14px; }
.package-card .price-row .price { font-family: var(--font-display); font-weight: 400; color: var(--teal); font-size: 1.15rem; }
.package-card .price-row .price small { font-family: var(--font-base); font-size: .72rem; color: var(--text-soft); font-weight: 500; }
.rating-chip { display: inline-flex; align-items: center; gap: .3rem; font-size: .78rem; font-weight: 600; color: var(--gold); }

/* ── Itinerary timeline ──────────────────── */
.itinerary-timeline { position: relative; padding-left: 40px; }
.itinerary-timeline::before { content: ""; position: absolute; left: 15px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.itinerary-day { position: relative; padding-bottom: 30px; }
.itinerary-day:last-child { padding-bottom: 0; }
.itinerary-day .dot { position: absolute; left: -40px; top: 2px; width: 32px; height: 32px; border-radius: 50%; background: var(--coral); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: .95rem; font-weight: 400; }
.itinerary-day .card-body { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.itinerary-day h4 { font-size: 1.02rem; margin-bottom: 6px; }
.itinerary-day p { color: var(--text-soft); font-size: .89rem; margin-bottom: 8px; }
.itinerary-day .tags { display: flex; gap: 6px; flex-wrap: wrap; }
.itinerary-day .tags span { font-size: .72rem; background: var(--surface); color: var(--text-soft); padding: 3px 10px; border-radius: 999px; }

.included-list { list-style: none; padding: 0; margin: 0; }
.included-list li { display: flex; align-items: flex-start; gap: 10px; padding: 8px 0; font-size: .9rem; }
.included-list.yes li i { color: var(--teal); }
.included-list.no li i { color: var(--text-soft); }
.included-list.no li span { color: var(--text-soft); }

.booking-sidebar { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; position: sticky; top: 100px; box-shadow: var(--shadow-sm); }
.booking-sidebar .price-big { font-family: var(--font-display); font-size: 1.9rem; color: var(--teal); }
.booking-sidebar .price-big small { font-family: var(--font-base); font-size: .8rem; color: var(--text-soft); font-weight: 500; }

/* ── Testimonial ─────────────────────────── */
.testi-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; height: 100%; }
.testi-card .stars { color: var(--gold); font-size: .85rem; margin-bottom: 12px; }
.testi-card p { color: var(--text); font-size: .95rem; }
.testi-card .who { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.testi-card .who img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.testi-card .who .name { font-weight: 700; font-size: .88rem; color: var(--teal); }
.testi-card .who .role { font-size: .76rem; color: var(--text-soft); }

/* ── Blog / article cards ────────────────── */
.article-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; height: 100%; transition: var(--transition); }
.article-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.article-card .thumb { height: 180px; object-fit: cover; width: 100%; display: block; }
.article-card .body { padding: 20px; }
.article-card .cat { font-size: .68rem; font-weight: 700; color: var(--coral-deep); letter-spacing: .05em; text-transform: uppercase; }
.article-card h3 { font-size: 1.08rem; margin: 8px 0 8px; color: var(--teal); }
.article-card p { color: var(--text-soft); font-size: .88rem; }
.article-card .meta { display: flex; align-items: center; gap: 8px; font-size: .74rem; color: var(--text-soft); margin-top: 12px; border-top: 1px solid var(--line); padding-top: 12px; }

.article-featured { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; height: 100%; }
.article-featured .thumb { height: 260px; object-fit: cover; width: 100%; display: block; }
.article-featured .body { padding: 26px; }

/* ── Article detail ──────────────────────── */
.article-body p { margin-bottom: 1.1rem; color: var(--text-soft); }
.article-body h2, .article-body h3 { margin: 1.8rem 0 .8rem; color: var(--teal); }
.sidebar-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin-bottom: 22px; }
.sidebar-card h4 { font-size: .92rem; margin-bottom: 14px; text-transform: uppercase; letter-spacing: .05em; color: var(--coral-deep); font-family: var(--font-base); font-weight: 700; }
.tag-pill { display: inline-block; border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; font-size: .78rem; color: var(--text-soft); margin: 0 6px 6px 0; }

/* ── Info card ────────────────────────────── */
.info-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; height: 100%; }
.info-card .k { font-size: .7rem; color: var(--coral-deep); letter-spacing: .04em; text-transform: uppercase; font-weight: 700; }
.info-card h3 { font-size: 1.05rem; margin: 8px 0; }

.value-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; height: 100%; }
.value-card .ic { width: 46px; height: 46px; border-radius: 50%; background: var(--surface); color: var(--coral-deep); display: flex; align-items: center; justify-content: center; font-size: 1.15rem; margin-bottom: 14px; }

/* ── Gallery ──────────────────────────────── */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 860px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
.gallery-item { display: block; position: relative; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 4/3; cursor: pointer; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: var(--transition); }
.gallery-item .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 10px; color: #fff; font-size: .78rem; font-weight: 600; background: linear-gradient(180deg, transparent, rgba(10,40,44,.7)); display: flex; align-items: center; gap: 6px; }
.gallery-item:hover img { transform: scale(1.06); }

.lightbox { position: fixed; inset: 0; z-index: 2000; padding: 40px; background: rgba(10,25,28,.94); display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity .25s ease; }
.lightbox.show { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: 90vw; max-height: 85vh; border-radius: var(--radius-sm); box-shadow: 0 20px 60px rgba(0,0,0,.4); }
#lightboxClose { position: absolute; top: 20px; right: 28px; background: none; border: none; color: #fff; font-size: 2.2rem; line-height: 1; cursor: pointer; opacity: .8; }
#lightboxClose:hover { opacity: 1; }
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.3); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; cursor: pointer; opacity: .85; transition: var(--transition); }
.lightbox-nav:hover { opacity: 1; background: rgba(255,255,255,.22); }
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }

/* ── Contact page ─────────────────────────── */
.map-plate { height: 100%; min-height: 260px; border-radius: var(--radius); background: repeating-linear-gradient(45deg, transparent 0 18px, rgba(14,74,82,.06) 18px 19px), var(--surface); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 8px; }
.map-plate .pin { width: 16px; height: 16px; border-radius: 50% 50% 50% 0; background: var(--coral); transform: rotate(-45deg); }
.map-plate span { font-size: .76rem; color: var(--text-soft); }
.info-row { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .93rem; }
.info-row:last-child { border-bottom: none; }
.info-row span:first-child { color: var(--text-soft); }
.info-row span:last-child { font-weight: 600; text-align: right; }
.emergency-card { border: 1px solid var(--line); background: var(--card); border-radius: var(--radius); padding: 18px; display: flex; align-items: center; gap: 14px; }
.emergency-card .ic { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--surface); color: var(--coral-deep); font-size: 1.2rem; flex-shrink: 0; }

/* ── Forms ───────────────────────────────── */
.form-control, .form-select { border-color: var(--line); background: var(--card); color: var(--text); border-radius: var(--radius-sm); padding: .68rem .95rem; }
.form-control:focus, .form-select:focus { border-color: var(--coral); box-shadow: 0 0 0 .2rem rgba(226,112,63,.14); background: var(--card); color: var(--text); }
label { font-size: .85rem; font-weight: 600; color: var(--text-soft); margin-bottom: .35rem; }
.form-text { font-size: .78rem; }
.invalid-feedback { font-size: .78rem; }

/* ── Accordion (FAQ) ─────────────────────── */
.accordion-item { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius) !important; margin-bottom: 10px; overflow: hidden; }
.accordion-button { background: var(--card); color: var(--teal); font-weight: 600; font-family: var(--font-base); }
.accordion-button:not(.collapsed) { background: var(--surface); color: var(--coral-deep); box-shadow: none; }
.accordion-button:focus { box-shadow: none; border-color: var(--coral-soft); }

/* ── Pagination ──────────────────────────── */
.page-link { color: var(--text); border-color: var(--line); background: var(--card); }
.page-item.active .page-link { background: var(--teal); border-color: var(--teal); }
.page-link:hover { color: var(--coral-deep); background: var(--surface); }

/* ── CTA band ─────────────────────────────── */
.cta-band { background: var(--teal); border-radius: var(--radius); padding: 48px; position: relative; overflow: hidden; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #BEDAD8; }

/* ── Footer ──────────────────────────────── */
footer.site-footer { border-top: 1px solid var(--line); padding: 46px 0 26px; font-size: .88rem; color: var(--text-soft); background: var(--surface); }
footer.site-footer .fmark { font-family: var(--font-display); color: var(--teal); font-size: 1.25rem; font-weight: 400; }
footer.site-footer h5 { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--coral-deep); margin-bottom: 14px; font-weight: 700; }
footer.site-footer a { color: var(--text-soft); }
footer.site-footer a:hover { color: var(--coral-deep); }
.footer-social a { width: 34px; height: 34px; border-radius: 50%; background: var(--card); border: 1px solid var(--line); display: inline-flex; align-items: center; justify-content: center; margin-right: 8px; }
.footer-social a:hover { background: var(--teal); color: #fff; border-color: var(--teal); }

/* ── Back to top ─────────────────────────── */
#backToTop { position: fixed; right: 22px; bottom: 22px; width: 44px; height: 44px; border-radius: 50%; background: var(--teal); color: #fff; border: none; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: var(--transition); z-index: 1020; }
#backToTop.show { opacity: 1; pointer-events: auto; }

/* ── Toast (submit feedback) ─────────────── */
.toast-success { position: fixed; top: 90px; right: 22px; z-index: 2000; background: var(--teal); color: #fff; padding: 14px 20px; border-radius: var(--radius-sm); box-shadow: var(--shadow); display: flex; align-items: center; gap: 10px; transform: translateX(120%); transition: transform .3s ease; }
.toast-success.show { transform: translateX(0); }
.toast-success .ic { color: var(--coral-soft); font-size: 1.2rem; }

/* ── Reduced motion ──────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ── Responsive tweaks ────────────────────── */
@media (max-width: 991px) {
  .booking-sidebar { position: static; margin-top: 24px; }
}
@media (max-width: 576px) {
  .hero-media-full { height: 460px; }
  .search-bar-card { margin-top: -30px; }
  .cta-band { padding: 32px 22px; }
}
