/* =========================================
   CARROSSEL
========================================= */

.slider-container {
    width: 100%;
    height: 100vh;
    min-height: 450px;
    position: relative;
    overflow: hidden;
    background: #000;
}

/* Esconde os radio buttons */
.slider-container input[type="radio"] {
    display: none;
}


/* =========================================
   ÁREA DOS SLIDES
========================================= */

.slides {
    display: flex;
    width: 500%;
    height: 100%;

    transform: translateX(0%);
    transition: transform 1.2s cubic-bezier(.77, 0, .18, 1);
}


/* =========================================
   CADA SLIDE
========================================= */

.slide {
    width: 20%;
    height: 100%;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}

.slide img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    transform: scale(1);
    transition: transform 6s ease;
}


/* Efeito de zoom na imagem */
.slide.active img {
    transform: scale(1.06);
}


/* =========================================
   EFEITO ESCURECIMENTO
========================================= */

.slide::after {
    content: "";
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to bottom,
            rgba(0,0,0,0.15),
            rgba(0,0,0,0.05) 50%,
            rgba(0,0,0,0.35)
        );

    pointer-events: none;
}


/* =========================================
   SETAS
========================================= */

.arrow {
    position: absolute;

    top: 50%;
    transform: translateY(-50%);

    width: 52px;
    height: 52px;

    border: none;
    border-radius: 50%;

    background: rgba(0,0,0,0.35);

    color: #fff;

    font-size: 28px;

    cursor: pointer;

    z-index: 10;

    display: flex;
    align-items: center;
    justify-content: center;

    transition:
        background 0.3s ease,
        transform 0.3s ease;
}

.arrow:hover {
    background: rgba(0,0,0,0.75);

    transform:
        translateY(-50%)
        scale(1.1);
}

.arrow.prev {
    left: 25px;
}

.arrow.next {
    right: 25px;
}


/* =========================================
   BOLINHAS
========================================= */

.navigation-buttons {

    position: absolute;

    bottom: 35px;

    left: 50%;

    transform: translateX(-50%);

    display: flex;

    gap: 10px;

    z-index: 20;
}

.nav-btn {

    width: 12px;
    height: 12px;

    padding: 0;

    border: 2px solid #fff;

    border-radius: 50%;

    background: rgba(255,255,255,0.35);

    cursor: pointer;

    transition:
        width 0.3s ease,
        background 0.3s ease,
        transform 0.3s ease;
}

.nav-btn:hover {

    background: #fff;

    transform: scale(1.15);
}


/* Bolinha ativa */

.nav-btn.active {

    width: 30px;

    border-radius: 10px;

    background: #fff;
}


/* =========================================
   BARRA DE PROGRESSO
========================================= */

.slider-progress {

    position: absolute;

    bottom: 0;

    left: 0;

    width: 100%;

    height: 3px;

    background: rgba(255,255,255,0.2);

    z-index: 20;

    overflow: hidden;
}

.slider-progress span {

    display: block;

    width: 0%;

    height: 100%;

    background: #fff;
}


/* =========================================
   RESPONSIVO
========================================= */

@media (max-width: 768px) {

    .slider-container {
        height: 75vh;
        min-height: 400px;
    }

    .arrow {

        width: 42px;
        height: 42px;

        font-size: 22px;
    }

    .arrow.prev {
        left: 15px;
    }

    .arrow.next {
        right: 15px;
    }

    .navigation-buttons {
        bottom: 25px;
    }

}


/* =========================================
   CELULAR PEQUENO
========================================= */

@media (max-width: 480px) {

    .slider-container {
        height: 65vh;
        min-height: 350px;
    }

    .arrow {

        width: 38px;
        height: 38px;

        font-size: 20px;
    }

    .nav-btn {
        width: 9px;
        height: 9px;
    }

    .nav-btn.active {
        width: 25px;
    }

}