/*
 * ===================================================
 * VARIABLES CSS - LA MONTAÑA AGROMERCADOS
 * ===================================================
 * Sistema de variables compartidas para mantener
 * consistencia en colores, tipografía y espaciado
 * ===================================================
 */

:root {
    /* ===================================================
     * COLORES CORPORATIVOS LA MONTAÑA
     * =================================================== */
    
    /* Colores principales */
    --color-primary: #00573d;          /* Verde principal corporativo */
    --color-primary-light: #00794d;    /* Verde más claro para hover */
    --color-primary-dark: #003d29;     /* Verde más oscuro */
    --color-secondary: #ff7300;        /* Naranja corporativo */
    --color-secondary-light: #ff8a1a;  /* Naranja más claro */
    --color-secondary-dark: #d95e00;   /* Naranja más oscuro */
    
    /* Colores de estado */
    --color-success: #28a745;          /* Verde éxito */
    --color-success-light: #d4edda;    /* Verde éxito claro */
    --color-warning: #ffc107;          /* Amarillo advertencia */
    --color-warning-light: #fff3cd;    /* Amarillo advertencia claro */
    --color-danger: #dc3545;           /* Rojo error */
    --color-danger-light: #f8d7da;     /* Rojo error claro */
    --color-info: #17a2b8;             /* Azul información */
    --color-info-light: #d1ecf1;       /* Azul información claro */
    
    /* Colores neutros */
    --color-white: #ffffff;
    --color-black: #000000;
    --color-gray-50: #f8f9fa;
    --color-gray-100: #e9ecef;
    --color-gray-200: #dee2e6;
    --color-gray-300: #ced4da;
    --color-gray-400: #adb5bd;
    --color-gray-500: #6c757d;
    --color-gray-600: #495057;
    --color-gray-700: #343a40;
    --color-gray-800: #212529;
    --color-gray-900: #1a1a1a;
    
    /* ===================================================
     * TIPOGRAFÍA
     * =================================================== */
    
    --font-family-primary: 'Merriweather Sans', Arial, sans-serif;
    --font-family-secondary: 'Merriweather', serif;
    --font-family-mono: 'Courier New', monospace;
    
    /* Tamaños de fuente */
    --font-size-xs: 1.2rem;    /* 12px */
    --font-size-sm: 1.4rem;    /* 14px */
    --font-size-base: 1.6rem;  /* 16px */
    --font-size-lg: 1.8rem;    /* 18px */
    --font-size-xl: 2rem;      /* 20px */
    --font-size-2xl: 2.4rem;   /* 24px */
    --font-size-3xl: 3rem;     /* 30px */
    --font-size-4xl: 3.6rem;   /* 36px */
    --font-size-5xl: 4.8rem;   /* 48px */
    
    /* Pesos de fuente */
    --font-weight-light: 300;
    --font-weight-normal: 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.25;
    --line-height-normal: 1.5;
    --line-height-relaxed: 1.75;
    
    /* ===================================================
     * ESPACIADO
     * =================================================== */
    
    --spacing-0: 0;
    --spacing-1: 0.25rem;   /* 4px */
    --spacing-2: 0.5rem;    /* 8px */
    --spacing-3: 0.75rem;   /* 12px */
    --spacing-4: 1rem;      /* 16px */
    --spacing-5: 1.25rem;   /* 20px */
    --spacing-6: 1.5rem;    /* 24px */
    --spacing-8: 2rem;      /* 32px */
    --spacing-10: 2.5rem;   /* 40px */
    --spacing-12: 3rem;     /* 48px */
    --spacing-16: 4rem;     /* 64px */
    --spacing-20: 5rem;     /* 80px */
    --spacing-24: 6rem;     /* 96px */
    
    /* ===================================================
     * BORDES Y RADIOS
     * =================================================== */
    
    --border-radius-sm: 0.25rem;   /* 4px */
    --border-radius: 0.375rem;     /* 6px */
    --border-radius-md: 0.5rem;    /* 8px */
    --border-radius-lg: 0.75rem;   /* 12px */
    --border-radius-xl: 1rem;      /* 16px */
    --border-radius-2xl: 1.5rem;   /* 24px */
    --border-radius-full: 9999px;
    
    --border-width: 1px;
    --border-width-2: 2px;
    --border-width-4: 4px;
    
    /* ===================================================
     * SOMBRAS
     * =================================================== */
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --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);
    
    /* Sombras corporativas */
    --shadow-primary: 0 4px 12px 0 rgba(0, 87, 61, 0.15);
    --shadow-secondary: 0 4px 12px 0 rgba(255, 115, 0, 0.15);
    
    /* ===================================================
     * TRANSICIONES
     * =================================================== */
    
    --transition-fast: 150ms ease-in-out;
    --transition-normal: 300ms ease-in-out;
    --transition-slow: 500ms ease-in-out;
    
    /* ===================================================
     * Z-INDEX
     * =================================================== */
    
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;
    
    /* ===================================================
     * BREAKPOINTS (para referencia)
     * =================================================== */
    
    --breakpoint-sm: 576px;
    --breakpoint-md: 768px;
    --breakpoint-lg: 992px;
    --breakpoint-xl: 1200px;
    --breakpoint-xxl: 1400px;
}

/* ===================================================
 * VARIABLES PARA BOOTSTRAP (compatibilidad)
 * =================================================== */

:root {
    --bs-primary: var(--color-primary);
    --bs-primary-rgb: 0, 87, 61;
    --bs-secondary: var(--color-secondary);
    --bs-secondary-rgb: 255, 115, 0;
    --bs-success: var(--color-success);
    --bs-warning: var(--color-warning);
    --bs-danger: var(--color-danger);
    --bs-info: var(--color-info);
    --bs-link-color: var(--color-primary);
    --bs-link-hover-color: var(--color-primary-dark);
} 