/* scroll-carousel.css */
.scroll-carousel {
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    position: relative;
    z-index: 0;
    height: 1000px;
    overflow: hidden;
}

.scroll-carousel__image-wrapper {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.scroll-carousel__image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.2);
    z-index: 1;
}

.scroll-carousel__image {
    position: relative;
    width: 100%;
    min-height: 100%;
    max-height: 100%;
    object-fit: cover;
    z-index: 0 !important;
}
svg.scroll-carousel__overlay-top {
    position: absolute;
    top: -3px;
    left: 0;
    min-width: 100%;
    max-height: 80px;
    object-fit: cover;
    z-index: 3;
}
svg.scroll-carousel__overlay-bottom {
    position: absolute;
    bottom: -3px;
    left: 0;
    min-width: 100%;
    max-height: 80px;
    object-fit: cover;
    z-index: 3;
}
.scroll-carousel__swiper {
    height: 100%;
    padding-bottom: 130px;
    width: 100%;
    padding-top: 100px !important;
    overflow: visible !important;
    touch-action: pan-y;
    min-height: 100vh;
}
.scroll-carousel__inner {
    position: relative;
    height: 100%;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 130px;
    padding: 130px 0 0 0;
}
.scroll-carousel h2 {
    text-align: center;
    font-size: 60px;
    font-family: "futura-pt", sans-serif;
    text-transform: uppercase;
    font-weight: 450;
    color: #fff;
    line-height: 1.2;
    letter-spacing: -0.02em;
    position: relative;
    z-index: 4;
    margin-bottom: -50px;
}
.scroll-carousel__cards {
    min-height: 100vh;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 100%;
    padding-top: 50px;
    padding-bottom: 150px;
}

.scroll-carousel__card {
    width: 520px !important;
    min-height: 460px !important;
    height: fit-content !important;
    background: linear-gradient(125deg, #141F27 3.44%, #273744 76.68%);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    justify-content: center;
    padding: 70px 50px 50px;
    border-radius: 35px;
    transform: scale(0.9) !important;
    transition: transform 0.5s ease;
    transition-delay: 0.1s;
    position: relative;
    z-index: 2;
}
.scroll-carousel__card:last-child {
    margin-bottom: 200px !important;
}
.scroll-carousel__filler-slide {
    width: 520px !important;
    height: 300px !important;
    background: transparent;
}
.scroll-carousel__card.swiper-slide-prev {
    transform: scale(0.8) translateY(380px) !important;
}
.scroll-carousel__card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 35px;
    opacity: 1;
    transition: opacity 0.3s ease;
}
.swiper-slide-active.scroll-carousel__card {
    transform: scale(1) !important;
}
.swiper-slide-active .scroll-carousel__card-overlay {
    opacity: 0;
    z-index: -1;
}
.scroll-carousel__card h3 {
    color: #FFF;
    text-align: center;
    font-family: "futura-pt", sans-serif;
    text-transform: uppercase;
    font-size: 2.5rem;
    font-weight: 450;
    line-height: 1;
    letter-spacing: -0.8px;
}
.scroll-carousel__card p {
    color: #E9DBC5;
    text-align: center;
    font-family: "futura-pt", sans-serif;
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.2
}

.scroll-carousel__card .scroll-carousel__card-index {
    color: #405465;
    text-align: center;
    font-family: Dahlia, serif;
    text-transform: uppercase;
    font-size: 200px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: -4px;
}

@media screen and (max-width: 768px) {
    .scroll-carousel {
        height: 800px;
    }

    .scroll-carousel__inner {
        padding-top: 70px;
    }

    .scroll-carousel h2 {
        font-size: 36px;
        max-width: 350px;
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .scroll-carousel__swiper {
        padding-top: 70px !important;
    }

    .scroll-carousel__card {
        width: calc(100% - 2rem) !important;
        min-height: 320px !important;
        height: fit-content !important;
        margin: 0 1rem !important;
    }

    .scroll-carousel__card:last-child {
        margin-bottom: 200px !important;
    }

    .scroll-carousel__card.swiper-slide-prev {
        transform: scale(0.8) translateY(330px) !important;
    }

    .scroll-carousel__card h3 {
        font-size: 1.75rem;
    }

    .scroll-carousel__card p {
        font-size: 1.125rem;
    }

    .scroll-carousel__card .scroll-carousel__card-index {
        font-size: 140px;
    }

    .scroll-carousel__filler-slide {
        height: 400px !important;
    }
}
