/* ============================================================
   IMPACT – apostoli.css  (Αποστολή · Όραμα · Αξίες page)
   ============================================================ */
:root {
  --navy:       #1b2d4f;
  --blue:       #2b5cad;
  --blue-light: #4e9fd4;
  --gold:       #c8a000;
  --gold-light: #f0c929;
  --white:      #ffffff;
  --gray-50:    #f8f9fb;
  --gray-100:   #f0f2f7;
  --gray-200:   #e2e6ef;
  --gray-500:   #8492a9;
  --gray-600:   #5a6a82;
  --gray-700:   #3d4f66;
  --gray-900:   #1a2235;
  --radius:     12px;
  --shadow-sm:  0 1px 4px rgba(0,0,0,.08);
  --shadow-md:  0 6px 24px rgba(0,0,0,.12);
  --transition: .22s cubic-bezier(.4,0,.2,1);
}
*,*::before,*::after { box-sizing:border-box; margin:0; padding:0; }
html { scroll-behavior:smooth; }
body { font-family: 'Inter', system-ui, sans-serif; color: var(--gray-900); background: var(--white); line-height: 1.65; }
img { max-width:100%; display:block; }
a { color:inherit; text-decoration:none; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 32px; }

/* ── Header ─────────────────────────────────────────────────── */
#header {
  position: fixed; top:0; left:0; right:0; z-index:1000;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition);
}
#header.scrolled {
  background: rgba(27,45,79,.97);
  box-shadow: 0 2px 20px rgba(0,0,0,.2);
}
.nav-container {
  max-width:1240px; margin:0 auto; padding:0 24px;
  display:flex; align-items:center; justify-content:space-between; height:64px;
}
.nav-logo { display:flex; align-items:center; gap:10px; }
.nav-logo-img { height:38px; width:auto; display:block; }
.footer-logo-img { height:44px; width:auto; display:block; margin-bottom:8px; }
.logo-wave { width:80px; height:24px; }
.logo-text { font-size:1.25rem; font-weight:900; color:var(--white); letter-spacing:2px; font-style:italic; }
.logo-a { color:var(--gold); }
.nav-links { display:flex; gap:24px; list-style:none; align-items:center; }
.nav-link {
  font-size:.85rem; font-weight:500; color:rgba(255,255,255,.8);
  position:relative; padding:4px 0;
  transition: color var(--transition);
}
.nav-link::after {
  content:''; position:absolute; bottom:-2px; left:0;
  width:0; height:2px; background:var(--gold);
  transition: width var(--transition);
}
.nav-link:hover, .nav-link.active { color:var(--white); }
.nav-link:hover::after, .nav-link.active::after { width:100%; }
.hamburger {
  display:none; flex-direction:column; gap:5px;
  background:none; border:none; cursor:pointer; padding:8px;
}
.hamburger span { display:block; width:22px; height:2px; background:var(--white); border-radius:2px; transition:all var(--transition); }

/* ── Hero ────────────────────────────────────────────────────── */
.ap-hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.ap-hero-photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  transform: scale(1.04);
  transition: transform 8s ease;
}
.ap-hero-photo.loaded { transform: scale(1); }
.ap-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10,20,45,.72) 0%,
    rgba(10,20,45,.55) 50%,
    rgba(10,20,45,.85) 100%
  );
}
.ap-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
}
.ap-hero-label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.ap-hero-content h1 {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.05;
  letter-spacing: -1px;
  margin-bottom: 20px;
}
.ap-dot {
  color: var(--gold);
  margin: 0 16px;
  font-weight: 300;
}
.ap-hero-sub {
  font-size: clamp(.95rem, 2vw, 1.15rem);
  color: rgba(255,255,255,.7);
  max-width: 540px;
  margin: 0 auto;
  font-weight: 300;
  letter-spacing: .3px;
}
.ap-hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.ap-hero-scroll-hint span {
  display: block;
  width: 2px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,.5));
  margin: 0 auto;
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%,100% { opacity:.3; transform: scaleY(.8); }
  50% { opacity:1; transform: scaleY(1); }
}

