:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-card: #ffffff;
    --text-primary: #1a1a2e;
    --text-secondary: #6c757d;
    --accent: #e63946;
    --accent-hover: #d62839;
    --border: #e9ecef;
    --shadow: rgba(0, 0, 0, 0.08);
    --success: #2d6a4f;
    --radius: 12px;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg-primary: #0d1117;
        --bg-secondary: #161b22;
        --bg-card: #21262d;
        --text-primary: #f0f6fc;
        --text-secondary: #8b949e;
        --accent: #ff6b6b;
        --accent-hover: #ee5a5a;
        --border: #30363d;
        --shadow: rgba(0, 0, 0, 0.3);
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    padding-bottom: 80px;
}

.sticky-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--bg-secondary);
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(10px);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.restaurant-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accent);
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-text .restaurant-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accent);
    margin: 0;
}

.logo-text .address {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.table-number {
    background: var(--accent);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
    white-space: nowrap;
}

.contact-info {
    text-align: center;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.contact-info p {
    margin: 4px 0;
    color: var(--text-secondary);
}

.contact-info a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}

.search-container input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 1rem;
    background: var(--bg-card);
    color: var(--text-primary);
    transition: border-color 0.3s, box-shadow 0.3s;
}

.search-container input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.15);
}

.menu-container {
    padding: 16px;
}

.menu-section {
    margin-bottom: 12px;
}

.accordion {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background: linear-gradient(135deg, var(--bg-card), var(--bg-secondary));
    border: 1px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    font-family: inherit;
    color: var(--text-primary);
}

.accordion:hover {
    background: var(--bg-secondary);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px var(--shadow);
}

.accordion.active {
    border-radius: var(--radius) var(--radius) 0 0;
    border-bottom: none;
    background: var(--accent);
    color: white;
}

.accordion-title {
    font-size: 1rem;
    font-weight: 600;
}

.accordion-subtitle {
    font-size: 0.8rem;
    opacity: 0.7;
    margin-left: 8px;
}

.accordion-icon {
    transition: transform 0.3s;
    font-size: 0.9rem;
}

.accordion.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-top: none;
    border-radius: 0 0 var(--radius) var(--radius);
}

.accordion-content.open {
    max-height: 3000px;
}

.menu-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
    transition: background 0.2s;
}

.menu-item:last-child {
    border-bottom: none;
}

.menu-item:hover {
    background: var(--bg-secondary);
}

.menu-item.hidden {
    display: none;
}

.menu-item.highlight {
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.1), rgba(230, 57, 70, 0.05));
}

.item-info {
    flex: 1;
    padding-right: 12px;
}

.item-number {
    font-weight: 600;
    color: var(--accent);
    margin-right: 6px;
}

.item-name {
    font-weight: 600;
    color: var(--text-primary);
}

.item-desc {
    display: block;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 4px;
}

.item-price {
    font-weight: 700;
    color: var(--accent);
    white-space: nowrap;
    font-size: 1rem;
}

.notes-section {
    background: var(--bg-secondary);
    padding: 20px 16px;
    margin: 16px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.notes-section h3 {
    margin-bottom: 12px;
    color: var(--text-primary);
}

.notes-list {
    list-style: none;
    margin-bottom: 16px;
}

.notes-list li {
    padding: 8px 0;
    border-bottom: 1px dashed var(--border);
    color: var(--text-secondary);
}

.notes-list li:last-child {
    border-bottom: none;
}

.lunch-offer {
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    color: white;
    padding: 16px;
    border-radius: var(--radius);
    text-align: center;
    margin-bottom: 12px;
}

.lunch-offer h4 {
    font-size: 1.2rem;
    margin-bottom: 4px;
}

.lunch-includes {
    font-size: 0.85rem;
    opacity: 0.9;
    margin-top: 8px;
}

.allergy-note {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    padding: 12px;
    background: var(--bg-card);
    border-radius: var(--radius);
}

.fixed-buttons {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    gap: 8px;
    padding: 12px 16px;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    backdrop-filter: blur(10px);
    z-index: 100;
}

.btn-action {
    flex: 1;
    padding: 14px;
    border: none;
    border-radius: var(--radius);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s;
    font-family: inherit;
}

.btn-action:first-child {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.btn-action:first-child:hover {
    background: var(--bg-secondary);
}

.btn-call {
    background: linear-gradient(135deg, #2d6a4f, #40916c);
    color: white;
}

.btn-call:hover {
    background: linear-gradient(135deg, #1b4332, #2d6a4f);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(45, 106, 79, 0.3);
}

#scrollToTop {
    opacity: 1;
    transition: opacity 0.3s;
}

@media (min-width: 768px) {
    .menu-container {
        max-width: 600px;
        margin: 0 auto;
    }

    .notes-section {
        max-width: 600px;
        margin: 16px auto;
    }

    .fixed-buttons {
        max-width: 600px;
        left: 50%;
        transform: translateX(-50%);
    }
}