/**
 * Wrestling Lucha Party - Theme Variables
 * Centralized color scheme and design system
 */

:root {
    /* Primary Brand Colors */
    --color-primary: #E74C3C;           /* Red */
    --color-primary-dark: #C0392B;      /* Darker Red */
    --color-primary-light: #EC7063;     /* Lighter Red */
    
    --color-secondary: #FFD700;         /* Gold */
    --color-secondary-dark: #FFC700;    /* Darker Gold */
    --color-secondary-light: #FFE55C;   /* Lighter Gold */
    
    --color-accent: #FF6B6B;            /* Accent Red */
    --color-accent-orange: #FFA500;     /* Orange */
    
    /* Neutral Colors */
    --color-dark: #1a1a1a;              /* Dark Background */
    --color-dark-secondary: #2d2d2d;    /* Secondary Dark */
    --color-dark-tertiary: #333333;     /* Tertiary Dark */
    
    --color-text-primary: #333333;      /* Primary Text */
    --color-text-secondary: #666666;    /* Secondary Text */
    --color-text-light: #ffffff;        /* Light Text */
    --color-text-muted: #999999;        /* Muted Text */
    
    --color-background: #ffffff;        /* White Background */
    --color-background-gray: #f5f5f5;   /* Light Gray */
    --color-background-dark: #0f0f0f;   /* Almost Black */
    
    /* State Colors */
    --color-success: #4caf50;           /* Green */
    --color-success-light: #81c784;     /* Light Green */
    --color-warning: #ffc107;           /* Yellow/Orange */
    --color-warning-light: #fff3cd;     /* Light Yellow */
    --color-error: #f44336;             /* Red */
    --color-error-light: #ffcdd2;       /* Light Red */
    --color-info: #2196f3;              /* Blue */
    --color-info-light: #bbdefb;        /* Light Blue */
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    --gradient-secondary: linear-gradient(45deg, var(--color-secondary) 0%, var(--color-accent-orange) 100%);
    --gradient-gold: linear-gradient(45deg, #FFD700, #FFA500);
    --gradient-dark: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    --gradient-success: linear-gradient(135deg, var(--color-success) 0%, #45a049 100%);
    
    /* Typography */
    --font-primary: 'Helvetica', 'Arial', sans-serif;
    --font-heading: 'Impact', 'Haettenschweiler', sans-serif;
    
    --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-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-extrabold: 800;
    
    --line-height-tight: 1.2;
    --line-height-normal: 1.5;
    --line-height-relaxed: 1.75;
    --line-height-loose: 2;
    
    /* Spacing */
    --spacing-xs: 0.25rem;        /* 4px */
    --spacing-sm: 0.5rem;         /* 8px */
    --spacing-md: 1rem;           /* 16px */
    --spacing-lg: 1.5rem;         /* 24px */
    --spacing-xl: 2rem;           /* 32px */
    --spacing-2xl: 3rem;          /* 48px */
    --spacing-3xl: 4rem;          /* 64px */
    --spacing-4xl: 6rem;          /* 96px */
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 24px;
    --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), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-glow: 0 0 20px rgba(255, 215, 0, 0.3);
    --shadow-glow-red: 0 0 20px rgba(231, 76, 60, 0.3);
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 300ms ease;
    --transition-slow: 500ms ease;
    
    /* Z-Index Layers */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;
    
    /* Breakpoints (for reference in JS) */
    --breakpoint-sm: 640px;
    --breakpoint-md: 768px;
    --breakpoint-lg: 1024px;
    --breakpoint-xl: 1280px;
    --breakpoint-2xl: 1536px;
    
    /* Component Specific */
    --navbar-height: 70px;
    --footer-height: auto;
    --booking-container-max-width: 1000px;
    --modal-max-width: 600px;
    
    /* Animation Timings */
    --animation-duration-fast: 200ms;
    --animation-duration-normal: 300ms;
    --animation-duration-slow: 500ms;
}

/* Dark mode support (optional) */
@media (prefers-color-scheme: dark) {
    :root {
        --color-background: #1a1a1a;
        --color-background-gray: #2d2d2d;
        --color-text-primary: #ffffff;
        --color-text-secondary: #cccccc;
    }
}

/* Utility classes using theme variables */
.text-primary { color: var(--color-primary) !important; }
.text-secondary { color: var(--color-secondary) !important; }
.text-success { color: var(--color-success) !important; }
.text-warning { color: var(--color-warning) !important; }
.text-error { color: var(--color-error) !important; }

.bg-primary { background-color: var(--color-primary) !important; }
.bg-secondary { background-color: var(--color-secondary) !important; }
.bg-dark { background-color: var(--color-dark) !important; }
.bg-success { background-color: var(--color-success) !important; }
.bg-warning { background-color: var(--color-warning) !important; }
.bg-error { background-color: var(--color-error) !important; }

.gradient-primary { background: var(--gradient-primary) !important; }
.gradient-secondary { background: var(--gradient-secondary) !important; }
.gradient-gold { background: var(--gradient-gold) !important; }

.shadow-sm { box-shadow: var(--shadow-sm) !important; }
.shadow-md { box-shadow: var(--shadow-md) !important; }
.shadow-lg { box-shadow: var(--shadow-lg) !important; }
.shadow-xl { box-shadow: var(--shadow-xl) !important; }
.shadow-glow { box-shadow: var(--shadow-glow) !important; }

.rounded-sm { border-radius: var(--radius-sm) !important; }
.rounded-md { border-radius: var(--radius-md) !important; }
.rounded-lg { border-radius: var(--radius-lg) !important; }
.rounded-xl { border-radius: var(--radius-xl) !important; }
.rounded-full { border-radius: var(--radius-full) !important; }

.transition-fast { transition: all var(--transition-fast) !important; }
.transition-base { transition: all var(--transition-base) !important; }
.transition-slow { transition: all var(--transition-slow) !important; }
