/* ==========================================================================
   Muhiga Safaris — design tokens
   ========================================================================== */
:root{
  --forest: #1b4332;
  --forest-dark: #10281d;
  --gold: #c89b3c;
  --gold-dark: #a97f2a;
  --sand: #faf6ee;
  --sand-deep: #f0e8d8;
  --charcoal: #1c1a16;
  --ink: #262420;
  --cream: #fffdf8;
  --line: rgba(28,26,22,0.12);
  --font-display: "Familjen Grotesk", -apple-system, Segoe UI, sans-serif;
  --font-body: "Plus Jakarta Sans", -apple-system, Segoe UI, sans-serif;
  --header-h: 132px;
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;font-size:16px;}
body{
  margin:0;
  font-family:var(--font-body);
  color:var(--ink);
  background:var(--sand);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;display:block;}
a{color:inherit;text-decoration:none;}
ul,ol{margin:0;padding:0;list-style:none;}
h1,h2,h3,h4{font-family:var(--font-display);font-weight:700;margin:0;color:var(--forest-dark);}
p{margin:0;}
.eyebrow{
  font-family:var(--font-body);
  text-transform:uppercase;
  letter-spacing:.14em;
  font-size:.72rem;
  font-weight:600;
  color:var(--gold-dark);
  margin-bottom:.6rem;
}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.5rem;
  padding:.85rem 1.7rem;
  border-radius:2px;
  font-size:.78rem;
  font-weight:600;
  letter-spacing:.09em;
  text-transform:uppercase;
  border:1px solid transparent;
  cursor:pointer;
  transition:background .2s ease, color .2s ease, border-color .2s ease, transform .15s ease;
  white-space:nowrap;
}
.btn:hover{transform:translateY(-1px);}
.btn-solid-accent{background:var(--gold);color:var(--forest-dark);}
.btn-solid-accent:hover{background:var(--gold-dark);color:var(--cream);}
.btn-solid-dark{background:var(--forest-dark);color:var(--cream);}
.btn-solid-dark:hover{background:var(--charcoal);}
.btn-solid{background:var(--forest);color:var(--cream);}
.btn-solid:hover{background:var(--forest-dark);}
.btn-outline{background:transparent;color:var(--forest-dark);border-color:var(--forest-dark);}
.btn-outline:hover{background:var(--forest-dark);color:var(--cream);}
.btn-outline-invert{background:transparent;color:var(--cream);border-color:rgba(255,255,255,.55);}
.btn-outline-invert:hover{background:var(--cream);color:var(--forest-dark);}
.btn-arrow{
  width:38px;height:38px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  background:var(--forest-dark);color:var(--cream);
  font-size:1.1rem;transition:background .2s ease, color .2s ease;
  flex-shrink:0;
}
.btn-arrow:hover{background:var(--gold);color:var(--forest-dark);}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header{
  position:fixed;top:0;left:0;right:0;z-index:100;
  color:var(--cream);
  background:linear-gradient(180deg, rgba(16,40,29,.55) 0%, rgba(16,40,29,.15) 100%);
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
  transition:background .3s ease, box-shadow .3s ease, color .3s ease;
}
.site-header.is-scrolled{
  background:var(--cream);
  color:var(--ink);
  box-shadow:0 2px 18px rgba(0,0,0,.08);
}
.site-header.header-static{
  background:var(--cream);
  color:var(--ink);
  backdrop-filter:none;
  -webkit-backdrop-filter:none;
}
.site-header.header-static .main-nav{border-top-color:var(--line);}
.header-top{
  display:flex;align-items:center;justify-content:space-between;
  padding:1.3rem clamp(1rem,4vw,3rem) .9rem;
  max-width:1440px;margin:0 auto;
}
.header-utility{display:flex;gap:1.6rem;}
.icon-btn{
  background:none;border:none;color:inherit;cursor:pointer;
  display:flex;align-items:center;gap:.5rem;
  font-family:var(--font-body);font-size:.78rem;letter-spacing:.06em;text-transform:uppercase;
  padding:0;
}
.hamburger{display:flex;flex-direction:column;gap:4px;width:18px;}
.hamburger span{display:block;height:1.5px;background:currentColor;}

