/* =====================================================
   NYABA TOUR & TRAVEL — Design tokens
   Palette derived from logo: deep forest green (mountains/wordmark),
   rust terracotta (pavilion roof / "Tour & Travel" text),
   sage green (leaf accents), muted teal (river), warm cream base.
   Display type: Cormorant Garamond (elegant serif, echoes logo script)
   Body/UI type: Jost (clean geometric sans)
   Signature motif: mountain-peak divider (▲) echoing the logo skyline
   ===================================================== */

:root{
  --forest-900:#1E2E22;
  --forest-800:#2F4A34;
  --forest-700:#3B5C41;
  --sage-400:#8FA688;
  --sage-100:#E9EFE6;
  --rust-600:#A85425;
  --rust-500:#B5622B;
  --rust-200:#EFCBA9;
  --teal-500:#4F7B77;
  --cream-50:#FAF6EE;
  --cream-100:#F3ECDC;
  --ink:#242B24;
  --ink-soft:#565F55;
  --white:#FFFFFF;
  --radius:10px;
  --shadow-soft:0 12px 30px rgba(30,46,34,.10);
  --font-display:'Cormorant Garamond', Georgia, serif;
  --font-body:'Jost', 'Segoe UI', sans-serif;
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{margin:0;font-family:var(--font-body);color:var(--ink);background:var(--cream-50);line-height:1.65;}
img{max-width:100%;display:block;}
a{color:inherit;text-decoration:none;}
ul{list-style:none;margin:0;padding:0;}
.container{width:92%;max-width:1180px;margin:0 auto;}

h1,h2,h3,h4{font-family:var(--font-display);color:var(--forest-900);line-height:1.2;margin:0 0 .5rem;font-weight:700;}

/* ---------- Signature divider: mountain peak ---------- */
.divider{display:flex;align-items:center;justify-content:center;gap:10px;margin:0 0 1.6rem;color:var(--rust-500);}
.divider::before,.divider::after{content:'';height:1px;width:56px;background:linear-gradient(90deg, transparent, var(--rust-500));}
.divider::after{background:linear-gradient(90deg, var(--rust-500), transparent);}
.divider .peak{font-size:1rem;}

.eyebrow{display:inline-block;font-family:var(--font-body);letter-spacing:.14em;text-transform:uppercase;font-size:.75rem;color:var(--rust-600);font-weight:600;margin-bottom:.5rem;}

/* ---------- Topbar ---------- */
.topbar{background:var(--forest-900);color:var(--cream-100);font-size:.8rem;}
.topbar-inner{display:flex;align-items:center;gap:.8rem;padding:.45rem 0;flex-wrap:wrap;}
.topbar-sep{opacity:.4;}
.topbar-social{margin-left:auto;display:flex;gap:1rem;}
.topbar-social a:hover{color:var(--rust-500);}

/* ---------- Header ---------- */
.site-header{background:var(--white);box-shadow:0 2px 12px rgba(30,46,34,.07);position:sticky;top:0;z-index:100;}
.header-inner{display:flex;align-items:center;gap:1.5rem;padding:.7rem 0;}
.brand{display:flex;align-items:center;}
.brand-logo{height:56px;width:auto;}
.brand-logo-footer{height:64px;filter:brightness(0) invert(1);opacity:.92;}
.main-nav{display:flex;gap:1.5rem;margin-left:1rem;flex:1;flex-wrap:wrap;}
.main-nav a{font-size:.9rem;font-weight:500;color:var(--ink-soft);padding:.4rem 0;position:relative;white-space:nowrap;}
.main-nav a::after{content:'';position:absolute;left:0;bottom:0;width:0;height:2px;background:var(--rust-500);transition:width .25s;}
.main-nav a:hover,.main-nav a.active{color:var(--forest-800);}
.main-nav a:hover::after,.main-nav a.active::after{width:100%;}
.btn-nav-wa{background:var(--forest-800);color:var(--white);padding:.6rem 1.1rem;border-radius:30px;font-size:.85rem;font-weight:600;white-space:nowrap;}
.btn-nav-wa:hover{background:var(--forest-700);}
.nav-toggle{display:none;background:none;border:none;font-size:1.5rem;color:var(--forest-800);cursor:pointer;}

/* ---------- Buttons ---------- */
.btn{display:inline-block;padding:.8rem 1.7rem;border-radius:30px;font-weight:600;font-size:.92rem;border:2px solid transparent;transition:all .2s;}
.btn-rust{background:var(--rust-500);color:var(--white);}
.btn-rust:hover{background:var(--rust-600);transform:translateY(-2px);}
.btn-outline{border-color:var(--white);color:var(--white);}
.btn-outline:hover{background:var(--white);color:var(--forest-800);}
.btn-green{background:var(--forest-800);color:var(--white);}
.btn-green:hover{background:var(--forest-700);transform:translateY(-2px);}
.btn-sm{padding:.5rem 1.1rem;font-size:.8rem;}

/* ---------- Hero Slider ---------- */
.hero-slider{position:relative;height:86vh;min-height:520px;max-height:740px;overflow:hidden;background:var(--forest-900);}
.hero-slide{position:absolute;inset:0;opacity:0;transition:opacity 1.1s ease;background-size:cover;background-position:center;}
.hero-slide.active{opacity:1;}
.hero-slide::before{content:'';position:absolute;inset:0;background:linear-gradient(180deg, rgba(30,46,34,.55) 0%, rgba(30,46,34,.30) 45%, rgba(30,46,34,.85) 100%);}
.hero-content{position:relative;z-index:3;height:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;color:var(--white);padding:0 5%;}
.hero-content .eyebrow{color:var(--rust-200);}
.hero-content h1{color:var(--white);font-size:clamp(2.1rem,5vw,3.6rem);max-width:820px;margin-bottom:.7rem;}
.hero-content p{max-width:580px;color:var(--cream-100);font-size:1.05rem;margin-bottom:1.8rem;}
.hero-actions{display:flex;gap:1rem;flex-wrap:wrap;justify-content:center;}
.hero-dots{position:absolute;bottom:28px;left:0;right:0;display:flex;justify-content:center;gap:10px;z-index:4;}
.hero-dots button{width:10px;height:10px;border-radius:50%;border:1px solid var(--rust-500);background:transparent;cursor:pointer;}
.hero-dots button.active{background:var(--rust-500);}

/* ---------- Sections ---------- */
section{padding:5rem 0;}
.section-head{text-align:center;max-width:640px;margin:0 auto 3rem;}
.section-head h2{font-size:clamp(1.7rem,3vw,2.4rem);}
.bg-sand{background:var(--cream-100);}
.bg-dark{background:var(--forest-900);color:var(--cream-100);}
.bg-dark h2,.bg-dark h3,.bg-dark h4{color:var(--white);}

/* ---------- Layanan cards ---------- */
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:1.8rem;}
.grid-2{display:grid;grid-template-columns:repeat(2,1fr);gap:1.8rem;}
.grid-4{display:grid;grid-template-columns:repeat(4,1fr);gap:1.6rem;}
.card-layanan{background:var(--white);border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow-soft);border-top:4px solid var(--forest-800);transition:transform .25s, box-shadow .25s;display:flex;flex-direction:column;}
.card-layanan:hover{transform:translateY(-6px);box-shadow:0 18px 40px rgba(30,46,34,.16);}
.card-layanan .thumb{position:relative;height:200px;overflow:hidden;}
.card-layanan .thumb img{width:100%;height:100%;object-fit:cover;transition:transform .4s;}
.card-layanan:hover .thumb img{transform:scale(1.08);}
.badge-kategori{position:absolute;top:12px;left:12px;background:var(--rust-500);color:var(--white);font-size:.7rem;font-weight:700;padding:.3rem .7rem;border-radius:20px;text-transform:uppercase;letter-spacing:.03em;}
.badge-unggulan{position:absolute;top:12px;right:12px;background:var(--forest-900);color:var(--rust-200);font-size:.7rem;padding:.3rem .6rem;border-radius:20px;}
.card-layanan .body{padding:1.4rem;display:flex;flex-direction:column;flex:1;}
.card-layanan h3{font-size:1.15rem;margin-bottom:.3rem;}
.layanan-meta{display:flex;gap:1rem;font-size:.8rem;color:var(--ink-soft);margin-bottom:.8rem;flex-wrap:wrap;}
.layanan-meta span{display:flex;align-items:center;gap:.3rem;}
.layanan-harga{color:var(--forest-800);font-weight:700;font-size:1.02rem;margin-top:auto;padding-top:.6rem;}
.layanan-harga small{display:block;font-weight:400;color:var(--ink-soft);font-size:.72rem;}
.card-layanan .body .btn{margin-top:.9rem;text-align:center;}

