/* ═══════════════════════════════════════════════════════════
   FILE: assets/css/brand.css
   DESCRIPTION: WHT Store Design System - Brand Identity
   COLORS: #1E3A8A (Deep Blue) | #3B82F6 (Electric Blue)
   TYPOGRAPHY: Poppins (Headings) | Inter (Body)
   ═══════════════════════════════════════════════════════════ */

:root {
    /* ═══════════════════════════════════════════════════════════
       WHT PRIMARY COLORS
       ═══════════════════════════════════════════════════════════ */
    --color-primary: #1E3A8A;
    --color-primary-light: #3B82F6;
    --color-primary-dark: #1E293B;
    --color-primary-rgb: 30, 58, 138;

    /* ═══════════════════════════════════════════════════════════
       SECONDARY/FUNCTIONAL COLORS
       ═══════════════════════════════════════════════════════════ */
    --color-success: #10B981;
    --color-warning: #F59E0B;
    --color-danger: #EF4444;
    --color-info: #3B82F6;

    /* ═══════════════════════════════════════════════════════════
       NEUTRAL COLORS (LIGHT MODE)
       ═══════════════════════════════════════════════════════════ */
    --color-text-primary: #1F2937;
    --color-text-secondary: #6B7280;
    --color-text-muted: #9CA3AF;
    --color-text-inverse: #FFFFFF;

    --color-background: #FFFFFF;
    --color-background-alt: #F9FAFB;
    --color-background-dark: #111827;

    --color-border: #E5E7EB;
    --color-border-dark: #D1D5DB;
    --color-divider: #E5E7EB;

    /* ═══════════════════════════════════════════════════════════
       WHT GRADIENTS
       ═══════════════════════════════════════════════════════════ */
    --gradient-primary: linear-gradient(135deg, #1E3A8A 0%, #3B82F6 100%);
    --gradient-secondary: linear-gradient(135deg, #10B981 0%, #3B82F6 100%);
    --gradient-hero: linear-gradient(180deg, #1E3A8A 0%, #1E293B 100%);
    --gradient-overlay: linear-gradient(180deg, rgba(30, 58, 138, 0.9) 0%, rgba(30, 41, 59, 0.95) 100%);
    --gradient-promo: linear-gradient(90deg, #1E3A8A 0%, #3B82F6 100%);

    /* ═══════════════════════════════════════════════════════════
       TYPOGRAPHY
       ═══════════════════════════════════════════════════════════ */
    --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'Courier New', Courier, monospace;

    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;

    --font-size-h1: 3.5rem;
    --font-size-h2: 2.5rem;
    --font-size-h3: 1.75rem;
    --font-size-h4: 1.5rem;
    --font-size-h5: 1.25rem;
    --font-size-h6: 1.125rem;
    --font-size-body: 1.125rem;
    --font-size-body-sm: 1rem;
    --font-size-small: 0.875rem;
    --font-size-tiny: 0.75rem;

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

    --letter-spacing-tight: -0.025em;
    --letter-spacing-normal: 0;
    --letter-spacing-wide: 0.025em;

    /* ═══════════════════════════════════════════════════════════
       SPACING SCALE
       ═══════════════════════════════════════════════════════════ */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    --spacing-4xl: 6rem;

    /* ═══════════════════════════════════════════════════════════
       BORDER RADIUS
       ═══════════════════════════════════════════════════════════ */
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-full: 9999px;

    /* ═══════════════════════════════════════════════════════════
       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);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

    /* ═══════════════════════════════════════════════════════════
       Z-INDEX SCALE
       ═══════════════════════════════════════════════════════════ */
    --z-base: 1;
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;

    /* ═══════════════════════════════════════════════════════════
       TRANSITIONS
       ═══════════════════════════════════════════════════════════ */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ═══════════════════════════════════════════════════════════
   DARK MODE
   ═══════════════════════════════════════════════════════════ */
html.dark {
    --color-text-primary: #F9FAFB;
    --color-text-secondary: #D1D5DB;
    --color-text-muted: #9CA3AF;
    --color-text-inverse: #1F2937;

    --color-background: #111827;
    --color-background-alt: #1F2937;
    --color-background-dark: #030712;

    --color-border: #374151;
    --color-border-dark: #4B5563;
    --color-divider: #374151;

    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4), 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.4);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.6), 0 10px 10px -5px rgba(0, 0, 0, 0.5);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE TYPOGRAPHY
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
    :root {
        --font-size-h1: 2.5rem;
        --font-size-h2: 2rem;
        --font-size-h3: 1.5rem;
        --font-size-h4: 1.25rem;
        --font-size-body: 1rem;
    }
}

@media (max-width: 480px) {
    :root {
        --font-size-h1: 2rem;
        --font-size-h2: 1.75rem;
        --font-size-h3: 1.25rem;
        --font-size-h4: 1.125rem;
    }
}
