/**
 * CSS Custom Properties & Design Tokens
 * 
 * Strict tokenized design system based on festive luxury palette,
 * 8px spacing scale, fluid typography, and layered depth shadows.
 * 
 * ADMIN-PANEL: Theme token overrides can be placed here or in custom stylesheet.
 */

:root {
    /* Brand Color Palette */
    --color-evergreen: #0F3D2E;      /* Deep primary forest evergreen */
    --color-evergreen-dark: #09261C; /* Darker evergreen for footer & contrast */
    --color-evergreen-light: #18523F;
    --color-cream: #FFF8EE;          /* Warm cream surface/background */
    --color-cream-alt: #F7EFE1;      /* Slightly deeper cream for cards/sections */
    --color-cranberry: #B3202A;      /* Festive jewel red */
    --color-cranberry-dark: #8C161E;
    --color-gold: #D4A64A;           /* Soft metallic antique gold */
    --color-gold-light: #E8C477;
    --color-gold-dark: #B08229;
    --color-text-charcoal: #1F2937;  /* High-contrast readable charcoal */
    --color-text-muted: #5B6574;     /* Secondary readable slate */
    --color-text-light: #8E9BAE;
    --color-white: #FFFFFF;
    --color-border: rgba(15, 61, 46, 0.12);
    --color-border-focus: #D4A64A;
    --color-error: #D32F2F;
    --color-success: #2E7D32;

    /* Typography Scales (Fluid clamp-based scales) */
    --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    
    --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.8125rem);
    --text-sm: clamp(0.8125rem, 0.78rem + 0.2vw, 0.875rem);
    --text-base: clamp(0.9375rem, 0.9rem + 0.2vw, 1.0625rem);
    --text-md: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
    --text-lg: clamp(1.25rem, 1.15rem + 0.5vw, 1.5rem);
    --text-xl: clamp(1.5rem, 1.35rem + 0.75vw, 1.875rem);
    --text-2xl: clamp(1.875rem, 1.65rem + 1.1vw, 2.375rem);
    --text-3xl: clamp(2.25rem, 1.95rem + 1.5vw, 3rem);
    --text-4xl: clamp(2.75rem, 2.3rem + 2.25vw, 3.875rem);

    /* 8px Spacing Scale */
    --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 */

    /* Radii */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 20px;
    --radius-xl: 24px;
    --radius-2xl: 28px;
    --radius-full: 9999px;

    /* Layered Soft Shadows */
    --shadow-sm: 0 2px 8px rgba(15, 61, 46, 0.05);
    --shadow-md: 0 8px 24px rgba(15, 61, 46, 0.08);
    --shadow-lg: 0 16px 40px rgba(15, 61, 46, 0.12);
    --shadow-xl: 0 24px 60px rgba(15, 61, 46, 0.16);
    --shadow-gold: 0 8px 30px rgba(212, 166, 74, 0.28);
    --shadow-hover: 0 20px 48px rgba(15, 61, 46, 0.15);

    /* Transitions & Motion */
    --transition-fast: 0.18s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.16, 1, 0.3, 1);

    /* Layout Max Widths */
    --container-max: 1240px;
    --container-narrow: 860px;
}