.logo{display:flex;align-items:center;gap:.6rem;color:inherit;}
.logo-mark{color:var(--gold);display:flex;background:var(--cream);border-radius:50%;padding:2px;}
.logo-mark img{width:40px;height:40px;border-radius:50%;object-fit:cover;display:block;}

.header-actions{display:flex;align-items:center;gap:1.6rem;}
.header-phone{font-size:.85rem;font-weight:500;display:none;}
.site-header.is-scrolled .header-actions .btn-outline-invert,
.site-header.header-static .header-actions .btn-outline-invert{
  color:var(--forest-dark);border-color:var(--forest-dark);
}
.site-header.is-scrolled .header-actions .btn-outline-invert:hover,
.site-header.header-static .header-actions .btn-outline-invert:hover{
  background:var(--forest-dark);color:var(--cream);
}

.main-nav{
  border-top:1px solid rgba(255,255,255,.18);
  transition:border-color .3s ease;
}
.site-header.is-scrolled .main-nav{border-top-color:var(--line);}
.main-nav > ul{
  max-width:1440px;margin:0 auto;
  display:flex;justify-content:center;gap:2.6rem;
  padding:.85rem clamp(1rem,4vw,3rem);
  flex-wrap:wrap;
}
.nav-link{
  background:none;border:none;color:inherit;cursor:pointer;
  font-family:var(--font-body);font-size:.76rem;font-weight:600;
  letter-spacing:.09em;text-transform:uppercase;padding:0;
}
.has-dropdown{position:relative;padding-bottom:1rem;}
.dropdown{
  position:absolute;top:100%;left:50%;transform:translateX(-50%);
  background:var(--cream);color:var(--ink);
  border-radius:6px;box-shadow:0 20px 45px rgba(0,0,0,.18);
  padding:1.6rem;display:none;gap:2.5rem;min-width:520px;
  z-index:50;
}
.dropdown-narrow{min-width:220px;}
.has-dropdown:hover .dropdown{display:flex;}
.dropdown-col{display:flex;flex-direction:column;gap:.55rem;}
.dropdown-col .dropdown-heading{font-family:var(--font-body);font-size:.68rem;letter-spacing:.1em;text-transform:uppercase;color:var(--gold-dark);margin-bottom:.3rem;}
.dropdown-col a{font-size:.87rem;color:var(--ink);}
.dropdown-col a:hover{color:var(--gold-dark);}
.dropdown-col a.view-all{margin-top:.4rem;font-weight:600;color:var(--forest);}

