/* =====================================================
   THE SANDBOX RESORT — Shared Stylesheet
   Naro Moru, Mt. Kenya, Kenya
   ===================================================== */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --teal:     #2A7B7B;
  --teal-dark:#236666;
  --teal-lite:#3a9e9e;
  --terra:    #C75B3A;
  --terra-dk: #b04e2e;
  --gold:     #C8963E;
  --charcoal: #1A1A1A;
  --dark:     #111111;
  --offwhite: #F5F0EB;
  --warm:     #EDE8E3;
  --white:    #FFFFFF;
  --text:     #2D2D2D;
  --muted:    #777;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Montserrat', sans-serif;
  color: var(--text);
  background: var(--offwhite);
  overflow-x: hidden;
}

/* =====================================================
   TYPOGRAPHY
   ===================================================== */
.bebas { font-family: 'Bebas Neue', sans-serif; }

.section-tag {
  font-size: 10px; letter-spacing: 5px; text-transform: uppercase;
  font-weight: 700; color: var(--gold); margin-bottom: 16px;
  display: flex; align-items: center; gap: 12px;
}
.section-tag::before {
  content: ''; display: block;
  width: 30px; height: 1px; background: var(--gold);
}
.section-tag.no-line::before { display: none; }

.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(38px, 5vw, 72px);
  line-height: 1; letter-spacing: 3px;
}
.section-title.light { color: var(--white); }
.section-title.dark  { color: var(--charcoal); }

.section-line {
  width: 60px; height: 2px;
  background: var(--teal); margin: 20px 0;
}

/* =====================================================
   LAYOUT
   ===================================================== */
.container  { max-width: 1240px; margin: 0 auto; }
.container-sm { max-width: 860px; margin: 0 auto; }
section     { padding: 100px 40px; }
.text-center { text-align: center; }
.text-center .section-tag  { justify-content: center; }
.text-center .section-tag::before { display: none; }
.text-center .section-line { margin: 20px auto; }

/* =====================================================
   BUTTONS
   ===================================================== */
.btn {
  display: inline-block; text-decoration: none;
  font-size: 12px; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; padding: 16px 36px;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.btn-terra   { background: var(--terra);  color: var(--white); border: 2px solid var(--terra); }
.btn-terra:hover  { background: var(--terra-dk); border-color: var(--terra-dk); }
.btn-teal    { background: var(--teal);   color: var(--white); }
.btn-teal:hover   { background: var(--teal-dark); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.3); }
.btn-outline:hover{ border-color: var(--teal); color: var(--teal); }
.btn-white   { background: var(--white);  color: var(--terra); }
.btn-white:hover  { background: var(--offwhite); }
.btn-ghost-teal { background: transparent; color: var(--teal); border: 2px solid var(--teal); }
.btn-ghost-teal:hover { background: var(--teal); color: var(--white); }

/* =====================================================
   NAV
   ===================================================== */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(26,26,26,0.97);
  backdrop-filter: blur(8px);
  padding: 0 40px;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
  border-bottom: 1px solid rgba(42,123,123,0.3);
}
.nav-logo { display: flex; align-items: center; text-decoration: none; }
.nav-logo svg { height: 44px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  font-size: 11px; color: rgba(255,255,255,0.7);
  text-decoration: none; letter-spacing: 2px;
  text-transform: uppercase; font-weight: 600;
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--teal); }
.nav-cta {
  background: var(--teal) !important; color: var(--white) !important;
  padding: 10px 20px !important; font-size: 11px !important;
  letter-spacing: 2px; font-weight: 700 !important;
  text-transform: uppercase; text-decoration: none;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--teal-dark) !important; }

/* Hamburger */
.nav-hamburger {
  display: none; flex-direction: column; justify-content: center;
  gap: 5px; background: none; border: none; cursor: pointer;
  padding: 4px; width: 36px;
}
.nav-hamburger span {
  display: block; height: 2px; background: rgba(255,255,255,0.8);
  border-radius: 2px; transition: all 0.3s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  display: none; position: fixed; top: 64px; left: 0; right: 0;
  background: rgba(17,17,17,0.98); z-index: 98;
  padding: 24px 24px 32px; flex-direction: column; gap: 0;
  border-bottom: 1px solid rgba(42,123,123,0.3);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 13px; color: rgba(255,255,255,0.7); text-decoration: none;
  letter-spacing: 2px; text-transform: uppercase; font-weight: 600;
  padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--teal); }
