/* SLIDE */
/* CONTENEDOR */
/* ALTURA MÁS BAJA */
.banner-slide {
    height: 45vh; /* antes 75vh */
    position: relative;
    overflow: hidden;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .banner-slide {
        height: 35vh;
    }
}

/* FLECHAS PERSONALIZADAS */
.custom-arrow {
    width: 50px;
}

.arrow-icon {
    font-size: 30px;
    color: #fff;
    background: rgba(0,0,0,0.5);
    padding: 10px 15px;
    border-radius: 50%;
    transition: 0.3s;
}

/* HOVER */
.custom-arrow:hover .arrow-icon {
    background: #CC0100;
}

/* IMAGEN */
.bg-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1);
}

/* ZOOM AUTOMÁTICO */
.carousel-item.active .bg-img {
    animation: zoomEffect 8s ease forwards;
}

@keyframes zoomEffect {
    from { transform: scale(1); }
    to { transform: scale(1.1); }
}

/* OVERLAY */
.overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.7), rgba(0,0,0,0.3));
}

/* CONTENIDO */
.content {
    max-width: 550px;
    position: relative;
    z-index: 2;
}

/* TITULO */
.title {
    font-size: 3rem;
    font-weight: bold;
    opacity: 0;
}

/* SUBTITULO */
.subtitle {
    font-size: 1.2rem;
    margin-bottom: 20px;
    opacity: 0;
}

/* BOTÓN */
.btn-banner {
    background: #CC0100;
    color: #fff;
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    opacity: 0;
}

/* HOVER */
.btn-banner:hover {
    background: #a80000;
    color: #fff;
}

/* ANIMACIONES POR CAPAS */
.carousel-item.active .title {
    animation: slideUp 1s ease forwards;
}

.carousel-item.active .subtitle {
    animation: slideUp 1s ease forwards;
    animation-delay: 0.3s;
}

.carousel-item.active .btn-banner {
    animation: slideUp 1s ease forwards;
    animation-delay: 0.6s;
}

/* KEYFRAME */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .title {
        font-size: 2rem;
    }

    .banner-slide {
        height: 60vh;
    }
}




/* BANNERS categorias*/
/* CARD */
.banner-card {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

/* IMAGEN */
.banner-card img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: 0.5s;
}

/* OVERLAY DEGRADADO IZQUIERDA */
.banner-overlay {
    position: absolute;
    inset: 0;
    /* background: linear-gradient(to right, rgba(255,255,255,0.9), rgba(255,255,255,0)); */
	background: linear-gradient(to right, rgba(0,0,0,0.7), rgba(0,0,0,0));
    display: flex;
    align-items: center;
    padding: 30px;
}

/* CONTENIDO */
.banner-overlay .content {
    max-width: 500px;
}

/* TEXTO PEQUEÑO */
.small-text {
    font-size: 13px;
    color: #fff;
    display: block;
    margin-bottom: 5px;
}

/* TITULO */
.banner-overlay h3 {
    font-size: 24px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 15px;
}

.banner-overlay h3, .small-text {
    color: #fff;
}

/* HOVER */
.banner-card:hover img {
    transform: scale(1.1);
}

/* OSCURECER PARA MEJOR CONTRASTE */
.banner-overlay {
    background: linear-gradient(to right, rgba(0,0,0,0.6), rgba(0,0,0,0));
}



.btn-banner-cat {
    display: inline-block !important;
    background: #CC0100;
    color: #fff !important;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    position: relative;
    z-index: 10; 
}

.btn-banner-cat:hover {
    background: #a80000;
}