/* ===== SLIDER.CSS ===== */
/* Estilos para el Hero Slider de Viajes JAER */

.hero-slider {
    position: relative;
    height: 550px;
    overflow: hidden;
    margin-top: 0;
    width: 100%;
}

.slider-container {
    height: 100%;
    width: 100%;
    position: relative;
}

.slide {
    position: absolute;
    height: 100%;
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease-in-out, visibility 1s ease-in-out;
}

.slide.active {
    opacity: 1;
    visibility: visible;
}

.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(194, 0, 0, 0.9), rgba(0, 0, 0, 0.4));
    color: var(--blanco, #ffffff);
    padding: 50px 30px;
    text-align: left;
}

.slide-title {
    font-size: 3.2rem;
    color: var(--blanco, #ffffff);
    margin-bottom: 10px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    font-weight: 800;
    font-family: 'Montserrat', sans-serif;
}

.slide-subtitle {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--blanco, #ffffff);
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
    font-family: 'Montserrat', sans-serif;
}

.slider-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 20px;
    z-index: 10;
}

.slider-control {
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--rojo-intenso, #e00000);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    border: 2px solid var(--rojo-intenso, #e00000);
    outline: none;
}

.slider-control:hover {
    background-color: var(--rojo-intenso, #e00000);
    color: var(--blanco, #ffffff);
    transform: scale(1.1);
}

/* Responsive Slider */
@media (max-width: 992px) {
    .hero-slider {
        height: 450px;
    }
    
    .slide-title {
        font-size: 2.8rem;
    }
    
    .slide-subtitle {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .hero-slider {
        height: 400px;
    }
    
    .slide-content {
        padding: 30px 20px;
    }
    
    .slide-title {
        font-size: 2.2rem;
    }
    
    .slide-subtitle {
        font-size: 1.3rem;
    }
    
    .slider-control {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-slider {
        height: 350px;
    }
    
    .slide-title {
        font-size: 1.8rem;
    }
    
    .slide-subtitle {
        font-size: 1.1rem;
    }
    
    .slider-control {
        width: 35px;
        height: 35px;
    }
}