/* Progress - Main styles. Bold (LCP) + Regular (services descriptions); Light in fonts-defer */
@font-face {
    font-family: 'Zona Pro';
    src: url('../fonts/ZonaPro-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Zona Pro';
    src: url('../fonts/ZonaPro-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

:root {
    --color-primary: #1e3a5f;
    --color-primary-light: #2d5a8a;
    --color-accent: #4a7ab5;
    --color-accent-light: #7ba3d4;
    --color-text: #2c3e50;
    --color-text-muted: #5a6c7d;
    --color-bg: #ffffff;
    --color-bg-light: #f5f7fa;
    --font-sans: 'Zona Pro', -apple-system, BlinkMacSystemFont, sans-serif;
    --services-blue: #10186a;
    --header-height: 84px;
    --max-width: 1280px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.5;
    color: var(--color-text);
    background: var(--color-bg);
}

a {
    color: inherit;
    text-decoration: none;
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 16px;
    z-index: 9999;
    padding: 12px 16px;
    background: #10186a;
    color: #fff;
    font-weight: 600;
    border-radius: 4px;
    transition: top 0.2s;
}

.skip-link:focus {
    top: 16px;
    outline: 2px solid #fff;
    outline-offset: 2px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Header – transparent by default, white bg on scroll */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: var(--header-height);
    background: transparent;
    box-shadow: none;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.header-inner {
    width: 92%;
    max-width: 92vw;
    margin: 0 auto;
    padding: 20px 16px 0 16px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

/* Logo: white over hero, dark when scrolled */
.logo {
    display: flex;
    align-items: center;
    gap: 14px;
    font-weight: 700;
    font-size: 2.25rem;
    color: #fff;
    transition: color 0.25s ease;
}

.site-header.scrolled .logo {
    color: var(--color-primary);
}

.logo-light,
.logo-dark {
    width: 180px;
    height: 90px;
    object-fit: contain;
    object-position: 0% 0%;
    display: none;
}

.site-header.has-light-logo:not(.scrolled) .logo-light {
    display: block;
}

.site-header.has-dark-logo.scrolled .logo-dark {
    display: block;
}

.logo-fallback {
    display: none;
    align-items: center;
    gap: 14px;
}

.site-header:not(.scrolled):not(.has-light-logo) .logo-fallback,
.site-header.scrolled:not(.has-dark-logo) .logo-fallback {
    display: flex;
}

.logo-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
    font-size: 1.65rem;
    border-radius: 4px;
    transition: background 0.25s ease, color 0.25s ease;
}

.site-header.scrolled .logo-icon {
    background: var(--color-primary);
    color: #fff;
}

.logo-tagline {
    font-weight: 400;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-left: 4px;
    transition: color 0.25s ease;
}

.site-header.scrolled .logo-tagline {
    color: var(--color-text-muted);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
    margin-left: 32px;
}

.main-nav a {
    font-size: 1.2rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.95);
    padding: 10px 0;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-color 0.2s;
}

.site-header.scrolled .main-nav a {
    color: var(--color-text);
}

.main-nav a:hover {
    color: #fff;
    border-bottom-color: rgba(255, 255, 255, 0.6);
}

.site-header.scrolled .main-nav a:hover {
    color: var(--color-primary);
    border-bottom-color: var(--color-accent);
}

.lang-switcher {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    font-weight: 300;
    margin-right: 0;
}

.lang-switcher a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.2s;
}

.site-header.scrolled .lang-switcher a {
    color: var(--color-text-muted);
}

.lang-switcher a.active {
    color: #fff;
}

.site-header.scrolled .lang-switcher a.active {
    color: var(--color-primary);
}

.lang-switcher a:not(.active):hover {
    color: #fff;
}

.site-header.scrolled .lang-switcher a:not(.active):hover {
    color: var(--color-primary);
}

.lang-switcher span {
    color: rgba(255, 255, 255, 0.4);
}

.site-header.scrolled .lang-switcher span {
    color: #ccc;
}

/* Hero Slider */
.hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 480px;
    overflow: hidden;
}

.hero-slider.no-slides {
    background: linear-gradient(135deg, #1e3a5f 0%, #2d5a8a 40%, #10186a 100%);
}

.hero-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px;
    z-index: 1;
}

.hero-placeholder h1 {
    margin: 0;
    font-size: clamp(2.75rem, 6.5vw, 4.75rem);
    font-weight: 700;
    line-height: 1.15;
    color: #fff;
    text-align: center;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.slider-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease, visibility 0.6s;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(30, 58, 95, 0.4) 0%, rgba(30, 58, 95, 0.6) 100%);
}

