/* ===== GENERAL ===== */
body {
    font-family: 'Helvetica', Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: #222;
    background: #fefcf7;
}

/* ===== HEADER ===== */
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 0 40px;
    display: flex;
    align-items: center;
    height: 80px;
    z-index: 3000;
    background: transparent;
}

#header-left {
    display: flex;
    align-items: center;
    gap: 25px;
}

#menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 50px;
    height: 50px;
    cursor: pointer;
}

#menu-toggle span {
    height: 3px;
    background-color: #222; /* default */
    border-radius: 2px;
    transition: all 0.3s ease;
}

#menu-toggle:hover span {
    background-color: #f2bd91; /* χρώμα hover */
}

#menu-toggle.active span {
    background-color: #f2bd91; /* χρώμα όταν γίνεται Χ */
}

#menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(6px,6px); }
#menu-toggle.active span:nth-child(2) { opacity: 0; }
#menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(6px,-6px); }

#lang-switch {
    display: flex;
    gap: 10px;
}
.lang-opt {
    font-size: 1.3rem;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.2s;
}
.lang-opt:hover { color: #f2bd91; }

/* ===== OVERLAY MENU ===== */
#overlay-menu {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.85);
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 50px;
}
#overlay-menu.active { display: flex; }

.overlay-links li a {
    color: #fff;
    font-size: 2.2rem;
    text-decoration: none;
    font-weight: 600;
}
.overlay-links li a:hover { color: #f2bd91; }

/* ===== HERO THEATER ===== */
#hero-theater {
    padding: 140px 20px 80px 20px;
    text-align: center;
    background: linear-gradient(to right, #fefcf7, #f2bd91);
}

#hero-theater h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 2px;
    color: #222;
}

/* ===== MAIN THEATER CONTENT ===== */
#theater-main {
    padding: 60px 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* ===== BOXES ===== */
.theater-box {
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
    transition: all 0.3s ease;
}

.theater-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.theater-box h2 {
    font-family: 'Helvetica', Arial, sans-serif;
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: #222;
}

.theater-box p, .theater-box ul {
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 15px;
}

.theater-box ul {
    list-style: none;
    padding-left: 0;
}
.theater-box ul li { margin-bottom: 8px; }

.theater-box em { font-style: italic; color: #f2bd91; }
.theater-box strong { font-weight: 700; color: #222; }

/* ===== CALENDAR / ΠΙΝΑΚΑΣ ΠΑΡΑΣΤΑΣΕΩΝ ===== */
#schedule-table {
    max-width: 700px;
    margin: 20px auto; /* κεντράρισμα */
    width: 90%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    font-size: 1rem;
}

#schedule-table thead {
    background: linear-gradient(90deg, #f2bd91, #fefcf7);
}

#schedule-table thead th {
    padding: 12px 15px;
    color: #222;
    font-weight: 700;
    text-align: left;
}

#schedule-table tbody tr {
    background: #fff;
    transition: all 0.3s ease;
}

#schedule-table tbody tr:nth-child(even) {
    background: #fdf7f0;
}

#schedule-table tbody tr:hover {
    background: #f2bd91;
    color: #222;
    transform: translateY(-2px);
}

#schedule-table tbody td {
    padding: 12px 15px;
}

#schedule-table tbody td a {
    color: #f28c57; /* έντονο θεατρικό πορτοκαλί/ροζ */
    text-decoration: none;
    font-weight: 600;
}

#schedule-table tbody td a:hover {
    text-decoration: underline;
}


/* Styling για εργαστήρια Σωματικού Θεάτρου */
.theater-box p {
    font-family: 'Inter', Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    color: #333;
    margin-bottom: 1rem;
}

.theater-box h2 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: #222;
    border-bottom: 2px solid #f2bd91;
    padding-bottom: 6px;
    margin-bottom: 20px;
}

.theater-box strong {
    color: #222;
}

.theater-box p strong {
    font-weight: 600;
}

