/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html, body {
        height: 100%;
        margin: 0;
    }
body {
    font-family: 'Syne', sans-serif;
    line-height: 1.6;
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}
main {
        flex: 1;
        display: flex;
        flex-direction: column;
    }


.logo-text {
    font-size: 24px;
    font-weight: bold;
    fill: linear-gradient(135deg, #0F8099 0%, #adb1b1 100%);
}

/* Header Styles */
.header {
    background: linear-gradient(135deg, #0F8099 0%, #adb1b1 100%);
    padding: 8px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.logo h1 {
    color: white;
    font-size: 1.8em;
    font-weight: bold;
    letter-spacing: 2px;
    margin: 0;
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.nav-link.active {
    background: rgba(255, 255, 255, 0.3);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: white;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 60%;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background-color: white;
    margin: 4px 0;
    transition: 0.3s;
    border-radius: 3px;
}

/* Hamburger Animation */
.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-6px, -6px);
}

/* Mobile Menu Overlay */
.nav-menu.mobile-active {
    display: flex !important;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.3em;
}

.social-icon.facebook {
    background-color: #1877f2;
}

.social-icon.youtube {
    background-color: #ff0000;
}

.social-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* Section Styles */
.section {
    min-height: 30vh;
    padding: 20px 0;
    display: flex;
    align-items: center;
}

.section-news {
    background: linear-gradient(135deg, #E7E7E7 0%, #EFEFEF 100%);
}

.section-education {
    background: linear-gradient(135deg, #C8E5F1 0%, #a2b3b8 100%);
}

.section-agriculture {
    background: linear-gradient(135deg, #A0D0A2 0%, #EFEFEF 100%);
}

.section-title {
    color: white;
    font-size: 3em;
    text-align: center;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    font-weight: bold;
}

/* Buttons Grid */
.buttons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 300px));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    justify-content: center;
}

.image-button {
    width: 300px;
    height: 225px;
    position: relative;
    display: block;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    text-decoration: none;
    aspect-ratio: 4/3;
}

.image-button img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.placeholder-button {
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 30px;
}

.placeholder-button i {
    font-size: 4em;
    color: #667eea;
}

.placeholder-button span {
    font-size: 1.3em;
    font-weight: 600;
    color: #333;
    text-align: center;
}

.image-button:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}

/* Footer Styles */
.footer {
    background: linear-gradient(135deg, #0F8099 0%, #adb1b1 100%);
    padding: 30px 0;
    color: white;
}

.footer .container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
    gap: 20px;
}

.footer-logo h1 {
    color: white;
    font-size: 1.8em;
    font-weight: bold;
    letter-spacing: 2px;
}

.footer-link {
    text-align: center;
}

.footer-link a {
    color: white;
    text-decoration: none;
    font-size: 1.1em;
    padding: 10px 25px;
    border: 2px solid white;
    border-radius: 25px;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-link a:hover {
    background-color: white;
    color: #667eea;
    transform: scale(1.05);
}

/* Contact Page Styles */
.contact-section {
    min-height: calc(100vh - 200px);
    padding: 80px 0;
    background: linear-gradient(135deg, #e0c3fc 0%, #8ec5fc 100%);
}

/* Flash Messages */
.flash-message {
    max-width: 1200px;
    margin: 0 auto 30px;
    padding: 15px 50px 15px 20px;
    border-radius: 10px;
    font-size: 1.1em;
    position: relative;
    animation: slideIn 0.3s ease;
}

.flash-message.success {
    background-color: #d4edda;
    border: 2px solid #28a745;
    color: #155724;
}

.flash-message.error {
    background-color: #f8d7da;
    border: 2px solid #dc3545;
    color: #721c24;
}

.close-flash {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 1.8em;
    cursor: pointer;
    color: inherit;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.close-flash:hover {
    opacity: 1;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-title {
    color: #333;
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 50px;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.info-item i {
    font-size: 2em;
    color: #667eea;
    margin-top: 5px;
}

.info-item h3 {
    color: #333;
    font-size: 1.3em;
    margin-bottom: 5px;
}

.info-item p {
    color: #666;
    font-size: 1em;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    color: #333;
    font-weight: 600;
    font-size: 1em;
}

.form-group input,
.form-group textarea {
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1em;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
}

.submit-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.back-link {
    text-align: center;
    margin-top: 40px;
}

.back-link a {
    color: #667eea;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: 600;
    transition: color 0.3s ease;
}

.back-link a:hover {
    color: #764ba2;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .contact-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header .container {
        flex-wrap: nowrap;
        gap: 15px;
    }

    /* Εμφάνιση hamburger menu */
    .hamburger {
        display: flex;
    }

    /* Απόκρυψη navigation menu by default σε mobile */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 70%;
        max-width: 300px;
        background: linear-gradient(135deg, #0F8099 0%, #adb1b1 100%);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0,0,0,0.3);
        z-index: 1000;
    }

    .nav-menu.mobile-active {
        right: 0;
    }

    .nav-link {
        font-size: 1.2em;
        padding: 12px 25px;
        width: 80%;
        text-align: center;
    }

    .section-title {
        font-size: 2em;
    }

    .buttons-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .footer .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 20px;
    }

    .contact-content {
        padding: 30px 20px;
    }

    .placeholder-button i {
        font-size: 3em;
    }

    .placeholder-button span {
        font-size: 1.1em;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 1.5em;
    }

    .social-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1em;
    }

    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 1.8em;
        margin-bottom: 40px;
    }
}