/* ---------- Filter chips ---------- */
.filter-chips{display:flex;flex-wrap:wrap;gap:.6rem;justify-content:center;margin-bottom:2.6rem;}
.filter-chips a{padding:.5rem 1.2rem;border-radius:30px;border:1.5px solid var(--forest-800);font-size:.85rem;font-weight:500;color:var(--forest-800);}
.filter-chips a.active,.filter-chips a:hover{background:var(--forest-800);color:var(--white);}

/* ---------- Why us / features ---------- */
.feature{text-align:center;padding:1.8rem 1.2rem;}
.feature .icon{width:64px;height:64px;border-radius:50%;background:var(--sage-100);color:var(--forest-800);display:flex;align-items:center;justify-content:center;font-size:1.6rem;margin:0 auto 1rem;}
.feature h4{font-size:1.05rem;}
.feature p{font-size:.88rem;color:var(--ink-soft);}

/* ---------- Testimonials ---------- */
.testi-card{background:var(--white);border-radius:var(--radius);padding:1.6rem;box-shadow:var(--shadow-soft);height:100%;}
.testi-card .stars{color:var(--rust-500);letter-spacing:2px;}
.testi-card p{font-style:italic;color:var(--ink-soft);margin:.8rem 0;}
.testi-person{display:flex;align-items:center;gap:.7rem;margin-top:1rem;}
.testi-person .avatar{width:42px;height:42px;border-radius:50%;background:var(--sage-100);color:var(--forest-800);display:flex;align-items:center;justify-content:center;font-weight:700;font-family:var(--font-display);}
.testi-person strong{display:block;font-size:.92rem;}
.testi-person span{font-size:.78rem;color:var(--ink-soft);}

