/**
 * CSS Variables
 * B2BCarShows Website
 * Color Theme: Black & Red
 */

@font-face {
    font-family: 'Beta';
    src: url('../fonts/Beta.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Luckiest Guy';
    src: url('../fonts/luckiest-guy.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

:root {
    /* Colors - Black & Red Theme */
    --color-primary-black: #000000;
    --color-primary-black-light: #1a1a1a;
    --color-primary-red: #DD0707;
    --color-primary-red-dark: #B80606;
    --color-primary-red-light: #FF1A1A;
    
    /* Secondary Colors */
    --color-white: #FFFFFF;
    --color-gray-dark: #333333;
    --color-gray-medium: #666666;
    --color-gray-light: #F5F5F5;
    --color-gray-lighter: #FAFAFA;
    
    /* Text Colors */
    --color-text-primary: #000000;
    --color-text-secondary: #666666;
    --color-text-muted: #999999;
    --color-text-light: #FFFFFF;
    
    /* Background Colors */
    --color-bg-primary: #FFFFFF;
    --color-bg-secondary: #F5F5F5;
    --color-bg-dark: #000000;
    --color-bg-dark-light: #1a1a1a;
    
    /* Border Colors */
    --color-border: #E0E0E0;
    --color-border-dark: #CCCCCC;
    
    /* Status Colors */
    --color-success: #28A745;
    --color-warning: #FFC107;
    --color-error: #DC3545;
    --color-info: #17A2B8;
    
    /* Typography: defaults (overridden by Settings → Typography via dynamic-css.php) */
    --font-heading: 'Helvetica', 'Helvetica Neue', 'Arial', sans-serif;
    --font-body: 'Poppins', sans-serif;
    --font-h1: 'Helvetica', 'Helvetica Neue', 'Arial', sans-serif;
    --font-h2: 'Helvetica', 'Helvetica Neue', 'Arial', sans-serif;
    --font-h3: 'Poppins', sans-serif;
    --font-h4: 'Poppins', sans-serif;
    
    /* Font Sizes */
    --font-size-xs: 0.75rem;    /* 12px */
    --font-size-sm: 0.875rem;   /* 14px */
    --font-size-base: 1rem;     /* 16px */
    --font-size-lg: 1.125rem;   /* 18px */
    --font-size-xl: 1.25rem;    /* 20px */
    --font-size-2xl: 1.5rem;    /* 24px */
    --font-size-3xl: 1.875rem;  /* 30px */
    --font-size-4xl: 2.25rem;   /* 36px */
    --font-size-5xl: 3rem;      /* 48px */
    
    /* Font Weights */
    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    
    /* Spacing */
    --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 */
    --border-radius-sm: 0.25rem;  /* 4px */
    --border-radius-md: 0.5rem;   /* 8px */
    --border-radius-lg: 1rem;     /* 16px */
    --border-radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    
    /* Transitions */
    --transition-fast: 150ms ease-in-out;
    --transition-base: 300ms ease-in-out;
    --transition-slow: 500ms ease-in-out;
    
    /* Container */
    --container-max-width: 1400px;
    --container-padding-mobile: 0.75rem;
    --container-padding-tablet: 1rem;
    --container-padding-desktop: 1.25rem;
    --container-padding-large: 2.5rem;
    --container-padding-xlarge: 4rem;
    
    /* Header */
    --header-height: 80px;
    --header-height-mobile: 70px;
    
    /* Z-index */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;

    /* Country event typography - Helvetica only */
    --country-event-font-day: 'Helvetica', 'Helvetica Neue', 'Arial', sans-serif;
    --country-event-font-month: 'Helvetica', 'Helvetica Neue', 'Arial', sans-serif;
    --country-event-font-name: 'Helvetica', 'Helvetica Neue', 'Arial', sans-serif;
    --country-event-color-day: #1a1a1a;
    --country-event-color-month: #FF007E;
    /* Event schedule month color (override via Settings → Typography) */
    --event-schedule-month-color: #FD0082;
    --country-event-name-gradient: linear-gradient(180deg, #FE0465 0%, #FE0465 30%, #5B7FFF 70%, #5B7FFF 100%);
    --country-event-country-gradient: linear-gradient(180deg, #7B9AFF 0%, #90A5FD 50%, #5B7FFF 100%);
}

/* Tablet portrait: header uses mobile height */
@media (min-width: 768px) and (max-width: 1023px) {
    :root {
        --header-height: 70px;
    }
}

/* Dark Mode Support (Optional) */
@media (prefers-color-scheme: dark) {
    :root {
        --color-text-primary: #FFFFFF;
        --color-text-secondary: #CCCCCC;
        --color-bg-primary: #1a1a1a;
        --color-bg-secondary: #000000;
    }
}