/* Mobile menu */
.mobile-menu{
  position:fixed;inset:0;background:var(--forest-dark);color:var(--cream);
  z-index:200;display:flex;flex-direction:column;align-items:flex-start;
  justify-content:center;gap:1.6rem;padding:2rem clamp(1.5rem,8vw,4rem);
  transform:translateY(-100%);transition:transform .35s ease;
}
.mobile-menu.is-open{transform:translateY(0);}
.mobile-menu nav{display:flex;flex-direction:column;gap:1.5rem;width:100%;}
.mobile-menu a{font-family:var(--font-display);font-size:1.6rem;}
.mobile-menu .btn{margin-top:1rem;align-self:flex-start;}
.mobile-menu-close{
  position:absolute;top:1.5rem;right:clamp(1.5rem,8vw,4rem);
  background:none;border:none;color:var(--cream);font-size:2rem;cursor:pointer;line-height:1;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero{position:relative;height:100vh;height:100dvh;min-height:560px;overflow:hidden;color:var(--cream);}
.hero-slides{position:relative;width:100%;height:100%;}
.hero-slide{
  position:absolute;inset:0;background-size:cover;background-position:center;
  opacity:0;transition:opacity 1s ease;display:flex;align-items:flex-end;
}
.hero-slide.is-active{opacity:1;}
.hero-slide::before{
  content:"";position:absolute;inset:0;
  background:linear-gradient(180deg, rgba(16,40,29,.6) 0%, rgba(16,40,29,.18) 38%, rgba(16,40,29,.08) 55%, rgba(16,40,29,.68) 100%);
}
.hero-content{position:relative;z-index:2;max-width:660px;padding:0 clamp(1.5rem,6vw,5rem) 6rem;}
.hero h1,.hero h2{font-size:clamp(1.8rem,4vw,2.75rem);line-height:1.18;color:var(--cream);margin:0;}
.hero-sub{font-size:1.05rem;max-width:500px;margin-bottom:1.8rem;color:rgba(255,253,248,.92);}

.hero-heading-row{display:flex;align-items:center;flex-wrap:wrap;gap:1.2rem;margin-bottom:1rem;}
.hero-arrows{display:flex;gap:.6rem;flex-shrink:0;}
.hero-slide:not(.is-active) .hero-arrows{visibility:hidden;pointer-events:none;}
.hero-arrow{
  width:44px;height:44px;border-radius:50%;border:1px solid rgba(255,255,255,.5);
  background:rgba(16,40,29,.3);color:var(--cream);font-size:1.4rem;cursor:pointer;
  display:flex;align-items:center;justify-content:center;flex-shrink:0;
  transition:background .2s ease, border-color .2s ease;
}
.hero-arrow:hover{background:rgba(16,40,29,.6);border-color:rgba(255,255,255,.85);}

.hero-dots{position:absolute;bottom:2rem;left:0;right:0;display:flex;justify-content:center;gap:.5rem;z-index:3;}
.hero-dots button{width:8px;height:8px;border-radius:50%;background:rgba(255,255,255,.45);border:none;cursor:pointer;padding:0;transition:width .25s ease, border-radius .25s ease;}
.hero-dots button.is-active{background:var(--gold);width:22px;border-radius:5px;}

/* ==========================================================================
   Welcome / value prop
   ========================================================================== */
.welcome{
  max-width:1300px;margin:0 auto;padding:6rem clamp(1.2rem,5vw,3rem);
  display:grid;grid-template-columns:1fr 1fr;gap:4rem;align-items:center;
}
.welcome-media{position:relative;border-radius:6px;overflow:hidden;aspect-ratio:4/3.2;}
.welcome-media img{width:100%;height:100%;object-fit:cover;}
.play-btn{
  position:absolute;bottom:1.6rem;left:1.6rem;
  background:var(--cream);color:var(--forest-dark);
  border:none;border-radius:30px;padding:.8rem 1.4rem;
  display:flex;align-items:center;gap:.5rem;font-weight:600;font-size:.8rem;
  text-transform:uppercase;letter-spacing:.08em;cursor:pointer;
}
.welcome-copy h2{font-size:clamp(1.6rem,3vw,2.3rem);line-height:1.2;margin-bottom:1.2rem;}
.welcome-copy p{color:var(--ink);opacity:.85;margin-bottom:1rem;max-width:48ch;}
.welcome-copy .btn{margin-top:.6rem;}

/* ==========================================================================
   Section heads
   ========================================================================== */
.section-head{
  display:flex;justify-content:space-between;align-items:flex-end;gap:2rem;
  max-width:1300px;margin:0 auto;padding:0 clamp(1.2rem,5vw,3rem);
}
.section-head h2{font-size:clamp(1.7rem,3.2vw,2.4rem);line-height:1.15;}
.section-head.centered{flex-direction:column;align-items:center;text-align:center;}
.carousel-arrows{display:flex;gap:.6rem;flex-shrink:0;}
.carousel-arrow{
  width:42px;height:42px;border-radius:50%;border:1px solid var(--line);
  background:var(--cream);cursor:pointer;font-size:1.3rem;color:var(--forest-dark);
  display:flex;align-items:center;justify-content:center;
  transition:background .2s ease, color .2s ease, border-color .2s ease;
}
.carousel-arrow:hover{background:var(--forest-dark);color:var(--cream);border-color:var(--forest-dark);}

/* ==========================================================================
   Park / destination grid (homepage)
   ========================================================================== */
.parks{padding:5rem 0 6rem;background:var(--sand-deep);}
.park-grid{
  max-width:1300px;margin:3rem auto 0;padding:0 clamp(1.2rem,5vw,3rem);
  display:grid;grid-template-columns:repeat(4,1fr);grid-auto-rows:190px;gap:1.1rem;
}
.park-card{
  position:relative;border-radius:6px;overflow:hidden;background-size:cover;background-position:center;
  display:flex;align-items:flex-end;padding:1.1rem;color:var(--cream);font-family:var(--font-display);font-size:1.05rem;
}
.park-card::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg, rgba(16,40,29,0) 40%, rgba(16,40,29,.75) 100%);}
.park-card span{position:relative;z-index:1;}
.park-large{grid-column:span 2;grid-row:span 2;font-size:1.35rem;}
.center-cta{text-align:center;margin-top:2.8rem;}

