:root {
    --color-bg: #16110E;
    --color-surface: #211814;
    --color-card: #2B211C;
    --color-text: #F6F1E8;
    --color-muted: #BBAA97;
    --color-accent: #C89B5A;
    --color-green: #8FAE9B;
}
* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 4px;
}
body {
    margin: 0;
    background-color: var(--color-bg);
    background-image:
        linear-gradient(
            rgba(22, 17, 14, 0.72),
            rgba(22, 17, 14, 0.82)
        ),
        url("../assets/images/MainBack.jpg");
    background-size: 420px auto;
    background-repeat: repeat;
    background-position: top center;
    color: var(--color-text);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.5;
}
a {
    color: inherit;
    text-decoration: none;
}
button {
    font: inherit;
    color: inherit;
    cursor: pointer;
}
img {
    max-width: 100%;
    display: block;
}
.container {
    width: min(100% - 2rem, 1120px);
    margin-inline: auto;
}
.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background-color: var(--color-surface);
}
.header-content {
    min-height: 56px;
    display: grid;
    grid-template-columns: 44px 1fr 44px;
    align-items: center;
    gap: 0.75rem;
}
.search-toggle {
    grid-column: 1;
    justify-self: start;
}

.brand {
    grid-column: 2;
    justify-self: center;
    position: static;
    transform: none;
}

.profile-toggle {
    grid-column: 3;
    justify-self: end;
}

.hero {
    height: clamp(300px, 42vh, 420px);
    position: relative;
    isolation: isolate;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 28px 20px 44px;
    overflow: hidden;
    background-image: url("../assets/images/heropic2.png");
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(22, 17, 14, 0.02) 0%,
        rgba(22, 17, 14, 0.04) 38%,
        rgba(22, 17, 14, 0.18) 72%,
        rgba(22, 17, 14, 0.42) 100%
    );
    z-index: 1;
    pointer-events: none;
}

.hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 170px;
    background: linear-gradient(
        to bottom,
        rgba(22, 17, 14, 0) 0%,
        rgba(22, 17, 14, 0.22) 35%,
        rgba(22, 17, 14, 0.68) 72%,
        var(--color-bg) 100%
    );
    z-index: 2;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    text-align: center;
    padding-top: 0;
}

.hero-text {
    max-width: 520px;
    margin: 0 auto;
    transform: none;
}

.hero-title {
    margin: 0;
    text-align: center;
    font-size: clamp(3.2rem, 13vw, 7rem);
    color: var(--color-text);
    text-shadow: none;
    font-family: "Rye", serif;
    font-weight: 400;
    font-style: normal;
}

.hero .section-eyebrow {
    text-shadow: none;
    margin: 1px auto 0;
}

