/* ==========================================================================
   SARISKA EXPEDITIONS — HOLDING PAGE STYLESHEET
   Mobile-first. No framework/dependencies. ~ single stylesheet by design
   for minimal HTTP requests and maximum performance.
   ========================================================================== */

/* ---------------------------------------------------------------------------
   1. DESIGN TOKENS
   --------------------------------------------------------------------------- */
:root {
  /* Colour palette — nature-inspired, luxury-leaning */
  --forest-950: #14251c;   /* near-black green — deepest backgrounds */
  --forest-800: #1f3b2c;   /* primary dark brand green */
  --forest-700: #29493a;
  --forest-600: #345a46;
  --olive-500:  #7c8a5c;   /* muted olive accent */
  --olive-300:  #a9b389;
  --sand-100:   #efe6d6;   /* warm sand background */
  --sand-050:   #f6f0e5;
  --ivory-050:  #faf7f1;   /* primary light background */
  --charcoal-900:#201d19;  /* primary text on light */
  --terracotta-600:#b9622f;
  --terracotta-500:#c97a44;
  --gold-500:   #cf9d43;   /* accent / hover highlight */
  --gold-300:   #e2c07d;
  --whatsapp:   #25d366;

  /* Semantic tokens */
  --color-bg:          var(--ivory-050);
  --color-bg-alt:      var(--sand-100);
  --color-bg-dark:      var(--forest-800);
  --color-bg-darker:    var(--forest-950);
  --color-text:        var(--charcoal-900);
  --color-text-soft:   #4b463d;
  --color-text-inverse:var(--ivory-050);
  --color-accent:      var(--terracotta-600);
  --color-accent-alt:  var(--gold-500);
  --color-border:      rgba(32, 29, 25, 0.12);
  --color-border-inverse: rgba(250, 247, 241, 0.2);

  /* Typography */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Spacing scale */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 4.5rem;
  --space-7: 6rem;
  --space-8: 8rem;

  /* Layout */
  --content-max: 1180px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-soft: 0 10px 30px -12px rgba(20, 37, 28, 0.25);
  --shadow-card: 0 4px 18px -6px rgba(20, 37, 28, 0.14);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------------------------------------------------------------------------
   2. RESET & BASE
   --------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }
input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

:focus-visible {
  outline: 2.5px solid var(--gold-500);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  background: var(--forest-950);
  color: var(--ivory-050);
  padding: 0.9em 1.4em;
  border-radius: var(--radius-sm);
  z-index: 1000;
}
.skip-link:focus {
  left: var(--space-2);
  top: var(--space-2);
}

.wrap {
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: var(--space-3);
}

.section { padding-block: var(--space-7); }
@media (max-width: 640px) { .section { padding-block: var(--space-6); } }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-2);
}

.lede {
  font-size: 1.125rem;
  color: var(--color-text-soft);
  max-width: 54ch;
}

h2 { font-size: clamp(1.75rem, 1.4rem + 1.6vw, 2.6rem); }
h3 { font-size: 1.15rem; }

/* ---------------------------------------------------------------------------
   3. BUTTONS
   --------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  padding: 0.95em 1.8em;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background-color 0.25s var(--ease), box-shadow 0.25s var(--ease), color 0.25s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--terracotta-600);
  color: var(--ivory-050);
  box-shadow: var(--shadow-soft);
}
.btn--primary:hover { background: var(--terracotta-500); }

.btn--ghost {
  background: transparent;
  border-color: var(--color-border-inverse);
  color: var(--color-text-inverse);
}
.btn--ghost:hover { background: rgba(250, 247, 241, 0.1); }

.btn--whatsapp {
  background: var(--whatsapp);
  color: #ffffff;
}
.btn--whatsapp:hover { background: #1fb955; }

.btn--sm { padding: 0.6em 1.3em; font-size: 0.85rem; }
.btn--block { width: 100%; }

/* ---------------------------------------------------------------------------
   4. HEADER
   --------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 247, 241, 0.85);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.site-header.is-scrolled {
  box-shadow: 0 1px 0 rgba(32,29,25,0.06), 0 8px 24px -18px rgba(20,37,28,0.3);
  border-color: var(--color-border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding-block: var(--space-2);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--forest-800);
  flex-shrink: 0;
}
.wordmark em { font-style: italic; font-weight: 400; }
.wordmark__icon { color: var(--terracotta-600); }

/* Mobile: .site-nav becomes a dropdown panel toggled by .menu-toggle.
   Desktop (900px+): reverts to a plain inline row, panel styles undone. */
.site-nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  font-size: 1rem;
  font-weight: 500;
  background: var(--ivory-050);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
  padding: var(--space-2) var(--space-3) var(--space-3);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: max-height 0.3s var(--ease), opacity 0.25s var(--ease);
}
.site-nav.is-open {
  max-height: 70vh;
  opacity: 1;
  visibility: visible;
}
.site-nav a {
  position: relative;
  padding: 0.85em 0.2em;
  border-bottom: 1px solid var(--color-border);
}
.site-nav a:last-child { border-bottom: none; }
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 1.5px;
  background: var(--color-accent);
  transition: right 0.25s var(--ease);
}
.site-nav a:hover::after { right: 0; }
.site-nav__cta { color: var(--terracotta-600); font-weight: 700; }

