.hero-carousel {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 760px;
    overflow: hidden;
    background: #000;
}

/* Slides */

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.2s ease, visibility 1.2s ease;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

/* Background */

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;

    transform: scale(1);
    transition: transform 7s ease;
}

.hero-slide.active .hero-bg img {
    transform: scale(1.05);
}

/* Overlay */

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-overlay-light {
    background:
        linear-gradient(
            90deg,
            rgba(255,255,255,0.95) 0%,
            rgba(255,255,255,0.82) 30%,
            rgba(255,255,255,0.28) 58%,
            rgba(255,255,255,0.02) 100%
        );
}

.hero-overlay-dark {
    background:
        linear-gradient(
            90deg,
            rgba(0,0,0,0.88) 0%,
            rgba(0,0,0,0.72) 36%,
            rgba(0,0,0,0.35) 62%,
            rgba(0,0,0,0.12) 100%
        );
}

/* Content */

.hero-content {
    position: relative;
    z-index: 3;

    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;

    padding-left: 13%;
    padding-right: 40px;

    color: var(--color-dark);
}

.hero-content-light {
    color: var(--color-white);
}

/* Animation */

.hero-animate {
    max-width: 720px;

    opacity: 0;
    transform: translateY(40px);

    transition:
        opacity 1s ease,
        transform 1s ease;
}

.hero-slide.active .hero-animate {
    opacity: 1;
    transform: translateY(0);
}

/* Typography */

.hero-content h1 {
    font-family: var(--font-body);
    font-size: clamp(2.8rem, 5vw, 5rem);
    font-weight: 300;
    line-height: 1.15;
    text-align: left;

    color: inherit;

    margin-bottom: 30px;
}

.hero-content p {
    max-width: 700px;

    font-size: 1.2rem;
    line-height: 2;

    color: inherit;

    margin-bottom: 42px;
}

/* Button */

.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 260px;
    height: 60px;

    background: var(--color-primary);
    color: var(--color-white);

    font-family: var(--font-titles);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;

    border-radius: 4px;

    transition: var(--transition-smooth);
}

.hero-btn:hover {
    background: var(--color-primary-hover);
    transform: translateY(-2px);
}

/* Dots */

.hero-dots {
    position: absolute;
    z-index: 10;

    left: 50%;
    bottom: 38px;

    transform: translateX(-50%);

    display: flex;
    align-items: center;
    gap: 12px;
}

.hero-dots button {
    width: 8px;
    height: 8px;

    border: none;
    border-radius: 50%;

    background: rgba(255,255,255,0.4);

    cursor: pointer;

    transition: 0.3s ease;
}

.hero-dots button.active {
    background: var(--color-white);
    transform: scale(1.2);
}

/* Responsive */

@media (max-width: 1200px) {

    .hero-content {
        padding-left: 8%;
    }

    .hero-content h1 {
        font-size: 4rem;
    }

}

@media (max-width: 900px) {

    .hero-carousel {
        min-height: 680px;
    }

    .hero-content {
        padding-left: 32px;
        padding-right: 32px;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .hero-content p {
        font-size: 1rem;
        line-height: 1.9;
    }

}

@media (max-width: 600px) {

    .hero-carousel {
        height: 92vh;
        min-height: 620px;
    }

    .hero-content {
        padding-left: 24px;
        padding-right: 24px;
    }

    .hero-content h1 {
        font-size: 2.3rem;
    }

    .hero-btn {
        width: 220px;
        height: 56px;
    }

}