/* ==========================================================================
   1. ΜΕΤΑΒΛΗΤΕΣ & ΧΡΩΜΑΤΑ 
   ========================================================================== */
:root {
    --primary: #668b94;           /*  */
    --accent: #526f76;            /*  */
    --light-bg: #f0f3f4;          /*  */
    --text-dark: #222222;         /* Σκούρο κείμενο */
    --white: #ffffff;
    --gray-placeholder: #e2e8f0;  /* Χρώμα για τα πλαίσια αναμονής εικόνων */
    --border-color: #cbd5e1;
}

/* ==========================================================================
   2. ΓΕΝΙΚΑ ΣΤΥΛ ΣΕΛΙΔΑΣ
   ========================================================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    scroll-behavior: smooth;
}

body {
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
}
.hero {
    /* Το χρώμα #668b94 με 85% διαφάνεια ως φίλτρο ΠΑΝΩ από τη φωτογραφία σας */
    background: linear-gradient(rgba(102, 139, 148, 0.85), rgba(102, 139, 148, 0.7)), 
                url('hero-bg.jpg') no-repeat center center/cover !important;
    height: 75vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white);
    padding: 20px;
    margin-top: 85px;
}



/* Γενική κλάση για οποιαδήποτε μεμονωμένη responsive φωτογραφία στο site */
.responsive-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 6px;
}

/* ==========================================================================
   3. NAVIGATION / MENU (ΧΩΡΟΣ ΓΙΑ LOGO)
   ========================================================================== */
header {
    background: var(--white);
    color: var(--primary);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
}

.logo-box {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-box img {
    max-height: 75px;
    width: auto;
    display: block;
}

.logo-text {
    font-size: 22px;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: 0.5px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    font-weight: 600;
    color: var(--primary);
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: var(--accent);
}

/* ==========================================================================
   4. HERO SECTION (ΑΡΧΙΚΗ)
   ========================================================================== */
.hero {
    background: linear-gradient(rgba(102, 139, 148, 0.8), rgba(102, 139, 148, 0.8)), #002855;
    height: 75vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white);
    padding: 20px;
    margin-top: 85px;
}

.hero-content h1 {
    font-size: 46px;
    font-weight: 700;
    margin-bottom: 15px;
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 35px;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.btn-call {
    background: var(--accent);
    color: var(--white);
    padding: 14px 35px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 164, 186, 0.4);
    display: inline-block;
}

.btn-call:hover {
    background: #00889b;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 164, 186, 0.6);
}

/* ==========================================================================
   5. ΔΟΜΗ SECTIONS & ΤΙΤΛΟΙ
   ========================================================================== */
section {
    padding: 90px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 45px;
    color: var(--primary);
}

.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 4px;
    background: var(--accent);
    margin: 12px auto 0;
    border-radius: 2px;
}

/* ==========================================================================
   6. ΥΠΗΡΕΣΙΕΣ (GRID)
   ========================================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--light-bg);
    padding: 40px 30px;
    border-radius: 6px;
    text-align: center;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    background: var(--white);
    box-shadow: 0 10px 30px rgba(0, 40, 85, 0.08);
    border-bottom: 3px solid var(--accent);
}

.service-icon {
    font-size: 45px;
    color: var(--accent);
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
    color: var(--primary);
}

/* ==========================================================================
   7. RESPONSIVE ΓΚΑΛΕΡΙ 5 ΦΩΤΟΓΡΑΦΙΩΝ ΣΕ ΣΕΙΡΑ
   ========================================================================== */
.gallery-container {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* 5 φωτογραφίες δίπλα-δίπλα */
    gap: 12px;
}

.gallery-photo {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    height: 240px; 
    background-color: var(--gray-placeholder);
    border: 2px dashed var(--border-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #64748b;
    font-weight: 600;
    font-size: 13px;
    text-align: center;
    padding: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
    transition: all 0.3s ease;
}

.gallery-photo:hover {
    border-color: var(--accent);
    color: var(--primary);
    background-color: #f1f5f9;
}

.gallery-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    transition: transform 0.4s ease;
}

.gallery-photo:hover img {
    transform: scale(1.06);
}