/* ==========================================================================
   Activity / interest tiles
   ========================================================================== */
.activities{padding:5rem 0 6rem;background:var(--sand);}
.activity-grid{
  max-width:1300px;margin:3rem auto 0;padding:0 clamp(1.2rem,5vw,3rem);
  display:grid;grid-template-columns:repeat(3,1fr);gap:1.6rem;
}
.activity-card{
  background:var(--cream);border-radius:8px;overflow:hidden;box-shadow:0 12px 30px rgba(28,26,22,.08);
  display:flex;flex-direction:column;
}
.activity-img{height:180px;background-size:cover;background-position:center;}
.activity-body{padding:1.4rem 1.5rem 1.6rem;display:flex;flex-direction:column;flex:1;}
.activity-body h3{font-size:1.15rem;margin-bottom:.5rem;}
.activity-body p{font-size:.9rem;opacity:.78;margin-bottom:1.4rem;}
.activity-body .btn{width:100%;margin-top:auto;}

/* ==========================================================================
   Trip / itinerary carousel (homepage)
   ========================================================================== */
.tours{padding:5rem 0 6rem;background:var(--sand-deep);}
.tour-track{
  display:flex;gap:1.6rem;overflow-x:auto;scroll-behavior:smooth;
  padding:2.6rem clamp(1.2rem,5vw,3rem) 1rem;
  scrollbar-width:none;
}
.tour-track::-webkit-scrollbar{display:none;}
.tour-card{
  flex:0 0 320px;background:var(--cream);border-radius:8px;overflow:hidden;
  box-shadow:0 12px 30px rgba(28,26,22,.08);
}
.tour-img{height:210px;background-size:cover;background-position:center;}
.tour-body{padding:1.4rem 1.5rem 1.6rem;}
.tour-tags{display:flex;gap:.4rem;flex-wrap:wrap;margin-bottom:.7rem;}
.tour-tags span{
  font-size:.65rem;text-transform:uppercase;letter-spacing:.06em;font-weight:600;
  background:var(--sand-deep);color:var(--forest-dark);padding:.25rem .55rem;border-radius:20px;
}
.tour-body h3{font-size:1.15rem;line-height:1.3;margin-bottom:.4rem;}
.tour-meta{font-size:.82rem;color:var(--ink);opacity:.65;margin-bottom:1.2rem;}
.tour-foot{display:flex;justify-content:space-between;align-items:center;}
.tour-foot .from{display:block;font-size:.68rem;text-transform:uppercase;letter-spacing:.06em;opacity:.6;}
.tour-foot strong{display:block;font-family:var(--font-display);font-size:1.3rem;color:var(--forest-dark);}
.tour-foot .pp{display:block;font-size:.68rem;opacity:.6;}

/* ==========================================================================
   Why band + team
   ========================================================================== */
