.fade-in {
    opacity: 0;
    transform: translateY(8px);
    animation: fadeInUp 1s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

button, .btn {
    transition: background 0.3s, color 0.3s, transform 0.2s;
}
button:hover, .btn:hover {
    background: #222;
    color: #fff;
    transform: scale(1.07);
}

img {
    transition: transform 0.4s cubic-bezier(.25,.8,.25,1), box-shadow 0.3s;
}
img:hover {
    transform: scale(1.04) rotate(-2deg);
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}

h1.fade-in, h2.fade-in, h3.fade-in {
    opacity: 0;
    animation: fadeInTitle 1.2s ease forwards;
    animation-delay: 0.2s;
}

@keyframes fadeInTitle {
    to {
        opacity: 1;
        top: 0;
    }
}
/* =================================
   0. GLOBAL SETTINGS
   ================================= */
html {
    scroll-behavior: smooth;
}

/* =================================
   1. FONT DEFINITIONS
   ================================= */
/* --- Normal --- */
@font-face {
    font-family: 'Zona Pro';
    src: url('fonts/ZonaPro-Thin.otf');
    font-weight: 100;
    font-style: normal;
}

@font-face {
    font-family: 'Zona Pro';
    src: url('fonts/ZonaPro-Hairline.otf');
    font-weight: 200;
    font-style: normal;
}

@font-face {
    font-family: 'Zona Pro';
    src: url('fonts/ZonaPro-Light.otf');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Zona Pro';
    src: url('fonts/ZonaPro-Regular.otf');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Zona Pro';
    src: url('fonts/ZonaPro-SemiBold.otf');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Zona Pro';
    src: url('fonts/ZonaPro-Bold.otf');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Zona Pro';
    src: url('fonts/ZonaPro-ExtraBold.otf');
    font-weight: 800;
    font-style: normal;
}

@font-face {
    font-family: 'Zona Pro';
    src: url('fonts/ZonaPro-Black.otf');
    font-weight: 900;
    font-style: normal;
}

/* --- Italic --- */
@font-face {
    font-family: 'Zona Pro';
    src: url('fonts/ZonaPro-ThinItalic.otf');
    font-weight: 100;
    font-style: italic;
}

@font-face {
    font-family: 'Zona Pro';
    src: url('fonts/ZonaPro-HairlineItalic.otf');
    font-weight: 200;
    font-style: italic;
}

@font-face {
    font-family: 'Zona Pro';
    src: url('fonts/ZonaPro-LightItalic.otf');
    font-weight: 300;
    font-style: italic;
}

@font-face {
    font-family: 'Zona Pro';
    src: url('fonts/ZonaPro-RegularItalic.otf');
    font-weight: 400;
    font-style: italic;
}

@font-face {
    font-family: 'Zona Pro';
    src: url('fonts/ZonaPro-SemiBoldItalic.otf');
    font-weight: 600;
    font-style: italic;
}

@font-face {
    font-family: 'Zona Pro';
    src: url('fonts/ZonaPro-BoldItalic.otf');
    font-weight: 700;
    font-style: italic;
}

@font-face {
    font-family: 'Zona Pro';
    src: url('fonts/ZonaPro-ExtraBoldItalic.otf');
    font-weight: 800;
    font-style: italic;
}

@font-face {
    font-family: 'Zona Pro';
    src: url('fonts/ZonaPro-BlackItalic.otf');
    font-weight: 900;
    font-style: italic;
}

/* Προσθήκη της νέας γραμματοσειράς Eurostile Round */
@font-face {
    font-family: 'Eurostile Round';
    /* Δίνουμε το νέο όνομα */
    src: url('fonts/eurostile-round-extended-medium.otf');
    font-weight: 500;
    /* Medium συνήθως αντιστοιχεί σε 500 */
}


/* =================================
   2. GENERAL BODY STYLING
   ================================= */
body {
    background-color: #f8f9fa;
    font-family: 'Zona Pro', sans-serif;
    font-weight: 400;
    color: #2c2c2c;
    margin: 0;
}

main {
    overflow-x: hidden;
}

/* =================================
   3. HEADER & NAVIGATION
   ================================= */
.main-header {
    background-color: #212529;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: padding 0.3s ease;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.logo img {
    height: 70px;
    display: block;
    transition: height 0.3s ease;
}

.main-nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
}

.main-nav li {
    margin-left: 35px;
}

.main-nav a {
    font-family: 'Zona Pro', sans-serif;
    font-weight: 700;
    font-size: 14px;
    color: #e9ecef;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.2s ease-in-out;
    padding: 10px;
    border-radius: 4px;
}

.main-nav a:hover {
    color: #ffffff;
    background-color: #444;
}

.main-nav a.active {
    color: #ffffff;
    background-color: #d93a2b;
}

/* =================================
   4. HERO SECTION
   ================================= */
