/* ======================================
   OMAQUI - MEJORAS DE COLOR Y CONTRASTE
   Paleta de colores modernizada con mejor accesibilidad
   ====================================== */

:root {
    /* Colores primarios - Mantener la identidad de marca */
    --omaqui-primary: #007c91;
    --omaqui-primary-dark: #005d6d;
    --omaqui-primary-light: #00a3bf;
    --omaqui-primary-pale: #e6f5f7;
    
    /* Colores de acción */
    --omaqui-success: #28a745;
    --omaqui-success-dark: #1e7e34;
    --omaqui-danger: #ff6b6b;
    --omaqui-danger-dark: #ee5a52;
    --omaqui-warning: #ffc107;
    --omaqui-warning-dark: #e0a800;
    --omaqui-info: #17a2b8;
    
    /* Grises modernos */
    --omaqui-gray-900: #212529;
    --omaqui-gray-800: #343a40;
    --omaqui-gray-700: #495057;
    --omaqui-gray-600: #6c757d;
    --omaqui-gray-500: #adb5bd;
    --omaqui-gray-400: #ced4da;
    --omaqui-gray-300: #dee2e6;
    --omaqui-gray-200: #e9ecef;
    --omaqui-gray-100: #f8f9fa;
    
    /* Texto */
    --omaqui-text-primary: #212529;
    --omaqui-text-secondary: #6c757d;
    --omaqui-text-muted: #868e96;
    --omaqui-text-light: #adb5bd;
    
    /* Backgrounds */
    --omaqui-bg-white: #ffffff;
    --omaqui-bg-light: #f8f9fa;
    --omaqui-bg-gray: #f5f5f5;
    --omaqui-bg-dark: #212529;
    
    /* Bordes */
    --omaqui-border-color: #dee2e6;
    --omaqui-border-light: #e9ecef;
    
    /* Sombras */
    --omaqui-shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.08);
    --omaqui-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --omaqui-shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --omaqui-shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.2);
    
    /* Espaciado consistente */
    --omaqui-spacing-xs: 4px;
    --omaqui-spacing-sm: 8px;
    --omaqui-spacing-md: 16px;
    --omaqui-spacing-lg: 24px;
    --omaqui-spacing-xl: 32px;
    --omaqui-spacing-2xl: 48px;
    
    /* Transiciones */
    --omaqui-transition-fast: 150ms ease-in-out;
    --omaqui-transition: 300ms ease-in-out;
    --omaqui-transition-slow: 500ms ease-in-out;
    
    /* Border radius */
    --omaqui-radius-sm: 4px;
    --omaqui-radius: 8px;
    --omaqui-radius-lg: 12px;
    --omaqui-radius-xl: 16px;
    --omaqui-radius-full: 9999px;
}

/* ===== BOTONES MEJORADOS ===== */
.btn-primary,
.btn.btn-primary {
    background: var(--omaqui-primary) !important;
    border-color: var(--omaqui-primary) !important;
    color: white !important;
    font-weight: 500;
    transition: all var(--omaqui-transition);
    box-shadow: var(--omaqui-shadow-sm);
}

.btn-primary:hover,
.btn.btn-primary:hover {
    background: var(--omaqui-primary-dark) !important;
    border-color: var(--omaqui-primary-dark) !important;
    transform: translateY(-1px);
    box-shadow: var(--omaqui-shadow);
}

.btn-primary:active,
.btn.btn-primary:active {
    transform: translateY(0);
}

.btn-outline-primary {
    border: 2px solid var(--omaqui-primary) !important;
    color: var(--omaqui-primary) !important;
    background: transparent !important;
    font-weight: 500;
    transition: all var(--omaqui-transition);
}

.btn-outline-primary:hover {
    background: var(--omaqui-primary) !important;
    color: white !important;
}

.btn-success {
    background: var(--omaqui-success) !important;
    border-color: var(--omaqui-success) !important;
}

.btn-success:hover {
    background: var(--omaqui-success-dark) !important;
    border-color: var(--omaqui-success-dark) !important;
}

.btn-danger {
    background: var(--omaqui-danger) !important;
    border-color: var(--omaqui-danger) !important;
}

.btn-danger:hover {
    background: var(--omaqui-danger-dark) !important;
    border-color: var(--omaqui-danger-dark) !important;
}

/* ===== LINKS MEJORADOS ===== */
a {
    color: var(--omaqui-primary);
    transition: color var(--omaqui-transition-fast);
}

a:hover {
    color: var(--omaqui-primary-dark);
    text-decoration: none;
}

