/* --- Reset & Βασικά Στυλ --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    scroll-behavior: smooth;
}

:root {
    --primary-color: #0070f3;
    --secondary-color: #1a1a1a;
    --light-bg: #f9f9f9;
    --text-color: #333;
    --white: #fff;
}

/* --- Σταθερό & Καθαρό Φόντο Σελίδας --- */
body {
    color: var(--text-color);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f4f6f9; 
}

.container {
    width: 85%;
    max-width: 1200px;
    margin: auto;
}

/* --- Header & Nav --- */
header {
    background-color: var(--white);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo-container {
    display: flex;
    align-items: center;
    text-decoration: none;
    border-radius: 4px;
}

.logo-img {
    width: 181px;  
    height: 98px;  
    display: block;
    object-fit: contain;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li a {
    color: var(--secondary-color);
    text-decoration: none;
    padding: 10px 20px;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links li a:hover {
    color: var(--primary-color);
}

.burger {
    display: none; 
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: var(--secondary-color);
    margin: 5px;
    transition: all 0.3s ease;
}

/* --- Στυλ για την Αρχική (Καθαρό Frame Φωτογραφίας) --- */
.hero-section-container {
    padding-top: 140px; 
    padding-bottom: 50px;
}

.hero-frame {
    height: 500px; 
    width: 100%;
    border-radius: 8px; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.1); 
    background-image: url('images/main-image.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* --- About Section (Στυλ Frame με 2 Στήλες) --- */
.about {
    padding: 60px 0; 
}

.about-frame {
    background-color: var(--white);
    padding: 60px 40px; 
    border-radius: 8px; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.1); 
    border: 1px solid rgba(0,0,0,0.02); 
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px; 
}

.about-text {
    flex: 1; 
}

.about-text h2 {
    font-size: 36px;
    margin-bottom: 25px;
    color: var(--secondary-color);
}

.about-text p {
    font-size: 17px;
    color: var(--text-color);
    margin-bottom: 30px;
}

.about-text ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px; 
}

.about-text ul li {
    font-size: 18px;
    display: flex;
    align-items: center;
}

.about-text ul li i {
    color: var(--primary-color); 
    margin-right: 15px;
    font-size: 20px;
}

.about-image-box {
    flex: 1; 
    height: 350px; 
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.about-img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    display: block;
}

/* --- Services Section --- */
.services {
    padding: 60px 0;
    text-align: center;
}

.services h2 {
    font-size: 36px;
    margin-bottom: 50px;
    color: var(--secondary-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    padding: 60px 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    color: var(--white);
    text-align: center;
    z-index: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)); 
    transition: transform 0.5s ease, background-image 0.5s ease;
    z-index: -1;
}

.serv-1::before { background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('images/image01.jpg'); }
.serv-2::before { background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('images/image02.jpg'); }
.serv-3::before { background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('images/image03.jpg'); }

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

.service-card:hover::before {
    transform: scale(1.1);
    background-image: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)); 
}

.service-card i {
    font-size: 45px;
    color: var(--primary-color);
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.service-card:hover i {
    transform: translateY(-5px);
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 22px;
    color: var(--white);
    text-shadow: 1px 1px 5px rgba(0,0,0,0.8);
}

.service-card p {
    color: #f0f0f0;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.8);
}

/* --- Contact Section (Στυλ Frame) --- */
.contact {
    padding: 60px 0;
}

.contact-frame {
    background-color: var(--white);
    padding: 60px 40px;
    border-radius: 8px; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.1); 
    border: 1px solid rgba(0,0,0,0.02);
    text-align: center;
}

.contact-frame h2 {
    font-size: 36px;
    margin-bottom: 40px;
    color: var(--secondary-color);
}

#contact-form {
    max-width: 600px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 20px; 
}

#contact-form input, 
#contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    background-color: var(--light-bg); 
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    outline: none;
}

#contact-form input:focus, 
#contact-form textarea:focus {
    border-color: var(--primary-color); 
    box-shadow: 0 0 8px rgba(0, 112, 243, 0.15); 
}

.contact-btn {
    width: 100%; 
    font-weight: 600;
    padding: 15px 30px;
}

/* --- Στυλ για το Checkbox Επικοινωνίας --- */
.form-privacy {
    display: flex;
    align-items: flex-start; 
    gap: 12px;
    text-align: left;
    margin: 5px 0 10px 0;
    padding: 0 5px;
}

