/* ============ BANNER SLIDER ============ */
.carousel {
    margin-bottom: 0;
}

.banner-slide {
    height: 500px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        rgba(13, 110, 253, 0.85) 0%,
        rgba(13, 110, 253, 0.6) 50%,
        rgba(0, 0, 0, 0.4) 100%
    );
}

.banner-content {
    position: relative;
    z-index: 2;
    padding: 40px 0;
}

.banner-content h1 {
    font-size: 3rem;
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.banner-content .lead {
    font-size: 1.2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Indicadores del carrusel */
.carousel-indicators {
    bottom: 20px;
    z-index: 10;
}

.carousel-indicators button {
    width: 12px !important;
    height: 12px !important;
    border-radius: 50%;
    border: 2px solid white;
    background: transparent;
    margin: 0 6px;
    opacity: 0.7;
    transition: all 0.3s;
}

.carousel-indicators button.active {
    background: white;
    opacity: 1;
    transform: scale(1.2);
}

/* Controles del carrusel */
.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    opacity: 0;
    transition: opacity 0.3s;
}

.carousel:hover .carousel-control-prev,
.carousel:hover .carousel-control-next {
    opacity: 1;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    background-size: 50%;
    transition: all 0.3s;
}

.carousel-control-prev-icon:hover,
.carousel-control-next-icon:hover {
    background-color: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
}

/* Hero por defecto */
.hero-default {
    padding: 80px 0;
}

.hero-default h1 {
    font-size: 3rem;
    font-weight: 800;
}

/* Animaciones */
.carousel-item.active .banner-content h1 {
    animation: fadeInDown 0.8s ease;
}

.carousel-item.active .banner-content p {
    animation: fadeInUp 0.8s ease 0.2s both;
}

.carousel-item.active .banner-content .btn {
    animation: fadeInUp 0.8s ease 0.4s both;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 991px) {
    .banner-slide {
        height: 400px;
    }
    
    .banner-content h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .banner-slide {
        height: 350px;
    }
    
    .banner-content h1 {
        font-size: 2rem;
    }
    
    .banner-content .lead {
        font-size: 1rem;
    }
    
    .hero-default h1 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .banner-slide {
        height: 300px;
    }
    
    .banner-content h1 {
        font-size: 1.6rem;
    }
    
    .banner-content .lead {
        font-size: 0.9rem;
    }
    
    .btn-lg {
        padding: 8px 20px;
        font-size: 0.9rem;
    }
}