/* ===== CARRUSEL ===== */
.carrusel-container {
    position: relative;
    width:100%;
    overflow: hidden;
    margin: 20px 0;
/*    border: 2px solid #FF0000; //rojo*/
}
.slider {
    display: flex;
    transition: transform 0.8s ease-in-out;
    height: 500px;
    width: 100%;
/*    border: 2px solid #000000; //rojo */
}
.slide {
    min-width: 100%; /* Ya lo tienes, esto está bien */
    max-width: 100%; 
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0px;
    box-sizing: border-box;
/*    border: 2px solid #FF00FF; //FUXIA /*
}
.slide-content {
    max-width: 1000px;
    z-index: 2;
    padding: 0px;
}
.slide h2 {
/*    font-size: 2.8rem;*/
    margin-bottom: 20px;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}
.slide p {
/*    font-size: 1.3rem;*/
    line-height: 1.7;
    color: #e0e0ff;
    margin-bottom: 30px;
    max-width: 800px; 
    margin-left: auto;
    margin-right: auto;
}

/* Fondos de las slides */
.slide-1 {
    background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.6)), 
                url('Slide1.jpg');
    background-size: cover;
    background-position: center;
}
.slide-2 {
    background: url('Slide2.jpg');
    background-size: cover;
    background-position: center;
}

.slide-3 {
    background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.6)), 
                url('Slide3.jpg');
    background-size: cover;
    background-position: center;
}

.slide-4 {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), 
                url('https://images.unsplash.com/photo-1542744173-8e7e53415bb0?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
}

/* Indicadores */
.indicators {
    position: absolute;
    bottom: 50px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 15px;
    z-index: 10;
}
.indicator {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}
.indicator:hover {
    background-color: rgba(255, 255, 255, 0.5);
}
.indicator.active {
    background-color: #3498db;
    transform: scale(1.3);
    box-shadow: 0 0 15px rgba(52, 152, 219, 0.9);
    border-color: white;
}

/* Controles de navegación */
.nav-btn {
    position: absolute;
    top: 70%;
    transform: translateY(-70%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    z-index: 10;
}
.nav-btn:hover {
    background-color: rgba(52, 152, 219, 0.9);
    transform: translateY(-50%) scale(1.1);
}

.prev-btn {
    left: 15px;
}

.next-btn {
    right: 15px;
}
/* Responsive para el carrusel */
@media (max-width: 1200px) {

    .slider {
        height: 450px;
    }
}

@media (max-width: 992px) {   
    .slider {
        height: 400px;
    }
    .nav-btn {
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 768px) {
    .slider {
        height: 350px;
    }
    
    .slide h2 {
        margin-bottom: 15px;
    }
    
    .nav-btn {
        width: 40px;
        height: 40px;
    }
    
    .prev-btn {
        left: 10px;
    }
    
    .next-btn {
        right: 10px;
    }
    
    .indicator {
        width: 12px;
        height: 12px;
    }
}

@media (max-width: 576px) {

    .slider {
        height: 300px;
    }
    
    .slide p {
        margin-bottom: 15px;
    }
    
    .nav-btn {
        width: 35px;
        height: 35px;
    }
}