.placeholder-icon {
    font-size: 32px;
    margin-bottom: 8px;
    color: #94a3b8;
}

/* ==========================================================================
   8. ΕΠΙΚΟΙΝΩΝΙΑ & FOOTER
   ========================================================================== */
.contact-section-bg {
    background-color: var(--light-bg);
    max-width: 100%;
}

.contact-box {
    text-align: center;
    padding: 20px 0;
}

.contact-detail {
    font-size: 22px;
    margin: 25px 0;
    color: var(--text-dark);
    font-weight: 500;
}

.contact-detail a {
    color: var(--accent);
    font-weight: 700;
}

footer {
    background: var(--primary);
    color: var(--white);
    text-align: center;
    padding: 25px;
    font-size: 15px;
}

/* ==========================================================================
   9. MEDIA QUERIES (RESPONSIVE DESIGN)
   ========================================================================== */

/* Α) Όταν η οθόνη είναι Οριζόντια (Landscape) σε κινητά/tablets */
@media (max-width: 992px) and (orientation: landscape) {
    .gallery-container {
        grid-template-columns: repeat(4, 1fr); /* 4 στη σειρά */
    }
    .gallery-photo {
        height: 180px; /* Μικρότερο ύψος για να βολεύει στο landscape */
    }
}

/* Β) Για Tablet σε Κάθετη διάταξη (Portrait) */
@media (max-width: 1024px) and (orientation: portrait) {
    .gallery-container {
        grid-template-columns: repeat(3, 1fr); /* 3 στη σειρά */
    }
}

/* Γ) Για Κινητά σε Κάθετη διάταξη (Portrait) */
@media (max-width: 600px) and (orientation: portrait) {
    nav {
        display: none; /* Απόκρυψη μενού στα κινητά */
    }
    .hero-content h1 {
        font-size: 34px;
    }
    .hero-content p {
        font-size: 16px;
    }
    .gallery-container {
        grid-template-columns: repeat(2, 1fr); /* 2 στη σειρά */
    }
    .gallery-photo {
        height: 200px;
    }
}
/* Container για τις φωτογραφίες (η μία κάτω από την άλλη) */
.gallery-vertical-container {
    display: flex;
    flex-direction: column;
    gap: 30px;              /* Απόσταση μεταξύ των φωτογραφιών */
    max-width: 800px;       /* Μέγιστο πλάτος για μεγάλες οθόνες */
    margin: 0 auto;         /* Κεντράρισμα */
    padding: 0 15px;
}

/* Το πλαίσιο της κάθε φωτογραφίας - ΤΩΡΑ ΔΕΝ ΕΧΕΙ ΣΤΑΘΕΡΟ ΥΨΟΣ */
.gallery-vertical-photo {
    width: 100%;            /* Πιάνει όλο το responsive πλάτος της οθόνης */
    height: auto;           /* Το ύψος υπολογίζεται αυτόματα από την ίδια την εικόνα */
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    overflow: hidden;
    background: none;       /* Αφαίρεση φόντου αναμονής */
    border: none;           /* Αφαίρεση διακεκομμένης γραμμής */
}

/* Η εικόνα - ΠΛΗΡΩΣ RESPONSIVE ΚΑΙ ΟΛΟΚΛΗΡΗ */
.gallery-vertical-photo img {
    width: 100% !important;  /* Απλώνει σε όλο το πλάτος */
    height: auto !important; /* Αλλάζει το ύψος αναλογικά για να ΜΗΝ ΚΟΒΕΤΑΙ */
    display: block;          /* Αφαιρεί κενά στο κάτω μέρος */
    object-fit: contain;     /* Εγγυάται ότι η εικόνα χωράει ολόκληρη χωρίς κόψιμο */
    position: static;        /* Επαναφορά της θέσης για να λειτουργήσει το αυτόματο ύψος */
}


/* RESPONSIVE ΓΙΑ ΚΙΝΗΤΑ (Μικραίνει το ύψος για να ταιριάζει στις μικρές οθόνες) */
@media (max-width: 768px) {
    .gallery-vertical-photo {
        height: 250px;     /* Πιο μακρόστενο ύψος στα κινητά για καλύτερο scrolling */
    }
}
