@import url("https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@500;600&display=swap");

:root {
  --blue-900: #0d17a8;
  --blue-800: #101bc8;
  --blue-700: #101ee3;
  --blue-100: #e8eaff;
  --blue-050: #f5f6ff;
  --ink: #1d2733;
  --muted: #5a6877;
  --line: #d9dcf5;
  --white: #ffffff;
  --shadow: 0 12px 34px rgba(16, 30, 227, 0.10);
  --radius: 0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.65;
}

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

a {
  color: var(--blue-800);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--blue-700);
}

main a:not(.button):not(.instateacher-btn):not(.facebook-btn) {
  color: var(--blue-700);
  font-weight: 700;
  text-decoration: none;
}

main a:not(.button):not(.instateacher-btn):not(.facebook-btn):hover,
main a:not(.button):not(.instateacher-btn):not(.facebook-btn):focus-visible {
  color: var(--blue-900);
  text-decoration: underline;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid #f0b429;
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 2000;
  padding: 9px 14px;
  color: var(--white);
  background: var(--blue-900);
  border-radius: 0;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

/* Επάνω ταυτότητα και πλοήγηση */
.site-header {
  position: relative;
  z-index: 1001;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.brand-bar {
  position: relative;
  width: min(1120px, calc(100% - 40px));
  min-height: 106px;
  margin: 0 auto;
  padding: 20px;
  display: grid;
  place-items: center;
}

.brand {
  color: var(--blue-900);
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
}

.brand-name {
  display: block;
  font-family: "Roboto Condensed", "Arial Narrow", Arial, sans-serif;
  font-size: clamp(1.65rem, 3vw, 2.15rem);
  font-weight: 500;
  letter-spacing: -0.02em;
}

.brand-subtitle {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.brand-subtitle {
  display: block;
  margin-top: 7px;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--blue-900);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 5px 16px rgba(13, 23, 168, 0.14);
}

.nav-container {
  width: min(1120px, calc(100% - 40px));
  min-height: 56px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links li {
  margin: 0;
}

.nav-links a {
  display: block;
  padding: 10px 13px;
  color: var(--white);
  border-radius: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.075em;
  line-height: 1.25;
  text-decoration: none;
  text-transform: uppercase;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--white);
  background: rgba(255, 255, 255, 0.16);
}

/* Κεφαλίδες */
.page-header {
  padding: 66px 20px;
  color: var(--white);
  text-align: center;
  background: linear-gradient(135deg, var(--blue-900), var(--blue-700));
}

.page-header h1 {
  max-width: 900px;
  margin: 0 auto;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.15;
}

.hero {
  min-height: clamp(330px, 33.35vw, 680px);
  padding: 0;
  background-color: var(--blue-050);
  background-image:
    linear-gradient(90deg, rgba(16, 30, 227, 0.12), rgba(16, 30, 227, 0.02)),
    url("images/banner.png");
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
  transform-origin: center top;
  animation: heroReveal 2.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes heroReveal {
  from {
    opacity: 0;
    transform: scale(1.015);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Περιεχόμενο */
main {
  width: min(940px, calc(100% - 40px));
  min-height: 45vh;
  margin: 58px auto 76px;
}

section {
  margin-bottom: 62px;
}

section:last-child {
  margin-bottom: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Roboto Condensed", "Arial Narrow", Arial, sans-serif;
  font-weight: 500;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.home-title {
  margin: 0 0 16px;
  color: var(--blue-900);
  font-size: clamp(1.85rem, 4.5vw, 2.65rem);
  line-height: 1.15;
}

h2 {
  margin: 0 0 24px;
  color: var(--blue-800);
  font-size: clamp(1.65rem, 4vw, 2.15rem);
  line-height: 1.2;
}

h2::after {
  content: "";
  display: block;
  width: 58px;
  height: 3px;
  margin-top: 11px;
  background: var(--blue-700);
  border-radius: 999px;
}

h3 {
  margin: 0 0 12px;
  color: var(--blue-800);
  font-size: clamp(1.25rem, 3vw, 1.7rem);
  line-height: 1.25;
}

p,
li {
  font-size: 1.08rem;
}

p {
  margin: 0 0 1.1em;
}

ul,
ol {
  margin: 0;
  padding-left: 1.45rem;
}

li {
  margin-bottom: 0.65rem;
}

li::marker {
  color: var(--blue-700);
  font-weight: 700;
}

.lead {
  max-width: 760px;
  color: #2b3948;
  font-size: clamp(1.18rem, 2.4vw, 1.4rem);
  line-height: 1.65;
}

.intro {
  padding: 30px 34px;
  background: linear-gradient(145deg, #fbfbff, #eef0ff);
  border: 1px solid #d5d9ff;
  border-radius: 0;
  box-shadow:
    8px 8px 0 #e2e5ff,
    0 14px 30px rgba(16, 30, 227, 0.10);
}

.intro p:last-child,
.callout p:last-child,
.contact-card p:last-child {
  margin-bottom: 0;
}

.about,
.course-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 0.82fr);
  align-items: center;
  gap: clamp(34px, 7vw, 72px);
}

.course-row:nth-of-type(even) {
  grid-template-columns: minmax(250px, 0.82fr) minmax(0, 1fr);
}

.course-row:nth-of-type(even) .course-text {
  order: 2;
}

.course-row:nth-of-type(even) .course-image {
  order: 1;
}

.about img,
.course-image img {
  width: 100%;
  max-height: 330px;
  object-fit: contain;
  border-radius: var(--radius);
}

.course-image img.square-corners {
  border-radius: 0;
}

.portrait img {
  max-height: 480px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.course-text p {
  margin-bottom: 0;
  color: var(--muted);
}

.lesson-figure {
  margin: 0;
}

.lesson-figure img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0;
  box-shadow: var(--shadow);
}

.lesson-figure figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.95rem;
  text-align: center;
}

.credibility {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.credibility div {
  padding: 22px;
  background: linear-gradient(145deg, #ffffff, #f3f4ff);
  border: 1px solid #dce0ff;
  box-shadow:
    4px 4px 0 #e8eaff,
    0 8px 18px rgba(16, 30, 227, 0.07);
}

.credibility strong,
.credibility span {
  display: block;
}

.credibility strong {
  margin-bottom: 5px;
  color: var(--blue-800);
  font-family: "Roboto Condensed", "Arial Narrow", Arial, sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.25;
}

.credibility span {
  color: var(--muted);
  line-height: 1.45;
}

.steps {
  counter-reset: lesson-step;
  display: grid;
  gap: 18px;
  padding: 0;
  list-style: none;
}

.steps li {
  position: relative;
  margin: 0;
  padding: 20px 22px 20px 66px;
  background: linear-gradient(145deg, #ffffff, #f3f4ff);
  border: 1px solid #dce0ff;
  border-radius: 0;
  box-shadow:
    4px 4px 0 #e8eaff,
    0 8px 18px rgba(16, 30, 227, 0.07);
}

.steps li::before {
  counter-increment: lesson-step;
  content: counter(lesson-step);
  position: absolute;
  top: 18px;
  left: 20px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue-700), #5963ee);
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(16, 30, 227, 0.18);
  font-size: 0.93rem;
  font-weight: 700;
}

.callout,
.contact-card {
  padding: clamp(26px, 5vw, 42px);
  background: linear-gradient(145deg, #fbfbff, #eef0ff);
  border: 1px solid #d5d9ff;
  border-radius: 0;
  box-shadow:
    8px 8px 0 #e2e5ff,
    0 14px 30px rgba(16, 30, 227, 0.10);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.button,
.instateacher-btn,
.facebook-btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  color: var(--white);
  background: var(--blue-800);
  border: 1px solid var(--blue-800);
  border-radius: 0;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.button:hover,
.instateacher-btn:hover,
.facebook-btn:hover {
  color: var(--white);
  background: var(--blue-900);
  transform: translateY(-1px);
}

.button-icon {
  width: 21px;
  height: 21px;
  flex: 0 0 auto;
  fill: currentColor;
}

.button.secondary {
  color: var(--blue-800);
  background: var(--white);
}

.button.secondary:hover {
  color: var(--blue-900);
  background: var(--blue-100);
}

.instateacher-btn img {
  width: 25px;
  height: 25px;
  object-fit: contain;
  background: var(--white);
  border-radius: 0;
}

.facebook-btn img {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  object-fit: cover;
  clip-path: circle(35.5% at 50% 50%);
}

.note {
  color: var(--muted);
  font-size: 0.96rem;
}

/* Υποσέλιδο */
footer {
  color: var(--white);
  background: var(--blue-900);
}

.footer-container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 38px 0;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 36px;
}

.footer-container p {
  margin: 0 0 5px;
  font-size: 0.96rem;
}

.footer-title {
  font-weight: 700;
}

.footer-right {
  text-align: right;
}

footer a {
  color: var(--white);
}

footer a:hover {
  color: var(--blue-100);
}

@media (max-width: 900px) {
  .brand-bar {
    min-height: 94px;
    padding-right: 20px;
    padding-left: 20px;
  }

  .nav-container {
    width: 100%;
    min-height: auto;
    padding: 8px 14px;
  }

  .nav-links {
    justify-content: flex-start;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: thin;
  }

  .nav-links a {
    white-space: nowrap;
  }
}

@media (max-width: 720px) {
  .brand-bar {
    width: min(100% - 28px, 1120px);
    min-height: 90px;
    padding: 16px 0;
  }

  .brand-name {
    font-size: 1.55rem;
  }

  .brand-subtitle {
    font-size: 0.66rem;
    letter-spacing: 0.1em;
  }

  .hero {
    min-height: 260px;
    background-position: center;
  }

  .page-header {
    padding: 48px 20px;
  }

  main {
    width: min(100% - 32px, 940px);
    margin: 42px auto 58px;
  }

  section {
    margin-bottom: 48px;
  }

  .intro {
    padding: 24px 22px;
  }

  .about,
  .course-row,
  .course-row:nth-of-type(even) {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .course-row:nth-of-type(even) .course-text,
  .course-row:nth-of-type(even) .course-image {
    order: initial;
  }

  .course-image {
    order: 2;
  }

  .about img,
  .course-image img {
    width: min(100%, 360px);
    margin: 0 auto;
  }

  .credibility {
    grid-template-columns: 1fr;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .footer-right {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Animation εικόνων κατά το scroll.
   Η κλάση προστίθεται μόνο όταν λειτουργεί το JavaScript. */
.scroll-reveal {
  opacity: 0;
  transform: translateY(35px) scale(0.98);
  transition:
    opacity 1.5s ease,
    transform 1.5s ease;
}

.scroll-reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .scroll-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Αισθητική ανανέωση — πιο ήρεμες επιφάνειες και καθαρή ιεράρχηση. */
:root {
  --blue-900: #233e83;
  --blue-800: #294bbe;
  --blue-700: #304fd2;
  --blue-100: #eaf0ff;
  --blue-050: #f5f7fc;
  --ink: #293344;
  --muted: #596578;
  --line: #dfe5ef;
  --shadow: 0 10px 28px rgba(35, 62, 131, .06);
}
body { line-height: 1.8; background: #fff; }
.brand-bar { min-height: 112px; padding: 24px 0; }
.brand-name { font-size: clamp(1.8rem, 3vw, 2.3rem); color: var(--blue-900); }
.brand-subtitle { color: var(--muted); text-transform: none; letter-spacing: .025em; font-size: .9rem; font-weight: 400; }
.site-header { border-bottom: 0; }
.site-nav { background: rgba(255,255,255,.97); border-block: 1px solid var(--line); box-shadow: 0 3px 14px rgba(35,62,131,.035); }
.nav-container { min-height: 62px; }
.nav-links { gap: 8px; }
.nav-links a { color: var(--ink); text-transform: none; letter-spacing: 0; font-size: .95rem; font-weight: 500; padding: 13px 18px; min-height: 44px; transition: background-color .2s, color .2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--blue-800); background: var(--blue-100); }
.page-header { padding: 62px 24px 56px; color: var(--blue-900); background: linear-gradient(115deg, #f5f7ff, #f5faf9); border-bottom: 1px solid var(--line); }
.page-header h1 { font-size: clamp(2rem, 4.3vw, 2.8rem); line-height: 1.25; }
.page-subtitle { max-width: 650px; margin: 18px auto 0; color: var(--muted); font-size: 1.1rem; }
.hero { background-image: linear-gradient(90deg, rgba(255,255,255,.06), rgba(255,255,255,.03)), url("images/banner.png"); }
main { width: min(1000px, calc(100% - 48px)); margin: 64px auto 84px; }
section { margin-bottom: 72px; }
h2 { color: var(--blue-900); font-size: clamp(1.65rem, 3.5vw, 2.05rem); line-height: 1.3; margin-bottom: 22px; }
h2::after { display: none; }
h3 { color: var(--blue-900); line-height: 1.35; }
p, li { font-size: 1.065rem; }
.lead { color: #43516a; font-size: clamp(1.12rem, 2.3vw, 1.25rem); line-height: 1.8; }
.intro { padding: clamp(26px, 5vw, 48px); background: #f5f7fc; border: 1px solid var(--line); box-shadow: none; }
.home-title { max-width: 760px; line-height: 1.22; font-size: clamp(2rem, 4.5vw, 2.8rem); margin-bottom: 24px; }
.eyebrow { color: var(--blue-800); font-size: .88rem; font-weight: 700; letter-spacing: .035em; margin-bottom: 18px; }
.callout, .contact-card { padding: clamp(26px, 5vw, 44px); background: #f2f6ff; border: 1px solid #e0e7f5; box-shadow: none; }
.local-lessons { background: #f3f8f6; border-color: #dce9e4; }
.course-row { padding: 30px 0; border-top: 1px solid var(--line); margin-bottom: 24px; }
.course-text p { color: #48556a; }
.course-image img { max-height: 280px; }
.credibility { gap: 18px; }
.credibility div { background: #f7f9fc; border: 1px solid var(--line); padding: 26px; box-shadow: none; }
.credibility strong { color: var(--blue-900); margin-bottom: 10px; }
.steps { gap: 14px; }
.steps li { padding: 22px 24px 22px 76px; background: #f8f9fc; border: 1px solid var(--line); box-shadow: none; }
.steps li::before { left: 22px; top: 24px; width: 34px; height: 34px; background: #e7edfc; color: var(--blue-800); box-shadow: none; }
.button, .facebook-btn, .instateacher-btn { min-height: 52px; padding: 14px 22px; font-size: 1rem; font-weight: 600; background: var(--blue-800); border-color: var(--blue-800); box-shadow: 0 4px 10px rgba(41,75,190,.09); }
.button.secondary { box-shadow: none; border-color: #c4cfe6; }
.button-row { gap: 14px; margin-top: 28px; }
.contact-card { max-width: 880px; margin-inline: auto; }
.contact-card .button-row { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); }
.contact-card .button-row a { padding: 15px 12px; font-size: .93rem; }
.contact-note { margin-top: 22px; }
footer { color: #4c5a70; background: #f4f6fa; border-top: 1px solid var(--line); }
.footer-container { padding: 42px 0; }
.footer-title { color: var(--blue-900); }
footer a { color: var(--blue-800); text-decoration: none; overflow-wrap: anywhere; }
footer a:hover { color: var(--blue-900); text-decoration: underline; }
:target { scroll-margin-top: 100px; }
@media (max-width: 720px) {
  .brand-bar { min-height: 100px; }
  .brand-name { font-size: 1.85rem; }
  .brand-subtitle { font-size: .82rem; }
  .nav-container { padding: 6px 10px; }
  .nav-links { flex-wrap: wrap; justify-content: center; gap: 2px; overflow: visible; }
  .nav-links a { padding: 11px 12px; font-size: .86rem; }
  .page-header { padding: 38px 20px; }
  .page-subtitle { font-size: 1rem; }
  main { width: calc(100% - 36px); margin: 36px auto 52px; }
  section { margin-bottom: 46px; }
  .intro, .callout, .contact-card { padding: 26px 22px; }
  .button-row { flex-direction: column; align-items: stretch; }
  .contact-card .button-row { grid-template-columns: 1fr; }
  .course-row { padding: 24px 0; }
  .footer-container { width: calc(100% - 36px); }
}
@media (max-width: 380px) {
  .nav-links a { padding-inline: 9px; font-size: .82rem; }
}
