/* ============================================================
   LAKE NAIVASHA PARKLANE RESORT — Design System
   main.css
   ============================================================ */
/* Google Fonts loaded via <link> tags in HTML <head> for non-blocking parallel rendering */
/* ─── DESIGN TOKENS ─────────────────────────────────────── */
:root {
  --cream:        #FAF8F3;
  --parchment:    #F0E9DA;
  --ivory:        #FFFDF8;
  --ink:          #1C1410;
  --ink-muted:    #5C4E3E;
  --ink-ghost:    #9C8874;
  --gold:         #C9943A;
  --gold-light:   #E8C47A;
  --gold-pale:    #F5E6C8;
  --gold-dark:    #8B6220;
  --forest:       #263B2E;
  --sage:         #4D6952;
  --lake:         #3B6B7A;
  --white:        #FFFFFF;

  --c-bg:       var(--cream);
  --c-surface:  var(--white);
  --c-text:     var(--ink);
  --c-muted:    var(--ink-muted);
  --c-accent:   var(--gold);
  --c-border:   rgba(28, 20, 16, 0.10);
  --c-overlay:  rgba(10, 6, 3, 0.58);
  --c-nav-bg:   rgba(250, 248, 243, 0.94);

  --font-display: 'Montserrat', system-ui, sans-serif;
  --font-body:    'Montserrat', system-ui, sans-serif;

  --fs-xs:   0.75rem;
  --fs-sm:   0.875rem;
  --fs-base: 1rem;
  --fs-md:   1.125rem;
  --fs-lg:   1.375rem;
  --fs-xl:   1.5rem;
  --fs-2xl:  1.875rem;
  --fs-3xl:  clamp(1.625rem, 2.5vw, 2.25rem);
  --fs-4xl:  clamp(1.875rem, 3.2vw, 2.75rem);
  --fs-hero: clamp(2rem, 3.5vw, 3rem);

  --sp-1:  0.25rem;
  --sp-2:  0.5rem;
  --sp-3:  0.75rem;
  --sp-4:  1rem;
  --sp-5:  1.25rem;
  --sp-6:  1.5rem;
  --sp-8:  2rem;
  --sp-10: 2.5rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-20: 5rem;
  --sp-24: 6rem;

  --section-py: clamp(4rem, 8vw, 7rem);

  --r-sm:   4px;
  --r-md:   8px;
  --r-lg:   16px;
  --r-xl:   24px;
  --r-2xl:  40px;
  --r-full: 9999px;

  --sh-sm:  0 1px 4px rgba(28,20,16,0.06);
  --sh-md:  0 4px 20px rgba(28,20,16,0.09);
  --sh-lg:  0 8px 40px rgba(28,20,16,0.12);
  --sh-xl:  0 20px 60px rgba(28,20,16,0.16);
  --sh-gold: 0 4px 20px rgba(201,148,58,0.25);

  --ease:        cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-out:    cubic-bezier(0, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);

  --dur-1: 150ms;
  --dur-2: 250ms;
  --dur-3: 400ms;
  --dur-4: 600ms;
  --dur-5: 900ms;

  --nav-h:      80px;
  --max-w:      1440px;
  --content-w:  1200px;
  --gutter:     clamp(1.25rem, 5vw, 3rem);
}

/* ─── RESET ────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
  background-color: var(--cream);
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  color: var(--c-text);
  background: var(--c-bg);
  line-height: 1.65;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
  position: relative;
  -webkit-font-smoothing: antialiased;
}
main, section, header, footer {
  max-width: 100%;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, select, textarea { font-family: inherit; font-size: inherit; }
::selection { background: var(--gold-pale); color: var(--ink); }

/* ─── TYPOGRAPHY ───────────────────────────────────────── */
/* ─── TYPOGRAPHY — Montserrat Weight Scale ────────────────
   800 ExtraBold → Hero / Maximum Impact
   700 Bold      → Major headings (H1, H2)
   600 SemiBold  → Sub-headings, card titles, labels
   500 Medium    → Navigation, meta, secondary UI
   400 Regular   → General body text
   300 Light     → Elegant long-form descriptive copy
   ─────────────────────────────────────────────────────── */
