/* ═══════════════════════════════════════
   ι.ΚΕΠ Αλμυρού — Global Stylesheet
   ═══════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@600;700&display=swap');

:root {
  --navy:      #0d1117;
  --accent:    #1e4fc2;
  --accent-lt: #5b8ef6;
  --white:     #ffffff;
  --off-white: #f9fafb;
  --border:    #e5e7eb;
  --gray:      #6b7280;
  --gray-lt:   #9ca3af;
  --text:      #111827;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; font-style: normal !important; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--off-white);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
em, i, a, p, span, li, div, h1, h2, h3, h4, h5, h6 { font-style: normal !important; }

/* ── NAVBAR ── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: #ffffff;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 2.5rem; height: 68px;
  border-bottom: 1px solid rgba(53,119,169,0.15);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.nav-logo { display: flex; align-items: center; text-decoration: none; justify-self: start; }
.nav-logo img {
  height: 52px; width: auto; object-fit: contain;
}

.nav-links {
  display: flex; gap: 0.1rem; list-style: none; align-items: center;
  justify-content: center;
}
.nav-links a {
  font-family: 'Inter', sans-serif;
  color: #3577a9;
  text-decoration: none;
  font-size: 0.95rem; font-weight: 600;
  padding: 0.48rem 0.85rem; border-radius: 7px;
  transition: all 0.18s; letter-spacing: 0.01em;
}
.nav-links a:hover, .nav-links a.active { color: #1a4f80; background: rgba(53,119,169,0.1); }

/* e-ikepalmyrou στο mobile menu */
.mobile-portal-link { display: none; }
@media(max-width:768px){ .mobile-portal-link { display: block; } }
.nav-end { display: flex; align-items: center; justify-content: flex-end; gap: 0.75rem; }
.nav-cta-btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: #3577a9;
  color: white !important;
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem; font-weight: 700;
  padding: 0.52rem 1.25rem;
  border-radius: 7px;
  text-decoration: none;
  border: none; cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.nav-cta-btn:hover { background: #2a6090; transform: translateY(-1px); }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.hamburger span { display: block; width: 20px; height: 1.5px; background: #3577a9; border-radius: 2px; }

/* ── PAGE HERO (inner pages) ── */
.page-hero { width: 100%; height: 300px; position: relative; overflow: hidden; }
.page-hero img { width: 100%; height: 100%; object-fit: cover; display: block; filter: brightness(0.4); }
.page-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(8,13,20,0.3), rgba(8,13,20,0.72));
  display: flex; align-items: flex-end; padding: 2.5rem 3rem;
}
.page-hero-overlay h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 700; color: #fff; letter-spacing: -0.01em;
}

/* ── SECTION HEADER ── */
.sec-header { text-align: center; margin-bottom: 3rem; }
.sec-eyebrow {
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 0.75rem;
}
.sec-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  font-weight: 700; color: var(--text); letter-spacing: -0.01em;
}
.sec-header p {
  font-size: 0.92rem; color: var(--gray); margin-top: 0.65rem;
  max-width: 450px; margin-left: auto; margin-right: auto; line-height: 1.75;
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--accent); color: white;
  padding: 0.8rem 1.7rem; border-radius: 8px;
  font-family: 'Inter', sans-serif; font-weight: 600; font-size: 0.88rem;
  text-decoration: none; border: none; cursor: pointer;
  transition: background 0.2s, transform 0.18s;
}
.btn-primary:hover { background: #1640a8; transform: translateY(-1px); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 7px;
  background: transparent; color: rgba(255,255,255,0.65);
  padding: 0.8rem 1.7rem; border-radius: 8px;
  font-family: 'Inter', sans-serif; font-weight: 500; font-size: 0.88rem;
  text-decoration: none; border: 1px solid rgba(255,255,255,0.18); cursor: pointer;
  transition: all 0.2s;
}
.btn-ghost:hover { color: white; border-color: rgba(255,255,255,0.35); background: rgba(255,255,255,0.06); }

.btn-outline {
  display: inline-flex; align-items: center; gap: 6px;
  background: transparent; color: var(--accent);
  border: 1.5px solid var(--accent); border-radius: 8px;
  padding: 0.7rem 1.4rem; font-family: 'Inter', sans-serif;
  font-weight: 600; font-size: 0.86rem;
  text-decoration: none; transition: all 0.2s;
}
.btn-outline:hover { background: var(--accent); color: white; }