.section-eyebrow {
    margin: 0 0 0.5rem;
    color: var(--color-accent);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.icon-button {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(200, 155, 90, 0.35);
    border-radius: 50%;
    background-color: transparent;
    color: var(--color-text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}
.icon-button:hover {
    background-color: rgba(200, 155, 90, 0.12);
    border-color: var(--color-accent);
    transform: translateY(-1px);
}

.brand {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.category-area {
    margin-top: -1rem;
    padding-bottom: 0.75rem;
    position: sticky;
    top: 56px;
    z-index: 15;
}


.category-nav {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding: 0.55rem 0;
    background-color: var(--color-surface);
    border: 1px solid rgba(200, 155, 90, 0.22);
    border-radius: 999px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.category-nav::-webkit-scrollbar {
    display: none;
}

.category-button {
    min-width: 84px;
    border: 0;
    border-radius: 999px;
    background-color: transparent;
    color: var(--color-text);
    padding: 0.65rem 0.8rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    flex-shrink: 0;
}

.category-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background-color: rgba(246, 241, 232, 0.06);
    border: 1px solid rgba(200, 155, 90, 0.18);
    font-size: 1.25rem;
    transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.category-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 50%;
}

.category-name {
    font-family: "Zain", sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 0.8rem;
    color: var(--color-muted);
    white-space: nowrap;
    transition: color 180ms ease, font-weight 180ms ease;
}

.category-button.is-active .category-icon {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-bg);
    transform: scale(1.08);
}

.category-button.is-active .category-name {
    color: var(--color-text);
    font-weight: 700;
}

.menu-sections {
    padding: 1rem 0 1rem;
}

.menu-category {
    padding: 2.5rem 0;
    scroll-margin-top: 170px;
}

.menu-category + .menu-category {
    border-top: 1px solid rgba(200, 155, 90, 0.12);
}

.menu-category:first-child {
    padding-top: 0.5rem;
}

.section-header {
    margin-bottom: 1.25rem;
    text-align: center;
}

.section-header h2 {
    margin: 0;
    font-size: 1.8rem;
    line-height: 1;
    letter-spacing: -0.03em;
}

.section-header h2 + p {
    margin: 0.6rem 0 0;
    color: var(--color-muted);
    font-size: 0.95rem;
}

.menu-carousel {
    position: relative;
    height: 430px;
    overflow: hidden;
    perspective: 1200px;
    transform-style: preserve-3d;
    touch-action: pan-y;
    cursor: grab;
}

.menu-carousel:active {
    cursor: grabbing;
}

.menu-carousel::-webkit-scrollbar {
    display: none;
}

.menu-carousel::after {
    content: "";
    flex: 0 0 0.25rem;
}

.menu-card {
    width: min(78vw, 320px);
    position: absolute;
    top: 0;
    left: 50%;
    overflow: hidden;
    border-radius: 24px;
    clip-path: inset(0 round 24px);
    background-color: var(--color-card);
    border: 1px solid rgba(200, 155, 90, 0.16);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
    transform-origin: center center;
    backface-visibility: hidden;
    cursor: pointer;
    will-change: transform, opacity, filter;
    transition:
        transform 420ms cubic-bezier(0.22, 1, 0.36, 1),
        opacity 420ms ease,
        filter 420ms ease,
        box-shadow 420ms ease,
        border-color 420ms ease;
}

.menu-card.is-active {
    z-index: 5;
    opacity: 1;
    filter: blur(0);
    transform: translateX(-50%) translateZ(140px) scale(1);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.42);
    border-color: rgba(200, 155, 90, 0.36);
}

.menu-card.is-active:hover {
    border-color: rgba(200, 155, 90, 0.55);
    box-shadow: 0 34px 84px rgba(0, 0, 0, 0.5);
}

.menu-card.is-prev {
    z-index: 4;
    opacity: 0.58;
    filter: blur(0.4px);
    transform: translateX(-108%) translateZ(10px) rotateY(22deg) scale(0.86);
}

.menu-card.is-next {
    z-index: 4;
    opacity: 0.58;
    filter: blur(0.4px);
    transform: translateX(8%) translateZ(10px) rotateY(-22deg) scale(0.86);
}

.menu-card.is-far-prev {
    z-index: 3;
    opacity: 0.24;
    filter: blur(1px);
    transform: translateX(-152%) translateZ(-140px) rotateY(32deg) scale(0.74);
}

.menu-card.is-far-next {
    z-index: 3;
    opacity: 0.24;
    filter: blur(1px);
    transform: translateX(52%) translateZ(-140px) rotateY(-32deg) scale(0.74);
}

.menu-card.is-hidden {
    z-index: 1;
    opacity: 0;
    pointer-events: none;
    filter: blur(2px);
    transform: translateX(-50%) translateZ(-280px) scale(0.65);
}


.menu-card-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #3A261C, #9B6A3C);
    color: rgba(246, 241, 232, 0.7);
    font-size: 0.85rem;
    position: relative;
    overflow: hidden;
    border-radius: 24px 24px 0 0;
}

.menu-card-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(200, 155, 90, 0.28), transparent 45%);
    border-radius: inherit;
}

.menu-card-content {
    font-family: "Lalezar", sans-serif;
    padding: 1rem;
    text-align: center;
}

.menu-card-content h3 {
    margin: 0;
    font-size: 1.3rem;
}

.menu-card-content p {
    margin: 0.5rem 0 0;
    color: var(--color-muted);
    font-size: 0.9rem;
}

