/* Reset & Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #ffffff; 
    color: #000000; 
    line-height: 1.4;
    padding-bottom: 140px; /* Αυξημένο κενό για το footer */
}

/* Header & Logo */
.menu-header {
    background-color: #ffffff;
    color: #000000;
    text-align: center;
    padding: 30px 20px;
    border-bottom: 3px solid #000000; 
    margin-bottom: 35px;
}

.logo-container {
    margin-bottom: 5px;
}

.main-logo {
    width: 300px; 
    height: 300px;
    object-fit: cover;
    clip-path: circle(19% at 50% 43%); 
    margin-top: -80px;
    margin-bottom: -110px; 
}

.menu-header h1 {
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: 3px;
    margin-bottom: 4px;
}

.menu-header h2 {
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 5px;
    color: #000000;
    margin-bottom: 8px;
}

.tagline {
    font-style: italic;
    color: #444444; 
    font-size: 0.95rem;
}

/* Menu Container & Grid */
.menu-container {
    max-width: 1250px;
    margin: 0 auto;
    padding: 0 20px;
}

.pizza-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

@media (min-width: 992px) {
    .pizza-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
}

/* Πλαίσιο Προϊόντος (Pizza Card) */
.pizza-card {
    background: #ffffff;
    border: 2px solid #000000; 
    border-radius: 10px; 
    padding: 10px 12px; 
    display: grid;
    grid-template-columns: auto 1fr auto; 
    gap: 12px; 
    align-items: center; 
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

/* Όταν η κάρτα έχει φωτογραφία, γίνεται πατήσιμη */
.pizza-card.clickable {
    cursor: pointer;
}

.pizza-card.clickable:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    background-color: #fafafa;
}

/* Το πλαίσιο του αριθμού */
.pizza-number {
    border: 2px solid #000000; 
    border-radius: 6px;
    padding: 5px 8px;
    font-weight: 800;
    font-size: 1rem;
    color: #000000;
    text-align: center;
    min-width: 42px;
}

/* Μεσαίο τμήμα: Όνομα & Υλικά */
.pizza-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.pizza-title {
    font-size: 1rem;
    font-weight: 800;
    color: #000000;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
    line-height: 1.1;
}

.pizza-ingredients {
    font-size: 0.75rem; 
    color: #555555; 
    text-transform: uppercase; 
    font-weight: 500;
    line-height: 1.3;
}

/* Δεξί τμήμα: Τιμή */
.pizza-price {
    font-weight: 800;
    font-size: 1rem;
    color: #000000;
    white-space: nowrap; 
    text-align: right;
}

/* =========================================
   ΕΞΕΛΙΓΜΕΝΟ DESIGN ΓΙΑ ΤΟ 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.75); /* Σκούρο φόντο πίσω */
    backdrop-filter: blur(4px); /* Θολώνει ελαφρώς το μενού από πίσω */
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* Το πλαίσιο του Popup */
.modal-content {
    background-color: #ffffff;
    border: 3px solid #000000;
    border-radius: 16px;
    width: 100%;
    max-width: 500px; /* Μέγιστο πλάτος για να φαίνεται τέλεια */
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    animation: zoomIn 0.25s ease-out; /* Εφέ απαλής μεγέθυνσης */
}

@keyframes zoomIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* Κουμπί Κλεισίματος (X) */
.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    color: #ffffff;
    font-size: 2.2rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
    text-shadow: 0 2px 6px rgba(0,0,0,0.8); /* Σκιά για να φαίνεται πάνω από ανοιχτόχρωμες φωτό */
    transition: transform 0.15s ease;
}

.close-modal:hover {
    transform: scale(1.1);
}

/* Φωτογραφία μέσα στο Modal */
.modal-image-container {
    width: 100%;
    height: 320px; /* Ύψος φωτογραφίας */
    background-color: #f0f0f0;
}

#modal-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Γεμίζει το πλαίσιο ομοιόμορφα */
}

/* Κείμενα μέσα στο Modal */
.modal-details {
    padding: 25px 20px;
}

.modal-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
    border-bottom: 2px solid #e1e8ed;
    padding-bottom: 12px;
}

#modal-title {
    flex-grow: 1;
    font-size: 1.3rem;
    font-weight: 800;
    color: #000000;
    margin-left: 12px;
    margin-right: 12px;
}

#modal-ingredients {
    font-size: 0.9rem;
    color: #333333;
    text-transform: uppercase;
    font-weight: 600;
    line-height: 1.5;
}

/* Footer (Sticky) */
.menu-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    color: #000000;
    padding: 15px 20px;
    border-top: 2.5px solid #000000; 
    z-index: 100;
}

.footer-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 700;
    font-size: 0.95rem;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 600px) {
    .footer-info {
        flex-direction: row;
        justify-content: space-around;
    }
}

.footer-link {
    color: inherit; 
    text-decoration: none; 
    transition: opacity 0.2s ease;
}

.footer-link:hover, 
.footer-link:active {
    opacity: 0.6; 
}

/* Κουμπί Wolt */
.wolt-btn {
    background-color: #00c2e8; 
    color: #ffffff !important; 
    text-decoration: none;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    padding: 10px 22px;
    border-radius: 25px; 
    box-shadow: 0 4px 10px rgba(0, 194, 232, 0.3);
    transition: transform 0.2s ease, background-color 0.2s ease;
    text-align: center;
}

.wolt-btn:hover,
.wolt-btn:active {
    background-color: #00b0d4;
    transform: scale(1.03);
}

@media (max-width: 599px) {
    .wolt-btn {
        width: 100%; 
        order: -1; 
    }
}
