
/* =========================================
   URBAN SLICE - MENU PAGE HERO
========================================= */

.us-menu-hero {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 505px;
    padding: 55px 0 70px;

    overflow: hidden;

    background: #174D2D;
}


/* =========================================
   MARQUEE CONTAINER
========================================= */

.us-menu-hero__marquees {
    position: absolute;
    top: 42%;
    left: 0;
    z-index: 1;

    display: flex;
    flex-direction: column;
    gap: 12px;

    width: 100%;
    transform: translateY(-50%);
    overflow: hidden;
}


/* =========================================
   MARQUEE ROWS
========================================= */

.us-menu-hero__row {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
}

.us-menu-hero__track {
    display: flex;
    width: max-content;
    will-change: transform;
}

.us-menu-hero__group {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    width: max-content;
}


/* First row: moves right */

.us-menu-hero__track--right {
    animation: us-menu-marquee-right var(--us-marquee-duration, 30s) linear infinite;
}

/* Second row: moves left */

.us-menu-hero__track--left {
    animation: us-menu-marquee-left var(--us-marquee-duration, 35s) linear infinite;
}


/* =========================================
   CATEGORY TEXT
========================================= */

.us-menu-hero__category {
    display: inline-block;
    padding: 0 12px;

    color: var(--us-cream);
    font-size: clamp(22px, 3vw, 29px);
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

.us-menu-hero__row--second .us-menu-hero__category {
    color: transparent;
    -webkit-text-stroke: 1px rgba(242, 237, 229, 0.9);
    /* text-stroke: 1px rgba(242, 237, 229, 0.9); */
    font-weight: 400;
}

.us-menu-hero__separator {
    display: inline-block;

    color: var(--us-cream);
    font-size: 25px;
    font-weight: 400;
    line-height: 1;
}


/* =========================================
   MARQUEE ANIMATIONS
========================================= */

@keyframes us-menu-marquee-left {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@keyframes us-menu-marquee-right {
    from {
        transform: translateX(-50%);
    }

    to {
        transform: translateX(0);
    }
}


/* =========================================
   CENTRAL FOOD IMAGE
========================================= */

.us-menu-hero__visual {
    position: relative;
    z-index: 3;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    max-width: 440px;
    height: 300px;

    pointer-events: none;
}

.us-menu-hero__visual img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;
    object-position: center;

    filter: drop-shadow(0 15px 12px rgba(0, 0, 0, 0.2));
}


/* =========================================
   EXPLORE MENU BUTTON
========================================= */

.us-menu-hero__action {
    position: relative;
    z-index: 4;

    display: flex;
    justify-content: center;

    margin-top: 18px;
}

.us-menu-hero__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 235px;
    min-height: 40px;
    padding: 12px 28px;

    border: 1px solid var(--us-cream);

    color: var(--us-cream);
    background: transparent;

    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;

    transition:
        background 0.25s ease,
        color 0.25s ease;
}

.us-menu-hero__button:hover {
    color: var(--us-green);
    background: var(--us-cream);
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 1024px) {

    .us-menu-hero {
        min-height: 460px;
    }

    .us-menu-hero__visual {
        max-width: 390px;
        height: 270px;
    }

    .us-menu-hero__category {
        font-size: 24px;
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 767px) {

    .us-menu-hero {
        min-height: 420px;
        padding: 45px 0 55px;
    }

    .us-menu-hero__marquees {
        top: 43%;
        gap: 15px;
    }

    .us-menu-hero__category {
        padding: 0 8px;
        font-size: 19px;
    }

    .us-menu-hero__separator {
        font-size: 19px;
    }

    .us-menu-hero__visual {
        max-width: 330px;
        height: 250px;
    }

    .us-menu-hero__action {
        margin-top: 12px;
    }

    .us-menu-hero__button {
        min-width: 210px;
        min-height: 42px;
    }

}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 380px) {

    .us-menu-hero {
        min-height: 390px;
    }

    .us-menu-hero__visual {
        max-width: 290px;
        height: 225px;
    }

    .us-menu-hero__category {
        font-size: 17px;
    }

}


/* =========================================
   REDUCED MOTION
========================================= */

@media (prefers-reduced-motion: reduce) {

    .us-menu-hero__track {
        animation: none;
    }

}