.menu-card-footer {
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-card-footer strong {
    color: var(--color-accent);
    font-size: 1.05rem;
}


@media (min-width: 768px) {
    .hero {
        height: clamp(420px, 55vh, 620px);
        align-items: center;
        padding: 40px 32px 80px;
        background-position: center center;
    }

    .hero-content {
        min-height: unset;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 0;
    }

    .hero-text {
        position: relative;
        top: auto;
        left: auto;
        max-width: 640px;
        margin: 0 auto;
        text-align: center;
        transform: translateY(-10px);
    }

    .hero-title {
        max-width: 640px;
        font-size: clamp(3.8rem, 7vw, 6.5rem);
        line-height: 0.95;
    }

    .hero-description {
        max-width: 520px;
        margin-left: auto;
        margin-right: auto;
        font-size: 1.05rem;
    }
    .menu-carousel {
        gap: 1.25rem;
        padding: 0.75rem 1.5rem 1.25rem;
    }

    .menu-card {
        flex: 0 0 clamp(280px, 32vw, 340px);
    }

    .menu-card-content {
        padding: 1.25rem;
    }
}

.menu-card {
    border-radius: 24px !important;
    overflow: hidden !important;
    clip-path: inset(0 round 24px);
    isolation: isolate;
}

.menu-card-image {
    border-top-left-radius: 24px !important;
    border-top-right-radius: 24px !important;
    overflow: hidden !important;
}

.menu-card-image::after {
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
}

.section-header {
    position: relative;
    z-index: 10;
    margin-bottom: 2rem;
}

.menu-carousel {
    margin-top: 0.5rem;
}

.menu-carousel {
    transform-style: flat !important;
    perspective: 1000px;
}

.menu-card {
    border-radius: 24px !important;
    overflow: hidden !important;
    clip-path: none !important;
    contain: paint;
}

.menu-card-image {
    border-radius: 24px 24px 0 0 !important;
    overflow: hidden !important;
    clip-path: inset(0 round 24px 24px 0 0);
}

.menu-card-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.menu-card-image::after {
    border-radius: inherit !important;
}

.menu-card.is-active {
    z-index: 5;
    opacity: 1;
    filter: blur(0);
    transform: translateX(-50%) scale(1) !important;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.42);
    border-color: rgba(200, 155, 90, 0.36);
}

.menu-card.is-prev {
    z-index: 4;
    opacity: 0.58;
    filter: blur(0.4px);
    transform: translateX(-108%) rotateY(14deg) scale(0.86) !important;
}

.menu-card.is-next {
    z-index: 4;
    opacity: 0.58;
    filter: blur(0.4px);
    transform: translateX(8%) rotateY(-14deg) scale(0.86) !important;
}

.menu-card.is-far-prev {
    z-index: 3;
    opacity: 0.24;
    filter: blur(1px);
    transform: translateX(-152%) rotateY(20deg) scale(0.74) !important;
}

.menu-card.is-far-next {
    z-index: 3;
    opacity: 0.24;
    filter: blur(1px);
    transform: translateX(52%) rotateY(-20deg) scale(0.74) !important;
}

.menu-card.is-hidden {
    z-index: 1;
    opacity: 0;
    pointer-events: none;
    filter: blur(2px);
    transform: translateX(-50%) scale(0.65) !important;
}

/* =========================
   Landing Page
========================= */

.landing-page {
    height: 100vh;
    height: 100svh;
    overflow: hidden;
}

.landing {
    width: 100%;
    height: 100vh;
    height: 100svh;
    position: relative;
    display: grid;
    place-items: center;
    padding: 24px;
    text-align: center;
    color: var(--color-text);
    overflow: hidden;
}

.landing-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.landing-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(
            circle at center,
            rgba(32, 24, 20, 0.184),
            rgba(22, 17, 14, 0.88)
        ),
        linear-gradient(
            rgba(0, 0, 0, 0.25),
            rgba(0, 0, 0, 0.65)
        );
    z-index: 2;
}

.landing-content {
    width: min(100%, 640px);
    position: relative;
    z-index: 3;
    padding: 28px 20px;
}

