/* Page Principal - Transportes Alcántara */
:root {
    --primary: #f97316;
    --secondary: #1e293b;
    --accent: #27272A;
}

.font-jakarta { font-family: 'Plus Jakarta Sans', sans-serif; }

/* Efecto Glassmorphism para el Nav */
.glass-nav {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.3);
}

/* Slider de Portada */
.hero-slider-item {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.5s ease-in-out, transform 2s ease-out;
    transform: scale(1.1);
    z-index: 0;
}

.hero-slider-item.active {
    opacity: 1;
    transform: scale(1);
    z-index: 1;
}

/* Capa oscura para resaltar el texto del H1 */
.hero-overlay {
    background: linear-gradient(to right, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.6) 50%, rgba(15, 23, 42, 0.2) 100%);
    z-index: 2;
}

/* Responsive H1 */
@media (min-width: 1024px) {
    .hero-title {
        font-size: 5.5rem;
        line-height: 1;
    }
}

/* Animaciones personalizadas */
.reveal-text {
    overflow: hidden;
}
.reveal-text span {
    display: block;
    animation: reveal 1.5s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}

@keyframes reveal {
    0% { transform: translateY(100%); }
    100% { transform: translateY(0); }
}

/* --- MEJORAS ESTRATÉGICAS --- */

/* 1. Botón WhatsApp Flotante */
.btn-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
}

.btn-whatsapp:hover {
    transform: scale(1.1) translateY(-5px);
    background-color: #128c7e;
}

.pulse-animation {
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* 4. Mapa de Cobertura */
.map-dot {
    position: absolute;
    width: 12px;
    height: 12px;
    background: #f97316;
    border-radius: 50%;
    cursor: pointer;
}

.map-dot::after {
    content: '';
    position: absolute;
    inset: -4px;
    border: 2px solid #f97316;
    border-radius: 50%;
    animation: pulse-dot 1.5s infinite;
}

@keyframes pulse-dot {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(2.5); opacity: 0; }
}

/* 5. Micro-interacciones Globales */
.hover-scale {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hover-scale:hover {
    transform: scale(1.05);
}

.btn-modern {
    position: relative;
    overflow: hidden;
}

.btn-modern::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-modern:hover::before {
    width: 300%;
    height: 300%;
}
