/* CSS Custom Properties (Design Tokens) */
:root {
    /* Colors - African-Inspired Palette */
    /* Base: #092327 (Jet Black), #00a9a5 (Light Sea Green), #f8e16c (Royal Gold), 
       #016fb9 (Bright Marine), #d62246 (Raspberry) */

    --color-bg-primary: #092327;
    /* Jet Black - Deep teal-black */
    --color-bg-secondary: #0d2f35;
    /* Slightly lighter teal */
    --color-bg-tertiary: #113b43;
    /* Medium teal */
    --color-bg-elevated: #154a54;
    /* Elevated teal */

    --color-text-primary: #ffffff;
    --color-text-secondary: #b8d4d6;
    /* Light teal-gray */
    --color-text-tertiary: #7a9fa3;
    /* Medium teal-gray */

    --color-accent-primary: #d62246;
    /* Raspberry - Primary CTA */
    --color-accent-secondary: #00a9a5;
    /* Light Sea Green - Secondary accent */
    --color-accent-tertiary: #016fb9;
    /* Bright Marine - Tertiary accent */
    --color-accent-gold: #f8e16c;
    /* Royal Gold - Premium/featured */

    --color-success: #00a9a5;
    /* Light Sea Green */
    --color-warning: #f8e16c;
    /* Royal Gold */
    --color-error: #d62246;
    /* Raspberry */

    --color-border: #1a4a52;
    /* Teal border */
    --color-border-light: #256069;
    /* Lighter teal border */

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #d62246 0%, #f8576d 100%);
    --gradient-secondary: linear-gradient(135deg, #00a9a5 0%, #016fb9 100%);
    --gradient-gold: linear-gradient(135deg, #f8e16c 0%, #ffd700 100%);
    --gradient-dark: linear-gradient(180deg, rgba(9, 35, 39, 0) 0%, rgba(9, 35, 39, 0.9) 100%);

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Bebas Neue', 'Impact', sans-serif;

    --font-size-xs: 0.75rem;
    /* 12px */
    --font-size-sm: 0.875rem;
    /* 14px */
    --font-size-base: 1rem;
    /* 16px */
    --font-size-lg: 1.125rem;
    /* 18px */
    --font-size-xl: 1.25rem;
    /* 20px */
    --font-size-2xl: 1.5rem;
    /* 24px */
    --font-size-3xl: 2rem;
    /* 32px */
    --font-size-4xl: 2.5rem;
    /* 40px */
    --font-size-5xl: 3rem;
    /* 48px */
    --font-size-6xl: 4rem;
    /* 64px */
    --font-size-7xl: 5rem;
    /* 80px */

    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-extrabold: 800;
    --font-weight-black: 900;

    --line-height-tight: 1.2;
    --line-height-normal: 1.5;
    --line-height-relaxed: 1.75;

    /* 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 */

    /* Border Radius */
    --radius-sm: 0.25rem;
    /* 4px */
    --radius-md: 0.5rem;
    /* 8px */
    --radius-lg: 0.75rem;
    /* 12px */
    --radius-xl: 1rem;
    /* 16px */
    --radius-2xl: 1.5rem;
    /* 24px */
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.5);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.5), 0 2px 4px -1px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5), 0 4px 6px -2px rgba(0, 0, 0, 0.3);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 10px 10px -5px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 20px rgba(214, 34, 70, 0.4);
    --shadow-glow-secondary: 0 0 20px rgba(0, 169, 165, 0.4);
    --shadow-glow-gold: 0 0 20px rgba(248, 225, 108, 0.3);

    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);

    /* Z-index */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;

    /* Layout */
    --container-max-width: 1440px;
    --container-padding: var(--space-6);
    --navbar-height: 80px;

    /* Breakpoints (for reference in media queries) */
    --breakpoint-sm: 640px;
    --breakpoint-md: 768px;
    --breakpoint-lg: 1024px;
    --breakpoint-xl: 1280px;
    --breakpoint-2xl: 1536px;
}

/* Dark theme is default, but we can add light theme support later */
[data-theme="light"] {
    --color-bg-primary: #ffffff;
    --color-bg-secondary: #f5f5f5;
    --color-bg-tertiary: #e5e5e5;
    --color-bg-elevated: #ffffff;

    --color-text-primary: #0a0a0a;
    --color-text-secondary: #505050;
    --color-text-tertiary: #909090;

    --color-border: #e0e0e0;
    --color-border-light: #f0f0f0;
}