/**
 * Estilos do Slider RedeMaiorShop - Versão Premium 11.0
 */

.main-slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.main-slider {
    width: 100%;
    height: 600px; /* Altura premium aumentada */
}

.swiper-slide .slide-inner {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

/* Background Handling */
.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.slide-bg video,
.slide-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Overlay Layer */
.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.1) 100%);
    z-index: 1;
}

.slide-content {
    max-width: 700px;
    padding: 40px 0;
    position: relative;
    z-index: 2;
}

/* Animação escalonada dos elementos */
.slide-content > * {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.swiper-slide-active .slide-content > * {
    opacity: 1;
    transform: translateY(0);
}

/* Delays para efeito cascata */
.swiper-slide-active .slide-content .slide-subtitle { transition-delay: 0.2s; }
.swiper-slide-active .slide-content .slide-title { transition-delay: 0.4s; }
.swiper-slide-active .slide-content .slide-description { transition-delay: 0.6s; }
.swiper-slide-active .slide-content .slide-actions { transition-delay: 0.8s; }

.slide-subtitle {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 25px;
    letter-spacing: 1.5px;
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.4);
}

.slide-title {
    font-size: clamp(36px, 6vw, 64px);
    line-height: 1.1;
    margin-bottom: 25px;
    font-weight: 900;
    color: #fff;
    text-transform: none;
}

.slide-description {
    font-size: clamp(16px, 2vw, 22px);
    margin-bottom: 40px;
    opacity: 0.9;
    line-height: 1.5;
    font-weight: 400;
}

/* Customização Swiper */
.swiper-button-next,
.swiper-button-prev {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    transition: all 0.4s ease;
    z-index: 10;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 22px;
    font-weight: 900;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: var(--primary-color);
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(230, 57, 70, 0.5);
}

.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #fff;
    opacity: 0.4;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--primary-color);
    width: 35px;
    border-radius: 10px;
}

/* Responsividade */
@media (max-width: 992px) {
    .main-slider {
        height: 500px;
    }
}

@media (max-width: 768px) {
    .main-slider {
        height: 450px;
    }
    
    .slide-content {
        text-align: center;
        margin: 0 auto;
        padding: 20px;
    }
    
    .swiper-button-next,
    .swiper-button-prev {
        display: none;
    }
    
    .slide-overlay {
        background: rgba(0,0,0,0.5);
    }
}

@media (max-width: 480px) {
    .main-slider {
        height: 400px;
    }
    .slide-title {
        font-size: 32px;
    }
    .slide-description {
        font-size: 16px;
        margin-bottom: 25px;
    }
}
