@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Inter:wght@300;400;500;600&display=swap');

:root {
    --navy: #0b1e30;
    --navy-light: #1a3a5c;
    --gold: #c9a44e;
    --gold-light: #e8d5a0;
    --cream: #faf9f6;
    --text: #334155;
    --text-light: #94a3b8;
    --green: #059669;
}

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

body {
    font-family: 'Inter', sans-serif;
    background: var(--cream);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
}

/* HEADER */
.header {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: linear-gradient(160deg, var(--navy) 0%, var(--navy-light) 100%);
}

.header-bg {
    position: absolute;
    inset: 0;
    opacity: 0.06;
    background-image:
        radial-gradient(circle at 20% 80%, white 1px, transparent 1px),
        radial-gradient(circle at 80% 20%, white 1px, transparent 1px),
        radial-gradient(circle at 50% 50%, white 1px, transparent 1px);
    background-size: 60px 60px, 80px 80px, 100px 100px;
}

.header-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding-bottom: 30px;
}

.header h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 42px;
    font-weight: 700;
    color: white;
    letter-spacing: 4px;
}

.header p {
    font-size: 12px;
    color: var(--gold);
    letter-spacing: 8px;
    font-weight: 500;
    text-transform: uppercase;
    margin-top: 4px;
}

.header-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    line-height: 0;
}

.header-wave svg {
    width: 100%;
    height: 40px;
}

/* CATEGORY NAV */
.cat-nav {
    position: sticky;
    top: 0;
    z-index: 40;
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    gap: 4px;
    padding: 8px 16px;
}

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

.cat-tab {
    flex-shrink: 0;
    padding: 8px 18px;
    border-radius: 24px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-light);
    background: transparent;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: all 0.25s;
    white-space: nowrap;
    font-family: inherit;
}

.cat-tab:hover {
    color: var(--navy);
    background: #f1f5f9;
}

.cat-tab.active {
    color: var(--navy);
    background: white;
    border-color: var(--navy);
}

/* LANG TOGGLE */
.lang-toggle {
    position: fixed;
    top: 12px;
    right: 12px;
    z-index: 50;
    background: rgba(255,255,255,0.95);
    border: 1.5px solid var(--navy);
    border-radius: 20px;
    padding: 6px 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.2s;
}

.lang-toggle:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.15); }
.lang-active { color: var(--navy); }
.lang-dim { color: #cbd5e1; }

/* MENU CONTAINER */
.menu-container {
    max-width: 700px;
    margin: 0 auto;
    padding: 8px 16px 40px;
}

/* CATEGORY SECTION */
.menu-section {
    margin-top: 28px;
}

.section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 26px;
    font-weight: 700;
    color: var(--navy);
    padding-bottom: 8px;
    margin-bottom: 16px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--gold);
}

/* MENU ITEM */
.menu-item {
    display: flex;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid #f0ece4;
    transition: background 0.2s;
}

.menu-item:last-child { border-bottom: none; }

.menu-item-img {
    width: 90px;
    height: 90px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
    background: #f1ede6;
}

.menu-item-img.no-img {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #d4cfc4;
}

.menu-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.menu-item-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 3px;
}

.menu-item-desc {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.4;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.menu-item-price {
    font-size: 17px;
    font-weight: 700;
    color: var(--green);
}

/* ITEM - PHOTO MODAL */
.photo-modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    background: rgba(0,0,0,0.85);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    cursor: pointer;
}

.photo-modal.show { display: flex; }

.photo-modal img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 12px;
    object-fit: contain;
}

/* LOADING */
.loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 60px 0;
    color: var(--text-light);
    font-size: 14px;
}

.spinner {
    width: 32px;
    height: 32px;
    border: 3px solid #e2e8f0;
    border-top-color: var(--navy);
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* EMPTY */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-light);
}

.empty-state p {
    font-size: 15px;
    margin-top: 8px;
}

/* FOOTER */
.footer {
    text-align: center;
    padding: 24px;
    font-size: 12px;
    color: var(--text-light);
    letter-spacing: 2px;
}

/* RESPONSIVE */
@media (min-width: 768px) {
    .header { height: 260px; }
    .header h1 { font-size: 52px; }
    .menu-item-img { width: 110px; height: 110px; }
    .menu-container { padding: 8px 24px 60px; }
}