@media (min-width: 900px) {
  .site-nav {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: var(--space-4);
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    max-height: none;
    opacity: 1;
    visibility: visible;
    overflow: visible;
  }
  .site-nav a { padding: 0.3em 0; border-bottom: none; }
  .site-nav__cta { display: none; } /* the header's own Enquire button covers this */
}

.header__actions {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.badge {
  display: none;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--sand-100);
  color: var(--forest-800);
  padding: 0.4em 0.9em;
  border-radius: 999px;
}
@media (min-width: 560px) { .badge { display: inline-block; } }

/* Hamburger menu toggle — mobile/tablet only */
.menu-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: var(--radius-sm);
}
.menu-toggle__bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--forest-800);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}
.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}
@media (min-width: 900px) {
  .menu-toggle { display: none; }
}

/* ---------------------------------------------------------------------------
   5. HERO
   --------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 92svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: radial-gradient(120% 90% at 20% 0%, #24462f 0%, var(--forest-800) 45%, var(--forest-950) 100%);
  color: var(--ivory-050);
  isolation: isolate;
}

.hero__scene {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__silhouette {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hill { opacity: 1; }
.hill--back  { fill: #1c3627; }
.hill--mid   { fill: #17301f; }
.hill--front { fill: #102318; }

.hero__grain {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 3px 3px;
  mix-blend-mode: overlay;
  opacity: 0.4;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  padding-block: var(--space-8) var(--space-6);
  max-width: 780px;
}

.hero .eyebrow { color: var(--gold-300); }

.hero__title {
  font-size: clamp(2.6rem, 1.9rem + 3.4vw, 4.6rem);
  color: var(--ivory-050);
  margin-bottom: 0.4em;
}

.hero__subtitle {
  font-size: clamp(1.05rem, 1rem + 0.3vw, 1.25rem);
  color: rgba(250, 247, 241, 0.85);
  max-width: 56ch;
  margin-bottom: var(--space-4);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.hero__scroll-cue {
  position: absolute;
  bottom: var(--space-3);
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  color: rgba(250, 247, 241, 0.7);
  animation: bob 2.4s ease-in-out infinite;
}
@keyframes bob {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero__scroll-cue { animation: none; }
}

/* ---------------------------------------------------------------------------
   6. REVEAL-ON-SCROLL ANIMATION
   --------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------------------------------------------------------------------------
   7. ABOUT / INTRO
   --------------------------------------------------------------------------- */
.about__grid {
  display: grid;
  gap: var(--space-5);
  align-items: center;
}
@media (min-width: 860px) {
  .about__grid { grid-template-columns: 0.85fr 1.15fr; gap: var(--space-6); }
}

.photo-slot {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  background: linear-gradient(155deg, var(--sand-100), var(--olive-300) 140%);
  color: var(--forest-800);
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid rgba(31, 59, 44, 0.12);
}
.photo-slot--portrait { aspect-ratio: 4/5; }

.about__copy h2 { max-width: 16ch; }
.about__copy .lede { margin-bottom: var(--space-2); }

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6em;
  margin-top: var(--space-3);
}
.tag-list li {
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.5em 1em;
  border-radius: 999px;
  background: var(--sand-100);
  color: var(--forest-800);
}

/* ---------------------------------------------------------------------------
   8. SECTION HEADS
   --------------------------------------------------------------------------- */
.section__head { max-width: 640px; margin-bottom: var(--space-5); }
.section__head--light .eyebrow { color: var(--gold-500); }
.section__head--light h2,
.section__head--light .lede { color: var(--ivory-050); }
.section__head--light .lede { color: rgba(250,247,241,0.78); }

/* ---------------------------------------------------------------------------
   9. EXPERIENCES CARD GRID
   --------------------------------------------------------------------------- */
.experiences { background: var(--color-bg); }

