:root {
    --bg: #161616;
    --surface: #232323;
    --surface-hover: #2e2e2e;
    --line: rgba(255, 255, 255, 0.12);
    --line-strong: rgba(255, 255, 255, 0.28);
    --text: #f5f5f5;
    --muted: #a6a6a6;
    --accent: #c86643;
    --max-width: 1140px;
    color-scheme: dark;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Manrope', sans-serif;
    background: var(--bg);
    color: var(--text);
    background-image: url('../img/background.png');
    background-size: 400px;
    /* background-repeat: no-repeat; */
    background-position: center;
    /* background-attachment: fixed; */
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

svg {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
}

.page-shell {
    width: min(calc(100% - 24px), var(--max-width));
    margin: 0 auto;
    padding: 14px 0 40px;
}

/* One shared style for every control: buttons, language, nav pills, quick links */

.button,
.lang-button,
.nav-pill,
.quick-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 14px;
    background: var(--surface);
    border: 1px solid var(--line);
    color: var(--text);
    font-size: 0.9rem;
    font-weight: 700;
    white-space: nowrap;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    border-radius: 10px;
}

.nav-pill.active {
    background: var(--text);
    border-color: var(--text);
    color: #1e1e1e;
}

.nav-pill .icon-hover {
    display: none;
}

.nav-pill:hover .icon {
    display: none;
}

.nav-pill:hover .icon-hover {
    display: inline-block;
}

/* Announcements */

.announcement {
    border-bottom: 1px solid rgba(0, 0, 0, 0.25);
}

.announcement-inner {
    width: min(calc(100% - 24px), var(--max-width));
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
}

.announcement-text {
    flex: 1;
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.4;
}

.announcement-close {
    flex: 0 0 auto;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: transparent;
    border: 1px solid currentColor;
    border-radius: 10px;
    color: inherit;
    font: inherit;
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
    opacity: 0.75;
}

.announcement-close:hover {
    opacity: 1;
}

.announcement--info {
    background: var(--text);
    color: #1e1e1e;
}

.announcement--warning {
    background: #e8a33d;
    color: #1e1e1e;
}

.announcement--promo {
    background: #a8502f;
    color: #ffffff;
}

/* Hero */

.hero-topbar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
    justify-content: space-between;
}

.hero-topbar-left {
    display: flex;
    gap: 10px;
}

.brand-lockup {
    display: flex;
    align-items: center;
    gap: 14px;
}

.brand-mark {
    min-width: 100px;
    height: 100px;
    max-width: 100px;
}

.brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.brand-mark img:hover {
    transform: rotate(360deg);
    transition: transform 0.3s ease;
}

.hero-copy h1 {
    margin: 0;
    font-family: 'Fraunces', serif;
    font-size: clamp(2rem, 7vw, 4rem);
    line-height: 0.95;
    letter-spacing: -0.04em;
}

.hero-copy p {
    margin: 10px 0 0;
    font-size: 1rem;
    color: var(--muted);
}

/* Section nav */

.section-nav {
    position: sticky;
    top: 0;
    z-index: 15;
    display: flex;
    gap: 10px;
    margin: 18px 0;
    padding: 10px 0;
    overflow-x: auto;
    scrollbar-width: none;
    background: #1616169c;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    backdrop-filter: blur(10px);
}

.section-nav::-webkit-scrollbar {
    display: none;
}

.nav-pill-count {
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 700;
}

.nav-pill.active .nav-pill-count {
    color: #6d6d6d;
}

/* Sections */

.content-stack {
    display: grid;
    gap: 18px;
}

.menu-section,
.contact-section {
    scroll-margin-top: 84px;
    background: var(--surface);
    border: 1px solid var(--line);
    padding: 18px;
    border-radius: 10px;
}

.section-header {
    display: grid;
    gap: 12px;
    margin-bottom: 16px;
}

.section-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.section-title-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.section-title-badge svg {
    width: 35px;
    height: 35px;
    flex: 0 0 35px;
    color: var(--accent);
}

.section-title-badge h2 {
    margin: 0;
    font-family: 'Fraunces', serif;
    font-size: clamp(1.4rem, 4.4vw, 2rem);
    line-height: 1;
    letter-spacing: -0.03em;
}

.section-count {
    padding: 8px 12px;
    background: var(--bg);
    border: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.83rem;
    white-space: nowrap;
    border-radius: 10px;
}

.section-subtitle,
.section-note,
.copyright {
    margin: 0;
    color: var(--muted);
}

.section-note {
    padding: 12px 14px;
    background: rgba(200, 102, 67, 0.12);
    border: 1px solid rgba(200, 102, 67, 0.4);
    font-size: 0.94rem;
    border-radius: 10px;
}

/* Menu lists */

.menu-list {
    display: grid;
}

.menu-item {
    display: grid;
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
}

.menu-item:first-child {
    padding-top: 0;
}

.menu-item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.menu-item-media {
    width: 78px;
    height: 78px;
    overflow: hidden;
    background: var(--bg);
    border: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    border-radius: 10px;
}

.menu-item-media.has-image {
    border: none;
    background: none;
}