/* ---------- Star rating widget (Google review) ---------- */
.rate-box{background:var(--white);border-radius:var(--radius);box-shadow:var(--shadow-soft);padding:2.4rem;text-align:center;max-width:560px;margin:0 auto;}
.rate-stars{display:flex;justify-content:center;gap:.4rem;font-size:2.6rem;margin:1.2rem 0;}
.rate-stars button{background:none;border:none;cursor:pointer;color:#D9D2C2;transition:transform .15s, color .15s;line-height:1;}
.rate-stars button:hover,.rate-stars button.hovered{transform:scale(1.15);}
.rate-stars button.selected,.rate-stars button.hovered{color:var(--rust-500);}
#feedbackForm{display:none;text-align:left;margin-top:1.4rem;}
#feedbackForm.show{display:block;}
#feedbackForm input,#feedbackForm textarea{width:100%;padding:.7rem;border:1px solid #ddd;border-radius:6px;margin-bottom:.9rem;font-family:var(--font-body);}
.rate-thanks{display:none;background:var(--sage-100);color:var(--forest-800);padding:1rem;border-radius:8px;margin-top:1rem;}
.rate-thanks.show{display:block;}

/* ---------- Gallery (photo) ---------- */
.gallery-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:.8rem;}
.gallery-grid .g-item{position:relative;border-radius:8px;overflow:hidden;aspect-ratio:1/1;cursor:pointer;}
.gallery-grid .g-item img{width:100%;height:100%;object-fit:cover;transition:transform .35s;}
.gallery-grid .g-item:hover img{transform:scale(1.1);}
.g-cat{position:absolute;bottom:8px;left:8px;background:rgba(30,46,34,.75);color:#fff;font-size:.68rem;padding:.2rem .55rem;border-radius:20px;}
.lightbox{position:fixed;inset:0;background:rgba(30,46,34,.92);display:none;align-items:center;justify-content:center;z-index:999;padding:2rem;}
.lightbox.show{display:flex;}
.lightbox img{max-width:90vw;max-height:85vh;border-radius:8px;}
.lightbox-close{position:absolute;top:24px;right:32px;color:#fff;font-size:2rem;cursor:pointer;background:none;border:none;}

/* ---------- Video gallery ---------- */
.video-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.6rem;}
.video-card{background:var(--white);border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow-soft);}
.video-embed{position:relative;width:100%;padding-top:56.25%;background:var(--forest-900);}
.video-embed iframe,.video-embed video{position:absolute;inset:0;width:100%;height:100%;border:0;}
.video-card .body{padding:1rem 1.2rem;}
.video-card h3{font-size:1rem;margin:0;}

