* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #fef9f5;
    color: #1a1a1a;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 100;
    padding: 1rem 2rem;
    border-bottom: 1px solid rgba(220, 38, 38, 0.2);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.header-content {
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.logo {
    font-size: 1.6rem;
    font-weight: 800;
    color: #1a1a1a;
}

.logo i {
    color: #dc2626;
    margin-right: 0.5rem;
}

.logo span {
    color: #dc2626;
}

/* Category Buttons */
.category-buttons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.cat {
    background: transparent;
    border: 1px solid #e0c8c0;
    color: #555;
    padding: 0.6rem 1.5rem;
    border-radius: 2rem;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s;
}

.cat:hover {
    border-color: #dc2626;
    color: #dc2626;
    background: rgba(220, 38, 38, 0.05);
}

.cat.active {
    background: #dc2626;
    border-color: #dc2626;
    color: white;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

/* Gallery Grid - 4 Columns */
.gallery {
    max-width: 1600px;
    margin: 0 auto;
    padding: 100px 2rem 2rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

/* Food Card */
.food-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0e0dc;
}

.food-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 30px rgba(220, 38, 38, 0.12);
    border-color: #dc2626;
}

.food-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.food-card:hover img {
    transform: scale(1.03);
}

.food-info {
    padding: 1.2rem;
}

.food-category {
    font-size: 0.7rem;
    color: #dc2626;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.food-name {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
}

.food-price {
    font-size: 1.2rem;
    font-weight: 800;
    color: #dc2626;
}

/* Modal Popup */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    position: relative;
    background-color: #fff;
    margin: 5% auto;
    padding: 0;
    width: 90%;
    max-width: 700px;
    border-radius: 1.5rem;
    overflow: hidden;
    animation: slideUp 0.3s ease;
}

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

.close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    color: white;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s;
    background: rgba(0,0,0,0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close:hover {
    background: #dc2626;
    transform: scale(1.1);
}

.modal-content img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.modal-info {
    padding: 2rem;
    text-align: center;
}

.modal-category {
    font-size: 0.8rem;
    color: #dc2626;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.modal-info h2 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
}

.modal-price {
    font-size: 1.8rem;
    font-weight: 800;
    color: #dc2626;
    margin-bottom: 1rem;
}

.modal-info p {
    font-size: 1rem;
    color: #666;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.modal-order-btn {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 2rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.modal-order-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(220, 38, 38, 0.4);
}

/* Floating Call Button */
.call-button {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 1.8rem;
    border-radius: 3rem;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 8px 20px rgba(220, 38, 38, 0.4);
    transition: all 0.3s ease;
    z-index: 99;
    animation: pulse 2s infinite;
}

.call-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(220, 38, 38, 0.5);
}

.call-button i {
    font-size: 1.2rem;
}

@keyframes pulse {
    0% { box-shadow: 0 8px 20px rgba(220, 38, 38, 0.4); }
    50% { box-shadow: 0 8px 25px rgba(220, 38, 38, 0.7); }
    100% { box-shadow: 0 8px 20px rgba(220, 38, 38, 0.4); }
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    color: #888;
    font-size: 0.8rem;
    border-top: 1px solid #f0e0dc;
    margin-top: 2rem;
}

/* Responsive */
@media (max-width: 1200px) {
    .gallery {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.2rem;
    }
    .food-card img {
        height: 280px;
    }
}

@media (max-width: 900px) {
    .gallery {
        grid-template-columns: repeat(2, 1fr);
    }
    .food-card img {
        height: 260px;
    }
    .call-button span {
        display: none;
    }
    .call-button {
        padding: 1rem;
        border-radius: 50%;
    }
    .modal-content img {
        height: 300px;
    }
    .modal-info h2 {
        font-size: 1.4rem;
    }
    .modal-price {
        font-size: 1.4rem;
    }
}

@media (max-width: 600px) {
    .gallery {
        grid-template-columns: 1fr;
        padding: 90px 1rem 1rem;
        gap: 1rem;
    }
    
    .header-content {
        flex-direction: column;
        text-align: center;
    }
    
    .category-buttons {
        justify-content: center;
    }
    
    .food-card img {
        height: 240px;
    }
    
    .modal-content img {
        height: 250px;
    }
    
    .modal-info {
        padding: 1.2rem;
    }
    
    .modal-info h2 {
        font-size: 1.2rem;
    }
}

@media (min-width: 1600px) {
    .gallery {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }
    .food-card img {
        height: 320px;
    }
}