/* Εξασφαλίζει ότι το Checkbox δεν θα παραμορφωθεί από το width: 100% */
#contact-form .form-privacy input[type="checkbox"] {
    width: auto !important; 
    height: auto !important;
    margin-top: 5px; 
    cursor: pointer;
}

.form-privacy label {
    font-size: 14px;
    color: #555;
    cursor: pointer;
    user-select: none; 
}

/* --- Footer --- */
footer {
    background: var(--secondary-color);
    color: var(--white);
    text-align: center;
    padding: 30px 0;
}

/* --- Contact Section (Στυλ Frame) --- */
.contact {
    padding: 60px 0;
}

.contact-frame {
    background-color: var(--white);
    padding: 60px 40px;
    border-radius: 8px; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.1); 
    border: 1px solid rgba(0,0,0,0.02);
}

.contact-frame h2 {
    font-size: 36px;
    margin-bottom: 50px;
    text-align: center;
    color: var(--secondary-color);
}

/* Μετατροπή του wrapper σε Flexbox για 2 στήλες */
.contact-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 50px;
}

/* Στυλ για την Αριστερή Στήλη (Στοιχεία) */
.contact-info {
    flex: 1;
    text-align: left;
}

.contact-info h3 {
    font-size: 24px;
    color: var(--secondary-color);
    margin-bottom: 25px;
    position: relative;
}

.contact-info h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.company-details {
    font-size: 16px;
    color: var(--text-color);
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.company-details i {
    color: var(--primary-color);
    font-size: 18px;
    width: 20px;
    text-align: center;
}

/* Στυλ για τη Δεξιά Στήλη (Φόρμα) */
#contact-form {
    flex: 1;
    width: 100%;
    max-width: unset; /* Αφαιρούμε το παλιό max-width για να απλωθεί σωστά στη στήλη */
    display: flex;
    flex-direction: column;
    gap: 20px; 
}

#contact-form input, 
#contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    background-color: var(--light-bg); 
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    outline: none;
}

#contact-form input:focus, 
#contact-form textarea:focus {
    border-color: var(--primary-color); 
    box-shadow: 0 0 8px rgba(0, 112, 243, 0.15); 
}

.contact-btn {
    width: 100%; 
    font-weight: 600;
    padding: 15px 30px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-btn:hover {
    background-color: #0056b3;
}


/* --- Responsive Layout (Κινητά & Τάμπλετ) --- */
@media screen and (max-width: 768px) {
    .logo-img {
        width: 120px;
        height: auto;
    }

    .burger {
        display: block !important; 
    }

    .nav-links {
        position: absolute;
        right: 0px;
        height: 92vh;
        top: 8vh;
        background-color: var(--white);
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 50%;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
        padding-top: 50px;
        box-shadow: -5px 0 15px rgba(0,0,0,0.05);
    }
    
    .nav-links li {
        margin: 20px 0;
    }

    .nav-active {
        transform: translateX(0%);
    }

    .toggle .line1 {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    .toggle .line2 {
        opacity: 0;
    }
    .toggle .line3 {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    .hero-section-container {
        padding-top: 110px; 
    }
    .hero-frame {
        height: 350px; 
    }
    .about {
        padding: 40px 0;
    }
    .about-frame {
        padding: 40px 20px; 
        flex-direction: column; 
        gap: 30px; /* ΔΙΟΡΘΩΘΗΚΕ: Πλήρης τιμή και κλείσιμο αγκυλών */
    }
    .about-text h2 {
        font-size: 28px;
    }
    .about-image-box {
        width: 100%;
        height: 250px;
    }
    .contact {
        padding: 40px 0;
    }
    .contact-frame {
        padding: 40px 20px; 
    }
    .contact-frame h2 {
        font-size: 28px;
        margin-bottom: 30px;
    }
	
	    .contact-wrapper {
        flex-direction: column; /* Οι στήλες γίνονται σειρές στα κινητά */
        gap: 40px;
    }
    
    .contact-info {
        text-align: center;
        width: 100%;
    }

    .contact-info h3::after {
        left: 50%;
        transform: translateX(-50%); /* Κεντράρισμα της γραμμής στα κινητά */
    }

    .company-details {
        justify-content: center;
    }
	
	.company-details .uni-icon {
    font-size: 20px;
    width: 25px;
    display: inline-block;
    text-align: center;
    /* Αν ο browser υποστηρίζει φίλτρα, τους δίνουμε μια μπλε απόχρωση για να ταιριάζουν */
    filter: sepia(100%) hue-rotate(190deg) saturate(500%); 
	}

}