/* ===== CARDS Y CONTENEDORES ===== */
.card,
.imagebox {
    border: 1px solid var(--omaqui-border-light);
    border-radius: var(--omaqui-radius);
    box-shadow: var(--omaqui-shadow-sm);
    transition: all var(--omaqui-transition);
}

.card:hover,
.imagebox:hover {
    box-shadow: var(--omaqui-shadow-lg);
    transform: translateY(-2px);
}

/* ===== BADGES MEJORADOS ===== */
.badge {
    font-weight: 500;
    padding: 4px 8px;
    border-radius: var(--omaqui-radius-sm);
}

.badge-primary {
    background: var(--omaqui-primary) !important;
}

.badge-success {
    background: var(--omaqui-success) !important;
}

.badge-danger {
    background: var(--omaqui-danger) !important;
}

.badge-warning {
    background: var(--omaqui-warning) !important;
    color: var(--omaqui-gray-900) !important;
}

/* ===== FORMULARIOS MEJORADOS ===== */
.form-control {
    border: 1px solid var(--omaqui-border-color);
    border-radius: var(--omaqui-radius-sm);
    transition: all var(--omaqui-transition-fast);
    color: var(--omaqui-text-primary);
}

.form-control:focus {
    border-color: var(--omaqui-primary);
    box-shadow: 0 0 0 3px var(--omaqui-primary-pale);
    outline: none;
}

.form-control::placeholder {
    color: var(--omaqui-text-muted);
}

/* ===== ALERTAS MEJORADAS ===== */
.alert {
    border-radius: var(--omaqui-radius);
    border: none;
    box-shadow: var(--omaqui-shadow-sm);
}

.alert-success {
    background: #d4edda;
    color: var(--omaqui-success-dark);
}

.alert-danger {
    background: #f8d7da;
    color: #721c24;
}

.alert-warning {
    background: #fff3cd;
    color: #856404;
}

.alert-info {
    background: #d1ecf1;
    color: #0c5460;
}

/* ===== MEJORAS DE ACCESIBILIDAD ===== */
*:focus {
    outline: 2px solid var(--omaqui-primary);
    outline-offset: 2px;
}

/* Mejorar contraste de texto */
.text-muted {
    color: var(--omaqui-text-secondary) !important;
}

/* ===== UTILIDADES DE ESPACIADO ===== */
.spacing-xs { padding: var(--omaqui-spacing-xs); }
.spacing-sm { padding: var(--omaqui-spacing-sm); }
.spacing-md { padding: var(--omaqui-spacing-md); }
.spacing-lg { padding: var(--omaqui-spacing-lg); }
.spacing-xl { padding: var(--omaqui-spacing-xl); }

.mt-xs { margin-top: var(--omaqui-spacing-xs); }
.mt-sm { margin-top: var(--omaqui-spacing-sm); }
.mt-md { margin-top: var(--omaqui-spacing-md); }
.mt-lg { margin-top: var(--omaqui-spacing-lg); }
.mt-xl { margin-top: var(--omaqui-spacing-xl); }

.mb-xs { margin-bottom: var(--omaqui-spacing-xs); }
.mb-sm { margin-bottom: var(--omaqui-spacing-sm); }
.mb-md { margin-bottom: var(--omaqui-spacing-md); }
.mb-lg { margin-bottom: var(--omaqui-spacing-lg); }
.mb-xl { margin-bottom: var(--omaqui-spacing-xl); }

/* ===== PRECIOS MEJORADOS ===== */
.price {
    font-weight: 600;
    color: var(--omaqui-text-primary);
}

.price .sale {
    color: var(--omaqui-primary);
    font-size: 1.25em;
}

.price .regular {
    color: var(--omaqui-text-muted);
    text-decoration: line-through;
    font-size: 0.9em;
    margin-left: 8px;
}

/* ===== NAVEGACIÓN MEJORADA ===== */
.nav-link {
    color: var(--omaqui-text-primary);
    transition: color var(--omaqui-transition-fast);
    font-weight: 500;
}

.nav-link:hover,
.nav-link.active {
    color: var(--omaqui-primary);
}

/* ===== FOOTER MEJORADO ===== */
footer {
    background: var(--omaqui-gray-900);
    color: var(--omaqui-gray-300);
}

footer a {
    color: var(--omaqui-gray-300);
    transition: color var(--omaqui-transition-fast);
}

footer a:hover {
    color: white;
}

/* ===== MEJORAS RESPONSIVE ===== */
@media (max-width: 768px) {
    :root {
        --omaqui-spacing-lg: 16px;
        --omaqui-spacing-xl: 24px;
        --omaqui-spacing-2xl: 32px;
    }
}