/* ── Intro statement ─────────────────────────────────────────── */
.ap-statement {
  padding: 72px 0;
  background: var(--white);
}
.ap-statement-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  max-width: 820px;
  margin: 0 auto;
}
.ap-statement-line {
  flex: 1;
  height: 1px;
  background: var(--gray-200);
}
.ap-statement-quote {
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  font-style: italic;
  color: var(--gray-700);
  text-align: center;
  line-height: 1.6;
  flex-shrink: 0;
  max-width: 540px;
  border: none;
  padding: 0;
  margin: 0;
}
.ap-statement-quote strong { color: var(--navy); font-style: normal; }

/* ── Shared section styles ───────────────────────────────────── */
.ap-section { padding: 96px 0; }
.ap-section-num {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: 4px;
  color: var(--blue-light);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.ap-section-num--light { color: rgba(255,255,255,.5); }
.ap-section h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 900;
  color: var(--navy);
  line-height: 1.1;
  margin-bottom: 16px;
}
.ap-underline {
  width: 48px;
  height: 3px;
  background: var(--blue);
  border-radius: 2px;
  margin-bottom: 28px;
}
.ap-underline--gold { background: var(--gold); }

/* ── Mission — split layout ──────────────────────────────────── */
.ap-mission { background: var(--gray-50); }
.ap-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.ap-split-text p {
  font-size: .95rem;
  color: var(--gray-700);
  line-height: 1.8;
  margin-bottom: 16px;
}
.ap-lead {
  font-size: 1.05rem !important;
  color: var(--navy) !important;
  font-weight: 500;
  border-left: 3px solid var(--blue);
  padding-left: 16px;
  margin-bottom: 24px !important;
}
.ap-split-photo {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.18);
}
.ap-split-photo img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
  filter: brightness(.96);
  transition: filter var(--transition), transform .5s ease;
}
.ap-split-photo:hover img {
  filter: brightness(1.02);
  transform: scale(1.01);
}
.ap-photo-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 12px 16px;
  background: linear-gradient(to top, rgba(0,0,0,.7), transparent);
  font-size: .72rem;
  color: rgba(255,255,255,.7);
  letter-spacing: .5px;
}

/* ── Vision — full-bleed photo ───────────────────────────────── */
.ap-vision-section {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
}
.ap-vision-photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.ap-vision-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(11,22,45,.88) 0%,
    rgba(27,45,79,.75) 100%
  );
}
.ap-vision-content {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: flex-end;
}
.ap-vision-card {
  max-width: 560px;
  background: rgba(255,255,255,.07);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 4px;
  padding: 48px 44px;
}
.ap-vision-card h2 {
  color: var(--white);
  margin-bottom: 16px;
}
.ap-vision-lead {
  font-size: 1.1rem !important;
  font-weight: 500;
  color: rgba(255,255,255,.9) !important;
  line-height: 1.6 !important;
  margin-bottom: 20px !important;
}
.ap-vision-card p {
  font-size: .9rem;
  color: rgba(255,255,255,.7);
  line-height: 1.75;
  margin-bottom: 14px;
}

/* ── Values ──────────────────────────────────────────────────── */
.ap-values-section { background: var(--white); }
.ap-values-header {
  text-align: center;
  margin-bottom: 56px;
}
.ap-values-header .ap-section-num { display: block; text-align: center; }
.ap-values-header h2 { color: var(--navy); }
.ap-values-header .ap-underline { margin: 0 auto 20px; }
.ap-values-sub {
  font-size: .95rem;
  color: var(--gray-600);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}
.ap-values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--gray-100);
  border-radius: 4px;
  overflow: hidden;
}
.ap-value-card {
  background: var(--white);
  padding: 44px 32px;
  transition: background var(--transition), transform var(--transition);
}
.ap-value-card:hover {
  background: var(--navy);
}
.ap-value-card:hover .ap-value-num,
.ap-value-card:hover h3,
.ap-value-card:hover p { color: rgba(255,255,255,.85); }
.ap-value-card:hover .ap-value-num { color: var(--gold); }
.ap-value-num {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--gray-200);
  line-height: 1;
  margin-bottom: 20px;
  font-family: Georgia, serif;
  transition: color var(--transition);
}
.ap-value-card h3 {
  font-size: .92rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: .5px;
  transition: color var(--transition);
}
.ap-value-card p {
  font-size: .84rem;
  color: var(--gray-600);
  line-height: 1.7;
  transition: color var(--transition);
}

