.hero-section {

    position: relative;

    height: 100dvh;
    min-height: 900px;

    overflow: visible;
}

}

.hero-slide {

    position: relative;
    width: 100%;
    height: 100%;

}

.hero-bg {

    position: absolute;
    inset: 0;

}

.hero-bg img {

    width: 100%;
    height: 100%;

    object-fit: cover;

}

.hero-overlay {

    position: absolute;
    inset: 0;

    background:
            linear-gradient(
                    90deg,
                    rgba(0,0,0,0.75) 0%,
                    rgba(0,0,0,0.2) 100%
            );

}

.hero-content {

    position: absolute;

    left: 8%;
    top: 35%;

    transform: translateY(-50%);
    z-index: 5;

    color: #ffffff;

}

.hero-content .hero-title {

    font-size: clamp(70px, 8vw, 130px);
    font-weight: 800;
    line-height: 1;
    margin-bottom: 30px;

}

.hero-subtitle {
    color: var(--color-primary);
    background: rgba(0,0,0,0.55);
}

.hero-content p {

    max-width: 500px;
    line-height: 1.8;

    margin-bottom: 40px;

}

.hero-button {

    display: inline-flex;

    padding: 18px 40px;

    border: 1px solid var(--color-primary);

    color: #ffffff;
    text-decoration: none;

    transition: var(--transition-medium);

}

.hero-button:hover {

    background: var(--color-primary);

}

.hero-product {

    width: 650px;
    max-width: 42vw;

    opacity: 0.98;

    filter:
            drop-shadow(0 70px 90px rgba(0,0,0,0.48))
            drop-shadow(0 35px 40px rgba(0,0,0,0.42))
            drop-shadow(0 12px 18px rgba(0,0,0,0.42));

    will-change: transform;

    transform-origin: center center;

    --rotation: 0deg;
    --scale: 1;
    --float-y: 0px;

    transform:
            translateY(var(--float-y))
            rotate(var(--rotation))
            scale(var(--scale));

    animation:
            heroFloat 6s ease-in-out infinite;

}

@keyframes heroFloat {

    0% {

        transform:
                translateY(0px)
                rotate(var(--rotation))
                scale(var(--scale));

    }

    50% {

        transform:
                translateY(-12px)
                rotate(var(--rotation))
                scale(var(--scale));

    }

    100% {

        transform:
                translateY(0px)
                rotate(var(--rotation))
                scale(var(--scale));

    }

}

.hero-product-wrap {

    position: absolute;

    right: 0;
    top: 50%;

    z-index: 3;

    will-change: transform;

}

/* =========================
   PRODUCT GLOW
========================= */

.hero-product-wrap::before {

    content: "";

    position: absolute;

    left: 50%;
    top: 50%;

    width: 70%;
    height: 70%;

    transform:
            translate(-50%, -50%);

    background:
            radial-gradient(
                    circle,
                    rgba(255,255,255,0.12) 0%,
                    rgba(255,255,255,0.05) 35%,
                    transparent 70%
            );

    filter: blur(60px);

    z-index: -1;

    pointer-events: none;

}
.hero-slider {
    overflow: hidden;
}

.hero-slide {

    position: absolute;
    inset: 0;

    opacity: 0;
    visibility: hidden;

    transition:
            opacity 1.5s ease,
            visibility 1.5s ease;

}

.hero-slide.active {

    opacity: 1;
    visibility: visible;

}

/* =========================
   HERO TEXT ANIMATION
========================= */

.hero-content {

    opacity: 0;

    transform: translateY(40px);

    transition:
            opacity 1.2s ease,
            transform 1.2s ease;

    transition-delay: 0.3s;

}

.hero-slide.active .hero-content {

    opacity: 1;
    transform: translateY(0);

}

/*
|--------------------------------------------------------------------------
| NAVIGATION DOTS
|--------------------------------------------------------------------------
*/

.hero-navigation {

    position: absolute;

    bottom: 40px;
    left: 50%;

    transform: translateX(-50%);

    display: flex;
    gap: 12px;

    z-index: 20;

}

.hero-dot {

    width: 12px;
    height: 12px;

    border-radius: 50%;

    border: none;

    background: rgba(255,255,255,0.35);

    cursor: pointer;

    transition: all 0.3s ease;

}

.hero-dot.active {

    width: 36px;

    border-radius: 20px;

    background: white;

}

/*
|--------------------------------------------------------------------------
| PROGRESS BAR
|--------------------------------------------------------------------------
*/

.hero-progress {

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 4px;

    background: rgba(255,255,255,0.08);

    z-index: 30;

}

.hero-progress-bar {

    width: 0%;
    height: 100%;

    background: white;

}

@keyframes heroProgress {

    from {
        width: 0%;
    }

    to {
        width: 100%;
    }

}