/**
 * Humbrella Design System - CSS Variables
 * Version: 1.0
 * Date: January 2026
 * 
 * This file defines all design tokens for the Humbrella platform.
 * Change values here to update the entire site.
 */

:root {
    /* =========================================
       BRAND COLORS
       ========================================= */
    
    /* Primary - Teal (Trust, Calm, Growth) */
    --color-primary: #28b3bd;
    --color-primary-dark: #1e8a92;
    --color-primary-light: #5fcdd4;
    --color-primary-rgb: 40, 179, 189;
    
    /* Secondary - Magenta (Warmth, Compassion) */
    --color-magenta: #c54685;
    --color-magenta-dark: #9a3a70;
    --color-magenta-light: #d76ba0;
    --color-magenta-rgb: 197, 70, 133;
    
    /* Accent - Gold (Hope, Wisdom, Value) */
    --color-gold: #ffd659;
    --color-gold-light: #ffe599;
    --color-gold-dark: #e6b800;
    --color-gold-rgb: 255, 214, 89;
    
    /* =========================================
       BACKGROUND COLORS
       ========================================= */
    --color-cream: #fdf8f3;
    --color-cream-dark: #f5efe8;
    --color-white: #ffffff;
    --color-black: #000000;
    
    /* =========================================
       TEXT COLORS
       ========================================= */
    --color-text: #2c3e50;
    --color-text-muted: #6b7c8a;
    --color-text-light: #f1f1f1;
    --color-text-inverse: #ffffff;
    
    /* =========================================
       SEMANTIC COLORS
       ========================================= */
    --color-success: #4ade80;
    --color-success-bg: #d4edda;
    --color-success-text: #155724;
    
    --color-error: #dc3545;
    --color-error-bg: #f8d7da;
    --color-error-text: #721c24;
    
    --color-warning: #ffc107;
    --color-warning-bg: #fff3cd;
    --color-warning-text: #856404;
    
    --color-info: #17a2b8;
    --color-info-bg: #e7f3ff;
    --color-info-text: #0c5460;
    
    /* =========================================
       GRADIENTS
       ========================================= */
    --gradient-brand: linear-gradient(135deg, var(--color-primary) 0%, var(--color-magenta) 100%);
    --gradient-brand-reverse: linear-gradient(135deg, var(--color-magenta) 0%, var(--color-primary) 100%);
    --gradient-brand-vertical: linear-gradient(180deg, var(--color-primary) 0%, var(--color-magenta) 100%);
    
    --gradient-gold: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-light) 100%);
    --gradient-cream: linear-gradient(180deg, var(--color-cream) 0%, var(--color-white) 100%);
    --gradient-cream-reverse: linear-gradient(180deg, var(--color-white) 0%, var(--color-cream) 100%);
    
    --gradient-magenta-dark: linear-gradient(135deg, #6b2850 0%, #4a1c38 100%);
    --gradient-teal-dark: linear-gradient(135deg, #1e8a92 0%, #166a70 100%);
    
    /* Glass effect backgrounds */
    --glass-light: rgba(255, 255, 255, 0.1);
    --glass-medium: rgba(255, 255, 255, 0.15);
    --glass-dark: rgba(0, 0, 0, 0.2);
    --glass-gold: rgba(255, 214, 89, 0.2);
    
    /* =========================================
       TYPOGRAPHY
       ========================================= */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-system: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    
    /* Font Sizes - Desktop */
    --text-xs: 0.75rem;     /* 12px */
    --text-sm: 0.875rem;    /* 14px */
    --text-base: 1rem;      /* 16px */
    --text-lg: 1.125rem;    /* 18px */
    --text-xl: 1.25rem;     /* 20px */
    --text-2xl: 1.5rem;     /* 24px */
    --text-3xl: 1.875rem;   /* 30px */
    --text-4xl: 2.25rem;    /* 36px */
    --text-5xl: 3rem;       /* 48px */
    --text-6xl: 3.75rem;    /* 60px */
    
    /* Line Heights */
    --leading-none: 1;
    --leading-tight: 1.25;
    --leading-snug: 1.375;
    --leading-normal: 1.5;
    --leading-relaxed: 1.625;
    --leading-loose: 2;
    
    /* Font Weights */
    --font-light: 300;
    --font-normal: 400;
    --font-medium: 500;
    --font-semibold: 600;
    --font-bold: 700;
    
    /* Letter Spacing */
    --tracking-tight: -0.025em;
    --tracking-normal: 0;
    --tracking-wide: 0.025em;
    --tracking-wider: 0.05em;
    --tracking-widest: 0.1em;
    
    /* =========================================
       SPACING SCALE
       ========================================= */
    --space-0: 0;
    --space-1: 0.25rem;     /* 4px */
    --space-2: 0.5rem;      /* 8px */
    --space-3: 0.75rem;     /* 12px */
    --space-4: 1rem;        /* 16px */
    --space-5: 1.25rem;     /* 20px */
    --space-6: 1.5rem;      /* 24px */
    --space-8: 2rem;        /* 32px */
    --space-10: 2.5rem;     /* 40px */
    --space-12: 3rem;       /* 48px */
    --space-16: 4rem;       /* 64px */
    --space-20: 5rem;       /* 80px */
    --space-24: 6rem;       /* 96px */
    --space-32: 8rem;       /* 128px */
    
    /* Section Padding */
    --section-padding-y: var(--space-24);
    --section-padding-x: var(--space-5);
    
    /* =========================================
       LAYOUT
       ========================================= */
    --container-sm: 640px;
    --container-md: 768px;
    --container-lg: 1024px;
    --container-xl: 1200px;
    --container-2xl: 1400px;
    
    /* Sidebar */
    --sidebar-width: 250px;
    --sidebar-width-tablet: 200px;
    
    /* =========================================
       BORDERS & RADIUS
       ========================================= */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-2xl: 25px;
    --radius-full: 9999px;
    
    --border-width: 1px;
    --border-width-2: 2px;
    --border-width-4: 4px;
    
    /* =========================================
       SHADOWS
       ========================================= */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 6px 25px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.2);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.3);
    
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.15);
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-card-hover: 0 15px 40px rgba(0, 0, 0, 0.2);
    
    /* Colored shadows */
    --shadow-primary: 0 5px 20px rgba(40, 179, 189, 0.3);
    --shadow-magenta: 0 5px 20px rgba(197, 70, 133, 0.3);
    --shadow-gold: 0 5px 20px rgba(255, 214, 89, 0.3);
    
    /* Text Shadows */
    --text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    --text-shadow-strong: 0 3px 8px rgba(0, 0, 0, 0.5);
    
    /* =========================================
       TRANSITIONS
       ========================================= */
    --transition-fast: 0.15s ease;
    --transition: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-bounce: 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    
    /* =========================================
       Z-INDEX SCALE
       ========================================= */
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-fixed: 300;
    --z-modal-backdrop: 400;
    --z-modal: 500;
    --z-popover: 600;
    --z-tooltip: 700;
    --z-sidebar: 1000;
    --z-fab: 2000;
    
    /* =========================================
       BREAKPOINTS (for reference in JS)
       ========================================= */
    --breakpoint-sm: 640px;
    --breakpoint-md: 768px;
    --breakpoint-lg: 1024px;
    --breakpoint-xl: 1200px;
    --breakpoint-2xl: 1400px;
}

/* =========================================
   DARK MODE SUPPORT (Future)
   ========================================= */
@media (prefers-color-scheme: dark) {
    :root {
        /* Dark mode variables can be added here later */
    }
}
