/* QR Menu 1 - Mobile-first, modern */
:root {
    --primary: #c45c26;
    --primary-soft: rgba(196, 92, 38, 0.12);
    --bg: #faf8f6;
    --surface: #ffffff;
    --text: #1a1a1a;
    --text-muted: #5c5c5c;
    --border: #e8e4e0;
    --radius: 14px;
    --radius-sm: 10px;
    --shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    --shadow-hover: 0 4px 20px rgba(0, 0, 0, 0.08);
    --header-bg: #1a1a1a;
    --header-text: #faf8f6;
    --safe-top: env(safe-area-inset-top, 0);
    --safe-bottom: env(safe-area-inset-bottom, 0);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.5;
    min-height: 100vh;
    padding-bottom: var(--safe-bottom);
}

/* Header */
.menu-header {
    background: var(--header-bg);
    color: var(--header-text);
    padding: calc(1.25rem + var(--safe-top)) 1.25rem 1.5rem;
    position: sticky;
    top: 0;
    z-index: 20;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.menu-header-inner {
    max-width: 480px;
    margin: 0 auto;
}

.menu-title {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 0.25rem;
}

.menu-tagline {
    font-size: 0.875rem;
    opacity: 0.85;
    font-weight: 500;
}

/* Category nav - horizontal scroll */
.category-nav {
    background: var(--surface);
    padding: 0.75rem 0;
    position: sticky;
    top: calc(0px + (1.25rem + 1.5rem + 3rem + var(--safe-top)));
    z-index: 18;
    border-bottom: 1px solid var(--border);
    -webkit-overflow-scrolling: touch;
}

.category-nav-scroll {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding: 0 1rem;
    max-width: 100%;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.category-nav-scroll::-webkit-scrollbar {
    display: none;
}

.category-pill {
    flex-shrink: 0;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--text-muted);
    background: var(--bg);
    transition: color 0.2s, background 0.2s;
    white-space: nowrap;
}

.category-pill:hover,
.category-pill:focus {
    color: var(--text);
    background: var(--primary-soft);
}

.category-pill.active {
    color: #fff;
    background: var(--primary);
}

/* Main content */
.menu-main {
    max-width: 480px;
    margin: 0 auto;
    padding: 1.25rem 1rem 2rem;
}

.category-section {
    margin-bottom: 2rem;
    scroll-margin-top: 6rem;
}

.category-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-soft);
}

.item-list {
    list-style: none;
}

.item-card {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 1rem 1.25rem;
    margin-bottom: 0.75rem;
    box-shadow: var(--shadow);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    transition: box-shadow 0.2s;
}

.item-card:active {
    box-shadow: var(--shadow-hover);
}

.item-info {
    flex: 1;
    min-width: 0;
}

.item-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.25rem;
}

.item-desc {
    font-size: 0.8125rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.item-price {
    flex-shrink: 0;
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
}

/* Footer */
.menu-footer {
    text-align: center;
    padding: 1.5rem 1rem;
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Tablet / larger phone */
@media (min-width: 480px) {
    .menu-title {
        font-size: 1.75rem;
    }
    .category-section {
        scroll-margin-top: 7rem;
    }
}

/* Desktop (QR menü yine çoğunlukla mobil ama büyük ekranda da düzgün görünsün) */
@media (min-width: 768px) {
    .menu-main {
        max-width: 520px;
        padding: 1.5rem 1.25rem 2.5rem;
    }
    .item-card {
        padding: 1.25rem 1.5rem;
    }
    .item-name {
        font-size: 1.0625rem;
    }
}
