/* ============================================================================
   FILE: variables.css
   PATH: public/css/variables.css
   VERSION: 1.0.0
   PURPOSE: CSS Custom Properties for the entire platform.
            Allows tenant-specific branding via overrides.
   AUTHOR: AviaSAFE Systems
   ============================================================================ */

:root {
    /* ========== PRIMARY COLORS ========== */
    --color-primary: #1d5949;
    --color-primary-dark: #192f35;
    --color-primary-light: #e9f0e9;

    /* ========== ACCENT COLORS ========== */
    --color-accent: #1d5949;
    --color-accent-light: #477969;
    
    /* ========== SECONDARY COLORS ========== */
    --color-secondary: #f57c00;
    --color-secondary-dark: #e65100;
    --color-secondary-light: #fff3e0;
    
    /* ========== NEUTRAL COLORS ========== */
    --color-white: #ffffff;
    --color-black: #192f35;
    --color-gray-50: #f4f6f3;
    --color-gray-100: #edf2ed;
    --color-gray-200: #e9ecef;
    --color-gray-300: #dadce0;
    --color-gray-400: #bdc1c6;
    --color-gray-500: #9aa0a6;
    --color-gray-600: #80868b;
    --color-gray-700: #5f6368;
    --color-gray-800: #3c4043;
    --color-gray-900: #192f35;
    
    /* ========== STATUS COLORS ========== */
    --color-success: #34a853;
    --color-success-bg: #e6f4ea;
    --color-warning: #f9ab00;
    --color-warning-bg: #fff3cd;
    --color-danger: #ea4335;
    --color-danger-bg: #fce8e6;
    --color-info: #1d5949;
    --color-info-bg: #e9f0e9;
    
    /* ========== TYPOGRAPHY ========== */
    --font-family: 'DM Sans', 'DM Sans', Tahoma, Geneva, Verdana, sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 2rem;
    --font-size-4xl: 2.5rem;
    
    /* ========== SPACING ========== */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    --spacing-2xl: 48px;
    --spacing-3xl: 64px;
    
    /* ========== BORDER ========== */
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 12px;
    --border-radius-full: 9999px;
    --border-width: 1px;
    
    /* ========== SHADOWS ========== */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 2px 10px rgba(0,0,0,0.05);
    --shadow-lg: 0 4px 20px rgba(0,0,0,0.1);
    --shadow-xl: 0 8px 40px rgba(0,0,0,0.15);
    
    /* ========== TRANSITIONS ========== */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* ========== Z-INDEX ========== */
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-modal: 300;
    --z-toast: 400;

    /* ========== BRAND (AVIATION SKY) ========== */
    /* Primary action / interactive brand color scale. brand-600 (#235a4b)
       replaces legacy hardcoded action blue across the platform. */
    --color-brand-50: #f4f6f3;
    --color-brand-100: #e9f0e9;
    --color-brand-200: #dce9dd;
    --color-brand-300: #bdd5c9;
    --color-brand-400: #477969;
    --color-brand-500: #1d5949;
    --color-brand-600: #235a4b;
    --color-brand-700: #174e48;
    --color-brand-800: #174e48;
    --color-brand-900: #143e35;

    /* ========== DEEP TEAL (DARK SURFACES) ========== */
    /* Deep-teal dark surfaces for headers / heroes / footers.
       deep-teal-900 (#143e35) replaces legacy hardcoded dark navy. */
    --color-deep-teal-700: #235a4b;
    --color-deep-teal-800: #174e48;
    --color-deep-teal-900: #143e35;
    --color-deep-teal-950: #102e29;

    /* ========== SURFACE & BORDER ========== */
    /* Light-mode card surfaces and hairline borders (WCAG-friendly contrast
       against #ffffff for AA text). */
    --color-surface: #ffffff;
    --color-border: #d7e4dc;
    --color-border-light: #edf2ed;

    /* ========== PAGE CANVAS & TEXT (ICAO Clean Light) ========== */
    --color-bg: #f4f6f3;
    --color-text: #244837;
    --color-text-muted: #65766e;
    --color-text-strong: #192f35;
}