/* Menu Page Specific Styles */

.menu-hero {
    height: 50vh;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
                url('https://images.unsplash.com/photo-1502364271109-0a9a75a2a9df');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.menu-hero-content {
    max-width: 800px;
    padding: 2rem;
}

.menu-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.menu-hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
}

.full-menu {
    padding-top: 4rem;
    padding-bottom: 6rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.menu-filters {
    margin-bottom: 3rem;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2.5rem;
}

.menu-item {
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.menu-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.menu-item-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

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

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

.menu-item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.menu-item:hover .menu-item-overlay {
    opacity: 1;
}

.menu-item-content {
    padding: 1.5rem;
}

.menu-item h3 {
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.menu-item p {
    color: #666;
    margin-bottom: 1.5rem;
    min-height: 50px;
}

.menu-item-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.price {
    font-weight: bold;
    font-size: 1.2rem;
    color: var(--primary-color);
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quantity-btn {
    width: 30px;
    height: 30px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: background 0.3s ease;
}

.quantity-btn:hover {
    background: #f5f5f5;
}

.quantity {
    font-weight: bold;
}

.add-to-cart {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.add-to-cart:hover {
    background: #b8960c;
}

/* Quick View Modal */
.quick-view-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1100;
}

.quick-view-content {
    background: white;
    max-width: 800px;
    width: 90%;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    max-height: 90vh;
}

.quick-view-header {
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
}

.close-quick-view {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
}

.quick-view-body {
    display: flex;
    overflow: auto;
}

.quick-view-image {
    width: 40%;
    min-height: 300px;
}

.quick-view-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.quick-view-details {
    padding: 2rem;
    width: 60%;
}

.quick-view-footer {
    padding: 1rem;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: flex-end;
}

/* Responsive for menu page */
@media (max-width: 768px) {
    .menu-hero h1 {
        font-size: 2.5rem;
    }
    
    .menu-hero p {
        font-size: 1.1rem;
    }
    
    .quick-view-body {
        flex-direction: column;
    }
    
    .quick-view-image,
    .quick-view-details {
        width: 100%;
    }
    
    .quick-view-image {
        min-height: 200px;
    }
}
