/* --- ΓΕΝΙΚΑ --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Montserrat', sans-serif; overflow-x: hidden; background-color: #f1f7fe; }

/* --- TOP BAR --- */
.top-yellow-bar { background: #ffb400; display: flex; justify-content: space-between; align-items: center; padding: 10px 5%; font-weight: bold; font-size: 13px; position: relative; z-index: 1100; }
.social-wrapper { display: flex; gap: 15px; }
.top-icon { width: 22px; height: 22px; }
.home-red { filter: invert(21%) sepia(100%) saturate(7414%) hue-rotate(359deg) brightness(94%) contrast(117%) !important; }

/* --- HEADER & NAV --- */
.header-content { display: flex; justify-content: center; align-items: center; padding: 20px 5%; position: relative; min-height: 150px; }
.main-nav { display: flex; gap: 15px; z-index: 1200; }
.nav-links { display: flex; gap: 15px; }
.nav-btn { background: #7a2b6d; color: white; text-decoration: none; padding: 10px 22px; border-radius: 30px; font-weight: bold; font-size: 13px; transition: 0.3s; }
.nav-btn:hover { background: #1a4a8e; transform: translateY(-2px); }
.nav-btn.active { background: #1a4a8e; }

.menu-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; z-index: 2000; }
.menu-toggle .bar { width: 30px; height: 3px; background-color: #7a2b6d; border-radius: 3px; }

.logo-container-right { position: absolute; right: 5%; top: 50%; transform: translateY(-50%); }
.main-logo { height: 170px; width: auto; }

/* --- HERO --- */
.hero-section { min-height: 100vh; display: flex; flex-direction: column; }
.hero-body { display: flex; justify-content: space-between; padding: 10px 5% 40px 5%; flex: 1; align-items: center; }
.degree-container { flex: 0 0 420px; margin-top: -40px; }
.degree-img { width: 100%; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.slogan-container { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; margin-top: -100px; }
.main-slogan { font-family: 'Caveat', cursive; color: #1a4a8e; font-size: 5.5vw; line-height: 1.1; text-align: center; }
.paper-plane { width: 280px; margin-top: 25px; }
.contact-details { flex: 0 0 350px; text-align: right; align-self: flex-end; color: #1a4a8e; font-weight: bold; padding-bottom: 40px; }
.contact-item { display: flex; align-items: center; justify-content: flex-end; margin-bottom: 12px; gap: 12px; }
.icon-colored { width: 28px; height: 28px; }
.name-signature { color: #7a2b6d; font-style: italic; font-size: 22px; margin-top: 15px; }

/* --- WELCOME --- */
.welcome-section { background-color: #ffffff; padding: 60px 0 0 0; display: flex; overflow: hidden; }
.welcome-section { 
    background-image: url('pattern-bg.jpg'); /* Προσθήκη της εικόνας pattern */
    background-repeat: repeat;               /* Επανάληψη του pattern */
    background-position: center; 
    padding: 60px 0 0 0; 
    display: flex; 
    overflow: hidden; 
}
.welcome-flex-container { display: flex; align-items: stretch; width: 100%; max-width: 1800px; margin: 0 auto; }
.welcome-text-side { flex: 1; padding: 0 5% 80px 5%; display: flex; flex-direction: column; justify-content: center; }
.welcome-title { color: #1a4a8e; font-size: 45px; margin-bottom: 25px; }
.p-black { color: #000000; font-size: 18px; line-height: 1.7; margin-bottom: 20px; }
.p-blue { color: #1a4a8e; font-size: 20px; font-weight: bold; }
.welcome-image-side { flex: 1.8; display: flex; align-items: flex-end; justify-content: flex-end; }
.students-img { width: 100%; max-width: 1100px; margin-bottom: -5px; }

/* --- GALLERY --- */
.gallery-section { background-color: #fce4ec; padding: 100px 0; overflow: hidden; }
.gallery-container { max-width: 1450px; margin: 0 auto; position: relative; height: 850px; }
.photo-item { position: absolute; background: white; box-shadow: 0 15px 35px rgba(0,0,0,0.15); opacity: 0; cursor: pointer; }
.photo-item img { width: 100%; display: block; }
.p1 { width: 680px; top: 60px; left: 120px; z-index: 10; }
.p2 { width: 380px; top: 0; right: 10px; }
.p3 { width: 480px; top: 390px; left: -20px; }
.p4 { width: 580px; top: 430px; left: 650px; }
.photo-item.animate { animation: reveal 0.8s ease-out forwards; }
@keyframes reveal { 0% { opacity: 0; transform: translateY(40px); } 100% { opacity: 1; transform: translateY(0); } }

/* --- FOOTER CTA --- */
.footer-cta-text {
    line-height: 1.8; 
}

.footer-cta-text p {
    font-size: 18px;  
}

.footer-cta-title {
    color: #1a4a8e;
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 35px; 
}
.footer-cta-section { width: 100%; height: 90vh; background-image: url('footer-girl.jpg'); background-size: cover; background-position: center; display: flex; flex-direction: column; justify-content: center; position: relative; }
.footer-cta-content { align-self: flex-end; max-width: 750px; text-align: right; padding: 40px; margin-right: 8%; background: rgba(255, 255, 255, 0.5); border-radius: 20px; }
.footer-cta-btn { display: inline-block; background-color: #7a2b6d; color: white !important; padding: 14px 32px; border-radius: 30px; font-weight: bold; margin-top: 30px; text-decoration: none; }
.cta-bottom-bar { position: absolute; bottom: 0; left: 0; width: 100%; height: 60px; background: linear-gradient(to right, #7a2b6d, #1a4a8e); display: flex; justify-content: space-between; align-items: center; padding: 0 5%; }
.cta-bottom-left { color: white; font-weight: bold; display: flex; align-items: center; gap: 10px; }
.cta-bottom-socials {
    display: flex;
    gap: 20px; 
}

/* MODAL & ARROWS */
.modal { display: none; position: fixed; z-index: 3000; left: 0; top: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.9); align-items: center; justify-content: center; }
.modal-content { max-width: 80%; max-height: 80%; border: 4px solid white; }
.close-modal { position: absolute; top: 20px; right: 35px; color: white; font-size: 50px; cursor: pointer; }
.nav-arrow { position: absolute; top: 50%; color: white; font-size: 60px; font-weight: bold; padding: 20px; cursor: pointer; z-index: 3100; transition: 0.3s; }
.prev-modal { left: 5%; }
.next-modal { right: 5%; }
.nav-arrow:hover { color: #ffb400; }

/* --- RESPONSIVE --- */
@media (max-width: 1100px) {
    .menu-toggle { display: flex; position: absolute; right: 20px; top: 20px; }
    .nav-links { display: none; flex-direction: column; width: 100%; background: white; padding: 20px; position: absolute; top: 80px; left: 0; box-shadow: 0 5px 15px rgba(0,0,0,0.1); z-index: 2000; align-items: center; }
    .nav-links.active { display: flex; }
    .nav-btn { width: 80%; text-align: center; }
    .header-content { flex-direction: column; padding-top: 60px; }
    .main-logo { height: 100px; }
    .logo-container-right { position: static; transform: none; margin-top: 20px; }
    .hero-body { flex-direction: column; text-align: center; }
    .degree-container { width: 80%; margin-bottom: 20px; }
    .main-slogan { font-size: 40px; }
    .contact-details { text-align: center; width: 100%; margin-top: 40px; padding-bottom: 80px;}
    .contact-item { justify-content: center; }
    .welcome-flex-container { flex-direction: column; }
    .welcome-image-side { justify-content: center; }
    .footer-cta-content { align-self: center; margin-right: 0; text-align: center; width: 90%; }
    .cta-bottom-bar { flex-direction: column; height: auto; padding: 15px; gap: 10px; }
}
@media (max-width: 1100px) {
    .hero-body {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding-top: 20px;
    }

    .degree-container {
        width: 70%;
        margin: 0 auto 20px auto;
        order: 1; 
    }

    .slogan-container {
        margin: 20px 0;
        order: 2; 
    }

    .main-slogan {
        font-size: 45px;
        line-height: 1.2;
    }

    .paper-plane {
        width: 180px;
    }

    .contact-details {
        width: 100%;
        text-align: center;
        align-self: center;
        padding: 30px 0;
        margin-top: 20px;
        order: 3; 
        border-top: 1px dashed #ccc; 
    }

    .contact-item {
        justify-content: center;
        margin-bottom: 15px;
    }

    .name-signature {
        margin-top: 10px;
    }
}