/* ── President ───────────────────────────────────────────────── */
.ap-president {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
}
.ap-president-photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  filter: grayscale(.4);
}
.ap-president-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(11,22,45,.93) 0%, rgba(27,45,79,.85) 100%);
}
.ap-president-content {
  position: relative;
  z-index: 2;
}
.ap-president-card {
  max-width: 720px;
}
.ap-president-eyebrow {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}
.ap-president-card blockquote {
  border: none;
  padding: 0;
  margin: 0 0 36px;
}
.ap-president-card blockquote p {
  font-size: 1rem;
  color: rgba(255,255,255,.8);
  line-height: 1.85;
  margin-bottom: 16px;
  font-style: italic;
}
.ap-president-sig {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.ap-president-initials {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: .95rem;
  flex-shrink: 0;
}
.ap-president-name {
  font-size: .95rem;
  font-weight: 700;
  color: var(--white);
}
.ap-president-role {
  font-size: .78rem;
  color: rgba(255,255,255,.5);
  margin-top: 3px;
}

/* ── Footer ──────────────────────────────────────────────────── */
footer {
  background: var(--navy);
  color: rgba(255,255,255,.65);
  padding: 48px 0 24px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.footer-logo-text { font-size:1.6rem; font-weight:900; color:var(--white); letter-spacing:3px; font-style:italic; margin-bottom:8px; }
.footer-a { color: var(--gold); }
.footer-tagline { font-size:.78rem; line-height:1.6; opacity:.6; }
.footer-nav { display:flex; gap:20px; flex-wrap:wrap; align-items:center; }
.footer-nav a { font-size:.82rem; transition:color var(--transition); }
.footer-nav a:hover { color:var(--white); }
.footer-bottom { border-top:1px solid rgba(255,255,255,.1); padding-top:20px; text-align:center; font-size:.78rem; }

/* ── Reveal ──────────────────────────────────────────────────── */
.reveal { opacity:0; transform:translateY(24px); transition:opacity .6s ease, transform .6s ease; }
.reveal-delay-1 { transition-delay:.1s; }
.reveal-delay-2 { transition-delay:.2s; }
.reveal-delay-3 { transition-delay:.3s; }
.reveal.visible { opacity:1; transform:none; }

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .ap-values-grid { grid-template-columns: 1fr 1fr; }
  .ap-split { gap: 48px; }
}
@media (max-width: 768px) {
  .nav-links {
    position:fixed; top:64px; left:0; right:0;
    background:rgba(27,45,79,.98);
    flex-direction:column; padding:24px; gap:16px;
    transform:translateY(-110%);
    visibility:hidden;
    pointer-events:none;
    transition:transform var(--transition), visibility 0s var(--transition);
  }
  .nav-links.open {
    transform:translateY(0);
    visibility:visible;
    pointer-events:auto;
    transition:transform var(--transition), visibility 0s 0s;
  }
  .hamburger { display:flex; }

  .ap-hero-content h1 { letter-spacing:-.5px; }
  .ap-dot { margin:0 8px; }
  .ap-statement-inner { flex-direction:column; gap:16px; }
  .ap-statement-line { width:48px; height:1px; }
  .ap-split { grid-template-columns:1fr; gap:40px; }
  .ap-split-photo img { height:280px; }
  .ap-vision-content { justify-content:flex-start; }
  .ap-vision-card { padding:32px 28px; }
  .ap-values-grid { grid-template-columns:1fr; gap:2px; }
}
@media (max-width: 480px) {
  .ap-value-card { padding:32px 24px; }
  .ap-president-card blockquote p { font-size:.9rem; }
  .ap-hero-content h1 {
    font-size: clamp(1.6rem, 6vw, 2.2rem);
    letter-spacing: -.3px;
  }
  .ap-dot { margin: 0 4px; }
}
