/**
 * Hero Home - Flex Part Styles
 */

.hero-home {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    margin-top: -116px;
    padding-top: 86px;
}

/* Background with parallax container */
.hero-home__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%; /* Extra height for parallax movement */
    z-index: 1;
    will-change: transform;
}

.hero-home__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Overlay removed */

/* Video background */
.hero-home__bg--video {
    pointer-events: none;
}

.hero-home__bg--video iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 177.78vh; /* 16:9 aspect ratio */
    height: 100vh;
    min-width: 100%;
    min-height: 56.25vw; /* 16:9 aspect ratio */
    transform: translate(-50%, -50%);
    border: 0;
    filter: grayscale(100%);
}

/* Self-hosted video */
.hero-home__bg--self-hosted video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Overlay for video - hidden */
.hero-home__bg--video::after {
    display: none;
}

/* Container inside hero */
.hero-home > .container {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: flex-start;
}

/* Content positioning - aligned to container edge on big screens */
.hero-home__content {
    padding-top: 18%;
}

/* Laptop sizes (≤1440px) - push content 80px inward */
@media (max-width: 1440px) {
    .hero-home__content {
        padding-left: 80px;
    }
}

/* Title styling */
.hero-home__title {
    color: var(--color-white, #FFF);
    font-family: "Funnel Sans", sans-serif;
    font-size: 80px;
    font-style: normal;
    font-weight: 600;
    line-height: 120%;
    letter-spacing: 0.4px;
    text-transform: capitalize;
    margin: 0;
    max-width: 1188px;
}

/* Subtitle */
.hero-home__subtitle {
    color: var(--color-white, #FFF);
    font-family: var(--font-primary);
    font-size: 24px;
    font-weight: 400;
    line-height: 1.5;
    margin-top: 24px;
    max-width: 600px;
}

/* Text content */
.hero-home__text {
    color: var(--color-white, #FFF);
    font-family: var(--font-primary);
    font-size: 18px;
    line-height: 1.6;
    margin-top: 24px;
    max-width: 600px;
}

/* CTA Button */
.hero-home__cta {
    margin-top: 32px;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-home__title {
        font-size: 56px;
    }
}

@media (max-width: 768px) {
    .hero-home {
        height: auto;
        min-height: 80vh;
        padding-top: 100px;
        padding-bottom: 40px;
    }

    .hero-home__bg {
        height: 100%;
    }

    .hero-home__bg::after {
        display: none;
    }

    .hero-home__content {
        padding-top: 20%;
        margin-left: 0;
        padding-left: 24px;
        padding-right: 24px;
    }

    .hero-home__title {
        font-family: "Funnel Sans", sans-serif;
        font-size: 50px;
        font-weight: 600;
        line-height: 120%;
        letter-spacing: 0.27px;
    }
}

@media (max-width: 480px) {
    .hero-home__content {
        padding-left: 16px;
        padding-right: 16px;
    }

    .hero-home__subtitle {
        margin-top: 16px;
    }

    .hero-home__text {
        margin-top: 16px;
    }
}

