/* ==================================== */
/* Variables CSS - Sistema de Diseño   */
/* ==================================== */

:root {
    /* Colores principales */
    --primary-dark: #051020;
    --primary: #0a1f30;
    --secondary: #D4AF37;
    --secondary-dark: #B8860B;
    --secondary-light: #F4E4A6;
    
    /* Colores de estado */
    --success: #28a745;
    --warning: #ffc107;
    --danger: #dc3545;
    --info: #17a2b8;
    
    /* Colores de marca dorados */
    --gold: #D4AF37;
    --gold-light: #F4E4A6;
    --gold-dark: #B8860B;
    
    /* Escala de grises */
    --white: #ffffff;
    --gray-50: #f8f9fa;
    --gray-100: #f1f2f6;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --gray-600: #6c757d;
    --gray-700: #495057;
    --gray-800: #343a40;
    --gray-900: #212529;
    --black: #000000;
    
    /* Colores semánticos de texto */
    --text-primary: #333333;
    --text-secondary: #7f8c8d;
    --text-muted: #bdc3c7;
    --text-light: #ecf0f1;
    
    /* Colores de fondo */
    --bg-body: #f8f9fa;
    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --bg-dark: var(--primary-dark);
    
    /* Bordes */
    --border-light: #ecf0f1;
    --border-medium: #dee2e6;
    --border-dark: #adb5bd;
    
    /* Sombras */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 25px rgba(0,0,0,0.15);
    
    /* Sombras específicas */
    --shadow-light: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-medium: 0 5px 15px rgba(0,0,0,0.1);
    --shadow-dark: 0 8px 25px rgba(0,0,0,0.15);
    
    /* Radios de borde */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 50%;
    
    /* Espaciado */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    
    /* Tipografía */
    --font-family-sans: 'Open Sans', sans-serif;
    --font-family-heading: 'Montserrat', 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: 1.875rem;
    --font-size-4xl: 2.25rem;
    
    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    
    --line-height-tight: 1.25;
    --line-height-normal: 1.5;
    --line-height-relaxed: 1.75;
    
    /* Transiciones */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-bounce: 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    
    /* Z-index */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal: 1040;
    --z-popover: 1050;
    --z-tooltip: 1060;
    
    /* Breakpoints */
    --breakpoint-xs: 480px;
    --breakpoint-sm: 576px;
    --breakpoint-md: 768px;
    --breakpoint-lg: 992px;
    --breakpoint-xl: 1200px;
    --breakpoint-xxl: 1400px;
    
    /* Container max widths */
    --container-xs: 100%;
    --container-sm: 540px;
    --container-md: 720px;
    --container-lg: 960px;
    --container-xl: 1140px;
    --container-xxl: 1320px;
}

/* ==================================== */
/* Modo Oscuro                         */
/* ==================================== */

@media (prefers-color-scheme: dark) {
    :root {
        --bg-body: #0a0a0a;
        --bg-white: #1a1a1a;
        --bg-light: #2a2a2a;
        --text-primary: #ffffff;
        --text-secondary: #b0b0b0;
        --text-muted: #808080;
        --border-light: #404040;
        --border-medium: #505050;
    }
}

/* ==================================== */
/* Alto Contraste                      */
/* ==================================== */

@media (prefers-contrast: high) {
    :root {
        --primary-dark: #000000;
        --secondary: #ffd700;
        --text-primary: #000000;
        --border-light: #000000;
    }
}