/* ==========================================
   1. Local Font Declarations
   ========================================== */
/* GFS Polyglot (OTF) */
@font-face {
    font-family: 'GFS Polyglot';
    src: url('../fonts/GFSPolyglot.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* GFS Neohellenic Variants (TTF) */
@font-face {
    font-family: 'GFS Neohellenic';
    src: url('../fonts/GFSNeohellenic-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'GFS Neohellenic';
    src: url('../fonts/GFSNeohellenic-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'GFS Neohellenic';
    src: url('../fonts/GFSNeohellenic-Italic.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'GFS Neohellenic';
    src: url('../fonts/GFSNeohellenic-BoldItalic.ttf') format('truetype');
    font-weight: bold;
    font-style: italic;
    font-display: swap;
}

/* ==========================================
   2. Reset & Base Styles
   ========================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'GFS Neohellenic', Tahoma, sans-serif;
    font-size: 18px;
    background: url('../images/bg.jpg') repeat center top;
    color: #ffffff;
    line-height: 1.5;
}

/* ==========================================
   3. Header (70px height & 50px top margin)
   ========================================== */
.site-header {
    margin-top: 50px;
    height: 70px;
    background: url('../images/bg_rect.png') repeat;
    width: 100%;
    display: flex;
    align-items: center;
}

.header-container {
    max-width: 980px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
    height: 100%;
}

.logo-img {
    width: auto;
    height: 55px;
    object-fit: contain;
    display: block;
}

/* Navigation Menu */
.main-nav {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 18px;
    align-items: center;
}

.nav-menu a {
    color: #0d3a64;
    font-family: 'GFS Polyglot', Tahoma, sans-serif;
    font-size: 18px;
    font-weight: normal;
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.2s ease-in-out;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #8FAFD1;
    text-decoration: none;
    text-shadow: 1px 1px 0px #888;
}

.nav-menu .lang-link {
    font-size: 13px;
    font-weight: normal;
}

/* ==========================================
   4. Main Content (Full Screen Width)
   ========================================== */
.main-content {
    width: 100%;
    background: url('../images/paper.jpg') repeat;
    padding: 20px 0;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.2), inset 0 -2px 5px rgba(0,0,0,0.2);
}

.hero-grid {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.video-box {
    width: 450px;
    height: 350px;
    border: 5px solid #ffffff;
    box-shadow: 0px 0px 15px #000;
    background-color: #000000;
    flex-shrink: 0;
}

.bio-preview {
    color: #ffffff;
    font-family: 'GFS Neohellenic', Tahoma, sans-serif;
    font-size: 18px;
    text-align: left;
    line-height: 1.6;
}

.monogram-img {
    float: left;
    width: 54px;
    height: 66px;
    margin-right: 12px;
    margin-bottom: 5px;
}

/* --- Custom Gallery --- */
.custom-gallery {
    max-width: 980px;
    width: 100%;
    margin: 0 auto;
    padding: 0 15px;
    text-align: center;
    position: relative;
    box-sizing: border-box;
}

/* Κεντρική Εικόνα */
.main-image-wrapper {
    background: #ffffff;
    padding: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    margin: 0 auto 15px auto;
    position: relative;
    cursor: pointer;
    display: inline-block;
    max-width: 100%;
}

.main-image-wrapper img {
    max-height: 560px;
    width: auto;
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    margin: 0 auto;
}

/* Ετικέτα (Label) */
.gallery-label {
    position: absolute;
    bottom: 12px;
    left: 50%;
    width: 420px;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 6px 16px;
    font-size: 0.85rem;
    border-radius: 4px;
    max-width: 95%;
    box-sizing: border-box;
    display: none;
}

/* Βελάκια Πλοήγησης Γκαλερί */
.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.85);
    color: #0d3a64;
    border: none;
    font-size: 22px;
    width: 36px;
    height: 36px;
    cursor: pointer;
    z-index: 5;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 3px;
    transition: background 0.2s;
}
.nav-arrow:hover { background: #ffffff; }
.prev-arrow { left: 15px; }
.next-arrow { right: 15px; }

/* ==========================================
   5. Μικρογραφίες (Thumbnails)
   ========================================== */
.thumbnails-wrapper {
    display: flex;
    justify-content: center;
    gap: 8px;
    max-width: 980px;
    width: 100%;
    margin: 0 auto;
    padding: 5px 0 10px 0;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    box-sizing: border-box;
    scroll-behavior: smooth;

    /* Απόκρυψη Scrollbar για Firefox & IE/Edge */
    scrollbar-width: none;
    -ms-overflow-style: none;
}

/* Απόκρυψη Scrollbar για Chrome, Safari & Edge */
.thumbnails-wrapper::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

.thumbnails-wrapper::before,
.thumbnails-wrapper::after {
    content: '';
    flex: 0 0 auto;
}

.thumbnails-wrapper img {
    height: 75px;
    width: auto;
    min-width: 55px;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.4);
    cursor: pointer;
    opacity: 0.7;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.thumbnails-wrapper img.active,
.thumbnails-wrapper img:hover {
    border-color: #ffffff;
    opacity: 1;
}

/* ==========================================
   6. Footer (Προσαρμοστική Αλλαγή Γραμμής)
   ========================================== */
.site-footer {
    width: 100%;
}

.footer-address-bar {
    background: url('../images/bg_rect.png') repeat;
    color: #0d3a64;
    font-size: 18px;
    font-weight: normal;
    min-height: 50px;
    height: auto;
    padding: 10px 0;
    font-family: 'GFS Neohellenic', Tahoma, sans-serif;
    display: flex;
    align-items: center;
}

.footer-address-container {
    max-width: 980px;
    width: 100%;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap; /* Επιτρέπει στα spans να αλλάζουν γραμμή */
    gap: 4px 8px;   /* Κενό μεταξύ διεύθυνσης και τηλεφώνων */
    line-height: 1.4;
}

.footer-address-text,
.footer-contact-text {
    display: inline-block;
    white-space: nowrap; /* Εμποδίζει το σπάσιμο της πρότασης στη μέση */
}

/* Responsive: Κεντράρισμα όταν διπλώνει */
@media (max-width: 850px) {
    .footer-address-container {
        justify-content: center;
        text-align: center;
    }
}

/* Διατήρηση εμφάνισης για το τηλέφωνο στο Footer (Χωρίς μπλε/υπογράμμιση) */
.footer-address-container a.footer-phone-link,
.footer-address-container a.footer-phone-link:visited,
.footer-address-container a.footer-phone-link:hover,
.footer-address-container a.footer-phone-link:active {
    color: inherit !important;
    text-decoration: none !important;
    font-family: inherit !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    border: none !important;
    outline: none !important;
}

/* ==========================================
   7. Lightbox Modal
   ========================================== */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.88);
    justify-content: center;
    align-items: center;
}

.lightbox-container {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.lightbox-content {
    max-width: 100%;
    max-height: 85vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border: 6px solid #ffffff;
    box-shadow: 0 0 25px rgba(0,0,0,0.9);
    display: block;
    margin: 0 auto;
}

.lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
    border: 2px solid #ffffff;
    font-size: 28px;
    width: 48px;
    height: 48px;
    cursor: pointer;
    z-index: 10000;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    transition: all 0.2s ease;
    user-select: none;
}

.lightbox-arrow:hover {
    background: rgba(255, 255, 255, 0.9);
    color: #000000;
}

.lightbox-prev { left: -60px; }
.lightbox-next { right: -60px; }

.lightbox-close {
    position: absolute;
    top: 15px;
    right: 25px;
    color: #ffffff;
    font-size: 45px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
    transition: color 0.3s;
    line-height: 1;
}

.lightbox-close:hover { color: #aaaaaa; }

/* ==========================================
   8. Responsive Media Queries
   ========================================== */
@media (max-width: 850px) {
    .site-header {
        height: auto;
        padding: 10px 0;
    }
    .header-container {
        flex-direction: column;
        gap: 15px;
    }
    .hero-grid {
        flex-direction: column;
        align-items: center;
    }
    .video-box {
        width: 100%;
        max-width: 450px;
        height: auto;
        aspect-ratio: 4 / 3;
    }
    .footer-address-container {
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .lightbox-prev { left: 10px; }
    .lightbox-next { right: 10px; }
}

@media (max-width: 640px) {
    .site-header {
        height: auto;
        padding: 15px 0;
    }

    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px 14px;
        padding-top: 10px;
    }

    .nav-menu a {
        font-size: 18px;
    }

    .nav-menu .lang-link {
        font-size: 13px;
    }
}