/* Base hero */
.hero-banner {
    position: relative;
    width: 100%;
    color: #fff;
    overflow: hidden;
    --tw-gradient-via:  color-mix(in oklab, black 15%, transparent);
}
.hero-banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;


    pointer-events: none;
}
.hero-banner--gradient::before{
    background: linear-gradient(
            to right,
            rgba(0,0,0,0.55) 0%,
            rgba(0,0,0,0.35) 25%,
            rgba(0,0,0,0.15) 50%,
            rgba(0,0,0,0) 75%
    );
}

/* ZOOM / COVER MODE */
.hero-banner--contain {
    background-size: cover;
    background-position: center;
    padding: 300px 80px;
    color: white;
}

/* FULL-STRETCH MODE (NO GUTTERS) */
.hero-banner--stretch {
    position: relative;
    color: white;

}

/* The full image */
.hero-banner--stretch .hero-banner__image {
    width: 100%;
    height: auto;
    display: block;
}

/* Overlay content */
.hero-banner__content {
    position: absolute;
    top: 25%;
    max-width: 600px;
    text-align: left;
    z-index: 2;
    padding-left: 80px;

}

.hero-banner__title {
    font-size: 2.25rem;
    font-weight: 800;
    margin: 0;
    color: white;
}

.hero-banner__subtitle {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 20px;
    color: white;
}

.hero-banner__text {
    font-size: 24px;
    line-height: 1.5;
    color: white;
}

.hero-banner__buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .hero-banner--contain {
        padding: 300px 20px;
    }

    .hero-banner__title {
        font-size: 26px;
    }

    .hero-banner__subtitle {
        font-size: 18px;
    }

    .hero-banner__content {
        top: 0;
        left: 0;
        right: 0;
        padding: 0 20px 20px;
        text-align: center;

        display: flex;
        margin-top: 20px;
        flex-direction: column;
    }

    .hero-banner__buttons {
        justify-content: center;
        margin-top: 100%;
    }
}
