/* ==========================================
   L'OPERA ROYAL - MENU HERO
   Compact internal page hero
   Performance friendly / Navy overlay / No gradients
========================================== */

/*
|--------------------------------------------------------------------------
| Expected image from PHP
|--------------------------------------------------------------------------
| Location: assets/images/menu/
| File name: menu-hero.jpg
| Replace with: Premium restaurant dish, seafood, table or dining atmosphere for the menu hero.
|--------------------------------------------------------------------------
*/

/* ==========================================
   SECTION
========================================== */

.royal-menu-hero {
    position: relative;
    isolation: isolate;

    min-height: clamp(430px, 54vh, 560px);
    padding: 166px 0 82px;

    display: flex;
    align-items: center;

    color: var(--royal-white);
    background: var(--royal-navy);

    overflow: hidden;
}

.royal-menu-hero.has-background-image {
    background: var(--royal-navy);
}

/* ==========================================
   BACKGROUND IMAGE
========================================== */

.royal-menu-hero__background {
    position: absolute;
    inset: 0;
    z-index: -3;

    background-image: var(--royal-menu-hero-image);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;

    transform: none;
}

/* ==========================================
   OVERLAY
========================================== */

.royal-menu-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: -2;

    background: rgba(var(--royal-navy-rgb), 0.48);

    pointer-events: none;
}

.royal-menu-hero.has-fallback-background .royal-menu-hero__overlay {
    background: rgba(var(--royal-navy-rgb), 0.18);
}

.royal-menu-hero::after {
    content: "";

    position: absolute;
    left: 50%;
    bottom: 0;
    z-index: -1;

    width: min(1180px, 92%);
    height: 1px;

    background: rgba(var(--royal-gold-rgb), 0.58);

    transform: translateX(-50%);

    pointer-events: none;
}

/* ==========================================
   CONTENT
========================================== */

.royal-menu-hero__content {
    position: relative;
    z-index: 2;

    width: min(100%, 700px);
}

.royal-menu-hero__kicker {
    margin: 0 0 18px;

    color: var(--royal-gold);

    font-family: var(--royal-font-body);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.24em;
    line-height: 1.2;
    text-transform: uppercase;
}

.royal-menu-hero__title {
    margin: 0;

    color: var(--royal-white);

    font-family: var(--royal-font-heading);
    font-size: clamp(58px, 7vw, 96px);
    font-weight: 500;
    letter-spacing: 0.045em;
    line-height: 0.96;
    text-transform: uppercase;

    text-shadow: 0 14px 34px rgba(var(--royal-navy-rgb), 0.42);
}

.royal-menu-hero__intro {
    max-width: 560px;
    margin: 26px 0 0;

    color: rgba(var(--royal-white-rgb), 0.88);

    font-family: var(--royal-font-body);
    font-size: clamp(15px, 1.25vw, 18px);
    font-weight: 500;
    line-height: 1.68;
}

.royal-menu-hero__intro::before {
    content: "";

    width: 66px;
    height: 1px;
    margin: 0 20px 6px 0;

    display: inline-block;

    background: var(--royal-gold);
}

/* ==========================================
   ACTIONS
========================================== */

.royal-menu-hero__actions {
    margin-top: 32px;

    display: flex;
    align-items: center;
    gap: 14px;
}

.royal-menu-hero__actions .royal-btn {
    min-width: 150px;

    color: var(--royal-white) !important;
    background: rgba(var(--royal-navy-rgb), 0.26) !important;
    border-color: rgba(var(--royal-gold-rgb), 0.72) !important;

    box-shadow: none !important;
}

.royal-menu-hero__actions .royal-btn:hover,
.royal-menu-hero__actions .royal-btn:focus-visible {
    color: var(--royal-white) !important;
    background: rgba(var(--royal-white-rgb), 0.10) !important;
    border-color: var(--royal-gold) !important;
}

.royal-menu-hero__actions .royal-btn--gold {
    color: var(--royal-white) !important;
    background: rgba(var(--royal-navy-rgb), 0.34) !important;
    border-color: var(--royal-gold) !important;
}

.royal-menu-hero__actions .royal-btn--gold:hover,
.royal-menu-hero__actions .royal-btn--gold:focus-visible {
    color: var(--royal-navy) !important;
    background: var(--royal-white) !important;
    border-color: var(--royal-white) !important;
}

/* ==========================================
   TABLET
========================================== */

@media (max-width: 1024px) {
    .royal-menu-hero {
        min-height: clamp(400px, 50vh, 500px);
        padding: 148px 0 72px;
    }

    .royal-menu-hero__content {
        width: min(100%, 640px);
    }

    .royal-menu-hero__overlay {
        background: rgba(var(--royal-navy-rgb), 0.52);
    }
}

/* ==========================================
   MOBILE
========================================== */

@media (max-width: 767px) {
    .royal-menu-hero {
        min-height: 360px;
        padding: 112px 0 54px;

        text-align: center;
    }

    .royal-menu-hero__overlay {
        background: rgba(var(--royal-navy-rgb), 0.58);
    }

    .royal-menu-hero__content {
        width: min(100%, 520px);
        margin-inline: auto;
    }

    .royal-menu-hero__kicker {
        margin-bottom: 14px;

        font-size: 10px;
        letter-spacing: 0.20em;
    }

    .royal-menu-hero__title {
        font-size: clamp(46px, 15vw, 68px);
        line-height: 1;
    }

    .royal-menu-hero__intro {
        max-width: 330px;
        margin: 20px auto 0;

        font-size: 13px;
        line-height: 1.58;
    }

    .royal-menu-hero__intro::before {
        width: 52px;
        margin: 0 auto 14px;

        display: block;
    }

    .royal-menu-hero__actions {
        margin-top: 24px;

        flex-direction: column;
        justify-content: center;
        gap: 12px;
    }

    .royal-menu-hero__actions .royal-btn {
        width: min(100%, 250px);
        min-height: 42px;
    }
}

/* ==========================================
   SMALL MOBILE
========================================== */

@media (max-width: 420px) {
    .royal-menu-hero {
        min-height: 340px;
        padding: 106px 0 48px;
    }

    .royal-menu-hero__title {
        font-size: 46px;
    }

    .royal-menu-hero__intro {
        max-width: 310px;
    }
}