@font-face {
    font-family: 'BakeryFont';
    src: url('../bakery-font/bakery.otf') format('opentype'),
         url('../bakery-font/bakery.ttf') format('truetype');
}

:root {
    --bg: #F9F7F4;
    --fg: #2D2926;
    --accent: #A68B6A;
    --muted: #8E847B;
    --glass: rgba(255, 255, 255, 0.8);
    --font-display: 'BakeryFont', serif;
    --font-ui: 'Plus Jakarta Sans', sans-serif;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    background: var(--bg);
    color: var(--fg);
    font-family: var(--font-ui);
    overflow-x: hidden;
}

#app {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    min-height: 100vh;
    padding: 2rem 1.5rem 8rem;
    position: relative;
}

@media (max-width: 380px) {
    .logo { font-size: 2.5rem; }
    .item-head h3 { font-size: 1.5rem; }
    .cat-btn { padding: 0.6rem 1.2rem; font-size: 0.75rem; }
}

header {
    text-align: center;
    margin-bottom: 3rem;
}

.logo {
    font-family: var(--font-display);
    font-size: 3.5rem;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.tagline {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--muted);
}

#categories {
    display: flex;
    overflow-x: auto;
    gap: 0.5rem;
    padding-bottom: 2rem;
    margin-bottom: 1rem;
    scrollbar-width: none;
}

#categories::-webkit-scrollbar { display: none; }

.cat-btn {
    flex: 0 0 auto;
    padding: 0.75rem 1.5rem;
    border: 1px solid rgba(45, 41, 38, 0.1);
    background: none;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--muted);
    transition: all 0.3s var(--ease);
}

.cat-btn.active {
    background: var(--fg);
    color: var(--bg);
    border-color: var(--fg);
}

#menu-items {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.item {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    opacity: 0;
    transform: translateY(20px);
    animation: reveal 0.8s var(--ease) forwards;
    animation-delay: calc(var(--index) * 0.1s);
}

@keyframes reveal {
    to { opacity: 1; transform: translateY(0); }
}

.item-visual {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 4px;
    overflow: hidden;
    background: #EAE5DF;
}

.item-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    mix-blend-mode: multiply;
}

.item-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 0.5rem;
}

.item-head h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 400;
}

.price {
    font-weight: 600;
    color: var(--accent);
}

.item-info p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--muted);
}

/* Nav */
.glass-nav {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 3rem);
    max-width: 420px;
    height: 4rem;
    background: var(--glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 100px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