.card-grid {
  display: grid;
  gap: var(--space-3);
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

.exp-card {
  background: var(--ivory-050);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-3);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.exp-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.exp-card svg {
  width: 26px; height: 26px;
  color: var(--terracotta-600);
  margin-bottom: var(--space-2);
}
.exp-card h3 { margin-bottom: 0.35em; }
.exp-card p { font-size: 0.92rem; color: var(--color-text-soft); }

/* ---------------------------------------------------------------------------
   10. GALLERY TEASER
   --------------------------------------------------------------------------- */
.gallery-teaser { background: var(--sand-050); }
.teaser-grid {
  display: grid;
  gap: var(--space-2);
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 700px) {
  .teaser-grid { grid-template-columns: repeat(4, 1fr); }
}
.teaser-grid .photo-slot { aspect-ratio: 4/3; font-size: 0.8rem; }
.teaser-grid .photo-slot svg { color: var(--forest-700); }

/* ---------------------------------------------------------------------------
   11. WHY US / TRUST
   --------------------------------------------------------------------------- */
.why-us {
  background: linear-gradient(180deg, var(--forest-950), var(--forest-800));
  color: var(--ivory-050);
}

.trust-grid {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.trust-item svg {
  width: 30px; height: 30px;
  color: var(--gold-500);
  margin-bottom: var(--space-2);
}
.trust-item h3 { color: var(--ivory-050); margin-bottom: 0.3em; }
.trust-item p { color: rgba(250, 247, 241, 0.72); font-size: 0.92rem; }

/* ---------------------------------------------------------------------------
   12. ENQUIRY FORM
   --------------------------------------------------------------------------- */
.enquire { background: var(--color-bg); }

.enquire__grid {
  display: grid;
  gap: var(--space-5);
}
@media (min-width: 940px) {
  .enquire__grid { grid-template-columns: 0.85fr 1.15fr; align-items: start; }
  .enquire__intro { position: sticky; top: calc(var(--space-6)); }
}

.enquire__intro .btn { margin-top: var(--space-3); }

.enquire__form {
  background: var(--ivory-050);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  box-shadow: var(--shadow-card);
}

.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-row {
  display: grid;
  gap: var(--space-2);
  margin-bottom: var(--space-2);
}
@media (min-width: 560px) {
  .form-row { grid-template-columns: 1fr 1fr; }
}

.form-field { margin-bottom: var(--space-2); }
.form-field label,
.form-field legend {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.45em;
  color: var(--forest-800);
}
.form-field--fieldset { border: none; padding: 0; margin: 0 0 var(--space-2); }

.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="tel"],
.form-field input[type="number"],
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.85em 1em;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: #fff;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--terracotta-600);
  box-shadow: 0 0 0 3px rgba(185, 98, 47, 0.15);
}
.form-field textarea { resize: vertical; min-height: 110px; }

.checkbox-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6em;
}
.checkbox {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-size: 0.88rem;
  font-weight: 500;
  padding: 0.55em 1em;
  border: 1.5px solid var(--color-border);
  border-radius: 999px;
  cursor: pointer;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.checkbox:has(input:checked) {
  border-color: var(--terracotta-600);
  background: rgba(185, 98, 47, 0.08);
}
.checkbox input { accent-color: var(--terracotta-600); }

.form-note { margin-top: var(--space-2); font-size: 0.88rem; min-height: 1.2em; }
.form-note[data-state="success"] { color: var(--forest-700); font-weight: 600; }
.form-note[data-state="error"] { color: var(--terracotta-600); font-weight: 600; }

/* ---------------------------------------------------------------------------
   13. CONTACT / SOCIAL
   --------------------------------------------------------------------------- */
.contact { background: var(--sand-050); }
.contact__grid { display: grid; gap: var(--space-4); }

.contact__details { display: grid; gap: var(--space-2); }
.contact__item {
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  font-weight: 500;
  width: fit-content;
}
.contact__item svg { width: 20px; height: 20px; color: var(--terracotta-600); flex-shrink: 0; }
a.contact__item:hover { color: var(--terracotta-600); }

.social-row { display: flex; gap: var(--space-2); }
.social-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--ivory-050);
  border: 1.5px solid var(--color-border);
  color: var(--forest-800);
  transition: background 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease);
}
.social-row a svg { width: 19px; height: 19px; }
.social-row a:hover { background: var(--forest-800); color: var(--ivory-050); transform: translateY(-2px); }

/* ---------------------------------------------------------------------------
   14. FOOTER
   --------------------------------------------------------------------------- */
.site-footer {
  background: var(--forest-950);
  color: rgba(250, 247, 241, 0.75);
  padding-block: var(--space-5);
}
.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-2);
}
.wordmark--footer { color: var(--ivory-050); }
.footer__tagline { font-family: var(--font-display); font-style: italic; color: var(--gold-300); }
.footer__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-3); font-size: 0.88rem; }
.footer__nav a:hover { color: var(--ivory-050); }
.footer__legal { font-size: 0.8rem; margin-top: var(--space-2); }
.footer__credit { font-size: 0.78rem; opacity: 0.75; }
.footer__credit a { text-decoration: underline; text-underline-offset: 2px; }
.footer__credit a:hover { color: var(--ivory-050); }

/* ---------------------------------------------------------------------------
   15. FLOATING WHATSAPP BUTTON
   --------------------------------------------------------------------------- */
.whatsapp-fab {
  position: fixed;
  right: var(--space-3);
  bottom: var(--space-3);
  z-index: 200;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px -8px rgba(37, 211, 102, 0.55);
  transition: transform 0.25s var(--ease);
}
.whatsapp-fab::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55);
  animation: pulse 2.6s var(--ease) infinite;
}
.whatsapp-fab:hover { transform: scale(1.06); }
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.45); }
  70%  { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .whatsapp-fab::before { animation: none; }
}
@media (max-width: 480px) {
  .whatsapp-fab { width: 52px; height: 52px; right: var(--space-2); bottom: var(--space-2); }
}

/* ---------------------------------------------------------------------------
   16. RESPONSIVE FINE-TUNING
   --------------------------------------------------------------------------- */
@media (max-width: 480px) {
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
}
