@import url("https://fonts.googleapis.com/css2?family=Allura&family=Cormorant+Garamond:wght@500;600;700&family=Manrope:wght@400;500;600;700&display=swap");

:root {
    --bg-primary: #f8f5ee;
    --bg-secondary: #f4ede4;
    --bg-panel: rgba(255, 252, 246, 0.92);
    --bg-panel-strong: rgba(251, 247, 239, 0.98);
    --surface-soft: rgba(116, 51, 3, 0.06);
    --surface-border: rgba(116, 51, 3, 0.16);
    --text-primary: #342114;
    --text-secondary: #6f5543;
    --text-muted: #9a7d69;
    --accent: #743303;
    --accent-strong: #96501d;
    --accent-deep: #522100;
    --shadow-lg: 0 26px 60px rgba(73, 34, 8, 0.12);
    --shadow-md: 0 16px 34px rgba(73, 34, 8, 0.1);
    --radius-lg: 32px;
    --radius-md: 22px;
    --radius-sm: 18px;
    --transition: 220ms ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Manrope", sans-serif;
    background:
        radial-gradient(circle at top left, rgba(205, 166, 136, 0.09), transparent 36%),
        radial-gradient(circle at 90% 10%, rgba(236, 220, 202, 0.14), transparent 28%),
        linear-gradient(180deg, #fdfbf7 0%, #fbf6ef 24%, #f8f5ee 100%);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    position: relative;
}

body::before,
body::after {
    content: "";
    position: fixed;
    inset: auto;
    width: 18rem;
    height: 18rem;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.22;
    pointer-events: none;
    z-index: 0;
}

body::before {
    top: 8%;
    left: -6rem;
    background: #ead8c6;
}

body::after {
    right: -5rem;
    bottom: 10%;
    background: #e4c8ae;
}

main,
.footer,
.header {
    position: relative;
    z-index: 1;
}

h1,
h2,
h3 {
    font-family: "Cormorant Garamond", serif;
    font-weight: 600;
    line-height: 1.05;
}

.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(250, 246, 239, 0.88);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(116, 51, 3, 0.12);
    box-shadow: 0 12px 30px rgba(73, 34, 8, 0.06);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 1rem 0.7rem;
    text-align: center;
    max-height: 12rem;
    opacity: 1;
    overflow: hidden;
    transform: translateY(0);
    transition: max-height 800ms cubic-bezier(0.22, 1, 0.36, 1), opacity 400ms ease, padding 800ms cubic-bezier(0.22, 1, 0.36, 1), transform 800ms cubic-bezier(0.22, 1, 0.36, 1);
    will-change: max-height, opacity, padding, transform;
}

.header-label {
    font-size: 0.72rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--accent-strong);
    margin-bottom: 0.55rem;
}

.brand-name {
    display: flex;
    justify-content: center;
    align-items: center;
}

.brand-logo {
    display: block;
    width: min(100%, 17rem);
    margin-bottom: 8px;
    height: auto;
}

.tagline {
    margin-top: 0.4rem;
    font-size: 0.98rem;
    color: var(--text-secondary);
    max-width: 42rem;
    margin-inline: auto;
}

.header.header-condensed .header-content {
    max-height: 0;
    opacity: 0;
    padding-top: 0;
    padding-bottom: 0;
    transform: translateY(-0.35rem);
}

.category-nav {
    overflow-x: auto;
    white-space: nowrap;
    padding: 0.35rem 0 0.65rem;
    scrollbar-width: none;
    transition: padding 480ms cubic-bezier(0.22, 1, 0.36, 1), border-color 320ms ease, box-shadow 320ms ease;
    will-change: padding;
}

.header.header-condensed .category-nav {
    padding-top: 0.48rem;
    padding-bottom: 0.78rem;
    border-top: 1px solid rgba(116, 51, 3, 0.08);
    box-shadow: 0 10px 18px rgba(73, 34, 8, 0.04);
}

.category-nav::-webkit-scrollbar {
    display: none;
}

.nav-container {
    display: flex;
    gap: 0.45rem;
    width: max-content;
    padding: 0 1rem;
    margin: 0 auto;
}

.nav-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    text-decoration: none;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(116, 51, 3, 0.14);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
    font-size: 0.88rem;
    font-weight: 600;
    transition: transform var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
}

.nav-tab:hover,
.nav-tab:focus-visible {
    color: var(--accent-deep);
    background: rgba(247, 237, 228, 0.95);
    transform: translateY(-1px);
    outline: none;
}

