/**
 * CSS Variables
 * Central design tokens for colors, typography, spacing, and animations
 * 
 * @package OGULCAN_Theme
 * @requirements 2.3, 3.1, 3.2
 */

:root {
    /* ==========================================================================
       Colors
       ========================================================================== */
    
    /* Primary - Lacivert (Navy Blue) */
    --color-primary: #1a237e;
    --color-primary-light: #534bae;
    --color-primary-dark: #000051;
    
    /* Secondary - Turuncu (Orange) for CTAs and accents */
    --color-secondary: #ff6d00;
    --color-secondary-light: #ff9e40;
    --color-secondary-dark: #c43c00;
    
    /* Neutral tones */
    --color-white: #ffffff;
    --color-light: #f5f5f5;
    --color-gray-100: #fafafa;
    --color-gray-200: #eeeeee;
    --color-gray-300: #e0e0e0;
    --color-gray-400: #bdbdbd;
    --color-gray-500: #9e9e9e;
    --color-dark: #212121;
    
    /* Text colors */
    --color-text: #424242;
    --color-text-light: #757575;
    --color-text-dark: #212121;
    --color-text-inverse: #ffffff;
    
    /* Semantic colors */
    --color-success: #4caf50;
    --color-error: #f44336;
    --color-warning: #ff9800;
    --color-info: #2196f3;

    /* ==========================================================================
       Typography
       ========================================================================== */
    
    /* Font families - Google Fonts with Turkish character support */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-mono: 'Fira Code', 'Consolas', monospace;
    
    /* Font sizes - modular scale */
    --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.5rem;     /* 24px */
    --font-size-2xl: 2rem;      /* 32px */
    --font-size-3xl: 3rem;      /* 48px */
    --font-size-4xl: 4rem;      /* 64px */
    --font-size-5xl: 5rem;      /* 80px */
    
    /* 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.2;
    --line-height-snug: 1.375;
    --line-height-normal: 1.6;
    --line-height-relaxed: 1.75;
    
    /* Letter spacing */
    --letter-spacing-tight: -0.025em;
    --letter-spacing-normal: 0;
    --letter-spacing-wide: 0.025em;
    --letter-spacing-wider: 0.05em;

    /* ==========================================================================
       Spacing Scale
       ========================================================================== */
    
    --space-0: 0;
    --space-xs: 0.25rem;   /* 4px */
    --space-sm: 0.5rem;    /* 8px */
    --space-md: 1rem;      /* 16px */
    --space-lg: 1.5rem;    /* 24px */
    --space-xl: 2rem;      /* 32px */
    --space-2xl: 3rem;     /* 48px */
    --space-3xl: 4rem;     /* 64px */
    --space-4xl: 6rem;     /* 96px */
    --space-5xl: 8rem;     /* 128px */

    /* ==========================================================================
       Layout
       ========================================================================== */
    
    --container-max: 1200px;
    --container-narrow: 800px;
    --container-wide: 1400px;
    --grid-gap: 2rem;
    --grid-gap-sm: 1rem;
    --grid-gap-lg: 3rem;

    /* ==========================================================================
       Animation & Transitions
       ========================================================================== */
    
    /* Transition durations */
    --transition-fast: 150ms ease;
    --transition-normal: 300ms ease;
    --transition-slow: 500ms ease;
    --transition-slower: 700ms ease;
    
    /* Easing functions */
    --ease-in: cubic-bezier(0.4, 0, 1, 1);
    --ease-out: cubic-bezier(0, 0, 0.2, 1);
    --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
    
    /* Animation delays for staggered effects */
    --delay-100: 100ms;
    --delay-200: 200ms;
    --delay-300: 300ms;
    --delay-400: 400ms;
    --delay-500: 500ms;

    /* ==========================================================================
       Shadows
       ========================================================================== */
    
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.2);
    --shadow-inner: inset 0 2px 4px rgba(0, 0, 0, 0.06);

    /* ==========================================================================
       Border Radius
       ========================================================================== */
    
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;

    /* ==========================================================================
       Z-Index Scale
       ========================================================================== */
    
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-fixed: 300;
    --z-modal-backdrop: 400;
    --z-modal: 500;
    --z-tooltip: 600;
}
