/* =========================================
   HERO SCROLL CAROUSEL
   ========================================= */

.scroll-carousel {
    position: relative !important;

    width: 100vw !important;
    max-width: 100vw !important;

    height: 300vh !important;
    min-height: 300vh !important;

    margin: 0 !important;
    padding: 0 !important;

    background: #000;
}

/* =========================================
   PREVENT HERO FLASH ON PAGE LOAD
   ========================================= */

/*
 * Înainte ca JavaScript să creeze
 * .scroll-carousel-stage,
 * ascundem toate slide-urile.
 */

.scroll-carousel>.scroll-slide {
    position: absolute !important;

    top: 0 !important;
    left: 0 !important;

    width: 100% !important;
    height: 100vh !important;

    margin: 0 !important;

    visibility: hidden;
}


/*
 * La încărcare afișăm doar primul slide.
 */

.scroll-carousel>.scroll-slide:first-child {
    visibility: visible;
}

/* =========================================
   STAGE
   ZONA FIXĂ VIZIBILĂ
   ========================================= */

.scroll-carousel-stage {
    position: absolute;

    top: 0;
    left: 0;

    width: 100vw;
    height: 100vh;

    margin: 0;
    padding: 0;

    overflow: hidden;

    isolation: isolate;
}

/* Hero activ - rămâne fix pe ecran */
.scroll-carousel-stage.is-fixed {
    position: fixed;

    top: 0;
    left: 0;
}


/* Hero terminat - rămâne la finalul zonei */
.scroll-carousel-stage.is-ended {
    position: absolute;

    top: auto;
    bottom: 0;
    left: 0;
}


/* =========================================
   SLIDES
   ========================================= */

.scroll-carousel-stage .scroll-slide {
    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    margin: 0 !important;
    padding: 0 !important;

    overflow: hidden;

    will-change: clip-path;
}


/* =========================================
   SLIDE CONTENT
   ========================================= */

.scroll-carousel-stage .slide-content {
    position: relative;

    width: 100%;
    height: 100%;

    box-sizing: border-box;

    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 60px;

    z-index: 2;
}


/* =========================================
   TEMPORARY TEST COLORS
   ========================================= */

.scroll-carousel-stage .scroll-slide:nth-child(1) {
    background: #e00000;
    z-index: 1;
}

.scroll-carousel-stage .scroll-slide:nth-child(2) {
    background: #0055cc;
    z-index: 2;
}

.scroll-carousel-stage .scroll-slide:nth-child(3) {
    background: #168c3a;
    z-index: 3;
}


/* =========================================
   DOTS
   ========================================= */

.hero-scroll-dots {
    position: absolute;

    top: 50%;
    right: 30px;

    transform: translateY(-50%);

    display: flex;
    flex-direction: column;
    gap: 12px;

    z-index: 20;
}


.hero-scroll-dot {
    width: 10px;
    height: 10px;

    padding: 0;

    border: 1px solid #ffffff;
    border-radius: 50%;

    background: transparent;

    cursor: pointer;
}


.hero-scroll-dot.active {
    background: #ffffff;

    transform: scale(1.4);
}


/* =========================================
   TABLET
   ========================================= */

@media (max-width: 1024px) {

    .scroll-carousel-stage .slide-content {
        padding: 50px 40px;
    }

    .hero-scroll-dots {
        right: 20px;
    }

}


/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 767px) {

    .scroll-carousel {
        height: 300svh;
    }

    .scroll-carousel-stage {
        height: 100svh;
    }

    .scroll-carousel-stage .slide-content {
        padding: 30px 20px;
    }

    .hero-scroll-dots {
        right: 12px;
        gap: 10px;
    }

    .hero-scroll-dot {
        width: 8px;
        height: 8px;
    }

}