.slide-content {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px;
}

.slide-content h1 {
    margin: 0;
    font-size: clamp(2.75rem, 6.5vw, 4.75rem);
    font-weight: 700;
    line-height: 1.15;
    color: #fff;
    text-align: center;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.slider-pagination {
    position: absolute;
    bottom: 40px;
    left: 65px;
    z-index: 10;
    display: flex;
    gap: 12px;
}

.pagination-dot {
    width: 88px;
    height: 88px;
    padding: 0;
    border: 2px solid #ffffff;
    background: transparent;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.25s;
    border-radius: 20px;
}

.pagination-dot:hover {
    border-color: #fff;
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.pagination-dot.active {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.slider-arrows {
    position: absolute;
    bottom: 40px;
    right: 56px;
    z-index: 10;
    display: flex;
    gap: 10px;
}

.arrow {
    width: 78px;
    height: 78px;
    padding: 0;
    border: 2px solid #ffffff;
    background: transparent;
    color: #fff;
    font-size: 1.75rem;
    font-family: inherit;
    cursor: pointer;
    border-radius: 13px;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.arrow:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #fff;
}

/* Services – XD specs */
.services-section {
    max-width: min(1914px, 95vw); /* +15% vs 1664px */
    margin: 0 auto;
    padding: 100px 32px 120px;
}

.section-title {
    margin: 0 0 56px;
    font-size: clamp(2.5rem, 5vw, 67px);
    line-height: 1.51;
    font-weight: 700;
    font-family: var(--font-sans);
    color: #10186a;
    text-align: center;
    letter-spacing: 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.service-card {
    display: flex;
    flex-direction: column;
    padding: 40px 36px;
    background: #ffffff;
    border: 1px solid #e8ecf1;
    border-radius: 10px;
    transition: border-color 0.3s, color 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

/* Image layer: real element, visible only on hover */
.service-card-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.service-card:hover .service-card-bg {
    opacity: 1;
}

/* Blue overlay on hover (0.8) */
.service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: var(--color-primary);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.service-card:hover {
    border-color: var(--color-primary);
    color: #fff;
    box-shadow: 0 12px 32px rgba(30, 58, 95, 0.2);
}

.service-card:hover::after {
    opacity: 0.8;
}

.service-card.highlighted {
    background: #ffffff;
    border-color: #e8ecf1;
    color: inherit;
}

.service-card.highlighted:hover {
    border-color: var(--color-primary);
    color: #fff;
}

.service-card .service-number,
.service-card h3,
.service-card p,
.service-card .btn-more {
    position: relative;
    z-index: 2;
}

.service-number {
    display: block;
    font-size: clamp(4rem, 10vw, 134px);
    line-height: 1.455;
    font-weight: 300;
    font-family: var(--font-sans);
    color: #10186a;
    letter-spacing: 0;
    margin-bottom: 16px;
    transition: color 0.3s;
}

.service-card:hover .service-number {
    color: #ffffff;
}

.service-card h3 {
    margin: 0 0 12px;
    font-size: 25px;
    line-height: 1.52;
    font-weight: 700;
    font-family: var(--font-sans);
    color: #10186a;
    letter-spacing: 0;
    transition: color 0.3s;
}

.service-card:hover h3 {
    color: #ffffff;
}

.service-card p {
    margin: 0 0 20px;
    font-size: 20px;
    line-height: 1.458;
    font-weight: 400;
    font-family: var(--font-sans);
    color: #10186a;
    letter-spacing: 0;
    transition: color 0.3s;
}

.service-card:hover p {
    color: #ffffff;
}

.btn-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 32px; /* -10% height (14→12), +15% width (28→32) */
    min-height: 50px; /* -10% vs 55px */
    box-sizing: border-box;
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font-sans);
    color: #10186a;
    background: transparent;
    border: 2px solid #10186a;
    border-radius: 20px;
    transition: all 0.25s;
    letter-spacing: 0;
    margin-top: auto;
    align-self: flex-start;
}

.btn-more:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.15);
    border-color: #fff;
}

.service-card:hover .btn-more {
    color: #ffffff;
    border-color: #ffffff;
}

.service-card:hover .btn-more:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #ffffff;
    color: #ffffff;
}

