/* ==========================================================================
   CSS CUSTOM PROPERTIES - DANIEL WOŹNIAK DESIGN SYSTEM
   ========================================================================== */

:root {
    /* Colors - Primary Palette */
    --primary-dark: #0a192f;
    --primary-medium: #172a45;
    --primary-light: #1e3a58;

    /* Colors - Accent */
    --accent-blue: #007acc;
    --accent-blue-light: #4f96d8;
    --accent-gold: #f7931e;

    /* Colors - Neutral */
    --white: #ffffff;
    --surface-card: #ffffff;
    --surface-dark: #0f1419;

    /* Typography Colors - UNIFIED SYSTEM */
    --text-primary-light: #ffffff;      /* For dark backgrounds */
    --text-primary-dark: #0a192f;       /* For light backgrounds */
    --text-secondary: #8892b0;
    --text-muted: #495670;
    --text-light: #cbd5e1;

    /* Layout & Spacing */
    --container-width: 1400px;          /* Unified container width */
    --container-padding: 2rem;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

    /* Border Radius */
    --border-radius-sm: 0.375rem;
    --border-radius-md: 0.5rem;
    --border-radius-lg: 0.75rem;
    --border-radius-xl: 1rem;

    /* Transitions */
    --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);

    /* Typography Scale */
    --font-family-base: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-family-mono: 'JetBrains Mono', 'Monaco', 'Consolas', monospace;

    /* Font Weights */
    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;

    /* Line Heights */
    --line-height-tight: 1.1;
    --line-height-normal: 1.4;
    --line-height-relaxed: 1.6;

    /* Z-Index Scale */
    --z-negative: -1;
    --z-normal: 1;
    --z-elevated: 10;
    --z-sticky: 100;
    --z-overlay: 1000;
    --z-modal: 9999;

    /* Spacing Scale */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;

    /* Breakpoints (for JS usage) */
    --breakpoint-sm: 640px;
    --breakpoint-md: 768px;
    --breakpoint-lg: 1024px;
    --breakpoint-xl: 1280px;
    --breakpoint-2xl: 1536px;
}

/* Dark theme overrides */
.theme-dark {
    --text-primary: var(--text-primary-light);
    --surface-primary: var(--primary-dark);
}

/* Light theme overrides */
.theme-light {
    --text-primary: var(--text-primary-dark);
    --surface-primary: var(--white);
}

/* Component-specific color tokens */
:root {
    /* Hero Section */
    --hero-bg: var(--primary-dark);
    --hero-text: var(--text-primary-light);

    /* Navigation */
    --nav-bg: rgba(10, 25, 47, 0.95);
    --nav-text: var(--text-primary-light);

    /* Cards */
    --card-bg: var(--white);
    --card-text: var(--text-primary-dark);
    --card-border: rgba(226, 232, 240, 0.2);

    /* Buttons */
    --button-primary-bg: var(--accent-blue);
    --button-primary-text: var(--white);
    --button-secondary-bg: transparent;
    --button-secondary-text: var(--accent-blue);
}