
/* Menus Page Styles */
.page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 5rem 0 3rem;
    text-align: center;
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Menu Filters */
.menu-filters {
    padding: 2rem 0;
    background: #f8f9fa;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.filter-btn {
    background: white;
    border: 2px solid #e9ecef;
    color: #6c757d;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-btn:hover,
.filter-btn.active {
    background: #28a745;
    border-color: #28a745;
    color: white;
    transform: translateY(-2px);
}

/* Search and Sort */
.search-sort {
    padding: 2rem 0;
    background: white;
}

.search-box {
    position: relative;
}

.search-box i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    z-index: 2;
}

.search-box input {
    padding-left: 45px;
    border-radius: 50px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.search-box input:focus {
    border-color: #28a745;
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

.sort-dropdown select {
    border-radius: 50px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
    background-color: white;
}

.sort-dropdown select:focus {
    border-color: #28a745;
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

/* Menu Grid */
.menu-grid {
    padding: 3rem 0;
}

.menu-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.menu-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.menu-image-container {
    position: relative;
    overflow: hidden;
}

.menu-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.menu-badges {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.badge {
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.badge-popular {
    background: linear-gradient(45deg, #ff6b6b, #ee5a52);
    color: white;
}

.badge-new {
    background: linear-gradient(45deg, #4ecdc4, #44a08d);
    color: white;
}

.badge-discount {
    background: linear-gradient(45deg, #ffa726, #ff7043);
    color: white;
}

.menu-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.menu-title {
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 700;
}

.menu-title a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
}

.menu-title a:hover {
    color: #28a745;
}

.menu-description {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex: 1;
}

.menu-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 1rem;
}

.menu-tag {
    background: #e8f5e8;
    color: #28a745;
    padding: 3px 8px;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 500;
}

.nutrition-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    background: #f8f9fa;
    padding: 0.75rem;
    border-radius: 10px;
}

.nutrition-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.85rem;
    font-weight: 600;
}

.menu-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

.menu-rating {
    display: flex;
    align-items: center;
    gap: 5px;
}

.stars i {
    color: #ddd;
    font-size: 0.9rem;
}

.stars i.active {
    color: #ffc107;
}

.rating-value {
    font-weight: 600;
    margin-left: 5px;
}

.review-count {
    color: #6c757d;
    font-size: 0.85rem;
}

.menu-price {
    text-align: right;
}

.original-price {
    color: #6c757d;
    text-decoration: line-through;
    font-size: 0.9rem;
    margin-right: 5px;
}

.current-price {
    color: #28a745;
    font-weight: 700;
    font-size: 1.2rem;
}

.menu-actions {
    display: flex;
    gap: 10px;
}

.btn-detail {
    flex: 1;
    border-radius: 25px;
    font-weight: 600;
    padding: 0.75rem;
}

.btn-cart {
    flex: 2;
    border-radius: 25px;
    font-weight: 600;
    padding: 0.75rem;
}

/* No Results */
.no-results {
    padding: 4rem 2rem;
}

/* Menu Statistics */
.menu-stats {
    padding: 3rem 0;
    background: #f8f9fa;
}

.stat-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.stat-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.stat-icon i {
    font-size: 2rem;
    color: white;
}

.stat-info h4 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.stat-info p {
    color: #6c757d;
    font-weight: 600;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }

    .filter-buttons {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 1rem;
    }

    .filter-btn {
        white-space: nowrap;
        flex-shrink: 0;
    }

    .search-sort .row > div {
        margin-bottom: 1rem;
    }

    .menu-actions {
        flex-direction: column;
    }

    .nutrition-info {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .menu-footer {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .menu-image {
        height: 200px;
    }

    .menu-content {
        padding: 1rem;
    }

    .stat-card {
        padding: 1.5rem;
    }

    .stat-icon {
        width: 60px;
        height: 60px;
    }

    .stat-info h4 {
        font-size: 2rem;
    }
}

/* Loading animation */
.menu-item {
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Stagger animation for menu items */
.menu-item:nth-child(1) { animation-delay: 0.1s; }
.menu-item:nth-child(2) { animation-delay: 0.2s; }
.menu-item:nth-child(3) { animation-delay: 0.3s; }
.menu-item:nth-child(4) { animation-delay: 0.4s; }
.menu-item:nth-child(5) { animation-delay: 0.5s; }
.menu-item:nth-child(6) { animation-delay: 0.6s; }