/* Programs block (Ενεργά Προγράμματα) */
.programs-block {
    max-width: min(1914px, 95vw);
    margin: 0 auto;
    padding: 0 32px 100px;
}

.programs-block-inner {
    width: 100%;
}

.programs-block-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 32px;
}

.programs-block-title {
    margin: 0;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    font-family: var(--font-sans);
    color: #10186a;
    letter-spacing: 0;
}

.programs-block-arrows {
    display: flex;
    gap: 10px;
}

.programs-arrow {
    width: 48px;
    height: 48px;
    padding: 0;
    border: 2px solid #10186a;
    background: transparent;
    color: #10186a;
    font-size: 1.5rem;
    font-family: inherit;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.programs-arrow:hover {
    background: #10186a;
    color: #fff;
}

.programs-viewport {
    overflow: hidden;
    margin-bottom: 40px;
}

.programs-track {
    display: flex;
    gap: 24px;
    transition: transform 0.35s ease;
    will-change: transform;
}

.programs-card {
    flex: 0 0 calc((100% - 48px) / 3);
    min-width: 0;
    background: #fff;
    border: 1px solid #e8ecf1;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding-bottom: 20px;
    position: relative;
}

.programs-card-img-wrap {
    display: block;
    aspect-ratio: 400 / 240;
    overflow: hidden;
    flex-shrink: 0;
}

.programs-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.programs-card-title {
    margin: 16px 20px 0;
    font-size: 1.1rem;
    line-height: 1.4;
    font-weight: 600;
    font-family: var(--font-sans);
}

.programs-card-title a {
    color: #1e3a5f;
    text-decoration: none;
    transition: color 0.2s;
}

.programs-card-title a:hover {
    color: #10186a;
    text-decoration: underline;
}

.programs-card-excerpt {
    margin: 8px 20px 0;
    font-size: 0.95rem;
    line-height: 1.4;
    color: #5a6c7d;
    flex: 1;
}

.btn-plus {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: 16px 20px 0;
    background: #10186a;
    color: #fff;
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    align-self: flex-start;
}

.btn-plus:hover {
    background: #1e3a5f;
    color: #fff;
}

.programs-cta-wrap {
    text-align: center;
}

.programs-cta {
    display: inline-block;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font-sans);
    color: #10186a;
    border: 2px solid #10186a;
    border-radius: 12px;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.programs-cta:hover {
    background: #10186a;
    color: #fff;
}

/* About section (Λίγα λόγια για την εταιρεία μας) */
.about-section {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    height: 650px;
    background: #10186a;
    padding: 40px 32px 48px;
    overflow: visible;
}

.about-section-inner {
    max-width: min(1200px, 95vw);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: center;
}

.about-section-left {
    color: #fff;
    text-align: left;
}

.about-section-title {
    margin: 0 0 16px;
    font-size: clamp(2rem, 4.5vw, 2.75rem);
    font-weight: 700;
    font-family: var(--font-sans);
    line-height: 1.2;
}

.about-section-desc {
    margin: 0 0 24px;
    font-size: 1.2rem;
    line-height: 1.6;
    opacity: 0.95;
}

.about-section-cta {
    display: inline-block;
    padding: 14px 32px;
    font-size: 1.15rem;
    font-weight: 600;
    color: #fff;
    background: transparent;
    border: 2px solid #fff;
    border-radius: 10px;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.about-section-cta:hover {
    background: #fff;
    color: #10186a;
}

.about-section-boxes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: -24px;
    margin-bottom: -24px;
}

.about-box {
    aspect-ratio: 1;
    background: var(--about-box-bg, #3498db);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: scale(0.85);
    transform-origin: center;
}

.about-box i {
    font-size: 80px;
    margin-bottom: 14px;
}

.about-box p {
    margin: 0;
    font-size: 32px;
    line-height: 1.45;
}

/* Single post */
.post-single-wrap {
    max-width: min(800px, 92vw);
    margin: 0 auto;
    padding: calc(var(--header-height, 84px) + 48px) 24px 80px;
}

.post-single-title {
    margin: 0 0 24px;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    font-family: var(--font-sans);
    color: #10186a;
    line-height: 1.25;
}

.post-single-img {
    margin-bottom: 32px;
    border-radius: 12px;
    overflow: hidden;
}

.post-single-img img {
    width: 100%;
    height: auto;
    display: block;
}

.post-single-body {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--color-text);
}

.post-single-body p {
    margin: 0 0 1em;
    font-size: 24px;
}

/* Archive */
.archive-wrap {
    max-width: min(900px, 92vw);
    margin: 0 auto;
    padding: calc(var(--header-height, 84px) + 48px) 24px 80px;
}

.archive-title {
    margin: 0 0 32px;
    font-size: clamp(1.5rem, 3.5vw, 2.25rem);
    font-weight: 700;
    font-family: var(--font-sans);
    color: #10186a;
}

.archive-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.archive-item a {
    display: block;
    padding: 24px;
    background: #fff;
    border: 1px solid #e8ecf1;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.archive-item a:hover {
    border-color: #10186a;
    box-shadow: 0 4px 16px rgba(16, 24, 106, 0.1);
}

.archive-item-img {
    margin: -24px -24px 16px;
    border-radius: 12px 12px 0 0;
    overflow: hidden;
    max-height: 200px;
}

.archive-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.archive-item-title {
    margin: 0 0 8px;
    font-size: 1.15rem;
    font-weight: 600;
    color: #10186a;
}

.archive-item-excerpt {
    margin: 0;
    font-size: 0.95rem;
    color: #5a6c7d;
    line-height: 1.4;
}

.archive-empty {
    color: #5a6c7d;
    margin: 0;
}

/* Responsive */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px;
    }

    .services-section {
        padding: 80px 24px 100px;
    }

    .main-nav {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero-slider {
        height: 100vh;
        min-height: 400px;
    }

    .slider-pagination,
    .slider-arrows {
        bottom: 28px;
    }

    .slider-pagination {
        left: 24px;
    }

    .slider-arrows {
        right: 24px;
    }

    .pagination-dot {
        width: 64px;
        height: 64px;
        font-size: 1rem;
        border-radius: 20px;
    }

    .arrow {
        width: 64px;
        height: 64px;
        font-size: 1.5rem;
        border-radius: 13px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .services-section {
        padding: 64px 20px 80px;
    }

    .service-card {
        padding: 32px 28px; /* ~-10% height, +15% horizontal */
    }

    .service-card.highlighted {
        order: 0;
    }

    .programs-block {
        padding-left: 20px;
        padding-right: 20px;
        padding-bottom: 64px;
    }

    .about-section {
        padding: 32px 20px 40px;
    }

    .about-section-inner {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .about-section-boxes {
        grid-template-columns: 1fr;
    }
}
