/* QR-Menu Client Menu Styles */

:root {
    --primary: #e94a44;
    --secondary: #febf2a;
    --dark: #1a1a2e;
    --darker: #0d0d20;
    --light: #f5f5f7;
    --text: #333333;
    --text-light: #666666;
    --success: #48dbfb;
    --info: #48dbfb;
}

/* Header */
.menu-header {
    background: var(--dark);
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
}

.menu-header .container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.restaurant-info .logo svg {
    width: 40px;
    height: 40px;
}

.restaurant-name {
    color: var(--light);
    font-weight: 600;
    font-size: 1.25rem;
}

.restaurant-address {
    color: var(--text-light);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Header Actions */
.header-actions .btn {
    margin-left: 0.5rem;
}

/* Main Content */
.menu-content {
    margin-top: 80px; /* Offset for fixed header */
    padding: 2rem 1rem 4rem;
    min-height: 100vh;
}

/* Filters */
.filters-bar {
    background: var(--darker);
    padding: 1rem 1rem 0;
    margin-bottom: 2rem;
    border-radius: 8px;
}

.filters-bar .container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

.search-box {
    flex: 1;
    min-width: 250px;
}

.search-box input {
    width: 100%;
    padding: 0.6rem 1rem;
    background: var(--darker);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 4px;
    color: var(--light);
    font-size: 0.875rem;
    transition: border-color 0.3s;
}

.search-box input:focus {
    outline: none;
    border-color: var(--primary);
}

.filter-box {
    order: 2;
}

.filter-box select {
    padding: 0.6rem 1rem;
    background: var(--darker);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 4px;
    color: var(--light);
    cursor: pointer;
}

/* Menu Grid */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Menu Item */
.menu-item {
    background: var(--darker);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.menu-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.menu-item-img {
    height: 180px;
    overflow: hidden;
}

.menu-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.menu-item:hover .menu-item-img img {
    transform: scale(1.05);
}

.menu-item-info {
    padding: 1rem;
}

.menu-item-info .menu-item-name {
    margin: 0 0 0.25rem;
    font-size: 1rem;
    font-weight: 500;
    color: var(--light);
}

.menu-item-info .menu-item-desc {
    font-size: 0.75rem;
    color: var(--text-light);
    margin: 0 0 0.5rem;
    line-height: 1.4;
}

.menu-item-info .menu-item-price {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.menu-item-price .price {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.125rem;
}

.menu-item-price .currency {
    font-size: 0.75rem;
    color: var(--text-light);
    margin-left: 0.25rem;
}

.menu-item-tags {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
}

.menu-item-tags .tag {
    background: var(--primary);
    color: white;
    padding: 0.1rem 0.4rem;
    border-radius: 3px;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
}

.menu-item-tags .tag-new {
    background: var(--info);
}

.menu-item-tags .tag-popular {
    background: var(--secondary);
    color: var(--dark);
}

.menu-item-tags .tag-allergen {
    background: rgba(255,255,255,0.1);
    color: var(--text);
    padding: 0.1rem 0.3rem;
    border-radius: 3px;
    font-size: 0.6rem;
    margin: 0 0.1rem 0.1rem 0;
}

/* Tags Bar */
.tag-bar {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.tag {
    background: var(--primary);
    color: white;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
}

.tag-info {
    background: var(--info);
}

.tag-popular {
    background: var(--secondary);
    color: var(--dark);
}

/* No Results */
.no-results {
    text-align: center;
    padding: 2rem;
    color: var(--text-light);
    grid-column: 1 / -1;
}

/* Responsive */
@media (max-width: 768px) {
    .menu-content {
        margin-top: 80px;
        padding: 1rem;
    }
    
    .filters-bar {
        padding: 0.5rem;
    }
    
    .filters-bar .container {
        flex-direction: column;
    }
    
    .search-box {
        order: 1;
    }
    
    .filter-box {
        order: 2;
        width: 100%;
    }
    
    .menu-grid {
        grid-template-columns: 1fr;
    }
}

/* Print Styles */
@media print {
    .menu-item {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}