/**
 * CSS Custom Properties (Variables)
 * Global design tokens for the EHF theme
 * 
 * @package EHF
 * @since 1.0.0
 */

:root {
    /* === Colors === */
    /* Primary brand colors */
    --ehf-primary-color: #D1B79F;
    --ehf-primary-hover: #C4A885;
    --ehf-primary-light: #F5F1EC;
    --ehf-primary-dark: #A89476;

    /* Secondary brand colors */
    --ehf-secondary-color: #4ECDC4;
    --ehf-secondary-hover: #26A69A;
    --ehf-secondary-light: #E0F2F1;
    --ehf-secondary-dark: #00695C;

    /* Neutral colors */
    --ehf-white: #FFFFFF;
    --ehf-black: #000000;
    --ehf-gray-50: #FAFAFA;
    --ehf-gray-100: #F5F5F5;
    --ehf-gray-200: #EEEEEE;
    --ehf-gray-300: #E0E0E0;
    --ehf-gray-400: #BDBDBD;
    --ehf-gray-500: #9E9E9E;
    --ehf-gray-600: #757575;
    --ehf-gray-700: #616161;
    --ehf-gray-800: #424242;
    --ehf-gray-900: #212121;

    /* Semantic colors */
    --ehf-success: #4CAF50;
    --ehf-warning: #FF9800;
    --ehf-error: #F44336;
    --ehf-info: #2196F3;

    /* Background colors */
    --ehf-background-color: var(--ehf-white);
    --ehf-surface-color: var(--ehf-gray-50);
    --ehf-card-background: var(--ehf-white);

    /* Text colors */
    --ehf-text-color: #4A4A4A;
    --ehf-text-light: var(--ehf-gray-600);
    --ehf-text-muted: var(--ehf-gray-500);
    --ehf-text-on-primary: var(--ehf-white);
    --ehf-text-on-secondary: var(--ehf-white);

    /* Border and focus colors */
    --ehf-border-color: var(--ehf-gray-300);
    --ehf-border-light: var(--ehf-gray-200);
    --ehf-focus-color: #D1B79F;

    /* === Typography === */
    /* Font families */
    --ehf-font-family: 'Work Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    --ehf-font-family-headings: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --ehf-font-family-mono: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace;

    /* Font sizes */
    --ehf-font-size-xs: 0.75rem;     /* 12px */
    --ehf-font-size-sm: 0.875rem;    /* 14px */
    --ehf-font-size-base: 0.9375rem; /* 15px - for content */
    --ehf-font-size-lg: 1.125rem;    /* 18px */
    --ehf-font-size-xl: 1.25rem;     /* 20px - for headings */
    --ehf-font-size-2xl: 1.5rem;     /* 24px */
    --ehf-font-size-3xl: 1.875rem;   /* 30px */
    --ehf-font-size-4xl: 2.25rem;    /* 36px */
    --ehf-font-size-5xl: 3rem;       /* 48px */
    --ehf-font-size-6xl: 3.75rem;    /* 60px */

    /* Font weights */
    --ehf-font-weight-normal: 400;
    --ehf-font-weight-medium: 500;
    --ehf-font-weight-semibold: 600;
    --ehf-font-weight-bold: 700;

    /* Line heights */
    --ehf-line-height-tight: 1.25;
    --ehf-line-height-normal: 1.5;
    --ehf-line-height-relaxed: 1.75;

    /* === Spacing === */
    --ehf-spacing-xs: 0.25rem;    /* 4px */
    --ehf-spacing-sm: 0.5rem;     /* 8px */
    --ehf-spacing-md: 1rem;       /* 16px */
    --ehf-spacing-lg: 1.5rem;     /* 24px */
    --ehf-spacing-xl: 2rem;       /* 32px */
    --ehf-spacing-2xl: 3rem;      /* 48px */
    --ehf-spacing-3xl: 4rem;      /* 64px */
    --ehf-spacing-4xl: 6rem;      /* 96px */

    /* === Layout === */
    /* Container sizes */
    --ehf-container-sm: 640px;
    --ehf-container-md: 768px;
    --ehf-container-lg: 1024px;
    --ehf-container-xl: 1280px;
    --ehf-container-2xl: 1536px;

    /* Header */
    --ehf-header-height: 80px;
    --ehf-header-height-mobile: 60px;

    /* === Borders === */
    --ehf-border-radius-none: 0;
    --ehf-border-radius-sm: 0;   /* 2px */
    --ehf-border-radius-md: 0;    /* 4px */
    --ehf-border-radius-lg: 0;     /* 8px */
    --ehf-border-radius-xl: 0;    /* 12px */
    --ehf-border-radius-2xl: 0;      /* 16px */
    --ehf-border-radius-full: 0;

    --ehf-border-width: 1px;
    --ehf-border-width-2: 2px;

    /* === Shadows === */
    --ehf-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --ehf-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --ehf-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --ehf-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

    /* === Transitions === */
    --ehf-transition-fast: 150ms ease-in-out;
    --ehf-transition-normal: 300ms ease-in-out;
    --ehf-transition-slow: 500ms ease-in-out;

    /* === Z-index === */
    --ehf-z-dropdown: 1000;
    --ehf-z-sticky: 10000;
    --ehf-z-fixed: 1030;
    --ehf-z-modal-backdrop: 1040;
    --ehf-z-modal: 1050;
    --ehf-z-popover: 1060;
    --ehf-z-tooltip: 1070;
}

/* Force light theme always - override dark mode */
body {
    background-color: var(--ehf-white) !important;
    color: var(--ehf-text-color) !important;
}

html {
    background-color: var(--ehf-white) !important;
}

/* Breakpoints for media queries */
/* These are used in JavaScript and can be accessed via CSS custom properties */
:root {
    --ehf-breakpoint-sm: 640px;
    --ehf-breakpoint-md: 768px;
    --ehf-breakpoint-lg: 1024px;
    --ehf-breakpoint-xl: 1280px;
    --ehf-breakpoint-2xl: 1536px;
}