/* CSS Variables - Design System */

:root {
    /* Colors - Brand Palette (inspired by arcb.com) */
    --color-primary: #44B5A0;           /* Teal/green - Primary brand color */
    --color-secondary: #0C2E4A;         /* Dark navy - Secondary brand color */
    --color-accent: #FF9800;            /* Orange - CTA emphasis */
    --color-accent-dark: #E67E22;       /* Darker orange */

    /* Neutral Colors */
    --color-text-dark: #333333;         /* Main text */
    --color-text-light: #666666;        /* Secondary text */
    --color-text-muted: #999999;        /* Muted text */
    --color-text-inverse: #FFFFFF;      /* Text on dark backgrounds */

    /* Background Colors */
    --color-background: #FFFFFF;        /* Main background */
    --color-background-light: #F5F5F5;  /* Light gray background */
    --color-background-lighter: #FAFAFA;/* Very light background */
    --color-background-dark: #0C2E4A;   /* Dark background */

    /* Utility Colors */
    --color-success: #4CAF50;
    --color-warning: #FFC107;
    --color-error: #F44336;
    --color-info: #2196F3;

    /* Borders and Shadows */
    --color-border: #DDDDDD;
    --color-border-light: #EEEEEE;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.16);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.2);

    /* Typography */
    --font-family-primary: 'Inter', 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-family-mono: 'Courier New', monospace;

    /* Font Sizes */
    --font-size-xs: 12px;
    --font-size-sm: 14px;
    --font-size-base: 16px;
    --font-size-lg: 18px;
    --font-size-xl: 20px;
    --font-size-2xl: 24px;
    --font-size-3xl: 32px;
    --font-size-4xl: 40px;
    --font-size-5xl: 48px;
    --font-size-6xl: 56px;

    /* Heading Sizes */
    --font-size-h1: 48px;
    --font-size-h2: 36px;
    --font-size-h3: 24px;
    --font-size-h4: 20px;
    --font-size-h5: 18px;
    --font-size-h6: 16px;

    /* Font Weights */
    --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-normal: 1.5;
    --line-height-base: 1.6;
    --line-height-relaxed: 1.8;

    /* Spacing Scale */
    --spacing-0: 0;
    --spacing-1: 4px;
    --spacing-2: 8px;
    --spacing-3: 12px;
    --spacing-4: 16px;
    --spacing-5: 20px;
    --spacing-6: 24px;
    --spacing-7: 28px;
    --spacing-8: 32px;
    --spacing-9: 36px;
    --spacing-10: 40px;
    --spacing-12: 48px;
    --spacing-14: 56px;
    --spacing-16: 64px;
    --spacing-20: 80px;
    --spacing-24: 96px;
    --spacing-32: 128px;

    /* Shorthand Spacing */
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 48px;
    --spacing-xl: 64px;
    --spacing-2xl: 96px;

    /* Border Radius */
    --radius-none: 0;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 24px;
    --radius-full: 9999px;

    /* Transitions and Animations */
    --transition-fast: 150ms ease-in-out;
    --transition-base: 200ms ease-in-out;
    --transition-slow: 300ms ease-in-out;
    --transition-slower: 500ms ease-in-out;

    /* Z-Index Scale */
    --z-index-dropdown: 1000;
    --z-index-sticky: 1020;
    --z-index-fixed: 1030;
    --z-index-modal-backdrop: 1040;
    --z-index-modal: 1050;
    --z-index-popover: 1060;
    --z-index-tooltip: 1070;

    /* Breakpoints (Mobile-First) */
    --breakpoint-xs: 320px;
    --breakpoint-sm: 480px;
    --breakpoint-md: 768px;
    --breakpoint-lg: 1024px;
    --breakpoint-xl: 1280px;
    --breakpoint-2xl: 1440px;
    --breakpoint-3xl: 1920px;

    /* Container Sizes */
    --container-sm: 540px;
    --container-md: 720px;
    --container-lg: 960px;
    --container-xl: 1140px;
    --container-2xl: 1320px;

    /* Form Input Sizes */
    --input-height: 48px;
    --input-height-sm: 40px;
    --input-height-lg: 56px;

    /* Button Sizes */
    --btn-height: 48px;
    --btn-height-sm: 40px;
    --btn-height-lg: 56px;
    --btn-padding-x: 24px;
    --btn-padding-y: 12px;

    /* Header Height */
    --header-height: 80px;
    --header-height-mobile: 64px;

    /* Aspect Ratios */
    --aspect-square: 1 / 1;
    --aspect-video: 16 / 9;
    --aspect-4-3: 4 / 3;
}

/* Dark Mode (optional for future implementation) */
@media (prefers-color-scheme: dark) {
    :root {
        --color-text-dark: #FFFFFF;
        --color-text-light: #CCCCCC;
        --color-text-muted: #999999;
        --color-background: #1A1A1A;
        --color-background-light: #2A2A2A;
        --color-border: #444444;
        --color-border-light: #333333;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: more) {
    :root {
        --color-primary: #2D8679;
        --color-secondary: #051D35;
        --shadow-md: 0 2px 8px rgba(0, 0, 0, 0.3);
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    :root {
        --transition-fast: 0ms;
        --transition-base: 0ms;
        --transition-slow: 0ms;
        --transition-slower: 0ms;
    }

    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
