﻿:root {
    --bg-cream: #f7efe4;
    --bg-soft: #fffaf2;
    --bg-card: #ffffff;
    --bg-dark: #1e1a15;
    --text-dark: #201a16;
    --text-soft: #5f5147;
    --text-light: #f4ece2;
    --brand-brown: #7b3f22;
    --brand-red: #b74b2a;
    --brand-orange: #e08937;
    --brand-green: #4d7f4a;
    --border-soft: rgba(56, 35, 22, 0.14);
    --shadow-soft: 0 14px 30px rgba(48, 27, 15, 0.11);
    --shadow-strong: 0 20px 46px rgba(35, 20, 12, 0.2);
    --radius-sm: 0.7rem;
    --radius-md: 1rem;
    --radius-lg: 1.45rem;
    --header-height: 82px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + 12px);
}

body {
    margin: 0;
    font-family: "Gill Sans", "Trebuchet MS", "Noto Sans", sans-serif;
    background:
        radial-gradient(circle at 14% 8%, rgba(224, 137, 55, 0.14), transparent 36%),
        radial-gradient(circle at 88% 3%, rgba(123, 63, 34, 0.15), transparent 35%),
        var(--bg-cream);
    color: var(--text-dark);
    line-height: 1.55;
}

body.nav-open {
    overflow: hidden;
}

h1,
h2,
h3 {
    font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
    line-height: 1.15;
}

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

img {
    max-width: 100%;
    display: block;
}

.skip-link {
    position: fixed;
    top: -100px;
    left: 0.8rem;
    z-index: 2400;
    background: #111;
    color: #fff;
    padding: 0.55rem 0.8rem;
    border-radius: 0.4rem;
    font-weight: 700;
}

.skip-link:focus {
    top: 0.8rem;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.wrapper {
    width: min(1180px, 93vw);
    margin-inline: auto;
}

.section {
    padding-block: clamp(2.4rem, 5vw, 4.2rem);
}

.section-kicker {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.11em;
    font-size: 0.76rem;
    color: var(--brand-green);
    font-weight: 700;
}

.section-head {
    text-align: center;
    width: min(780px, 92vw);
    margin: 0 auto 1.5rem;
}

.section-head h2 {
    margin: 0.55rem 0 0;
    color: var(--brand-brown);
    font-size: clamp(1.8rem, 4vw, 2.7rem);
}

.section-head > p:last-child {
    margin: 0.8rem auto 0;
    color: var(--text-soft);
    max-width: 56ch;
}

.header-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1500;
    background: rgba(247, 239, 228, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(56, 35, 22, 0.12);
    transition: padding 0.25s ease, box-shadow 0.25s ease;
}

.header-container.scrolled {
    box-shadow: 0 8px 22px rgba(32, 17, 8, 0.16);
}

.header-shell {
    min-height: var(--header-height);
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    align-items: center;
    gap: 1rem;
}

.logo img {
    width: clamp(110px, 17vw, 145px);
}

.primary-nav {
    justify-self: center;
}

#primary-nav {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 0.45rem;
    margin: 0;
    padding: 0;
}

.nav-link {
    display: inline-flex;
    min-height: 2.2rem;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 0.26rem 0.82rem;
    font-weight: 600;
    color: #3b3029;
    border: 1px solid transparent;
    transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-link.active {
    color: #17110d;
    border-color: rgba(123, 63, 34, 0.45);
    background: rgba(123, 63, 34, 0.1);
    outline: none;
}

.nav-link.active {
    border-color: rgba(123, 63, 34, 0.7);
    background: linear-gradient(145deg, rgba(224, 137, 55, 0.24), rgba(123, 63, 34, 0.18));
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45);
}

