/* =======================================================
   SAYONARA V2 — DESIGN TOKENS
   Single source of truth for all design decisions.
   Every other CSS file imports only from here.
   ======================================================= */

:root {
  /* ── COLORS ─────────────────────────────────────────── */

  /* Brand Palette */
  --clr-navy:        #1D2D44;   /* Header, footer, dark backgrounds */
  --clr-navy-light:  #2C3E50;   /* Secondary navy */
  --clr-red:         #C95D4A;   /* Primary action color (terracotta) */
  --clr-red-dark:    #A8432F;   /* Hover state for red */
  --clr-gold:        #E5A12D;   /* Accent, highlights, active states */
  --clr-gold-dark:   #C8861A;   /* Hover state for gold */

  /* Backgrounds */
  --clr-bg:          #FDFBF5;   /* Warm off-white — main background */
  --clr-bg-mid:      #F5F0E8;   /* Slightly darker warm — alternating sections */
  --clr-bg-dark:     #1D2D44;   /* Dark sections */

  /* Text */
  --clr-text:        #1C1C1C;   /* Primary body text */
  --clr-text-mid:    #4A4A4A;   /* Secondary text */
  --clr-text-muted:  #7A7A7A;   /* Muted, captions */
  --clr-text-light:  #FDFBF5;   /* Text on dark backgrounds */
  --clr-text-gold:   #E5A12D;   /* Gold accent text */

  /* Borders */
  --clr-border:      #E2DAC9;   /* Standard border */
  --clr-border-dark: rgba(255,255,255,0.12); /* Border on dark bg */

  /* Overlays */
  --clr-overlay:     rgba(29, 45, 68, 0.75); /* Dark hero overlay */
  --clr-overlay-mid: rgba(29, 45, 68, 0.88); /* Heavier dark-section overlay */

  /* UI States */
  --clr-success:     #2E7D32;
  --clr-error:       #C62828;
  --clr-warning:     #E65100;

  /* ── TYPOGRAPHY ─────────────────────────────────────── */
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;

  --text-xs:   0.75rem;   /* 12px */
  --text-sm:   0.875rem;  /* 14px */
  --text-base: 1rem;      /* 16px */
  --text-md:   1.125rem;  /* 18px */
  --text-lg:   1.25rem;   /* 20px */
  --text-xl:   1.5rem;    /* 24px */
  --text-2xl:  2rem;      /* 32px */
  --text-3xl:  2.5rem;    /* 40px */
  --text-4xl:  3.5rem;    /* 56px */
  --text-5xl:  4.5rem;    /* 72px */

  --weight-normal:  400;
  --weight-medium:  500;
  --weight-semibold:600;
  --weight-bold:    700;

  --leading-tight:  1.2;
  --leading-snug:   1.4;
  --leading-base:   1.65;
  --leading-loose:  1.9;

  --tracking-tight: -0.03em;
  --tracking-base:  0em;
  --tracking-wide:  0.06em;
  --tracking-wider: 0.12em;

  /* ── SPACING ─────────────────────────────────────────── */
  --space-1:   0.25rem;   /* 4px */
  --space-2:   0.5rem;    /* 8px */
  --space-3:   0.75rem;   /* 12px */
  --space-4:   1rem;      /* 16px */
  --space-5:   1.25rem;   /* 20px */
  --space-6:   1.5rem;    /* 24px */
  --space-8:   2rem;      /* 32px */
  --space-10:  2.5rem;    /* 40px */
  --space-12:  3rem;      /* 48px */
  --space-16:  4rem;      /* 64px */
  --space-20:  5rem;      /* 80px */
  --space-24:  6rem;      /* 96px */

  /* Section padding */
  --section-py: var(--space-20);

  /* ── LAYOUT ──────────────────────────────────────────── */
  --container-max: 1200px;
  --container-wide: 1400px;
  --header-h: 75px;

  /* ── BORDERS & RADII ─────────────────────────────────── */
  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  12px;
  --radius-xl:  20px;
  --radius-full:9999px;

  /* ── SHADOWS ─────────────────────────────────────────── */
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md:  0 4px 15px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.06);
  --shadow-lg:  0 10px 40px rgba(0,0,0,0.12), 0 4px 15px rgba(0,0,0,0.08);
  --shadow-xl:  0 20px 60px rgba(0,0,0,0.16), 0 8px 25px rgba(0,0,0,0.1);
  --shadow-card:0 2px 8px rgba(29,45,68,0.08), 0 1px 3px rgba(29,45,68,0.06);
  --shadow-card-hover: 0 8px 30px rgba(29,45,68,0.15), 0 3px 10px rgba(29,45,68,0.08);

  /* ── TRANSITIONS ─────────────────────────────────────── */
  --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:    cubic-bezier(0.7, 0, 0.84, 0);
  --ease-inout: cubic-bezier(0.87, 0, 0.13, 1);
  --ease-spring:cubic-bezier(0.175, 0.885, 0.32, 1.275);

  --duration-fast:   150ms;
  --duration-base:   250ms;
  --duration-slow:   400ms;
  --duration-slower: 600ms;

  /* ── Z-INDEX STACK ───────────────────────────────────── */
  --z-base:    1;
  --z-dropdown:10;
  --z-sticky:  100;
  --z-overlay: 200;
  --z-modal:   300;
  --z-toast:   400;
  --z-splash:  500;
}