/* ---------- CTA band ---------- */
.cta-band{background:linear-gradient(135deg, var(--forest-900), var(--forest-800));color:var(--white);text-align:center;padding:4.5rem 0;position:relative;overflow:hidden;}
.cta-band .peak-bg{position:absolute;font-size:16rem;color:rgba(181,98,43,.08);top:-4rem;right:-3rem;font-family:serif;}
.cta-band h2{color:var(--white);}

/* ---------- Forms ---------- */
.form-box{background:var(--white);border-radius:var(--radius);box-shadow:var(--shadow-soft);padding:2rem;}
.form-box label{display:block;font-size:.85rem;font-weight:600;margin-bottom:.35rem;color:var(--forest-900);}
.form-box input,.form-box select,.form-box textarea{width:100%;padding:.75rem;border:1px solid #ddd;border-radius:6px;margin-bottom:1.1rem;font-family:var(--font-body);font-size:.92rem;}
.form-box textarea{min-height:120px;resize:vertical;}

/* ---------- Floating WhatsApp ---------- */
.wa-float{position:fixed;bottom:24px;right:24px;z-index:200;background:#25D366;color:#fff;width:58px;height:58px;border-radius:50%;display:flex;align-items:center;justify-content:center;box-shadow:0 8px 24px rgba(0,0,0,.25);animation:wa-pulse 2.4s infinite;}
.wa-float:hover{background:#1ebe5b;}
@keyframes wa-pulse{0%{box-shadow:0 0 0 0 rgba(37,211,102,.5);}70%{box-shadow:0 0 0 14px rgba(37,211,102,0);}100%{box-shadow:0 0 0 0 rgba(37,211,102,0);}}

/* ---------- Footer ---------- */
.site-footer{background:var(--forest-900);color:var(--cream-100);position:relative;padding-top:4rem;}
.footer-inner{display:grid;grid-template-columns:2fr 1fr 1fr 1.4fr;gap:2rem;padding-bottom:2.5rem;}
.footer-brand{margin-bottom:.8rem;}
.footer-col h4{color:var(--rust-200);font-size:.95rem;margin-bottom:1rem;font-family:var(--font-display);}
.footer-col a{display:block;font-size:.87rem;color:var(--cream-100);margin-bottom:.6rem;opacity:.85;}
.footer-col a:hover{opacity:1;color:var(--rust-200);}
.footer-bottom{border-top:1px solid rgba(255,255,255,.1);padding:1.2rem 0;text-align:center;font-size:.8rem;opacity:.7;}
.footer-bottom-inner{display:flex;align-items:center;justify-content:center;gap:.6rem;position:relative;}
.admin-discreet-link{color:rgba(255,255,255,.08);font-size:1rem;line-height:1;padding:.4rem .6rem;transition:color .3s;user-select:none;}
.admin-discreet-link:hover{color:rgba(181,98,43,.6);}

/* ---------- Page header (inner pages) ---------- */
.page-header{background:var(--forest-900);color:var(--white);padding:4.5rem 0 3.5rem;text-align:center;position:relative;overflow:hidden;}
.page-header h1{color:var(--white);font-size:clamp(1.8rem,3.4vw,2.6rem);}
.page-header p{color:var(--cream-100);max-width:600px;margin:0 auto;}

/* ---------- Responsive ---------- */
@media (max-width:960px){
  .grid-4{grid-template-columns:repeat(2,1fr);}
  .grid-3{grid-template-columns:repeat(2,1fr);}
  .video-grid{grid-template-columns:repeat(2,1fr);}
  .footer-inner{grid-template-columns:1fr 1fr;}
  .gallery-grid{grid-template-columns:repeat(3,1fr);}
}
@media (max-width:720px){
  .main-nav{position:fixed;top:0;right:-100%;height:100vh;width:78%;max-width:320px;background:var(--white);flex-direction:column;padding:5rem 2rem;gap:1.4rem;transition:right .3s;box-shadow:-10px 0 30px rgba(0,0,0,.15);}
  .main-nav.open{right:0;}
  .nav-toggle{display:block;}
  .btn-nav-wa{display:none;}
  .grid-2,.grid-3,.video-grid{grid-template-columns:1fr;}
  .grid-4{grid-template-columns:1fr 1fr;}
  .footer-inner{grid-template-columns:1fr;}
  .gallery-grid{grid-template-columns:repeat(2,1fr);}
  .brand-logo{height:44px;}
}
