* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, Arial, Helvetica, sans-serif;
    background: #f7f7f5;
    color: #171717;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(14px);
}

.navbar {
    width: min(1180px, calc(100% - 40px));
    min-height: 76px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.brand {
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-links a {
    color: #626262;
    font-size: 0.94rem;
    font-weight: 600;
    transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: #111;
}

.mobile-menu-button,
.mobile-nav {
    display: none;
}

.menu-hero {
    min-height: 390px;
    display: flex;
    align-items: center;
    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.7),
            rgba(0, 0, 0, 0.25)
        ),
        url("https://images.unsplash.com/photo-1504674900247-0877df9cc836?auto=format&fit=crop&w=1800&q=85")
        center / cover;
}

.menu-hero-content {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    color: white;
}

.eyebrow {
    margin: 0 0 10px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.74rem;
    font-weight: 800;
    opacity: 0.72;
}

.menu-hero h1 {
    max-width: 650px;
    margin: 0;
    font-size: clamp(2.7rem, 7vw, 5.5rem);
    line-height: 0.95;
    letter-spacing: -0.065em;
}

.menu-hero p:last-child {
    max-width: 560px;
    margin: 24px 0 0;
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.84);
}

.menu-section {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 80px 0 110px;
}

.menu-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 38px;
}

.menu-heading h2 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: -0.05em;
}

.menu-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.search-box {
    width: 250px;
    height: 46px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 14px;
    background: white;
    border: 1px solid #dededb;
    border-radius: 12px;
}

.search-box span {
    color: #777;
    font-size: 1.25rem;
}

.search-box input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: #171717;
}

#categoryFilter {
    height: 46px;
    padding: 0 38px 0 14px;
    border: 1px solid #dededb;
    border-radius: 12px;
    background: white;
    outline: 0;
    cursor: pointer;
}

.menu-status {
    margin-bottom: 24px;
    color: #6d6d6d;
    font-size: 0.92rem;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.menu-card {
    overflow: hidden;
    background: white;
    border: 1px solid #e7e7e3;
    border-radius: 20px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.055);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.menu-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.09);
}

.menu-image {
    width: 100%;
    height: 230px;
    display: block;
    object-fit: cover;
    background: #e9e9e5;
}

.menu-image-placeholder {
    width: 100%;
    height: 230px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #ecece8, #dcdcd6);
    color: #888;
    font-size: 2rem;
}

.menu-card-body {
    padding: 22px;
}

.menu-card-top {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 15px;
}

.menu-card h3 {
    margin: 0;
    font-size: 1.18rem;
    letter-spacing: -0.02em;
}

.menu-price {
    white-space: nowrap;
    font-weight: 800;
}

.menu-category {
    display: inline-block;
    margin: 12px 0 10px;
    padding: 5px 9px;
    border-radius: 999px;
    background: #f0f0ec;
    color: #666;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.menu-description {
    margin: 0;
    color: #707070;
    line-height: 1.65;
    font-size: 0.92rem;
}

.empty-state {
    grid-column: 1 / -1;
    padding: 70px 20px;
    text-align: center;
    border: 1px dashed #d5d5d0;
    border-radius: 18px;
    color: #777;
    background: white;
}

.ai-float-button {
    position: fixed;
    right: 26px;
    bottom: 26px;
    z-index: 1100;
    width: 62px;
    height: 62px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #111;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ai-float-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3);
}

@media (max-width: 900px) {
    .menu-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .menu-heading {
        align-items: start;
        flex-direction: column;
    }

    .menu-controls {
        width: 100%;
    }

    .search-box {
        flex: 1;
    }
}

@media (max-width: 650px) {
    .navbar {
        width: min(100% - 28px, 1180px);
        min-height: 68px;
    }

    .nav-links {
        display: none;
    }

    .mobile-menu-button {
        display: block;
        border: 0;
        background: transparent;
        font-size: 1.4rem;
        cursor: pointer;
    }

    .mobile-nav {
        padding: 0 14px 14px;
        flex-direction: column;
        gap: 4px;
    }

    .mobile-nav.open {
        display: flex;
    }

    .mobile-nav a {
        padding: 12px;
        border-radius: 10px;
        color: #555;
    }

    .mobile-nav a.active,
    .mobile-nav a:hover {
        background: #f0f0ec;
        color: #111;
    }

    .menu-hero {
        min-height: 330px;
    }

    .menu-section {
        width: min(100% - 28px, 1180px);
        padding: 55px 0 80px;
    }

    .menu-controls {
        flex-direction: column;
        align-items: stretch;
    }

    .search-box {
        width: 100%;
    }

    #categoryFilter {
        width: 100%;
    }

    .menu-grid {
        grid-template-columns: 1fr;
    }

    .ai-float-button {
        right: 18px;
        bottom: 18px;
        width: 56px;
        height: 56px;
    }
}
