/* assets/css/variables.css - UPDATED with Typography and Spacing Scales */

:root {
    /* ===================================
       COLOR VARIABLES
       =================================== */
    
    /* Primary Colors */
    --primary: #2563eb;
    --primary-light: #3b82f6;
    --navy: #1e293b;
    --navy-light: #334155;
    
    /* Status Colors */
    --success: #059669;
    --warning: #d97706;
    --danger: #dc2626;
    --info: #0284c7;
    
    /* Neutral Colors */
    --white: #ffffff;
    --light: #f8fafc;
    --lighter: #f1f5f9;
    --border: #e2e8f0;
    
    /* Text Colors */
    --text-primary: #1e293b;
    --text-secondary: #475569;
    --text-muted: #64748b;
    
    /* ===================================
       SHADOW VARIABLES
       =================================== */
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --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);
    
    /* ===================================
       TYPOGRAPHY SCALE
       Use these for consistent font sizes
       =================================== */
    
    --font-size-h1: 2.5rem;      /* 40px */
    --font-size-h2: 2rem;        /* 32px */
    --font-size-h3: 1.75rem;     /* 28px */
    --font-size-h4: 1.5rem;      /* 24px */
    --font-size-h5: 1.25rem;     /* 20px */
    --font-size-h6: 1rem;        /* 16px */
    --font-size-base: 1rem;      /* 16px */
    --font-size-sm: 0.875rem;    /* 14px */
    --font-size-xs: 0.75rem;     /* 12px */
    
    /* 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.25;
    --line-height-normal: 1.5;
    --line-height-relaxed: 1.75;
    --line-height-loose: 2;
    
    /* ===================================
       SPACING SCALE
       Use these for consistent margins and padding
       =================================== */
    
    --spacing-xs: 0.5rem;      /* 8px */
    --spacing-sm: 0.75rem;     /* 12px */
    --spacing-md: 1rem;        /* 16px */
    --spacing-lg: 1.5rem;      /* 24px */
    --spacing-xl: 2rem;        /* 32px */
    --spacing-2xl: 3rem;       /* 48px */
    --spacing-3xl: 4rem;       /* 64px */
    
    /* ===================================
       BORDER RADIUS
       =================================== */
    
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;
    
    /* ===================================
       TRANSITIONS
       =================================== */
    
    --transition-fast: 150ms ease;
    --transition-base: 200ms ease;
    --transition-slow: 300ms ease;
    
    /* ===================================
       Z-INDEX SCALE
       =================================== */
    
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;
}

/* ===================================
   RESPONSIVE TYPOGRAPHY
   Adjust sizes for mobile
   =================================== */

@media (max-width: 768px) {
    :root {
        --font-size-h1: 2rem;        /* 32px */
        --font-size-h2: 1.75rem;     /* 28px */
        --font-size-h3: 1.5rem;      /* 24px */
        --font-size-h4: 1.25rem;     /* 20px */
        --font-size-h5: 1.125rem;    /* 18px */
    }
}

@media (max-width: 480px) {
    :root {
        --font-size-h1: 1.75rem;     /* 28px */
        --font-size-h2: 1.5rem;      /* 24px */
        --font-size-h3: 1.25rem;     /* 20px */
        --font-size-h4: 1.125rem;    /* 18px */
        --font-size-h5: 1rem;        /* 16px */
    }
}