.nav-tab.active {
    color: #f9f8f1;
    background: linear-gradient(135deg, #96501d 0%, #743303 100%);
    border-color: transparent;
    box-shadow: 0 12px 24px rgba(116, 51, 3, 0.2);
}

.hero {
    padding: clamp(1.8rem, 4vw, 3rem) 1rem 0.6rem;
}

.hero-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: clamp(1.8rem, 4vw, 3rem);
    border-radius: 2.2rem;
    border: 1px solid rgba(116, 51, 3, 0.12);
    background:
        radial-gradient(circle at top right, rgba(201, 154, 117, 0.18), transparent 24%),
        linear-gradient(145deg, rgba(253, 250, 244, 0.98), rgba(247, 240, 232, 0.98));
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.hero-content::before,
.hero-content::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
}

.hero-content::before {
    width: 11rem;
    height: 11rem;
    right: -2rem;
    top: -2rem;
    background: radial-gradient(circle, rgba(195, 146, 107, 0.24), transparent 68%);
}

.hero-content::after {
    inset: auto 2rem 1.5rem auto;
    width: 6rem;
    height: 6rem;
    border: 1px solid rgba(116, 51, 3, 0.12);
}

.hero-kicker {
    font-size: 0.76rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--accent-strong);
    margin-bottom: 0.95rem;
}

.hero h2 {
    font-size: clamp(2.4rem, 6vw, 4.8rem);
    max-width: 13ch;
    color: #1d3b2d;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.02rem;
    color: var(--text-secondary);
    max-width: 40rem;
}

.hero-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.4rem;
}

.hero-highlights span {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(116, 51, 3, 0.14);
    color: var(--text-primary);
    font-size: 0.9rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.hero-highlights span::before {
    content: "";
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #c9824d, #743303);
}

.menu-container {
    max-width: 860px;
    margin: 0 auto;
    padding: 1.6rem 1rem 4rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.15rem;
}

.menu-category {
    --category-glow: rgba(191, 146, 112, 0.2);
    --category-surface: rgba(252, 248, 242, 0.96);
    --category-border: rgba(116, 51, 3, 0.14);
    position: relative;
    scroll-margin-top: 11rem;
    padding: 1rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--category-border);
    background:
        linear-gradient(160deg, rgba(255, 255, 255, 0.5), transparent 26%),
        linear-gradient(180deg, var(--category-surface), rgba(248, 241, 233, 0.98));
    box-shadow: var(--shadow-md);
    overflow: hidden;
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.55s ease, transform 0.55s ease, border-color var(--transition), box-shadow var(--transition);
}

.menu-category::before {
    content: "";
    position: absolute;
    top: -3rem;
    right: -2rem;
    width: 11rem;
    height: 11rem;
    background: radial-gradient(circle, var(--category-glow) 0%, transparent 70%);
    filter: blur(4px);
    pointer-events: none;
}

.menu-category.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.menu-category:hover {
    border-color: rgba(116, 51, 3, 0.2);
    box-shadow: 0 24px 44px rgba(73, 34, 8, 0.1);
}

.category-header {
    position: relative;
    display: grid;
    grid-template-columns: 5.4rem minmax(0, 1fr);
    align-items: start;
    column-gap: 1rem;
    row-gap: 0.35rem;
    margin-bottom: 1rem;
    padding: 0.55rem 0.2rem 0.8rem;
    border-radius: 0;
    background: transparent;
    border: none;
    overflow: visible;
}

.category-header::before {
    content: none;
}

.category-header::after {
    content: attr(data-description);
    display: block;
    grid-column: 2;
    margin-top: 0;
    color: var(--text-secondary);
    font-size: 0.92rem;
    max-width: 28ch;
    line-height: 1.45;
}

.category-icon {
    position: relative;
    top: auto;
    right: auto;
    width: 5.4rem;
    height: 5.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 1.35rem;
    color: var(--accent-strong);
    background: var(--icon-bg, linear-gradient(145deg, rgba(247, 236, 225, 0.96), rgba(252, 245, 238, 0.9)));
    border: 1px solid rgba(116, 51, 3, 0.14);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 14px 22px rgba(73, 34, 8, 0.08);
    grid-row: 1 / span 2;
    grid-column: 1;
}

.category-icon svg,
.category-icon img {
    width: 3.2rem;
    height: 3.2rem;
    object-fit: contain;
}

.category-icon svg {
    stroke-width: 1.25;
}