.menu-item-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.menu-item-media--icon svg {
    width: 34px;
    height: 34px;
}

.menu-item-main {
    min-width: 0;
}

.item-name {
    margin: 0;
    font-size: 1.06rem;
    line-height: 1.25;
}

.item-description {
    margin: 0;
    color: var(--muted);
    font-size: 0.825rem;
    line-height: 1.25;
}

.item-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.item-meta-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.3em;
    min-height: 32px;
    padding: 0 10px;
    background: var(--bg);
    border: 1px solid var(--line);
    color: var(--text);
    font-size: 0.84rem;
    border-radius: 10px;
}

.menu-item-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 8px;
}

.item-tags {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 6px;
}

.item-tag {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 0 8px;
    background: var(--bg);
    border: 1px solid var(--line-strong);
    color: var(--text);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    border-radius: 10px;
}

.item-tag--accent {
    background: rgba(200, 102, 67, 0.15);
    border-color: rgba(200, 102, 67, 0.55);
    color: #f0a080;
}

.item-tag--red {
    background: rgba(229, 83, 75, 0.15);
    border-color: rgba(229, 83, 75, 0.55);
    color: #ff8a80;
}

.item-tag--green {
    background: rgba(92, 184, 92, 0.14);
    border-color: rgba(92, 184, 92, 0.5);
    color: #8fd18f;
}

.item-allergens {
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 0.78rem;
    line-height: 1.3;
}

.price-old {
    color: var(--muted);
    font-weight: 500;
}

.price-promo {
    color: #f0a080;
    font-weight: 800;
}

/* Unavailable products stay in place, faded, with the reason below */

.item-unavailable {
    display: inline-flex;
    margin: 10px 0 0;
    padding: 6px 10px;
    background: rgba(229, 83, 75, 0.15);
    border: 1px solid rgba(229, 83, 75, 0.5);
    color: #ff8a80;
    font-size: 0.84rem;
    font-weight: 700;
    border-radius: 10px;
}

.menu-item.is-unavailable .menu-item-media,
.menu-item.is-unavailable .menu-item-header,
.menu-item.is-unavailable .item-description,
.menu-item.is-unavailable .item-allergens,
.menu-item.is-unavailable .item-meta {
    opacity: 0.45;
}

.menu-item.is-unavailable .menu-item-media img {
    filter: grayscale(1);
}

.section-notes {
    display: grid;
    gap: 16px;
    margin-top: 22px;
}

/* Contact */

.contact-grid {
    display: grid;
    gap: 16px;
}

.contact-copy {
    display: grid;
    gap: 10px;
}

.contact-copy h2 {
    margin: 0;
    font-family: 'Fraunces', serif;
    font-size: clamp(1.6rem, 5vw, 2.2rem);
    line-height: 1;
    letter-spacing: -0.03em;
}

.info-card {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
}

.info-card-icon {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(200, 102, 67, 0.15);
    color: var(--accent);
    border-radius: 10px;
}

.info-card-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 4px;
}

.info-card-value,
.map-card h3 {
    margin: 0;
    color: var(--text);
    font-size: 1rem;
    line-height: 1.5;
}

.map-card h3 {
    margin-bottom: 6px;
}

.map-card p {
    margin: 0 0 12px;
    color: var(--muted);
    line-height: 1.55;
}

.map-frame {
    overflow: hidden;
    border-radius: 10px;
    min-height: 280px;
}

.map-frame iframe {
    width: 100%;
    height: 100%;
    min-height: 280px;
    border: 0;
    border-radius: 10px;
}

.quick-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}

/* Footer */

.site-footer {
    display: grid;
    gap: 8px;
    justify-items: center;
    text-align: center;
    padding: 20px 10px 6px;
}

.copyright {
    font-size: 0.86rem;
}

/* One hover effect for all controls */

@media (hover: hover) {
    .button:not(.active):hover,
    .lang-button:not(.active):hover,
    .nav-pill:not(.active):hover,
    .quick-link:not(.active):hover {
        background: var(--surface-hover);
        border-color: var(--line-strong);
    }

    /* .button-primary:hover,
    .lang-button.active:hover,
    .nav-pill.active:hover {
        background: #ffffff;
        border-color: #ffffff;
    } */
}

@media (max-width: 767px) {
    .hero-copy p {
        font-size: 0.875rem;
    }

    .button,
    .lang-button,
    .nav-pill,
    .quick-link {
        font-size: 0.825rem;
        padding: 0 5px;
        gap: 4px;
        min-height: 35px;
    }
}

@media (min-width: 768px) {
    .page-shell {
        padding-top: 18px;
        padding-bottom: 56px;
    }

    .content-stack {
        gap: 22px;
    }

    .menu-section,
    .contact-section {
        padding: 24px;
    }

    .contact-grid {
        grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
        align-items: start;
    }
}

@media (min-width: 960px) {
    .menu-item {
        grid-template-columns: 96px minmax(0, 1fr);
        gap: 18px;
        padding: 18px 0;
    }

    .menu-item-media {
        width: 96px;
        height: 96px;
    }

    .item-name {
        font-size: 1.14rem;
    }

    .item-description {
        font-size: 0.96rem;
    }
}