.landing-eyebrow {
    margin: 0 0 14px;
    color: var(--color-accent);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.landing-title {
    margin: 0;
    font-size: clamp(3.2rem, 13vw, 7rem);
    line-height: 0.95;
    letter-spacing: 0.02em;
    text-shadow: 0 16px 45px rgba(0, 0, 0, 0.55);
    font-family: "Pinyon Script", cursive;
    font-style: normal;
}

.landing-description {
    max-width: 520px;
    margin: 18px auto 0;
    color: rgba(246, 241, 232, 0.82);
    font-size: clamp(0.95rem, 3vw, 1.1rem);
    line-height: 1.8;
}

.landing-button {
    font-family: "Zain", sans-serif;
    font-weight: 700;
    font-style: normal;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 78px;
    min-height: 52px;
    padding: 0 34px;
    border-radius: 999px;
    background: linear-gradient(135deg, #D7AE6A, var(--color-accent));
    color: #16110E;
    font-size: 0.9rem;
    font-weight: 800;
    text-decoration: none;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: 0 18px 45px rgba(200, 155, 90, 0.28);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.landing-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 24px 60px rgba(200, 155, 90, 0.36);
}

/* =========================
   Footer
========================= */

.site-footer {
    padding: 22px 20px 56px;
    border-top: 1px solid rgba(200, 155, 90, 0.16);
    background: linear-gradient(
        to bottom,
        rgba(22, 17, 14, 0),
        rgba(22, 17, 14, 0.72)
    );
    text-align: center;
}

.site-footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.site-footer p {
    margin: 0;
    color: var(--color-muted);
    font-size: 0.78rem;
    line-height: 1.7;
}

.site-footer a {
    color: var(--color-accent);
    text-decoration: none;
    font-weight: 700;
}

.site-footer a:hover {
    text-decoration: underline;
}



.waiter-modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.waiter-modal.is-open {
    display: flex;
}

.waiter-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.62);
    backdrop-filter: blur(8px);
}

.waiter-panel {
    position: relative;
    z-index: 1;
    width: min(100%, 420px);
    padding: 24px;
    border-radius: 24px;
    background: var(--color-surface);
    border: 1px solid rgba(200, 155, 90, 0.24);
}

.waiter-close {
    position: absolute;
    top: 14px;
    right: 16px;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: rgba(246, 241, 232, 0.08);
    color: var(--color-text);
    font-size: 1.4rem;
    cursor: pointer;
}

.waiter-eyebrow {
    margin: 0 0 8px;
    color: var(--color-accent);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.waiter-title {
    margin: 0;
    font-size: 1.45rem;
}

.waiter-description {
    margin: 10px 0 20px;
    color: var(--color-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

.waiter-label {
    display: block;
    margin-bottom: 8px;
    color: var(--color-text);
    font-size: 0.85rem;
    font-weight: 700;
}

.waiter-input {
    width: 100%;
    min-height: 48px;
    padding: 0 14px;
    border: 1px solid rgba(200, 155, 90, 0.24);
    border-radius: 16px;
    background: rgba(22, 17, 14, 0.82);
    color: var(--color-text);
    font-size: 0.95rem;
    outline: none;
}

.waiter-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 16px;
}

.waiter-button {
    min-height: 46px;
    border: 0;
    border-radius: 999px;
    font-weight: 800;
    cursor: pointer;
}

.waiter-button.finished {
    background: var(--color-text);
    color: #16110E;
}

.waiter-button.available {
    background: var(--color-text);
    color: #16110E;
}

.waiter-message {
    min-height: 22px;
    margin: 14px 0 0;
    color: var(--color-muted);
    font-size: 0.82rem;
}

.menu-card.is-sold-out .menu-card-image img {
    filter: grayscale(1);
    opacity: 0.55;
}

.search-panel {
    position: sticky;
    top: 56px;
    z-index: 19;
    display: none;
    padding: 14px 20px 12px;
    background: rgba(33, 24, 20, 0.96);
    border-bottom: 1px solid rgba(200, 155, 90, 0.16);
    backdrop-filter: blur(12px);
}

.search-panel.is-open {
    display: block;
}

.search-box {
    width: min(100%, 620px);
    height: 56px;
    margin: 0 auto;
    padding: 6px 6px 6px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 999px;
    background: var(--color-text);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}

.search-input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: #16110E;
    font-size: 1rem;
}

.search-input::placeholder {
    color: rgba(22, 17, 14, 0.42);
}

.search-submit {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border: 0;
    border-radius: 50%;
    background: var(--color-accent);
    color: #16110E;
    font-size: 1.1rem;
    cursor: pointer;
}

.search-message {
    min-height: 20px;
    margin: 8px auto 0;
    width: min(100%, 620px);
    color: var(--color-muted);
    font-size: 0.8rem;
}