.mobile-menu .mob-cta {
  margin-top: 16px; background: var(--teal); color: var(--white) !important;
  padding: 16px; text-align: center; border-bottom: none;
  font-size: 12px; font-weight: 700; letter-spacing: 3px;
}

/* =====================================================
   PAGE HERO (inner pages)
   ===================================================== */
.page-hero {
  margin-top: 64px;
  height: 380px; position: relative;
  display: flex; align-items: flex-end;
  padding: 0 40px 56px;
  overflow: hidden;
  background: var(--charcoal);
}
.page-hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  filter: brightness(0.35) saturate(0.7);
}
.page-hero::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%);
}
.page-hero-content { position: relative; z-index: 2; }
.page-hero-content .section-tag { margin-bottom: 12px; }
.page-hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(48px, 7vw, 96px);
  color: var(--white); letter-spacing: 4px; line-height: 1;
}
.page-hero-sub {
  font-size: 13px; color: rgba(255,255,255,0.5);
  letter-spacing: 2px; margin-top: 8px;
}

/* =====================================================
   DIVIDERS
   ===================================================== */
.gold-divider {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  max-width: 1200px; margin: 0 auto;
}
.divider-wrap { background: var(--offwhite); padding: 0 40px; }
.divider-wrap-white { background: var(--white); padding: 0 40px; }

/* =====================================================
   FOOTER
   ===================================================== */
footer { background: var(--dark); padding: 60px 40px 32px; }
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 60px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 32px;
}
.footer-logo .tagline { font-size: 11px; color: var(--teal); letter-spacing: 3px; margin-top: 4px; }
.footer-logo .desc {
  font-size: 13px; color: rgba(255,255,255,0.3); line-height: 1.7;
  margin-top: 16px; max-width: 280px;
}
.footer-col h4 {
  font-size: 10px; color: var(--gold); letter-spacing: 3px;
  text-transform: uppercase; font-weight: 700; margin-bottom: 16px;
}
.footer-col a {
  display: block; font-size: 13px; color: rgba(255,255,255,0.4);
  text-decoration: none; margin-bottom: 10px; transition: color 0.2s;
}
.footer-col a:hover { color: var(--teal); }
.footer-bottom {
  max-width: 1200px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
}
.footer-bottom p { font-size: 11px; color: rgba(255,255,255,0.2); }

/* =====================================================
   WHATSAPP FAB
   ===================================================== */
.whatsapp-fab {
  position: fixed; bottom: 28px; right: 28px; z-index: 999;
  width: 58px; height: 58px; background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  cursor: pointer; transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}
.whatsapp-fab:hover { transform: scale(1.08); box-shadow: 0 6px 24px rgba(37,211,102,0.5); }
.whatsapp-fab svg { width: 32px; height: 32px; }

/* =====================================================
   BOOKING STRIP
   ===================================================== */
.booking-strip { background: var(--terra); padding: 60px 40px; text-align: center; }
.booking-strip h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 56px; color: var(--white); letter-spacing: 4px; margin-bottom: 8px;
}
.booking-strip p { font-size: 14px; color: rgba(255,255,255,0.7); margin-bottom: 28px; }

/* =====================================================
   MOBILE
   ===================================================== */
@media (max-width: 768px) {
  nav { padding: 0 20px; }
  .nav-logo svg { height: 36px; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }

  section { padding: 60px 20px; }
  .page-hero { padding: 0 20px 40px; height: 280px; }
  .page-hero-title { font-size: 48px; }

  .section-title { font-size: 36px; }

  .footer-inner { grid-template-columns: 1fr; gap: 32px; padding-bottom: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  footer { padding: 48px 20px 24px; }

  .booking-strip { padding: 40px 20px; }
  .booking-strip h2 { font-size: 40px; }

  .divider-wrap, .divider-wrap-white { padding: 0 20px; }

  .whatsapp-fab { bottom: 20px; right: 16px; width: 52px; height: 52px; }
}