.t-display {
  font-family: var(--font-display);
  font-size: var(--fs-hero);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.025em;
}
.t-h1 {
  font-family: var(--font-display);
  font-size: var(--fs-4xl);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.t-h2 {
  font-family: var(--font-display);
  font-size: var(--fs-3xl);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
}
.t-h3 {
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.t-h4 {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.005em;
}
.t-label {
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.t-body-lg { font-size: var(--fs-md); font-weight: 300; line-height: 1.8; }
.t-body    { font-size: var(--fs-base); font-weight: 400; line-height: 1.7; }
.t-body-sm { font-size: var(--fs-sm); font-weight: 400; line-height: 1.65; }

/* ─── COLOR UTILITIES ──────────────────────────────────── */
.text-gold   { color: var(--gold); }
.text-forest { color: var(--forest); }
.text-white  { color: var(--white); }
.text-muted  { color: var(--ink-muted); }
.text-ghost  { color: var(--ink-ghost); }

.bg-cream     { background-color: var(--cream); }
.bg-parchment { background-color: var(--parchment); }
.bg-ink       { background-color: var(--ink); }
.bg-forest    { background-color: var(--forest); }
.bg-white     { background-color: var(--white); }

/* ─── LAYOUT ───────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--content-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--wide {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--section-py); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-8); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-8); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-6); }

.flex         { display: flex; }
.flex-center  { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-col     { display: flex; flex-direction: column; }

.gap-2 { gap: var(--sp-2); }
.gap-4 { gap: var(--sp-4); }
.gap-6 { gap: var(--sp-6); }
.gap-8 { gap: var(--sp-8); }

/* ─── IMAGE UTILITIES ──────────────────────────────────── */
.img-cover { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.img-fill  { width: 100%; object-fit: cover; }
.overflow-hidden { overflow: hidden; }
.rounded-lg  { border-radius: var(--r-lg); }
.rounded-xl  { border-radius: var(--r-xl); }

/* ─── MISC UTILITIES ───────────────────────────────────── */
.sr-only { position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap; }
.relative { position: relative; }
.absolute { position: absolute; }
.inset-0  { inset: 0; }
.z-1  { z-index: 1; }
.z-10 { z-index: 10; }
.w-full { width: 100%; }
.h-full { height: 100%; }
.mt-auto { margin-top: auto; }
.mb-4 { margin-bottom: var(--sp-4); }
.mb-6 { margin-bottom: var(--sp-6); }
.mb-8 { margin-bottom: var(--sp-8); }
.mb-12 { margin-bottom: var(--sp-12); }
.text-center { text-align: center; }

.rule-gold {
  width: 48px; height: 2px;
  background: var(--gold);
  display: block; flex-shrink: 0;
}

/* ─── SECTION HEADER ───────────────────────────────────── */
.section-header { max-width: 620px; }
.section-header .t-label,
.section-header--center .t-label {
  color: var(--gold);
  display: block;
  margin-bottom: var(--sp-4);
}
.section-header--center {
  max-width: 600px;
  margin-inline: auto;
  text-align: center;
}
.section-header h2,
.section-header--center h2 { margin-bottom: var(--sp-5); }
.section-header p,
.section-header--center p { color: var(--ink-muted); }

/* ─── SCROLLBAR ─────────────────────────────────────────── */
html {
  scrollbar-width: thin;
  scrollbar-color: var(--gold) var(--cream);
}
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }

/* ─── ACCESSIBILITY / FOCUS ─────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-radius: var(--r-sm);
}

/* ─── RESPONSIVE ────────────────────────────────────────── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  :root { --nav-h: 64px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hide-mobile { display: none !important; }
}
@media (min-width: 769px) {
  .show-mobile { display: none !important; }
}
