/* 
 * Yerelhaberler.org - Design System Variables 
 * Premium, modern, responsive tasarım sistemi
 */

:root {
    /* -----------------------------
       Typography
       ----------------------------- */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-display: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-size-base: 16px;
    
    /* Modular Scale (1.250) */
    --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: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;

    /* -----------------------------
       Spacing (Base 4px)
       ----------------------------- */
    --spacing-0: 0;
    --spacing-1: 0.25rem;
    --spacing-2: 0.5rem;
    --spacing-3: 0.75rem;
    --spacing-4: 1rem;
    --spacing-5: 1.25rem;
    --spacing-6: 1.5rem;
    --spacing-8: 2rem;
    --spacing-10: 2.5rem;
    --spacing-12: 3rem;
    --spacing-16: 4rem;
    --spacing-20: 5rem;
    --spacing-24: 6rem;

    /* -----------------------------
       Radius & Shadows
       ----------------------------- */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 20px;
    --radius-2xl: 24px;
    --radius-full: 9999px;

    /* -----------------------------
       Transitions & Animations
       ----------------------------- */
    --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);
    --transition-spring: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);

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

    /* =======================================================================
       LIGHT THEME (Default)
       ======================================================================= */
    --bg-body: #F0F4F8;
    --bg-surface: #FFFFFF;
    --bg-surface-hover: #F1F5F9;
    --bg-surface-alt: #F8FAFC;
    --bg-glass: rgba(255, 255, 255, 0.72);
    --bg-glass-heavy: rgba(255, 255, 255, 0.88);
    --bg-overlay: rgba(15, 23, 42, 0.5);
    
    --text-primary: #0F172A;
    --text-secondary: #475569;
    --text-muted: #94A3B8;
    --text-inverse: #FFFFFF;
    
    --border-color: #E2E8F0;
    --border-color-hover: #CBD5E1;
    --border-color-light: #F1F5F9;
    
    /* Brand Colors */
    --brand-primary: #2563EB;
    --brand-primary-hover: #1D4ED8;
    --brand-primary-light: #EFF6FF;
    --brand-primary-rgb: 37, 99, 235;
    --brand-gradient: linear-gradient(135deg, #2563EB 0%, #7C3AED 100%);
    --brand-gradient-warm: linear-gradient(135deg, #F59E0B 0%, #EF4444 100%);
    --brand-gradient-cool: linear-gradient(135deg, #06B6D4 0%, #2563EB 100%);
    --brand-gradient-nature: linear-gradient(135deg, #10B981 0%, #06B6D4 100%);
    
    /* Category Colors */
    --cat-gundem: #EF4444;
    --cat-siyaset: #8B5CF6;
    --cat-ekonomi: #F59E0B;
    --cat-spor: #10B981;
    --cat-asayis: #DC2626;
    --cat-saglik: #06B6D4;
    --cat-egitim: #3B82F6;
    --cat-kultur: #EC4899;
    --cat-teknoloji: #6366F1;
    --cat-global: #14B8A6;
    
    /* Status Colors */
    --color-success: #10B981;
    --color-success-light: #ECFDF5;
    --color-warning: #F59E0B;
    --color-warning-light: #FFFBEB;
    --color-danger: #EF4444;
    --color-danger-light: #FEF2F2;
    --color-info: #3B82F6;
    --color-info-light: #EFF6FF;

    /* Shadows */
    --shadow-xs: 0 1px 2px rgb(0 0 0 / 0.04);
    --shadow-sm: 0 1px 3px rgb(0 0 0 / 0.06), 0 1px 2px rgb(0 0 0 / 0.04);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.07), 0 2px 4px -2px rgb(0 0 0 / 0.05);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.08), 0 4px 6px -4px rgb(0 0 0 / 0.04);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.08), 0 8px 10px -6px rgb(0 0 0 / 0.04);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.15);
    --shadow-glow: 0 0 20px rgba(var(--brand-primary-rgb), 0.15);
    --shadow-card: 0 2px 8px rgb(0 0 0 / 0.04), 0 0 1px rgb(0 0 0 / 0.06);
    --shadow-card-hover: 0 12px 28px rgb(0 0 0 / 0.08), 0 0 1px rgb(0 0 0 / 0.06);

    /* Glassmorphism */
    --backdrop-blur: blur(16px);
    --backdrop-blur-heavy: blur(24px);
}

/* =======================================================================
   DARK THEME
   ======================================================================= */
[data-theme="dark"] {
    --bg-body: #0B0F19;
    --bg-surface: #151B2B;
    --bg-surface-hover: #1E2740;
    --bg-surface-alt: #111827;
    --bg-glass: rgba(21, 27, 43, 0.78);
    --bg-glass-heavy: rgba(21, 27, 43, 0.92);
    --bg-overlay: rgba(0, 0, 0, 0.6);
    
    --text-primary: #F1F5F9;
    --text-secondary: #94A3B8;
    --text-muted: #64748B;
    --text-inverse: #0F172A;
    
    --border-color: #1E293B;
    --border-color-hover: #334155;
    --border-color-light: #1E293B;
    
    --brand-primary: #3B82F6;
    --brand-primary-hover: #60A5FA;
    --brand-primary-light: rgba(59, 130, 246, 0.12);
    --brand-primary-rgb: 59, 130, 246;
    
    --shadow-xs: 0 1px 2px rgb(0 0 0 / 0.2);
    --shadow-sm: 0 1px 3px rgb(0 0 0 / 0.3), 0 1px 2px rgb(0 0 0 / 0.2);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.35), 0 2px 4px -2px rgb(0 0 0 / 0.2);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.35), 0 4px 6px -4px rgb(0 0 0 / 0.2);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.35), 0 8px 10px -6px rgb(0 0 0 / 0.2);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.5);
    --shadow-glow: 0 0 25px rgba(var(--brand-primary-rgb), 0.2);
    --shadow-card: 0 2px 8px rgb(0 0 0 / 0.2), 0 0 1px rgb(0 0 0 / 0.3);
    --shadow-card-hover: 0 12px 28px rgb(0 0 0 / 0.3), 0 0 1px rgb(0 0 0 / 0.3);
}
