/* ===================================
   CSS VARIABLES
   Variables globales del proyecto
   =================================== */

:root {
    
    /* ===== COLORES ===== */
    
    /* Colores principales */
    --color-primary: #C4A24C;
    --color-primary-light: #D4B35C;
    --color-primary-dark: #B4923C;
    
    /* Colores secundarios */
    --color-secondary: #504350;
    --color-secondary-light: #5E535F;
    --color-secondary-dark: #3A1C3A;
    
    /* Colores de acento */
    --color-accent: #8B6B47;
    --color-accent-light: #9B7B57;
    
    /* Colores neutros */
    --color-white: #FFFFFF;
    --color-black: #000000;
    --color-gray-100: #F7F7F7;
    --color-gray-200: #E5E5E5;
    --color-gray-300: #D4D4D4;
    --color-gray-400: #A3A3A3;
    --color-gray-500: #737373;
    --color-gray-600: #525252;
    --color-gray-700: #404040;
    --color-gray-800: #262626;
    --color-gray-900: #171717;
    
    /* Colores de estado */
    --color-success: #22C55E;
    --color-error: #EF4444;
    --color-warning: #F59E0B;
    --color-info: #3B82F6;
    
    /* Colores de fondo */
    --bg-primary: #FFFFFF;
    --bg-secondary: #4A2C4A;
    --bg-dark: #2C1C2C;
    --bg-light: #F7F7F7;
    --bg-overlay: rgba(0, 0, 0, 0.7);
    
    /* Colores de texto */
    --text-primary: #171717;
    --text-secondary: #525252;
    --text-light: #FFFFFF;
    --text-muted: #737373;
    
    
    /* ===== TIPOGRAFÍA ===== */
    
    /* Familias de fuentes */
    --font-primary: 'Opus', 'ArsenalSC-Regular', system-ui, -apple-system, sans-serif;
    --font-secondary: 'Poppins', 'MyriadPro-Regular', 'Segoe UI', Tahoma, sans-serif;
    --font-mono: 'Courier New', Courier, monospace;
    
    /* Tamaños de fuente - Base */
    --font-size-base: 1rem;
    
    /* Tamaños de fuente - Headings */
    --font-size-h1: 3rem;
    --font-size-h2: 2.5rem;
    --font-size-h3: 2rem;
    --font-size-h4: 1.5rem;
    --font-size-h5: 1.25rem;
    --font-size-h6: 1rem;
    
    /* Tamaños de fuente - Texto */
    --font-size-xl: 1.25rem;
    --font-size-lg: 1.125rem;
    --font-size-md: 1rem;
    --font-size-sm: 0.875rem;
    --font-size-xs: 0.75rem;
    
    /* Peso de fuente */
    --font-weight-light: 300;
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-extrabold: 800;
    
    /* Altura de línea */
    --line-height-tight: 1.2;
    --line-height-normal: 1.5;
    --line-height-relaxed: 1.75;
    --line-height-loose: 2;
    
    /* Espaciado de letras */
    --letter-spacing-tight: -0.025em;
    --letter-spacing-normal: 0;
    --letter-spacing-wide: 0.025em;
    --letter-spacing-wider: 0.05em;
    --letter-spacing-widest: 0.1em;
    
    
    /* ===== ESPACIADOS ===== */
    
    /* Espaciado base */
    --spacing-0: 0;
    --spacing-1: 0.25rem;
    --spacing-2: 0.5rem;
    --spacing-3: 0.75rem;
    --spacing-4: 1rem;
    --spacing-5: 1.25rem;
    --spacing-6: 1.5rem;
    --spacing-8: 2rem;
    --spacing-10: 2.5rem;
    --spacing-12: 3rem;
    --spacing-16: 4rem;
    --spacing-20: 5rem;
    --spacing-24: 6rem;
    --spacing-32: 8rem;
    
    /* Espaciado de secciones */
    --section-padding-mobile: 3rem;
    --section-padding-tablet: 5rem;
    --section-padding-desktop: 8rem;
    
    /* Espaciado de contenedores */
    --container-padding-mobile: 1.5rem;
    --container-padding-tablet: 2rem;
    --container-padding-desktop: 3rem;
    
    
    /* ===== ANCHOS Y ALTURAS ===== */
    
    /* Ancho máximo de contenedores */
    --container-max-width: 1280px;
    --container-narrow: 960px;
    --container-wide: 1440px;
    
    /* Alturas */
    --header-height: 80px;
    --header-height-mobile: 60px;
    
    
    /* ===== BORDES Y RADIOS ===== */
    
    /* Border radius */
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
    
    /* Border width */
    --border-width-1: 1px;
    --border-width-2: 2px;
    --border-width-4: 4px;
    
    
    /* ===== SOMBRAS ===== */
    
    --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-inner: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);
    
    
    /* ===== TRANSICIONES Y ANIMACIONES ===== */
    
    /* Duración */
    --transition-fast: 150ms;
    --transition-base: 300ms;
    --transition-slow: 500ms;
    --transition-slower: 700ms;
    
    /* Timing functions */
    --ease-in: cubic-bezier(0.4, 0, 1, 1);
    --ease-out: cubic-bezier(0, 0, 0.2, 1);
    --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-custom: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    
    /* Transiciones comunes */
    --transition-all: all var(--transition-base) var(--ease-in-out);
    --transition-colors: color var(--transition-base) var(--ease-in-out),
                         background-color var(--transition-base) var(--ease-in-out),
                         border-color var(--transition-base) var(--ease-in-out);
    --transition-transform: transform var(--transition-base) var(--ease-in-out);
    --transition-opacity: opacity var(--transition-base) var(--ease-in-out);
    
    
    /* ===== Z-INDEX ===== */
    
    --z-base: 1;
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-fixed: 300;
    --z-modal-backdrop: 400;
    --z-modal: 500;
    --z-popover: 600;
    --z-tooltip: 700;
    
    
    /* ===== BREAKPOINTS ===== */
    
    /* Los breakpoints se usarán en media queries */
    --breakpoint-mobile: 768px;
    --breakpoint-tablet: 1024px;
    --breakpoint-tablet-landscape: 1280px;
    --breakpoint-desktop: 1440px;
    
}


/* ===== VARIABLES RESPONSIVE ===== */

/* Tablet vertical */
@media screen and (min-width: 768px) {
    :root {
        /* Ajustar tamaños de fuente para tablet */
        --font-size-h1: 3.5rem;
        --font-size-h2: 2.75rem;
        --font-size-h3: 2.25rem;
        
        /* Ajustar altura del header */
        --header-height: 90px;
    }
}

/* Tablet horizontal */
@media screen and (min-width: 1024px) {
    :root {
        /* Ajustar tamaños de fuente para tablet horizontal */
        --font-size-h1: 4rem;
        --font-size-h2: 3rem;
        --font-size-h3: 2.5rem;
    }
}

/* Desktop */
@media screen and (min-width: 1280px) {
    :root {
        /* Ajustar tamaños de fuente para desktop */
        --font-size-h1: 4.5rem;
        --font-size-h2: 3.5rem;
        --font-size-h3: 2.75rem;
        
        /* Ajustar altura del header */
        --header-height: 100px;
    }
}