﻿/* Modal Kapalı Durumda */
.menu-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

    /* Açılma Anı */
    .menu-modal.active {
        display: flex;
    }

.modal-content {
    background: #fff;
    padding: 20px;
    max-width: 600px;
    width: 90%;
    border-radius: 10px;
    text-align: center;
    animation: zoomIn 0.3s ease forwards;
    position: relative;
    transform-origin: center center;
}

.menu-modal.closing .modal-content {
    animation: zoomOutToDot 0.4s ease forwards;
}

.modal-photo {
    width: 100%;
    height: 50vh;
    margin-bottom: 20px;
    border-radius: 8px;
    object-fit: cover;
    object-position: center;
}

.closes {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 40px;
    cursor: pointer;
    background-color: red;
    width: 40px;
    height: 40px;
    border-radius: 50px;
    color: white;
    font-weight: bold;
}
    .closes:hover {
        background-color: darkred;
    }
        .modal-price {
    font-size: 1.5rem;
    font-weight: bold;
    margin: 10px 0;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes zoomOutToDot {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        transform: scale(0);
        opacity: 0;
    }
}

.special-time {
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.4); /* Kırmızımsı yansıma */
    border-radius: 4px;
    animation: glow 1.5s infinite alternate;
}

.fire-icon {
    position: absolute;
    bottom: -6px;
    right: -6px;
    width: 20px;
    height: 20px;
    pointer-events: none; /* Tıklanabilirlikten çıkar */
}

@keyframes glow {
    from {
        box-shadow: 0 0 5px rgba(255, 0, 0, 0.2);
    }

    to {
        box-shadow: 0 0 15px rgba(255, 0, 0, 0.6);
    }
}


.wg-menu-item {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    flex-wrap: nowrap;
}

#mas_photo_left {
    display: none;
}
#mas_photo_right {
    display: block;
}

/* Mobilde: */
@media (max-width: 768px) {
    .wg-menu-item {
        flex-direction: column;
    }

    .wrap-image,
    .content {
        width: 100% !important;
    }

        .wrap-image img {
            width: 100%;
            height: auto;
            object-fit: cover;
            border-radius: 20px 20px 0 0 !important;
        }

    .content {
        padding: 15px;
    }

    #mas_photo_left {
        display: block;
    }
    #mas_photo_right {
        display: none;
    }
}

/* Masaüstü için varsayılan davranış: */
@media (min-width: 769px) {
    .wrap-image,
    .content {
        width: 50%;
    }

        .wrap-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
}


