/* =========================================================
HERO BANNER
========================================================= */

.hero-banner
{
    position: relative;

    width: 100%;

    height: 90vh;

    display: flex;

    align-items: center;

    justify-content: center;

    overflow: hidden;
}


/* VIDEO BACKGROUND */
.hero-video
{
    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    object-fit: cover;

    z-index: 1;
}


/* OVERLAY */
.hero-overlay
{
    position: absolute;

    inset: 0;

    background: rgba(0,0,0,.55);

    z-index: 2;
}


/* CONTENT */
.hero-content
{
    position: relative;

    z-index: 3;

    text-align: center;

    max-width: 800px;

    padding: 0 20px;
}

.hero-content h1
{
    font-size: 48px;

    color: #fff;

    font-weight: 700;

    line-height: 1.2;

    margin-bottom: 16px;
}

.hero-content p
{
    font-size: 16px;

    color: rgba(255,255,255,.75);

    margin-bottom: 30px;
}


/* ACTIONS */
.hero-actions
{
    display: flex;

    gap: 15px;

    justify-content: center;

    flex-wrap: wrap;
}


/* =========================================================
RESPONSIVE HERO FIX (MOBILE)
========================================================= */

@media (max-width: 768px)
{
    .hero-banner
    {
        height: 72vh;
    }

    .hero-video
    {
        object-fit: contain;

        background:
        linear-gradient(
            180deg,
            #08111f 0%,
            #0b1220 100%
        );
    }

    .hero-content
    {
        padding: 0 18px;
    }

    .hero-content h1
    {
        font-size: 28px;

        line-height: 1.2;
    }

    .hero-content p
    {
        font-size: 14px;

        line-height: 1.6;
    }

    .hero-actions
    {
        flex-direction: column;

        align-items: center;

        gap: 10px;
    }

    .hero-actions a
    {
        width: 100%;

        max-width: 260px;

        text-align: center;
    }
}

/* =========================================================
CAROUSEL HERO (1 SLIDE POR VEZ)
========================================================= */

.hero-carousel
{
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-slide
{
    position: absolute;
    inset: 0;

    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide.active
{
    opacity: 1;
    z-index: 2;
}

.hero-slide img
{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* =========================================================
MOBILE HERO IMAGE FIX
========================================================= */

@media (max-width: 768px)
{
    .hero-slide img
    {
        object-fit: contain;

        background:
        linear-gradient(
            180deg,
            #08111f 0%,
            #0b1220 100%
        );
    }
}