.hero-section {
    background-image: url('images/hero-background.jpg');
    background-size: cover;
    background-position: center center;
    height: calc(100vh - 100px);
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #ffffff;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 0 20px;
    transition: transform 0.2s ease-out;
}

.hero-logo {
    max-width: 150px;
    height: auto;
    margin-bottom: 30px;
}

.hero-title {
    font-family: 'Eurostile Round', sans-serif;
    /* ΑΛΛΑΖΟΥΜΕ ΕΔΩ */
    font-size: 2.4rem;
    font-weight: 500;
    /* Το προσαρμόζουμε στο βάρος της γραμματοσειράς */
    text-transform: none;
    margin: 0 0 1.5rem 0;
    line-height: 1.4;
    letter-spacing: 0.5px;
    /* Προσθέτουμε λίγο κενό για καλύτερη ανάγνωση */
}

.cta-button {
    background-color: #d93a2b;
    color: #ffffff;
    font-family: 'ZonaPro-Bold', sans-serif;
    /* ΑΛΛΑΖΟΥΜΕ ΚΑΙ ΕΔΩ */
    font-weight: 500;
    /* Το προσαρμόζουμε κι εδώ */
    font-size: 1rem;
    text-decoration: none;
    text-transform: uppercase;
    padding: 15px 35px;
    border-radius: 4px;
    transition: all 0.2s ease-in-out;
    display: inline-block;
}

.cta-button:hover {
    background-color: #b02e21;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* =================================
   5. CONTENT SECTIONS
   ================================= */
.content-section {
    padding: 80px 20px;
}

.alternate-bg {
    background-color: #ffffff;
}

.content-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.content-container h2 {
    font-size: 2.8rem;
    font-weight: 900;
    color: #212529;
    margin-top: 0;
    margin-bottom: 40px;
}

.content-container p {
    font-size: 1.1rem;
    font-weight: 300;
    line-height: 1.8;
    text-align: left;
    margin-bottom: 1.5em;
}

.content-container p:last-of-type {
    margin-bottom: 0;
}

/* Subheadings & Lists for "What is Aikido" Section */
.content-container h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #2c2c2c;
    text-align: left;
    margin-top: 40px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.content-container .benefits-list {
    list-style: none;
    padding-left: 0;
    text-align: left;
    margin-bottom: 20px;
}

.content-container .benefits-list li {
    font-weight: 400;
    font-size: 1.1rem;
    padding-left: 35px;
    position: relative;
    margin-bottom: 15px;
    line-height: 1.6;
}

.content-container .benefits-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 2px;
    color: #d93a2b;
    font-weight: 900;
    font-size: 1.2rem;
}


/* =================================
   6. F.A.Q. SECTION
   ================================= */
.faq-container {
    text-align: left;
    width: 100%;
}

.faq-item {
    border-bottom: 1px solid #e0e0e0;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item summary {
    font-size: 1.2rem;
    font-weight: 700;
    color: #343a40;
    padding: 1.5em 0;
    cursor: pointer;
    position: relative;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    font-size: 1.8rem;
    font-weight: 300;
    color: #d93a2b;
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.2s ease-in-out;
}

.faq-item[open]>summary::after {
    content: '−';
    transform: translateY(-50%) rotate(180deg);
}

.faq-item[open]>summary {
    color: #d93a2b;
}

.faq-item p {
    padding-bottom: 1.5em;
    margin: 0;
    font-weight: 300;
    color: #555;
}

/* =================================
   7. FOOTER
   ================================= */
.site-footer {
    width: 100%;
    padding: 60px 20px 30px 20px;
    text-align: center;
    background-color: #2c2c2c;
    color: #a0a0a0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto 40px auto;
    display: flex;
    justify-content: space-between;
    text-align: left;
    gap: 40px;
    flex-wrap: wrap;
}

.footer-column {
    flex: 1;
    min-width: 280px;
}

.footer-column h4 {
    font-weight: 700;
    color: #ffffff;
    font-size: 1.1rem;
    margin-top: 0;
    margin-bottom: 15px;
}

.footer-column p {
    font-weight: 300;
    line-height: 1.7;
    margin: 0;
    color: #a0a0a0;
    text-align: left;
}

.footer-column p strong {
    font-weight: 700;
    color: #c0c0c0;
}

.social-icons a {
    display: inline-block;
    margin-right: 20px;
}

.social-icons svg,
.social-icons img {
    width: 28px;
    height: 28px;
    vertical-align: middle;
    transition: transform 0.2s ease-in-out;
}

.social-icons svg {
    fill: #a0a0a0;
    transition-property: fill, transform;
}

.social-icons a:hover svg,
.social-icons a:hover img {
    transform: translateY(-3px);
}

.social-icons a:hover svg {
    fill: #ffffff;
}

.store-badge {
    height: 50px;
    width: auto;
    transition: transform 0.2s ease-in-out;
}