.why-band{background:var(--charcoal);color:var(--cream);}
.why-inner{max-width:1300px;margin:0 auto;padding:5.5rem clamp(1.2rem,5vw,3rem) 4rem;}
.why-inner h2{color:var(--cream);text-align:center;margin-bottom:3rem;font-size:clamp(1.7rem,3.2vw,2.4rem);}
.why-points{display:grid;grid-template-columns:repeat(4,1fr);gap:2rem;}
.why-points strong{display:block;font-family:var(--font-display);font-size:1.1rem;margin-bottom:.5rem;}
.why-points p{opacity:.65;font-size:.87rem;}

.team-teaser{padding:0;}
.team-photo{
  height:420px;background-size:cover;background-position:center 30%;position:relative;
  display:flex;align-items:center;justify-content:center;
}
.team-photo::before{content:"";position:absolute;inset:0;background:rgba(20,20,18,.45);}
.team-overlay{position:relative;z-index:1;text-align:center;}
.team-overlay h3{color:var(--cream);font-size:clamp(1.8rem,4vw,2.6rem);margin-bottom:1.4rem;}

/* ==========================================================================
   How it works + CTA
   ========================================================================== */
.how-it-works{
  max-width:1300px;margin:0 auto;padding:6rem clamp(1.2rem,5vw,3rem);
  display:grid;grid-template-columns:1.2fr .8fr;gap:4rem;
}
.how-col h2{font-size:clamp(1.7rem,3vw,2.3rem);margin-bottom:2.2rem;padding-bottom:1rem;border-bottom:1px solid var(--line);}
.steps{display:flex;flex-direction:column;gap:1.8rem;}
.steps li{display:flex;gap:1.2rem;}
.step-num{
  flex-shrink:0;width:32px;height:32px;border-radius:50%;background:var(--forest-dark);color:var(--cream);
  display:flex;align-items:center;justify-content:center;font-size:.85rem;font-weight:600;
}
.steps strong{display:block;font-family:var(--font-display);font-size:1.1rem;margin-bottom:.3rem;color:var(--forest-dark);}
.steps p{opacity:.75;font-size:.92rem;}

.cta-col{
  position:relative;background:var(--cream);border-radius:10px;padding:3rem 2rem 2.2rem;
  text-align:center;box-shadow:0 20px 50px rgba(28,26,22,.1);
}
.cta-float{position:absolute;top:-18px;right:1.5rem;}
.cta-col h3{font-size:1.3rem;margin-bottom:.7rem;}
.cta-col p{opacity:.75;font-size:.9rem;margin-bottom:1.6rem;}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer{position:relative;background:var(--forest-dark);color:rgba(255,253,248,.85);overflow:hidden;}
.footer-watermark{position:absolute;left:-40px;bottom:-40px;width:280px;height:280px;color:rgba(255,255,255,.04);pointer-events:none;}
.footer-top{
  position:relative;z-index:1;max-width:1400px;margin:0 auto;
  padding:4.5rem clamp(1.2rem,5vw,3rem) 3rem;
  display:grid;grid-template-columns:1.3fr 1fr 1fr 1fr 1fr;gap:2.5rem;
}
.footer-selects{display:flex;flex-direction:column;gap:.8rem;align-items:flex-start;}
.footer-selects select{
  background:transparent;color:var(--cream);border:1px solid rgba(255,255,255,.3);
  padding:.55rem .8rem;border-radius:3px;font-family:var(--font-body);font-size:.82rem;min-width:140px;
}
.footer-contact{margin-top:1rem;font-size:.85rem;line-height:1.7;opacity:.75;}
.footer-col h2,.footer-col h3,.footer-col h4{
  color:var(--cream);font-family:var(--font-body);font-size:.72rem;letter-spacing:.1em;
  text-transform:uppercase;margin-bottom:1.1rem;
}
.footer-col a, .footer-col p.assoc-line{display:block;font-size:.87rem;margin-bottom:.65rem;opacity:.75;}
.footer-col a:hover{opacity:1;color:var(--gold);}
.social-head{margin-top:1.6rem;}
.social-row{display:flex;gap:.7rem;}
.social-row a{
  width:34px;height:34px;border-radius:50%;border:1px solid rgba(255,255,255,.3);
  display:flex;align-items:center;justify-content:center;font-size:.68rem;font-weight:600;
  transition:background .2s ease, color .2s ease, border-color .2s ease;
}
.social-row a:hover{background:var(--cream);color:var(--forest-dark);border-color:var(--cream);opacity:1;}
.footer-bottom{
  position:relative;z-index:1;border-top:1px solid rgba(255,255,255,.12);
  padding:1.4rem clamp(1.2rem,5vw,3rem);text-align:center;font-size:.78rem;opacity:.6;
}

