/* menu.css – style du menu uniquement, sans doublon avec header.css */


.menu-page {
    padding: 120px 20px 50px;
    background-color: #1a1a1a;
    color: #fff;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 50px;
    color: #ffbd44;
    animation: pop-in 0.6s ease-out;
}

.menu-category {
    background-color: #1f1f1f;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 40px;
}

.menu-category h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #ffaa00;
    border-bottom: 2px solid #ffaa00;
    padding-bottom: 5px;
}

.menu-list {
    list-style: none;
    padding: 0;
}

.pizza-item {
    background-color: #2a2a2a;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.pizza-item:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 20px rgba(255, 189, 68, 0.3);
    background-color: #333;
}

.pizza-item h3 {
    margin: 0;
    color: #fff;
    font-size: 1.2rem;
}

.pizza-item p {
    margin: 5px 0 0 0;
    color: #ccc;
    font-size: 1rem;
}

.pizza-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.modal-content {
    background: #1a1a1a;
    color: white;
    padding: 20px;
    border-radius: 10px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
    animation: fadeIn 0.3s ease;
}

.modal-content img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
    object-fit: cover;
    max-height: 300px;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    color: #fff;
    cursor: pointer;
}

.hidden {
    display: none;
}

@keyframes pop-in {
    0% {
        transform: scale(0.7);
        opacity: 0;
    }

    60% {
        transform: scale(1.1);
        opacity: 1;
    }

    100% {
        transform: scale(1);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Image modale script */
.pizza-item[data-image]::after {
    content: "";
    display: none;
}

@media screen and (max-width: 768px) {
    .modal-content img {
        max-height: 200px;
    }
}