.store-badge-link:hover .store-badge {
    transform: translateY(-3px);
}

.copyright-text {
    border-top: 1px solid #444;
    padding-top: 30px;
    margin-top: 30px;
    font-size: 0.9rem;
    color: #777;
}

/* =================================
   8. CONTACT PAGE STYLES
   ================================= */
.contact-details {
    list-style: none;
    padding: 0;
    text-align: left;
    max-width: 500px;
    margin: 30px auto 50px auto;
}

.contact-details li {
    font-size: 1.2rem;
    font-weight: 400;
    padding: 15px 0;
    border-bottom: 1px solid #e0e0e0;
}

.contact-details li:first-child {
    border-top: 1px solid #e0e0e0;
}

.contact-details li strong {
    font-weight: 700;
    color: #2c2c2c;
    margin-right: 10px;
}

.contact-details a {
    color: #d93a2b;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.contact-details a:hover {
    color: #2c2c2c;
}

.map-container {
    width: 100%;
    height: 450px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* =================================
   9. PROGRAM PAGE - NEW TABLE STYLE
   ================================= */
.schedule-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 40px;
    font-size: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    overflow: hidden;
}

.schedule-table thead tr {
    background-color: #2c2c2c;
    color: #ffffff;
    text-align: left;
}

.schedule-table th,
.schedule-table td {
    padding: 15px 20px;
}

.schedule-table th {
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #d93a2b;
}

.schedule-table tbody tr {
    border-bottom: 1px solid #eeeeee;
}

.schedule-table tbody tr:nth-of-type(even) {
    background-color: #f8f9fa;
}

.schedule-table tbody tr:last-of-type {
    border-bottom: none;
}

.schedule-table .day-cell {
    font-weight: 900;
    color: #2c2c2c;
    vertical-align: middle;
}

.tag-level {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: 400;
    display: inline-block;
    color: #2c2c2c;
    background-color: #e9ecef;
    border: 1px solid #dee2e6;
}

.tag-level.tag-kids {
    background-color: #d93a2b;
    color: #ffffff;
    border-color: #d93a2b;
}

.tag-level.tag-all {
    background-color: #2c2c2c;
    color: #ffffff;
    border-color: #2c2c2c;
}

/* =================================
   10. INSTRUCTORS PAGE STYLES
   ================================= */
.instructor-profile {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    text-align: left;
}

.instructor-photo {
    flex: 0 0 250px;
    width: 250px;
}

.instructor-photo img {
    width: 100%;
    height: auto;
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border: 5px solid #fff;
}

.instructor-bio {
    flex: 1;
}

.instructor-bio h3 {
    font-size: 2.2rem;
    font-weight: 900;
    margin-top: 0;
    margin-bottom: 5px;
    border-bottom: none;
    color: #2c2c2c;
}

.instructor-title {
    font-size: 1.2rem;
    font-weight: 400;
    color: #d93a2b;
    margin-top: 0;
    margin-bottom: 30px;
    border-bottom: none;
    padding-bottom: 0;
}


/* =================================
   11. RESPONSIVE DESIGN
   ================================= */

/* --- Tablet & Smaller Laptops --- */
@media (max-width: 992px) {
    .header-container {
        flex-direction: column;
        gap: 15px;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .main-nav li {
        margin-left: 15px;
    }

    .main-nav li:first-child {
        margin-left: 0;
    }

    .hero-title {
        font-size: 2rem;
    }

    .instructor-profile {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .instructor-bio {
        text-align: center;
    }

    .instructor-bio p {
        text-align: left;
    }
}

/* --- Mobile Devices --- */
@media (max-width: 768px) {
    .logo img {
        height: 60px;
    }

    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 5px;
    }

    .main-nav li {
        margin: 5px;
    }

    .main-nav a {
        font-size: 12px;
        padding: 8px;
    }

    .hero-section {
        height: 80vh;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .cta-button {
        padding: 12px 25px;
        font-size: 0.9rem;
    }

    .content-section {
        padding: 60px 20px;
    }

    .content-container h2 {
        font-size: 2.2rem;
        margin-bottom: 30px;
    }

    .content-container p {
        font-size: 1rem;
    }

    /* --- Final Footer Fix --- */
    .footer-container {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .footer-column {
        min-width: 0;
        margin-bottom: 0;
    }

    .footer-column p {
        text-align: center;
    }



    .social-icons {
        text-align: center;
    }

    .social-icons a {
        margin: 0 10px;
    }

    /* Program Page on Mobile */
    .schedule-table {
        font-size: 0.9rem;
    }

    .schedule-table th,
    .schedule-table td {
        padding: 12px 10px;
    }

    /* Instructor Page on Mobile */
    .instructor-photo {
        width: 200px;
        flex-basis: 200px;
    }

    .instructor-bio h3 {
        font-size: 1.8rem;
    }

    .instructor-title {
        font-size: 1.1rem;
    }
}