.btn-white-outline {
  display: inline-flex; align-items: center; gap: 7px;
  background: transparent; color: rgba(255,255,255,0.65);
  padding: 0.8rem 1.7rem; border-radius: 8px;
  font-family: 'Inter', sans-serif; font-weight: 500; font-size: 0.88rem;
  text-decoration: none; border: 1px solid rgba(255,255,255,0.18); cursor: pointer;
  transition: all 0.2s;
}
.btn-white-outline:hover { color: white; border-color: rgba(255,255,255,0.4); }

/* ── CTA BLOCK ── */
.cta-block {
  background: #0b1526; padding: 5rem 2rem; text-align: center;
}
.cta-block h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.55rem,3vw,2.1rem); font-weight: 700;
  color: white; margin-bottom: 0.85rem; letter-spacing: -0.01em;
}
.cta-block p { color: rgba(255,255,255,0.42); margin-bottom: 2.2rem; font-size: 0.92rem; max-width: 400px; margin-left: auto; margin-right: auto; line-height: 1.75; }
.cta-btns { display: flex; gap: 0.85rem; justify-content: center; flex-wrap: wrap; }

/* ── FOOTER ── */
footer {
  background: #0b1526; color: rgba(255,255,255,0.45);
  padding: 3rem 2rem 2rem;
}
.footer-grid {
  max-width: 1000px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1.5fr; gap: 3rem;
}
/* logo in footer — no filter, just show it naturally */
.footer-logo-img { height: 46px; width: auto; object-fit: contain; }
.footer-brand p { font-size: 0.83rem; line-height: 1.75; margin-top: 0.85rem; color: rgba(255,255,255,0.32); }
footer h4 {
  font-family: 'Inter', sans-serif; font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.5); margin-bottom: 1rem;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.55rem; }
.footer-links a { color: rgba(255,255,255,0.38); text-decoration: none; font-size: 0.83rem; transition: color 0.2s; }
.footer-links a:hover { color: rgba(255,255,255,0.8); }
.f-hours { font-size: 0.81rem; display: flex; flex-direction: column; gap: 0.4rem; }
.f-hours-row { display: flex; justify-content: space-between; gap: 1rem; }
.f-hours-row .d { color: rgba(255,255,255,0.3); }
.f-hours-row .t { color: rgba(255,255,255,0.65); font-weight: 500; }
.fphone { display: flex; align-items: center; gap: 0.4rem; color: rgba(255,255,255,0.42); text-decoration: none; font-size: 0.82rem; transition: color 0.2s; }
.fphone:hover { color: rgba(255,255,255,0.8); }
.social-row { display: flex; gap: 0.45rem; margin-top: 1.1rem; }
.soc-btn { width: 32px; height: 32px; border-radius: 7px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.07); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.4); text-decoration: none; transition: all 0.2s; }
.soc-btn:hover { background: var(--accent); border-color: var(--accent); color: white; }
.footer-bottom { max-width: 1000px; margin: 2.5rem auto 0; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.06); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.5rem; font-size: 0.76rem; color: rgba(255,255,255,0.22); }
.footer-bottom a { color: rgba(255,255,255,0.35); text-decoration: none; }
.footer-bottom a:hover { color: rgba(255,255,255,0.65); }

/* ── RESPONSIVE ── */
@media(max-width:900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media(max-width:768px) {
  nav {
    padding: 0 1.25rem; height: 62px;
    grid-template-columns: auto 1fr auto;
  }
  .nav-links {
    display: none; flex-direction: column; gap: 0;
    position: absolute; top: 62px; left: 0; right: 0;
    background: #ffffff; border-bottom: 1px solid rgba(53,119,169,0.15);
    padding: 0.75rem 1.25rem; z-index: 99;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 0.7rem 0.85rem; border-radius: 7px; width: 100%; }
  .nav-end { display: flex; align-items: center; justify-content: flex-end; gap: 0.75rem; }
  .nav-cta-btn { display: none; }
  .hamburger { display: flex; }
  .page-hero { height: 220px; }
  .page-hero-overlay { padding: 1.75rem 1.5rem; }
}
@media(max-width:520px) { .footer-grid { grid-template-columns: 1fr; gap: 2rem; } }
