/* ==========================================================================
   Glorious by Sheel — CSS Custom Properties
   ========================================================================== */

:root {
    /* Brand Colors — Navy */
    --color-navy-dark: #0f1128;
    --color-navy: #1a1a3e;
    --color-navy-light: #2E275C;
    --color-royal-blue: #172E91;
    --color-indigo: #364898;

    /* Brand Colors — Gold Gradient */
    --color-gold-dark: #ecc79c;
    --color-gold: #eecc95;
    --color-gold-rose: #f1d2d1;
    --color-gold-light: #f6d9be;
    --color-gold-cream: #e9c190;

    /* Neutrals */
    --color-white: #ffffff;
    --color-off-white: #faf9f7;
    --color-gray-100: #f5f5f5;
    --color-gray-200: #e8e8e8;
    --color-gray-300: #d1d1d1;
    --color-gray-400: #9e9e9e;
    --color-gray-500: #6b6b6b;
    --color-gray-600: #4a4a4a;
    --color-gray-700: #333333;
    --color-black: #111111;

    /* Functional */
    --color-success: #2e7d32;
    --color-error: #c62828;
    --color-whatsapp: #25D366;

    /* Typography */
    --font-heading: 'Century Bold', 'Georgia', serif;
    --font-script: 'Centabel Bold', 'Georgia', serif;
    --font-body: 'Metropolis', 'Helvetica Neue', Arial, sans-serif;

    /* Font Sizes — Fluid */
    --text-xs: clamp(0.7rem, 0.65rem + 0.25vw, 0.8rem);
    --text-sm: clamp(0.8rem, 0.75rem + 0.25vw, 0.9rem);
    --text-base: clamp(0.95rem, 0.9rem + 0.25vw, 1.05rem);
    --text-lg: clamp(1.1rem, 1rem + 0.5vw, 1.25rem);
    --text-xl: clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);
    --text-2xl: clamp(1.5rem, 1.2rem + 1.5vw, 2rem);
    --text-3xl: clamp(1.8rem, 1.4rem + 2vw, 2.5rem);
    --text-4xl: clamp(2.2rem, 1.6rem + 3vw, 3.5rem);
    --text-5xl: clamp(2.8rem, 2rem + 4vw, 4.5rem);

    /* Font Weights */
    --weight-regular: 400;
    --weight-bold: 700;
    --weight-black: 900;

    /* Line Heights */
    --leading-tight: 1.2;
    --leading-normal: 1.6;
    --leading-relaxed: 1.8;

    /* Letter Spacing */
    --tracking-tight: -0.01em;
    --tracking-normal: 0;
    --tracking-wide: 0.08em;
    --tracking-wider: 0.15em;
    --tracking-widest: 0.25em;

    /* Spacing Scale */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;
    --space-32: 8rem;

    /* Layout */
    --container-max: 1280px;
    --container-narrow: 900px;
    --container-wide: 1440px;
    --container-padding: clamp(1rem, 3vw, 2rem);

    /* Borders */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 16px 50px rgba(0, 0, 0, 0.15);
    --shadow-gold: 0 4px 20px rgba(236, 199, 156, 0.3);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 300ms ease;
    --transition-slow: 500ms ease;

    /* Z-index Scale */
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-overlay: 300;
    --z-modal: 400;
    --z-whatsapp: 500;

    /* Header */
    --header-height: 80px;
    --header-height-scrolled: 64px;
}

/* Dark section overrides */
[data-theme="dark"] {
    --section-bg: var(--color-navy);
    --section-text: var(--color-gold-light);
    --section-heading: var(--color-gold);
    --section-muted: var(--color-gray-400);
}

/* Light section defaults */
[data-theme="light"],
:root {
    --section-bg: var(--color-white);
    --section-text: var(--color-gray-700);
    --section-heading: var(--color-navy);
    --section-muted: var(--color-gray-500);
}
