:root {
    --bg: #dddddd;
    --text-main: #000000;
    --font-primary: "Helvetica Neue", Helvetica, Arial, sans-serif;
    --fs-ui: 14px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    background-color: var(--bg);
    color: var(--text-main);
    font-family: var(--font-primary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* NAVIGATION */
header, footer {
    position: fixed;
    width: 100%;
    height: 81px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    z-index: 3000;
    pointer-events: none;
    mix-blend-mode: difference;
    color: #ffffff !important;
}
header { top: 0; } footer { bottom: 0; font-size: var(--fs-ui); }
header *, footer * { pointer-events: auto; color: #ffffff !important; text-decoration: none; }
.header-left, .header-right { font-size: var(--fs-ui); width: 33.33%; }
.header-right { text-align: right; }

/* PRELOADER ΜΕ ΜΠΑΡΑ ΚΑΙ ΠΟΣΟΣΤΟ (CENTRED) */
#preloader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: #000000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}
.loader-wrap { width: 240px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.loader-bar-bg { width: 100%; height: 1px; background: rgba(255, 255, 255, 0.15); position: relative; overflow: hidden; }
.loader-bar-fill { position: absolute; top: 0; left: 0; height: 100%; width: 0%; background: #ffffff; will-change: width; }
.loader-percentage { color: #ffffff; font-family: var(--font-primary); font-size: 11px; letter-spacing: 1px; font-weight: 500; opacity: 0.8; }

.header-center { display: flex; gap: 20px; width: 33.33%; justify-content: center; }
.header-center a { text-transform: uppercase; font-size: var(--fs-ui); opacity: 0.5; transition: opacity 0.2s ease; }
.header-center a:hover, .header-center a.active { opacity: 1; font-weight: bold; }
.footer-links { display: flex; gap: 20px; }

/* ABOUT CONTENT LAYOUT */
.about-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 180px 40px 200px 40px;
}
.about-text {
    max-width: 760px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.7;
}
.about-text p { margin-bottom: 32px; }
.about-text p:last-child { margin-bottom: 0; }
.about-greet { font-size: 19px; line-height: 1.4; margin-bottom: 10px; }
.about-greet.second { margin-bottom: 40px; }
.about-lead { font-size: 19px; line-height: 1.55; }
.about-text em { font-style: italic; }

/* OUTRO INQUIRY */
.about-outro {
    margin: 80px auto 0;
    padding-top: 40px;
    border-top: 1px solid rgba(0,0,0,0.12);
    max-width: 760px;
}
.about-outro h2 {
    font-size: var(--fs-ui);
    text-transform: uppercase;
    opacity: 0.4;
    font-weight: normal;
    margin-bottom: 20px;
}
.question-text {
    font-size: 21px;
    font-weight: bold;
    text-transform: uppercase;
    line-height: 1.2;
    letter-spacing: -0.3px;
    max-width: 650px;
}

/* REVEAL TRIGGERS */
.reveal {
    font-weight: 700;
    font-size: calc(1em + 2px);
    cursor: pointer;
    border-bottom: 1px solid rgba(0,0,0,0.5);
    transition: border-color 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}
.reveal:hover { border-color: rgba(0,0,0,1); }

/* FLOATING POPUP IMAGE */
.hover-img-wrap {
    position: fixed;
    top: 0; left: 0;
    width: 320px;
    pointer-events: none;
    z-index: 4000;
    transform: translate(-50%, -50%);
    will-change: left, top;
}
.hover-img {
    display: block;
    width: 100%;
    height: auto;
    opacity: 0;
    transform: scale(0.6) rotate(-6deg);
    transition: opacity 0.25s ease,
                transform 0.45s cubic-bezier(0.18, 0.9, 0.22, 1.2);
}
.hover-img-wrap.visible .hover-img {
    opacity: 1;
    transform: scale(1) rotate(0deg);
    animation: floatBob 3s ease-in-out infinite 0.45s;
}
@keyframes floatBob {
    0%, 100% { transform: scale(1) translateY(0) rotate(0deg); }
    50%      { transform: scale(1) translateY(-12px) rotate(1.5deg); }
}

/* Fallback framework */
.hover-img-fallback {
    display: none;
    width: clamp(200px, 24vw, 320px);
    aspect-ratio: 4 / 3;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 14px;
    font-size: 12px;
    line-height: 1.4;
    color: #000;
    background: rgba(255, 255, 255, 0.7);
    border: 2px dashed rgba(0, 0, 0, 0.55);
    opacity: 0;
    transform: scale(0.6);
    transition: opacity 0.25s ease,
                transform 0.45s cubic-bezier(0.18, 0.9, 0.22, 1.2);
}
.hover-img-wrap.img-error .hover-img { display: none; }
.hover-img-wrap.img-error .hover-img-fallback { display: flex; }
.hover-img-wrap.img-error.visible .hover-img-fallback { opacity: 1; transform: scale(1); }

/* RESPONSIVE COMFORT */
@media (max-width: 768px) {
    header, footer { padding: 0 20px; height: 60px; }
    .header-left, .header-right { display: none; } .header-center { width: 100%; }
    .about-container { padding: 110px 20px 140px 20px; }
    .about-text { font-size: 13px; }
    .about-greet, .about-lead { font-size: 15px; }
    .question-text { font-size: 15px; }
}