/* Πλαίσιο πληροφοριών για εργαστήριο */
.workshop-info {
    background: linear-gradient(135deg, #fefcf7, #f2bd91);
    border-left: 6px solid #f28c57; /* έντονο χρώμα για highlight */
    padding: 20px;
    margin-top: 25px;
    border-radius: 10px;
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
}

.workshop-info p {
    margin: 10px 0;
    font-size: 1rem;
    line-height: 1.6;
    color: #222;
}

.workshop-info p strong {
    font-weight: 700;
    color: #222;
}


/* Gallery για παραστάσεις / εργαστήριο - Flex fallback */
.performance-gallery {
    display: flex;
    flex-wrap: wrap;       /* Οι εικόνες πάνε σε επόμενη σειρά αν δεν χωράνε */
    gap: 15px;             /* Κενά ανάμεσα στις εικόνες */
    margin-top: 25px;
    border-radius: 10px;
    justify-content: center; /* Κεντράρει τις εικόνες οριζόντια */
}

.performance-gallery img {
    flex: 1 1 200px;       /* min-width ~200px, μεγαλώνει ανάλογα */
    max-width: 300px;      /* μην ξεπεράσουν μέγεθος */
    height: auto;
    border-radius: 10px;
    object-fit: cover;     /* κοίταξε να φαίνεται σωστά η εικόνα */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.performance-gallery img:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
#lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    cursor: pointer;
}

.lightbox-inner {
    pointer-events: none; /* ⬅️ ΤΟ ΜΥΣΤΙΚΟ */
}

#lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 12px;
    pointer-events: auto; /* ⬅️ μόνο η εικόνα πιάνει click */
    cursor: default;
}

/* MOBILE / SMALL SCREENS */
@media (max-width: 768px) {

    /* Gallery γίνεται 1 στήλη */
    .performance-gallery {
        display: grid;                 /* grid για σωστή ευθυγράμμιση */
        grid-template-columns: 1fr;    /* μία στήλη */
        gap: 15px;
        justify-items: center;         /* κεντράρισμα εικόνων */
    }

    .performance-gallery img {
        width: 90%;        /* γεμίζει λίγο λιγότερο από το πλάτος */
        height: auto;      /* διατηρεί αναλογία */
        max-width: 300px;  /* δεν μεγαλώνει υπερβολικά */
    }

    /* Header padding */
    header {
        padding: 0 20px;
        height: 70px;
    }

    #hero-theater {
        padding: 120px 10px 60px 10px;
    }

    .theater-box {
        padding: 25px;
    }

    .theater-box h2 {
        font-size: 1.8rem;
    }

    .theater-box p, .workshop-info p {
        font-size: 0.95rem;
        line-height: 1.5;
    }
}
/* Πίνακας παραστάσεων mobile */
@media (max-width: 768px) {
    #schedule-table {
        width: 100%;          /* γεμίζει την οθόνη */
        font-size: 0.9rem;    /* μικραίνει λίγο το κείμενο */
    }

    #schedule-table thead, #schedule-table tbody, #schedule-table tr, #schedule-table th, #schedule-table td {
        display: block;       /* μετατρέπουμε κάθε γραμμή σε block για responsive */
    }

    #schedule-table thead {
        display: none;        /* κρύβουμε header, θα εμφανίζεται στο tbody */
    }

    #schedule-table tbody tr {
        margin-bottom: 15px;
        border: 1px solid #f2bd91;
        border-radius: 8px;
        padding: 10px;
        background: #fff;
        box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    }

    #schedule-table tbody td {
        display: flex;
        justify-content: space-between;
        padding: 6px 10px;
        border-bottom: 1px solid #f2bd91;
    }

    #schedule-table tbody td:last-child {
        border-bottom: none;
    }

    #schedule-table tbody td::before {
        content: attr(data-label); /* θα βάλουμε label για mobile */
        font-weight: 700;
        color: #f28c57;
        margin-right: 10px;
    }
}




/* ===== FOOTER ===== */
footer {
    background-color: #222;
    color: #f2bd91;
    text-align: center;
    padding: 50px 20px;
    font-size: 0.9rem;
}
#social-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}
#social-links a:hover { color: #f2bd91; }
