/**
 * Banner Slider MX - Estilos Frontend
 */

.banner-slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #000;
}

.banner-slider-wrapper {
    position: relative;
    width: 100%;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease-in-out, visibility 0.6s ease-in-out;
}

.banner-slide:first-child {
    position: relative;
}

.banner-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.banner-slide a {
    display: block;
    width: 100%;
}

.banner-slide img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Flechas de navegación */
.banner-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease, opacity 0.3s ease;
    opacity: 0;
}

.banner-slider-container:hover .banner-slider-arrow {
    opacity: 1;
}

.banner-slider-arrow:hover {
    background: rgba(0, 0, 0, 0.8);
}

.banner-slider-prev {
    left: 15px;
}

.banner-slider-next {
    right: 15px;
}

.banner-slider-arrow svg {
    width: 24px;
    height: 24px;
}

/* Puntos de navegación */
.banner-slider-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 8px;
}

.banner-slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #fff;
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: background 0.3s ease, transform 0.3s ease;
}

.banner-slider-dot:hover {
    transform: scale(1.2);
}

.banner-slider-dot.active {
    background: #fff;
}

/* Responsive */
@media (max-width: 768px) {
    .banner-slider-arrow {
        width: 36px;
        height: 36px;
        opacity: 1;
    }
    
    .banner-slider-prev {
        left: 10px;
    }
    
    .banner-slider-next {
        right: 10px;
    }
    
    .banner-slider-dots {
        bottom: 10px;
    }
    
    .banner-slider-dot {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 480px) {
    .banner-slider-arrow {
        width: 32px;
        height: 32px;
    }
    
    .banner-slider-arrow svg {
        width: 20px;
        height: 20px;
    }
}
