* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-color: #f8f9fa;
}

/* Remove stock warning badge */
.info-badge.stock-low {
    display: none;
}

/* Fix top navigation bar to match index page */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #2c3e50;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    text-decoration: none;
    color: #555;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a.active {
    color: #e74c3c;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover {
    color: #e74c3c;
}

.nav-buttons {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.book-btn {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

.book-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.4);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    gap: 4px;
    z-index: 1001;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: #333;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    z-index: 1000;
    padding-top: 80px;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
}

.mobile-nav-links a {
    color: #333;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    padding: 1rem;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.mobile-nav-links a:hover {
    background: #f8f9fa;
    color: #e74c3c;
}

.mobile-nav-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    max-width: 300px;
}

/* Adjust main content to account for fixed header */
.menu-container {
    padding-top: 100px;
    background: #f8f9fa;
    min-height: 100vh;
}

/* Filter Section - Beautiful Gray Design */
.filter-section-menu {
    background: linear-gradient(135deg, #718096 0%, #4a5568 100%);
    padding: 4rem 0;
    margin-top: 0;
    position: relative;
    overflow: hidden;
}

.filter-section-menu::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.filter-section-menu .container {
    position: relative;
    z-index: 2;
}

.filter-section-menu h2 {
    color: white;
    text-align: center;
    font-size: 3rem;
    margin-bottom: 0.5rem;
    font-weight: 800;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    letter-spacing: -1px;
}

.filter-section-menu::after {
    content: "Discover amazing dishes from local restaurants";
    display: block;
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 2rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.menu-filter-form {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border-radius: 25px;
    padding: 2.5rem;
    margin-top: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.filter-row {
    display: grid;
    grid-template-columns: 2.5fr 1.2fr 1.2fr 1fr 1fr auto auto;
    gap: 1.5rem;
    align-items: center;
}

.search-input, .filter-select, .price-input {
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.95);
    font-size: 1rem;
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.search-input {
    font-weight: 500;
}

.search-input::placeholder {
    color: #999;
    font-weight: 400;
}

.search-input:focus, .filter-select:focus, .price-input:focus {
    outline: none;
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    background: white;
}

.search-btn, .reset-btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.search-btn {
    background: linear-gradient(135deg, #718096, #4a5568);
    color: white;
    box-shadow: 0 8px 25px rgba(113, 128, 150, 0.4);
}

.search-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(113, 128, 150, 0.5);
    background: linear-gradient(135deg, #4a5568, #2d3748);
}

.reset-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.reset-btn:hover {
    background: rgba(255, 255, 255, 0.9);
    color: #667eea;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

/* Results Summary - Enhanced */
.results-summary {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 249, 250, 0.95));
    padding: 2rem 0;
    border-bottom: 1px solid rgba(226, 232, 240, 0.5);
    backdrop-filter: blur(10px);
}

.results-summary h3 {
    color: #2c3e50;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.showing-all {
    color: #718096;
    font-size: 1.1rem;
    font-weight: 400;
}

.active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    align-items: center;
    margin-top: 1.5rem;
}

.filter-tag {
    background: linear-gradient(135deg, #718096, #4a5568);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(113, 128, 150, 0.3);
}

.clear-filters {
    color: #718096;
    text-decoration: none;
    font-weight: 700;
    margin-left: 1.5rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.clear-filters:hover {
    background: rgba(113, 128, 150, 0.1);
    text-decoration: none;
}

/* Category Sections - Enhanced */
.category-section {
    margin-bottom: 4rem;
}

.category-title {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 2rem;
    padding-left: 1.5rem;
    border-left: 6px solid #718096;
    font-weight: 800;
    position: relative;
}

.category-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #718096, #4a5568);
    border-radius: 2px;
}

/* Dishes Grid */
.dishes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    padding: 1rem 0;
}

/* Enhanced Dish Cards */
.dish-card {
    background: white;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.dish-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
    border-color: rgba(113, 128, 150, 0.3);
}

.dish-image-container {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.dish-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.dish-card:hover .dish-image {
    transform: scale(1.08);
}

.dish-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #718096 0%, #4a5568 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3.5rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.dish-image-placeholder p {
    margin: 1rem 0 0 0;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 1px;
}

/* Badges */
.special-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, #f39c12, #e67e22);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.4);
    animation: pulse 2s infinite;
}

.info-badge {
    position: absolute;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.3rem 0.6rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 500;
    backdrop-filter: blur(5px);
}

.info-badge.prep-time {
    bottom: 4rem;
    left: 1rem;
}

.info-badge.spice-level {
    bottom: 4rem;
    right: 1rem;
}

.info-badge.dealer-suspended {
    top: 3rem;
    left: 1rem;
    background: rgba(149, 165, 166, 0.9);
}

/* Enhanced Overlay */
.dish-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(113, 128, 150, 0.95), rgba(74, 85, 104, 0.95));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
    backdrop-filter: blur(5px);
}

