/* Estilos personalizados adicionales */

/* Smooth scrolling para navegación */
html {
    scroll-behavior: smooth;
}

/* Efectos hover mejorados */
.hover-lift {
    transition: transform 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-2px);
}

/* Animaciones para elementos de entrada */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Mejoras para el carousel */
.carousel-shadow {
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Focus visible mejorado para accesibilidad */
.focus-ring:focus {
    outline: 2px solid #4299e1;
    outline-offset: 2px;
}

/* Indicadores del carousel mejorados */
.indicator-dot {
    cursor: pointer;
}

.indicator-dot:hover {
    transform: scale(1.2);
}

/* Botones del carousel mejorados */
.carousel-btn {
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.9);
}

.carousel-btn:hover {
    background-color: rgba(255, 255, 255, 1);
    transform: scale(1.05);
}

/* Mejoras para formularios */
.form-input:focus {
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.1);
}

/* Estilos para validación */
.border-green-500 {
    border-color: #10b981 !important;
}

.border-red-500 {
    border-color: #ef4444 !important;
}

/* Loading spinner (para futuras mejoras) */
.spinner {
    border: 2px solid #f3f3f3;
    border-top: 2px solid #4299e1;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Efectos para enlaces */
a[href^="tel:"],
a[href^="mailto:"],
a[href^="https://wa.me"] {
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Mejoras responsive adicionales */
@media (max-width: 768px) {
    .carousel-btn {
        display: none; /* Ocultar botones en móvil, usar solo swipe */
    }
    
    .text-responsive {
        font-size: clamp(1rem, 4vw, 1.125rem);
    }
}

/* Dark mode preparado (para futuras mejoras) */
@media (prefers-color-scheme: dark) {
    /* Estilos para modo oscuro si se implementa */
}

/* Print styles */
@media print {
    nav, footer, .carousel-btn, .indicator-dot {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
}

/* Accesibilidad mejorada */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .text-gray-600 {
        color: #000 !important;
    }
    
    .border-gray-300 {
        border-color: #000 !important;
    }
}