.category-title {
    font-family: "Allura", cursive;
    font-size: clamp(2.7rem, 5vw, 4.1rem);
    letter-spacing: 0;
    text-transform: none;
    color: var(--accent-deep);
    max-width: none;
    font-weight: 400;
    line-height: 0.95;
    grid-column: 2;
    align-self: end;
    margin-top: 0.15rem;
}

.menu-list {
    list-style: none;
    display: grid;
    gap: 0.5rem;
}

.menu-item {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 0.75rem;
    padding: 0.72rem 0.85rem;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(116, 51, 3, 0.12);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
    transition: transform var(--transition), background var(--transition), border-color var(--transition);
}

.menu-item:hover {
    transform: translateY(-2px);
    background: rgba(249, 242, 234, 0.95);
    border-color: rgba(116, 51, 3, 0.18);
}

.menu-item span:first-child {
    color: #141414;
    font-size: 0.93rem;
    font-weight: 600;
}

.price {
    display: inline-block;
    min-width: auto;
    padding: 0;
    border-radius: 0;
    font-family: "Manrope", sans-serif;
    font-size: 0.96rem;
    font-weight: 700;
    color: var(--accent-deep);
    background: transparent;
    box-shadow: none;
    line-height: 1;
}

.footer {
    margin-top: 2rem;
    padding: 3rem 1rem 3.25rem;
    border-top: 1px solid rgba(116, 51, 3, 0.12);
    background: linear-gradient(180deg, rgba(245, 238, 230, 0.8), rgba(248, 245, 238, 0.96));
}

.footer-content {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.footer-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.footer-copy {
    margin: 0;
}

.footer-credit {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 16px;
    transition: color var(--transition), transform var(--transition);
}

.footer-credit:hover,
.footer-credit:focus-visible {
    color: var(--accent-deep);
    transform: translateY(-1px);
    outline: none;
}

.footer-credit img {
    display: block;
    width: auto;
    height: 16px;
    margin-top: 5px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.35rem;
}

.social-icons a {
    width: 2.8rem;
    height: 2.8rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(116, 51, 3, 0.12);
    transition: transform var(--transition), color var(--transition), background var(--transition);
}

.social-icons a:hover,
.social-icons a:focus-visible {
    transform: translateY(-2px);
    color: var(--text-primary);
    background: rgba(247, 237, 228, 0.95);
    outline: none;
}

@media (min-width: 960px) {
    .header-content {
        padding-top: 1.15rem;
    }

    .menu-container {
        padding-top: 1.6rem;
        gap: 1.35rem;
    }

    .hero {
        padding-top: 2.35rem;
    }

    .hero-content {
        padding-right: 14rem;
    }

    .hero-content::after {
        width: 7rem;
        height: 7rem;
        right: 3rem;
        bottom: 2rem;
    }
}

@media (max-width: 699px) {
    .brand-logo {
        width: min(100%, 15rem);
    }

    .header-content {
        padding: 0.85rem 0.85rem 0.55rem;
    }

    .category-nav {
        padding: 0.25rem 0 0.5rem;
    }

    .header.header-condensed .category-nav {
        padding-top: 0.34rem;
        padding-bottom: 0.62rem;
    }

    .nav-container {
        gap: 0.38rem;
        padding: 0 0.85rem;
    }

    .nav-tab {
        padding: 0.48rem 16px;
        font-size: 16px;
    }

    .category-header {
        margin-bottom: 0.75rem;
        grid-template-columns: 2.85rem minmax(0, 1fr);
        column-gap: 0.8rem;
        row-gap: 0.2rem;
        padding: 0.2rem 0.2rem 0.65rem;
    }

    .category-header::after {
        max-width: none;
        font-size: 0.84rem;
        line-height: 1.45;
    }

    .category-icon {
        left: auto;
        right: auto;
        top: auto;
        width: 2.85rem;
        height: 2.85rem;
        border-radius: 1rem;
    }

    .category-icon svg,
    .category-icon img {
        width: 1.75rem;
        height: 1.75rem;
    }

    .category-title {
        max-width: none;
        font-size: 2.35rem;
        line-height: 0.95;
        margin-top: 0.05rem;
    }

    .menu-category {
        padding: 0.85rem;
        border-radius: 1.7rem;
    }

    .menu-item {
        padding: 0.68rem 0.8rem;
    }

    .price {
        font-size: 0.92rem;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-credit {
        justify-content: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition: none !important;
        animation: none !important;
    }

    .menu-category {
        opacity: 1;
        transform: none;
    }
}