.dish-card:hover .dish-overlay {
    opacity: 1;
}

.add-to-cart-btn {
    background: white;
    color: #718096;
    border: none;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.4s ease;
    font-size: 1.1rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    transform: translateY(20px);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.add-to-cart-btn:hover {
    transform: translateY(0) scale(1.05);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    background: linear-gradient(135deg, #718096, #4a5568);
    color: white;
}

.add-to-cart-btn:disabled {
    background: #95a5a6;
    color: white;
    cursor: not-allowed;
}

/* Enhanced Content */
.dish-content {
    padding: 2rem;
}

.dish-title {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 0.8rem;
    font-weight: 800;
    line-height: 1.3;
}

.dish-description {
    color: #718096;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 1rem;
}

.dietary-info {
    margin-bottom: 1.5rem;
}

.dietary-label {
    background: linear-gradient(135deg, #48bb78, #38a169);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(72, 187, 120, 0.3);
}

.dish-details {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.detail-item {
    background: linear-gradient(135deg, #f7fafc, #edf2f7);
    color: #4a5568;
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid #e2e8f0;
}

.dish-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
}

.dish-price, .special-price {
    font-size: 1.6rem;
    font-weight: 800;
    color: #718096;
    text-shadow: 0 2px 10px rgba(113, 128, 150, 0.2);
}

.original-price {
    font-size: 1.1rem;
    color: #a0aec0;
    text-decoration: line-through;
}

.dish-rating .stars {
    color: #f6ad55;
    font-size: 1rem;
    text-shadow: 0 2px 5px rgba(246, 173, 85, 0.3);
}

/* No Results */
.no-results {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.empty-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.no-results h3 {
    color: #2c3e50;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.no-results p {
    color: #666;
    margin-bottom: 2rem;
}

.btn-primary {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.5);
}

/* Responsive Design */
@media (max-width: 768px) {
    .filter-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .filter-section-menu h2 {
        font-size: 2.2rem;
    }
    
    .menu-filter-form {
        padding: 2rem;
    }
    
    .category-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .filter-section-menu {
        padding: 3rem 0;
    }
    
    .filter-section-menu h2 {
        font-size: 1.8rem;
    }
    
    .menu-filter-form {
        padding: 1.5rem;
        margin: 1rem;
    }
}

/* Enhanced Responsive Design for Main Page */
@media (max-width: 1200px) {
    .container {
        max-width: 100%;
        padding: 0 1.5rem;
    }
    
    .dishes-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 992px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .dishes-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
    }
    
    .filter-section-menu {
        padding: 4rem 0 2rem;
    }
    
    .menu-filter-form {
        margin: 0 1rem;
    }
}

@media (max-width: 768px) {
    .nav {
        padding: 0 1rem;
    }

    .nav-buttons {
        display: none;
    }

    .mobile-menu {
        display: block;
    }

    .menu-container {
        padding-top: 80px;
    }

    .filter-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .filter-section-menu h2 {
        font-size: 2.2rem;
    }
    
    .menu-filter-form {
        padding: 2rem;
        margin: 1rem;
    }
    
    .category-title {
        font-size: 2rem;
        text-align: center;
    }
    
    .dishes-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .dish-card {
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    .filter-section-menu {
        padding: 3rem 0 1rem;
    }
    
    .filter-section-menu h2 {
        font-size: 1.8rem;
    }
    
    .menu-filter-form {
        padding: 1.5rem;
        margin: 0.5rem;
    }
    
    .category-title {
        font-size: 1.6rem;
    }
    
    .dish-card-content {
        padding: 1.5rem;
    }
    
    .dish-title {
        font-size: 1.2rem;
    }
    
    .dish-price {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.5rem;
    }
    
    .nav {
        padding: 0 0.5rem;
    }
    
    .dishes-grid {
        padding: 0 0.5rem;
        gap: 1rem;
    }
    
    .category-title {
        font-size: 1.4rem;
        padding: 0 1rem;
    }
    
    .menu-filter-form {
        margin: 0.25rem;
        padding: 1rem;
    }
}

/* Ultra-wide screens */
@media (min-width: 1400px) {
    .container {
        max-width: 1400px;
    }
    
    .dishes-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 2.5rem;
    }
}

/* Large screens */
@media (min-width: 1600px) {
    .container {
        max-width: 1600px;
    }
    
    .dishes-grid {
        grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
        gap: 3rem;
    }
}

/* Animation Keyframes */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dish-card {
    animation: fadeInUp 0.6s ease-out;
}

.dish-card:nth-child(2) { animation-delay: 0.1s; }
.dish-card:nth-child(3) { animation-delay: 0.2s; }
.dish-card:nth-child(4) { animation-delay: 0.3s; }
