/* =========================================================
   ROYALIS RESTAURANT
   HEADER CSS
========================================================= */


/* =========================================================
   HEADER
========================================================= */

.restaurant-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;

    background: rgba(8, 7, 6, 0.96);

    border-bottom: 1px solid rgba(217, 164, 65, 0.14);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    transition:
        background .3s ease,
        box-shadow .3s ease,
        border-color .3s ease;
}


/* =========================================================
   HEADER CONTAINER
========================================================= */

.header-container {
    width: min(1500px, 94%);

    min-height: 90px;

    margin: 0 auto;

    display: flex;
    align-items: center;

    gap: 28px;
}


/* =========================================================
   LOGO
========================================================= */

.restaurant-logo {
    flex-shrink: 0;

    display: inline-flex;
    align-items: center;

    gap: 13px;

    color: var(--white, #f7f3eb);

    text-decoration: none;
}


.logo-crown {
    width: 46px;
    height: 46px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid var(--gold, #d9a441);

    border-radius: 50%;

    color: var(--gold-light, #f3d486);

    font-size: 23px;

    line-height: 1;

    transition:
        background .3s ease,
        color .3s ease,
        box-shadow .3s ease;
}


.restaurant-logo:hover .logo-crown {
    background: rgba(217, 164, 65, .10);

    box-shadow:
        0 0 25px rgba(217, 164, 65, .15);
}


.logo-text {
    display: flex;
    flex-direction: column;

    line-height: 1;
}


.logo-text strong {
    font-family: var(--serif, "Cormorant Garamond", Georgia, serif);

    color: var(--gold-light, #f3d486);

    font-size: 27px;

    font-weight: 700;

    letter-spacing: 3px;

    text-transform: uppercase;

    white-space: nowrap;
}


.logo-text small {
    margin-top: 6px;

    color: rgba(247, 243, 235, .48);

    font-family: var(--sans, Inter, Arial, sans-serif);

    font-size: 8px;

    font-weight: 600;

    letter-spacing: 5px;

    text-align: center;

    text-transform: uppercase;
}


/* =========================================================
   MAIN NAVIGATION
========================================================= */

.main-navigation {
    flex: 1;

    min-width: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 30px;

    white-space: nowrap;
}


.main-navigation a {
    position: relative;

    display: inline-flex;
    align-items: center;

    min-height: 42px;

    color: rgba(247, 243, 235, .78);

    font-family: var(--sans, Inter, Arial, sans-serif);

    font-size: 13px;

    font-weight: 500;

    text-decoration: none;

    white-space: nowrap;

    transition:
        color .25s ease,
        opacity .25s ease;
}


.main-navigation a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 4px;

    width: 0;
    height: 1px;

    background: var(--gold, #d9a441);

    transition: width .25s ease;
}


.main-navigation a:hover {
    color: var(--gold-light, #f3d486);
}


.main-navigation a:hover::after,
.main-navigation a.active::after {
    width: 100%;
}


.main-navigation a.active {
    color: var(--gold-light, #f3d486);
}


/* =========================================================
   LOCATION LINK
========================================================= */

.location-nav-link {
    display: inline-flex !important;

    align-items: center;

    justify-content: center;

    gap: 7px;

    color: var(--gold-light, #f3d486) !important;

    white-space: nowrap;
}


.location-nav-link::after {
    display: none;
}


.location-nav-link svg {
    width: 15px;
    height: 15px;

    flex-shrink: 0;

    fill: none;

    stroke: currentColor;

    stroke-width: 1.7;

    stroke-linecap: round;

    stroke-linejoin: round;
}


.location-nav-link span {
    white-space: nowrap;
}


/* =========================================================
   LANGUAGE SWITCHER
========================================================= */

.language-switcher {
    position: relative;

    flex-shrink: 0;
}


.language-current {
    min-width: 92px;
    height: 44px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    padding: 0 13px;

    border: 1px solid rgba(217, 164, 65, .30);

    border-radius: 24px;

    background: rgba(255, 255, 255, .015);

    color: var(--white, #f7f3eb);

    font-family: var(--sans, Inter, Arial, sans-serif);

    font-size: 12px;

    font-weight: 600;

    cursor: pointer;

    transition:
        background .25s ease,
        border-color .25s ease,
        color .25s ease;
}


.language-current:hover,
.language-current[aria-expanded="true"] {
    background: rgba(217, 164, 65, .08);

    border-color: rgba(217, 164, 65, .55);

    color: var(--gold-light, #f3d486);
}


.language-globe {
    width: 15px;
    height: 15px;

    fill: none;

    stroke: currentColor;

    stroke-width: 1.5;

    stroke-linecap: round;

    stroke-linejoin: round;
}


.language-code {
    line-height: 1;
}


.language-chevron {
    width: 10px;
    height: 7px;

    fill: none;

    stroke: currentColor;

    stroke-width: 1.5;

    stroke-linecap: round;

    stroke-linejoin: round;

    transition: transform .25s ease;
}


.language-current[aria-expanded="true"] .language-chevron {
    transform: rotate(180deg);
}


/* =========================================================
   LANGUAGE DROPDOWN
========================================================= */

.language-dropdown {
    position: absolute;

    top: calc(100% + 12px);

    right: 0;

    width: 175px;

    padding: 7px;

    background: #0e0c09;

    border: 1px solid rgba(217, 164, 65, .24);

    border-radius: 12px;

    box-shadow:
        0 20px 55px rgba(0, 0, 0, .50);

    opacity: 0;

    visibility: hidden;

    transform:
        translateY(-8px)
        scale(.98);

    transform-origin: top right;

    transition:
        opacity .2s ease,
        visibility .2s ease,
        transform .2s ease;
}


.language-dropdown.show {
    opacity: 1;

    visibility: visible;

    transform:
        translateY(0)
        scale(1);
}


.language-dropdown a {
    min-height: 42px;

    display: flex;
    align-items: center;

    gap: 10px;

    padding: 0 11px;

    border-radius: 8px;

    color: rgba(247, 243, 235, .75);

    font-family: var(--sans, Inter, Arial, sans-serif);

    font-size: 12px;

    text-decoration: none;

    transition:
        background .2s ease,
        color .2s ease;
}


.language-dropdown a:hover {
    background: rgba(217, 164, 65, .08);

    color: var(--gold-light, #f3d486);
}


.language-dropdown a.active {
    background: rgba(217, 164, 65, .10);

    color: var(--gold-light, #f3d486);
}


.language-option-icon {
    width: 22px;

    font-size: 16px;

    line-height: 1;

    text-align: center;
}


.language-option-name {
    flex: 1;
}


.language-check {
    color: var(--gold, #d9a441);

    font-size: 14px;
}


/* =========================================================
   HEADER ACTIONS
========================================================= */

.header-actions {
    flex-shrink: 0;

    display: flex;
    align-items: center;

    gap: 18px;
}


.header-phone {
    display: inline-flex;
    align-items: center;

    color: rgba(247, 243, 235, .72);

    font-family: var(--sans, Inter, Arial, sans-serif);

    font-size: 12px;

    font-weight: 500;

    white-space: nowrap;

    text-decoration: none;

    transition: color .25s ease;
}


.header-phone:hover {
    color: var(--gold-light, #f3d486);
}


/* =========================================================
   HEADER BUTTON
========================================================= */

.header-button {
    min-width: 108px;

    min-height: 44px;

    padding: 0 17px;

    border: 1px solid var(--gold, #d9a441);

    border-radius: 4px;

    background:
        linear-gradient(
            135deg,
            #f3d486,
            #d9a441
        );

    color: #080706;

    font-family: var(--sans, Inter, Arial, sans-serif);

    font-size: 12px;

    font-weight: 700;

    line-height: 1.15;

    cursor: pointer;

    box-shadow:
        0 8px 25px rgba(217, 164, 65, .12);

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        filter .25s ease;
}


.header-button:hover {
    transform: translateY(-2px);

    filter: brightness(1.06);

    box-shadow:
        0 12px 32px rgba(217, 164, 65, .22);
}


.header-button:active {
    transform: translateY(0);
}


/* =========================================================
   MOBILE BUTTON
========================================================= */

.mobile-menu-button {
    display: none;

    width: 44px;
    height: 44px;

    flex-shrink: 0;

    align-items: center;
    justify-content: center;

    border: 1px solid rgba(217, 164, 65, .30);

    border-radius: 8px;

    background: transparent;

    color: var(--gold-light, #f3d486);

    font-size: 23px;

    line-height: 1;

    cursor: pointer;

    transition:
        background .25s ease,
        border-color .25s ease;
}


.mobile-menu-button:hover,
.mobile-menu-button.active {
    background: rgba(217, 164, 65, .08);

    border-color: rgba(217, 164, 65, .60);
}


/* =========================================================
   MOBILE MENU
========================================================= */

.mobile-menu {
    display: none;

    width: 100%;

    padding: 14px 5% 22px;

    background: #0b0907;

    border-top: 1px solid rgba(255, 255, 255, .06);

    box-shadow:
        0 20px 40px rgba(0, 0, 0, .35);
}


.mobile-menu.show {
    display: flex;

    flex-direction: column;

    gap: 2px;
}


.mobile-menu > a {
    min-height: 48px;

    display: flex;
    align-items: center;

    padding: 0 10px;

    border-bottom: 1px solid rgba(255, 255, 255, .05);

    color: rgba(247, 243, 235, .82);

    font-family: var(--sans, Inter, Arial, sans-serif);

    font-size: 14px;

    text-decoration: none;

    transition:
        color .2s ease,
        padding-left .2s ease,
        background .2s ease;
}


.mobile-menu > a:hover {
    padding-left: 16px;

    background: rgba(217, 164, 65, .04);

    color: var(--gold-light, #f3d486);
}


/* =========================================================
   MOBILE LOCATION
========================================================= */

.mobile-location-link {
    display: flex !important;

    align-items: center;

    gap: 9px;

    color: var(--gold-light, #f3d486) !important;
}


.mobile-location-link svg {
    width: 17px;
    height: 17px;

    flex-shrink: 0;

    fill: none;

    stroke: currentColor;

    stroke-width: 1.7;

    stroke-linecap: round;

    stroke-linejoin: round;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1250px) {

    .header-container {
        gap: 18px;
    }


    .main-navigation {
        gap: 20px;
    }


    .main-navigation a {
        font-size: 12px;
    }


    .logo-text strong {
        font-size: 24px;

        letter-spacing: 2.5px;
    }


    .header-phone {
        font-size: 11px;
    }


    .header-button {
        min-width: 95px;

        padding: 0 13px;
    }

}


/* =========================================================
   TABLET / SMALL LAPTOP
========================================================= */

@media (max-width: 1050px) {

    .header-container {
        width: 94%;

        gap: 14px;
    }


    .main-navigation {
        gap: 14px;
    }


    .main-navigation a {
        font-size: 11px;
    }


    .location-nav-link {
        gap: 4px;
    }


    .header-phone {
        display: none;
    }


    .language-current {
        min-width: 82px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 900px) {

    .header-container {
        min-height: 78px;

        width: 92%;
    }


    .main-navigation {
        display: none;
    }


    .header-actions {
        margin-left: auto;
    }


    .header-button {
        display: none;
    }


    .language-switcher {
        margin-left: auto;
    }


    .mobile-menu-button {
        display: inline-flex;
    }


    .logo-crown {
        width: 40px;
        height: 40px;

        font-size: 20px;
    }


    .logo-text strong {
        font-size: 22px;

        letter-spacing: 2px;
    }


    .logo-text small {
        margin-top: 5px;

        font-size: 7px;

        letter-spacing: 4px;
    }

}


/* =========================================================
   MOBILE SMALL
========================================================= */

@media (max-width: 600px) {

    .header-container {
        min-height: 72px;

        gap: 8px;
    }


    .restaurant-logo {
        gap: 8px;
    }


    .logo-crown {
        width: 36px;
        height: 36px;

        font-size: 18px;
    }


    .logo-text strong {
        font-size: 18px;

        letter-spacing: 1.5px;
    }


    .logo-text small {
        font-size: 6px;

        letter-spacing: 3px;
    }


    .language-current {
        min-width: 70px;

        height: 40px;

        padding: 0 9px;

        gap: 5px;
    }


    .language-globe {
        width: 14px;
        height: 14px;
    }


    .mobile-menu-button {
        width: 40px;
        height: 40px;

        font-size: 20px;
    }


    .language-dropdown {
        right: -5px;

        width: 165px;
    }

}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 420px) {

    .header-container {
        width: 94%;

        gap: 6px;
    }


    .logo-crown {
        display: none;
    }


    .logo-text strong {
        font-size: 17px;
    }


    .logo-text small {
        font-size: 5px;

        letter-spacing: 2.5px;
    }


    .language-current {
        min-width: 62px;

        padding: 0 7px;
    }


    .language-code {
        font-size: 11px;
    }

}