/* ==========================================================================
   Gallery lightbox
   ========================================================================== */
.lightbox{
  position:fixed;inset:0;background:rgba(10,14,11,.92);
  display:none;align-items:center;justify-content:center;
  z-index:1000;padding:2rem;
}
.lightbox.is-open{display:flex;}
.lightbox img{max-width:90vw;max-height:85vh;border-radius:6px;box-shadow:0 20px 60px rgba(0,0,0,.5);}
.lightbox-close{
  position:absolute;top:1.5rem;right:1.5rem;
  width:44px;height:44px;border-radius:50%;border:1px solid rgba(255,255,255,.4);
  background:rgba(255,255,255,.08);color:var(--cream);font-size:1.4rem;line-height:1;
  display:flex;align-items:center;justify-content:center;cursor:pointer;
  transition:background .2s ease;
}
.lightbox-close:hover{background:rgba(255,255,255,.2);}
.lightbox-nav{
  position:absolute;top:50%;transform:translateY(-50%);
  width:48px;height:48px;border-radius:50%;border:1px solid rgba(255,255,255,.4);
  background:rgba(255,255,255,.08);color:var(--cream);font-size:1.6rem;
  display:flex;align-items:center;justify-content:center;cursor:pointer;
  transition:background .2s ease;
}
.lightbox-nav:hover{background:rgba(255,255,255,.2);}
.lightbox-prev{left:1.5rem;}
.lightbox-next{right:1.5rem;}
@media (max-width:640px){
  .lightbox-nav{width:38px;height:38px;font-size:1.2rem;}
  .lightbox-close{width:38px;height:38px;top:1rem;right:1rem;}
  .lightbox-prev{left:.6rem;}
  .lightbox-next{right:.6rem;}
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (min-width:900px){
  .header-phone{display:block;}
}
@media (max-width:1024px){
  /* Hover-only mega-menus can't be reached on touch devices, and the
     dropdown's min-width overflows tablet-width viewports — collapse to
     the hamburger menu (which lists the same links without hover) instead
     of trying to make the mega-menu itself narrower. */
  .main-nav{display:none;}
  .header-actions .btn{display:none;}
}
@media (max-width:1000px){
  .hero-arrow{display:none;}
  .welcome{grid-template-columns:1fr;gap:2.5rem;}
  .park-grid{grid-template-columns:repeat(2,1fr);}
  .park-large{grid-column:span 2;grid-row:span 1;}
  .activity-grid{grid-template-columns:1fr 1fr;}
  .how-it-works{grid-template-columns:1fr;}
  .why-points{grid-template-columns:repeat(2,1fr);}
  .footer-top{grid-template-columns:1fr 1fr;}
}
@media (max-width:640px){
  .header-top{padding:1rem 1rem .8rem;}
  .icon-label{display:none;}
  .hero-arrow,.hero-dots{display:none;}
  .hero-content{padding-bottom:3.5rem;}
  .park-grid{grid-template-columns:1fr;}
  .park-large{grid-column:span 1;}
  .activity-grid{grid-template-columns:1fr;}
  .footer-top{grid-template-columns:1fr;}
  .why-points{grid-template-columns:1fr;}
}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto;}
  .hero-slide{transition:none;}
  .btn,.carousel-arrow,.faq-a{transition:none;}
}
:focus-visible{outline:2px solid var(--gold-dark);outline-offset:2px;}
