﻿.menu-page {
    background: #f8f9fa;
    min-height: 100vh;
    padding: 0;
}

.menu-hero {
    background: linear-gradient(135deg, #D62300 0%, #F5A623 100%);
    color: white;
    padding: 60px 0 50px;
    margin-bottom: 40px;
    border-radius: 0 0 50px 50px;
}

    .menu-hero h1 {
        font-size: 3rem;
        font-weight: bold;
        margin-bottom: 20px;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    }

    .menu-hero p {
        font-size: 1.2rem;
        opacity: 0.95;
    }

.menu-controls {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    margin-bottom: 40px;
    position: sticky;
    top: 80px;
    z-index: 100;
}

.category-tabs {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.category-tab {
    padding: 12px 25px;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    background: white;
    color: #666;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

    .category-tab:hover {
        border-color: #D62300;
        color: #D62300;
        transform: translateY(-2px);
    }

    .category-tab.active {
        background: linear-gradient(135deg, #D62300 0%, #F5A623 100%);
        border-color: #D62300;
        color: white;
        box-shadow: 0 5px 15px rgba(214, 35, 0, 0.3);
    }

.search-box {
    position: relative;
}

.search-input {
    width: 100%;
    height: 50px;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    padding: 0 50px 0 20px;
    font-size: 1rem;
    transition: all 0.3s;
}

    .search-input:focus {
        border-color: #D62300;
        box-shadow: 0 0 0 0.2rem rgba(214, 35, 0, 0.1);
        outline: none;
    }

.search-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 1.2rem;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.menu-item-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s;
    position: relative;
    cursor: pointer;
}

    .menu-item-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    }

.menu-item-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s;
}

.menu-item-card:hover .menu-item-image {
    transform: scale(1.1);
}

.item-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #F5A623 0%, #FFC72C 100%);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.85rem;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

.menu-item-content {
    padding: 25px;
}

.menu-item-category {
    color: #D62300;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.menu-item-name {
    font-size: 1.3rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.menu-item-description {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.menu-item-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu-item-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: #D62300;
}

.btn-add-to-cart {
    background: linear-gradient(135deg, #D62300 0%, #F5A623 100%);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

    .btn-add-to-cart:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(214, 35, 0, 0.3);
    }

.no-results {
    text-align: center;
    padding: 80px 20px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.no-results-icon {
    font-size: 100px;
    color: #ddd;
    margin-bottom: 20px;
}

.loading {
    text-align: center;
    padding: 100px 20px;
}

.loading-spinner {
    font-size: 50px;
    color: #D62300;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 768px) {
    .menu-hero h1 {
        font-size: 2rem;
    }

    .menu-grid {
        grid-template-columns: 1fr;
    }

    .category-tabs {
        justify-content: center;
    }

    .menu-controls {
        position: static;
    }
}