/* CSS Moderno con Tailwind - Estilos Personalizados */

/* Glassmorphism Panel */
.glass-panel {
    background: rgba(20, 20, 20, 0.75);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(212, 175, 55, 0.4); /* Borde dorado más brillante */
    box-shadow: 0 16px 40px 0 rgba(0, 0, 0, 0.8), inset 0 0 20px rgba(212, 175, 55, 0.05);
}

/* Texto Degradado Dorado */
.gold-gradient-text {
    background: linear-gradient(to right, #D4AF37, #F3E5AB, #D4AF37);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    background-size: 200% auto;
    animation: shine 4s linear infinite;
}

/* Botón Dorado (Luxury) */
.gold-btn {
    background: linear-gradient(135deg, #D4AF37 0%, #AA8A2A 100%);
    color: #000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.gold-btn::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 50%; height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.4), transparent);
    transform: skewX(-20deg);
    transition: all 0.5s;
}

.gold-btn:hover {
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
    transform: translateY(-2px);
}

.gold-btn:hover::after {
    left: 150%;
}

/* Animaciones */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

.floating-element {
    animation: float 6s ease-in-out infinite;
}

@keyframes pulse-gold {
    0% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.6); }
    70% { box-shadow: 0 0 0 15px rgba(212, 175, 55, 0); }
    100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); }
}

.pulse-btn {
    animation: pulse-gold 2.5s infinite;
}

@keyframes shine {
    to { background-position: 200% center; }
}

/* Optimizaciones nativas para inputs de fecha/hora en dark mode */
input[type="date"]::-webkit-calendar-picker-indicator,
input[type="time"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
    cursor: pointer;
}

/* Scroll Reveal Styles */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.0s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 1.0s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

.reveal-left {
    transform: translateX(-40px);
}

.reveal-right {
    transform: translateX(40px);
}

.reveal.revealed {
    opacity: 1;
    transform: translate(0);
}

/* Delays de Transición */
.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }

/* Animación de suspensión/vibración de motor Cadillac */
@keyframes car-bump {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-0.8px) rotate(-0.15deg); }
    50% { transform: translateY(0.4px) rotate(0.08deg); }
    75% { transform: translateY(-0.4px) rotate(-0.08deg); }
}

/* Clases de giro de ruedas optimizadas */
.wheel-spinning {
    animation: spin 0.35s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Efecto de enfoque y resplandor para los inputs del formulario */
input:focus, select:focus {
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.15);
    border-color: #D4AF37 !important;
}

/* Animación de revelado suave para la tarjeta de tarifas */
#fare-estimate-card:not(.hidden) {
    animation: slide-down 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slide-down {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

