/* ==========================================
   variables.css - CSS Custom Properties
   ========================================== */

:root {
    /* Typography Scale */
    --font-headline: 'Georgia', 'Times New Roman', serif;
    --font-body: 'Helvetica Neue', 'Arial', sans-serif;
    --font-mono: 'Courier New', monospace;
    
    /* Font Sizes - Fluid Typography */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 2rem;
    --text-4xl: 2.5rem;
    --text-5xl: 3rem;
    --text-6xl: 4rem;
    --text-7xl: 5rem;
    
    /* Font Weights */
    --font-normal: 400;
    --font-medium: 500;
    --font-semibold: 600;
    --font-bold: 700;
    --font-black: 900;
    
    /* Line Heights */
    --leading-tight: 1.1;
    --leading-snug: 1.2;
    --leading-normal: 1.6;
    --leading-relaxed: 1.8;
    --leading-loose: 2;
    
    /* Swiss Grid System */
    --grid-columns: 12;
    --grid-gap: 24px;
    --container-max: 1440px;
    --container-padding: var(--grid-gap);
    
    /* Light Mode Colors (Default - Newspaper look) */
    --ink-black: #1a1a1a;
    --paper-white: #faf8f3;
    --newsprint-gray: #3d3d3d;
    --aged-paper: #f5f1e8;
    --highlight-purple: #8A00C4;
    --retro-glow: #00ff88;
    
    /* Additional Colors */
    --border-dark: #1a1a1a;
    --border-light: rgba(26, 26, 26, 0.1);
    --text-primary: #1a1a1a;
    --text-secondary: #3d3d3d;
    --bg-primary: #faf8f3;
    --bg-secondary: #f5f1e8;
    
    /* Spacing Scale - 8px Base */
    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 24px;
    --space-lg: 48px;
    --space-xl: 96px;
    --space-2xl: 144px;
    
    /* Border Radius */
    --radius-sm: 2px;
    --radius-md: 4px;
    --radius-lg: 8px;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 300ms ease;
    --transition-slow: 500ms ease;
    --transition-slower: 750ms ease;
    
    /* Cubic Bezier Curves */
    --ease-in-out-expo: cubic-bezier(0.87, 0, 0.13, 1);
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-expo: cubic-bezier(0.7, 0, 0.84, 0);
    
    /* Shadows */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 16px 32px rgba(0, 0, 0, 0.2);
    --shadow-2xl: 0 24px 48px rgba(0, 0, 0, 0.25);
    --shadow-inner: inset 0 2px 4px rgba(0, 0, 0, 0.05);
    
    /* Z-Index Scale */
    --z-base: 0;
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-overlay: 300;
    --z-modal: 400;
    --z-popover: 500;
    --z-tooltip: 600;
    --z-max: 9999;
    
    /* Breakpoints (for reference in JS) */
    --breakpoint-xs: 480px;
    --breakpoint-sm: 640px;
    --breakpoint-md: 768px;
    --breakpoint-lg: 1024px;
    --breakpoint-xl: 1280px;
    --breakpoint-2xl: 1440px;
    
    /* Animation Durations */
    --duration-fast: 150ms;
    --duration-base: 300ms;
    --duration-slow: 500ms;
    --duration-slower: 750ms;
    --duration-slowest: 1000ms;
}

/* Dark mode variables (activated with .dark-mode class on body) */
body.dark-mode {
    --ink-black: #ffffff;
    --paper-white: #1a1a1a;
    --newsprint-gray: #a0a0a0;
    --aged-paper: #0a0a0a;
    --highlight-purple:  #00ff88;
    --retro-glow:  #00ff88;
    
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --bg-primary: #1a1a1a;
    --bg-secondary: #0a0a0a;
    
    --border-dark: #ffffff;
    --border-light: rgba(255, 255, 255, 0.1);
}