.header-cta {
    display: inline-flex;
    min-height: 2.45rem;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 0.3rem 0.95rem;
    background: linear-gradient(140deg, var(--brand-red), #8e351b);
    color: #fff;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.22);
}

.header-cta:hover,
.header-cta:focus-visible {
    filter: brightness(1.05);
    outline: none;
}

.hamburger {
    display: none;
    width: 2.4rem;
    height: 2.4rem;
    position: relative;
    padding: 0;
    border: 1px solid rgba(56, 35, 22, 0.2);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.hamburger span {
    position: absolute;
    left: 50%;
    width: 1rem;
    height: 2px;
    background: #3a2b21;
    border-radius: 2px;
    transform: translateX(-50%);
    transition: transform 0.2s ease, opacity 0.2s ease, top 0.2s ease, bottom 0.2s ease;
}

.hamburger span:nth-child(1) {
    top: 0.78rem;
}

.hamburger span:nth-child(2) {
    top: calc(50% - 1px);
}

.hamburger span:nth-child(3) {
    bottom: 0.78rem;
}

.hamburger.active span:nth-child(1) {
    top: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    top: 50%;
    bottom: auto;
    transform: translate(-50%, -50%) rotate(-45deg);
}

.nav-scrim {
    position: fixed;
    inset: var(--header-height) 0 0;
    background: rgba(18, 12, 8, 0.4);
    backdrop-filter: blur(2px);
    z-index: 1340;
}

.nav-scrim[hidden] {
    display: none;
}

.hero {
    min-height: 100vh;
    padding-top: calc(var(--header-height) + 1.1rem);
    display: grid;
    align-items: center;
    background:
        linear-gradient(120deg, rgba(8, 5, 3, 0.55), rgba(8, 5, 3, 0.45)),
        url("../img/musaChopHero.jpg") center / cover no-repeat;
}

.hero-surface {
    text-align: center;
    color: var(--text-light);
    padding: clamp(1.4rem, 3.5vw, 2.3rem);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: linear-gradient(160deg, rgba(43, 20, 9, 0.72), rgba(20, 11, 6, 0.64));
    box-shadow: var(--shadow-strong);
}

.hero-kicker {
    margin: 0;
    font-size: 0.8rem;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: #f3ce9a;
}

.hero h1 {
    margin: 0.72rem 0 0;
    font-size: clamp(2rem, 5vw, 3.8rem);
    color: #fff;
}

.hero h1 span {
    color: #f09c4d;
}

.hero p {
    max-width: 64ch;
    margin: 1rem auto 0;
    color: #efe2d2;
}

.hero-actions {
    margin-top: 1.4rem;
    display: flex;
    gap: 0.65rem;
    flex-wrap: wrap;
    justify-content: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.7rem;
    padding: 0.32rem 1.02rem;
    border-radius: 999px;
    background: linear-gradient(130deg, var(--brand-orange), #cc6c2d);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

.btn:hover,
.btn:focus-visible {
    filter: brightness(1.06);
    outline: none;
}

.btn-secondary {
    background: linear-gradient(130deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.08));
}

.menu-article {
    background: linear-gradient(180deg, var(--bg-soft), #f9f2e8);
}

.menu-controls {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) auto;
    gap: 0.7rem;
    align-items: center;
    margin-bottom: 1rem;
}

#menu-search-input {
    min-height: 2.8rem;
    border-radius: 0.8rem;
    border: 1px solid var(--border-soft);
    background: #fff;
    color: var(--text-dark);
    padding: 0.6rem 0.8rem;
}

#menu-search-input:focus {
    outline: 2px solid rgba(224, 137, 55, 0.38);
    border-color: rgba(224, 137, 55, 0.6);
}

.menu-filters {
    display: flex;
    gap: 0.45rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.filter-btn {
    min-height: 2.4rem;
    border-radius: 999px;
    border: 1px solid rgba(123, 63, 34, 0.24);
    background: rgba(255, 255, 255, 0.75);
    color: #3a2a1e;
    padding: 0.28rem 0.82rem;
    font-weight: 600;
    cursor: pointer;
}

.filter-btn.active,
.filter-btn:hover,
.filter-btn:focus-visible {
    border-color: transparent;
    background: linear-gradient(140deg, var(--brand-red), #8e351b);
    color: #fff;
    outline: none;
}

.food-menu {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(218px, 1fr));
    gap: 0.95rem;
}

.dish-container {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid rgba(123, 63, 34, 0.15);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.dish-container:hover,
.dish-container:focus-within {
    transform: translateY(-2px);
    box-shadow: var(--shadow-strong);
    border-color: rgba(224, 137, 55, 0.55);
}

.dish-container[hidden] {
    display: none;
}

.dish-img img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.dish-info {
    padding: 0.8rem;
}

.dish-info h3 {
    margin: 0;
    font-size: 1.23rem;
    color: #6f381f;
}

.dish-info p {
    margin: 0.55rem 0 0;
    color: var(--text-soft);
    font-size: 0.93rem;
}

.price {
    margin-top: 0.62rem;
    font-weight: 700;
    color: #1f5a22;
}

.dish-action {
    margin-top: 0.58rem;
    border: 0;
    border-radius: 0.6rem;
    min-height: 2.2rem;
    width: 100%;
    background: #f3ede4;
    color: #442e20;
    font-weight: 700;
    cursor: pointer;
}

.dish-action:hover,
.dish-action:focus-visible {
    background: #e8dece;
    outline: none;
}

.about-sec {
    background: #fff;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 1.2rem;
    align-items: center;
}

.about-text h2 {
    margin: 0.58rem 0 0;
    color: var(--brand-brown);
    font-size: clamp(1.72rem, 3.5vw, 2.5rem);
}

.about-text p {
    color: var(--text-soft);
    margin: 0.9rem 0 0;
}

.about-img img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.services {
    background: linear-gradient(180deg, #fbf6ee, #f4e9da);
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 0.9rem;
}

.service-card {
    padding: 1rem;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid rgba(123, 63, 34, 0.16);
    box-shadow: var(--shadow-soft);
}

.service-card img {
    width: 2.7rem;
    height: 2.7rem;
    filter: invert(29%) sepia(43%) saturate(1636%) hue-rotate(343deg) brightness(92%) contrast(86%);
}

.service-card h3 {
    margin: 0.62rem 0 0;
    color: var(--brand-brown);
}

.service-card p {
    margin: 0.45rem 0 0;
    color: var(--text-soft);
}

.thursday-special {
    background: #ece2d3;
}

.special-shell {
    display: grid;
    gap: 1rem;
}

.special-offers {
    position: relative;
    width: min(520px, 100%);
    margin-inline: auto;
    height: clamp(300px, 58vw, 450px);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(123, 63, 34, 0.2);
    box-shadow: var(--shadow-strong);
    background: #21150f;
}

.carousel-container {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease;
}

.slide {
    min-width: 100%;
    position: relative;
}

.slide > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-info {
    position: absolute;
    inset: auto 0 0;
    padding: 1rem;
    color: #fff;
    background: linear-gradient(transparent, rgba(11, 7, 5, 0.92));
}

.slide-info h3 {
    margin: 0;
    font-size: clamp(1.1rem, 2.9vw, 1.6rem);
}

.slide-info p {
    margin: 0.4rem 0 0;
    color: #f1dfc8;
}

.caro-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 2.3rem;
    height: 2.3rem;
    border-radius: 50%;
    padding: 0;
    min-height: 0;
    z-index: 5;
}

.next-caro {
    right: 0.65rem;
}

.previous-caro {
    left: 0.65rem;
}

.indicators-container {
    position: absolute;
    bottom: 0.75rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.45rem;
    z-index: 5;
}

.indicator {
    width: 0.62rem;
    height: 0.62rem;
    border-radius: 50%;
    border: 0;
    background: rgba(255, 255, 255, 0.5);
    padding: 0;
    cursor: pointer;
}

.indicator.active {
    background: #fff;
    transform: scale(1.13);
}

.footer-container {
    background: linear-gradient(180deg, #201811, #16100b);
    color: var(--text-light);
    padding-block: 2.1rem 1.2rem;
}

.footer-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.footer-info h3 {
    margin: 0;
    color: #f2b15e;
    font-size: 1.45rem;
}

.footer-info p {
    margin: 0.6rem 0 0;
    color: #d8c8b8;
}

.socials {
    margin-top: 0.8rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.42rem;
}

.socials-logo {
    width: 2rem;
    height: 2rem;
    padding: 0.27rem;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.22);
    filter: brightness(0) invert(0.85);
    background: rgba(255, 255, 255, 0.04);
}

.socials-logo:hover,
.socials-logo:focus-visible {
    filter: brightness(0) invert(1);
    outline: none;
}

.contact div {
    margin-top: 0.6rem;
    display: flex;
    gap: 0.5rem;
    align-items: center;
    color: #d8c8b8;
}

.contact-logo {
    width: 1.3rem;
    height: 1.3rem;
    filter: brightness(0) invert(0.85);
}

.contact a {
    color: #f2e7da;
}

.contact a:hover,
.contact a:focus-visible {
    color: #fff;
    outline: none;
}

.copyRight {
    margin: 1.25rem 0 0;
    padding-top: 0.95rem;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    text-align: center;
    color: #cbb8a5;
}

.reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.44s ease, transform 0.44s ease;
    transition-delay: var(--reveal-delay, 0ms);
}

.reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}

.popup-overlay {
    position: fixed;
    inset: 0;
    z-index: 1900;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(14, 9, 6, 0.58);
    backdrop-filter: blur(3px);
}

.popup-overlay.active {
    display: flex;
}

.popup-content {
    width: min(520px, 100%);
    border-radius: var(--radius-md);
    border: 1px solid rgba(123, 63, 34, 0.3);
    background: #fff8ef;
    box-shadow: var(--shadow-strong);
    overflow: hidden;
}

.popup-content img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.popup-body {
    padding: 1rem;
}

.popup-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.popup-title {
    margin: 0;
    color: #67331c;
}

.popup-close {
    border: 0;
    border-radius: 0.55rem;
    min-width: 2rem;
    min-height: 2rem;
    background: #f0e4d4;
    color: #402619;
    cursor: pointer;
    font-weight: 700;
}

.popup-close:hover,
.popup-close:focus-visible {
    background: #e6d5bf;
    outline: none;
}

.popup-meta {
    margin-top: 0.65rem;
    color: var(--text-soft);
}

.popup-price {
    margin-top: 0.6rem;
    font-weight: 700;
    color: #1f5a22;
}

.popup-action-btn {
    margin-top: 0.85rem;
    border: 0;
    width: 100%;
    min-height: 2.45rem;
    border-radius: 0.65rem;
    background: linear-gradient(130deg, var(--brand-green), #356433);
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

.popup-action-btn:hover,
.popup-action-btn:focus-visible {
    filter: brightness(1.05);
    outline: none;
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

@media (max-width: 940px) {
    .header-shell {
        grid-template-columns: auto auto 1fr auto;
    }

    .hamburger {
        display: inline-flex;
    }

    .primary-nav {
        position: fixed;
        top: var(--header-height);
        right: 0;
        height: calc(100dvh - var(--header-height));
        width: min(320px, 82vw);
        background: #f8efe3;
        border-left: 1px solid rgba(56, 35, 22, 0.14);
        box-shadow: -15px 0 30px rgba(29, 16, 9, 0.2);
        padding: 0.9rem;
        transform: translateX(100%);
        transition: transform 0.25s ease;
        z-index: 1360;
    }

    body.nav-open .primary-nav {
        transform: translateX(0);
    }

    #primary-nav {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }

    #primary-nav a {
        min-height: 2.7rem;
        justify-content: flex-start;
        padding-inline: 0.75rem;
    }

    .header-cta {
        display: none;
    }

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

@media (max-width: 680px) {
    :root {
        --header-height: 74px;
    }

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

    .menu-filters {
        justify-content: flex-start;
    }

    .hero-actions .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .wrapper {
        width: 95vw;
    }

    .logo img {
        width: 106px;
    }

    .hero h1 {
        font-size: 1.9rem;
    }

    .hero p {
        font-size: 0.95rem;
    }

    .section-head {
        margin-bottom: 1.2rem;
    }

    .dish-info h3 {
        font-size: 1.1rem;
    }

    .copyRight {
        font-size: 0.88rem;
    }
}
