/* ==========================================================================
   SWEENEY & BEVERLY LIFE CELEBRATION SERVICES
   GLOBAL DESIGN SYSTEM: VARIABLES
   ========================================================================== */

:root {
  /* ------------------------------------------------------------------------
     1. COLOR PALETTE
     ------------------------------------------------------------------------ */
  /* Primary & Foundations: Deep Dignified Navy */
  --color-primary: #15202b;
  --color-primary-dark: #0e1620;
  --color-primary-light: #223244;
  --color-primary-subtle: #2d4157;

  /* Secondary: Warm Sophisticated Beige */
  --color-secondary: #dcd3c5;
  --color-secondary-light: #f5f0e8;
  --color-secondary-dark: #b8ab97;

  /* Backgrounds: Soft Ivory & Warm Off-White */
  --color-bg-main: #fcfbfa;
  --color-bg-surface: #ffffff;
  --color-bg-alt: #f7f4ee;
  --color-bg-subtle: #f1ede5;
  --color-bg-dark: #111a24;
  --color-bg-dark-card: #182330;

  /* Accents: Muted Heritage Gold */
  --color-accent: #c49a45;
  --color-accent-light: #dfbe77;
  --color-accent-dark: #9e7828;
  --color-accent-subtle: rgba(196, 154, 69, 0.12);
  --color-accent-glow: rgba(196, 154, 69, 0.35);

  /* Borders & Dividers */
  --color-border: #e8e2d8;
  --color-border-light: #f0ebe2;
  --color-border-dark: #2a3748;
  --color-border-gold: rgba(196, 154, 69, 0.3);

  /* Typography Colors */
  --color-text-main: #22252a;
  --color-text-heading: #15202b;
  --color-text-muted: #5e6673;
  --color-text-light: #8e96a3;
  --color-text-white: #ffffff;
  --color-text-white-muted: #d0d6df;

  /* Status & Emotional Tones */
  --color-success: #3c7a59;
  --color-warm-rose: #d97878;

  /* ------------------------------------------------------------------------
     2. TYPOGRAPHY SYSTEM
     ------------------------------------------------------------------------ */
  --font-serif: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Fluid Responsive Type Scales (clamp) */
  --text-hero: clamp(2.5rem, 5vw + 1rem, 4.5rem);        /* 40px - 72px */
  --text-h1: clamp(2.1rem, 3.5vw + 0.5rem, 3.25rem);     /* 33px - 52px */
  --text-h2: clamp(1.75rem, 2.5vw + 0.4rem, 2.45rem);    /* 28px - 39px */
  --text-h3: clamp(1.35rem, 1.6vw + 0.3rem, 1.8rem);     /* 21px - 29px */
  --text-h4: clamp(1.15rem, 1.2vw + 0.2rem, 1.4rem);     /* 18px - 22px */
  --text-lead: clamp(1.1rem, 0.4vw + 1.0rem, 1.25rem);   /* 17px - 20px */
  --text-body: clamp(0.975rem, 0.2vw + 0.95rem, 1.0625rem);/* 15.6px - 17px */
  --text-small: 0.875rem;                                /* 14px */
  --text-xs: 0.75rem;                                    /* 12px */

  --leading-tight: 1.15;
  --leading-heading: 1.25;
  --leading-normal: 1.65;
  --leading-loose: 1.8;

  --tracking-tight: -0.02em;
  --tracking-normal: 0;
  --tracking-wide: 0.05em;
  --tracking-widest: 0.15em;

  /* ------------------------------------------------------------------------
     3. SPACING SYSTEM
     ------------------------------------------------------------------------ */
  --space-2xs: 0.25rem;  /* 4px */
  --space-xs: 0.5rem;    /* 8px */
  --space-sm: 0.75rem;   /* 12px */
  --space-md: 1rem;      /* 16px */
  --space-lg: 1.5rem;    /* 24px */
  --space-xl: 2.25rem;   /* 36px */
  --space-2xl: 3.5rem;   /* 56px */
  --space-3xl: 5rem;     /* 80px */
  --space-4xl: 7.5rem;   /* 120px */

  /* Section Spacing */
  --section-padding: clamp(3.5rem, 6vw + 1rem, 7rem) 0;
  --section-padding-sm: clamp(2.5rem, 4vw + 1rem, 4.5rem) 0;

  /* ------------------------------------------------------------------------
     4. CONTAINER & LAYOUT SIZES
     ------------------------------------------------------------------------ */
  --container-max: 1280px;
  --container-wide: 1440px;
  --container-narrow: 860px;
  --container-padding: clamp(1.25rem, 3vw, 2.5rem);

  /* ------------------------------------------------------------------------
     5. ELEVATIONS & SHADOWS
     ------------------------------------------------------------------------ */
  --shadow-sm: 0 2px 8px rgba(21, 32, 43, 0.04);
  --shadow-md: 0 8px 24px rgba(21, 32, 43, 0.07);
  --shadow-lg: 0 16px 40px rgba(21, 32, 43, 0.09);
  --shadow-xl: 0 24px 60px rgba(21, 32, 43, 0.12);
  --shadow-gold: 0 8px 30px rgba(196, 154, 69, 0.22);
  --shadow-inner: inset 0 2px 4px rgba(0, 0, 0, 0.04);

  /* ------------------------------------------------------------------------
     6. BORDER RADII
     ------------------------------------------------------------------------ */
  --radius-xs: 2px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* ------------------------------------------------------------------------
     7. TRANSITIONS & TIMING
     ------------------------------------------------------------------------ */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: 0.2s var(--ease-out);
  --transition-normal: 0.35s var(--ease-out);
  --transition-slow: 0.6s var(--ease-out);

  /* ------------------------------------------------------------------------
     8. Z-INDEX LAYERS
     ------------------------------------------------------------------------ */
  --z-negative: -1;
  --z-base: 1;
  --z-above: 10;
  --z-sticky: 100;
  --z-dropdown: 200;
  --z-drawer: 500;
  --z-modal: 1000;
  --z-toast: 2000;
}
