/* ============================================================
   Ανθεμώνες — Βρεφονηπιακός Σταθμός
   Παλέτα βασισμένη στο λογότυπο (κρεμ / λαδί / μπεζ / χρυσοκάφε)
   ============================================================ */

:root {
  /* Παλέτα εναρμονισμένη με το νέο κυκλικό λογότυπο (logo_new, 2026-07) */
  --cream:        #FAE7D3;
  --cream-soft:   #FCF2E6;
  --cream-dark:   #EDDCC6;
  --olive:        #656740;
  --olive-dark:   #4A4C2E;
  --olive-pale:   #E5E3CD;
  --tan:          #D4B489;
  --tan-pale:     #F2E4CE;
  --gold:         #8D6440;
  --ink:          #3B3930;
  --ink-soft:     #6E6957;
  --white:        #FFFFFF;
  --radius:       14px;
  --shadow:       0 10px 30px rgba(80, 77, 51, 0.10);
  --shadow-soft:  0 4px 14px rgba(80, 77, 51, 0.07);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Noto Sans", "Segoe UI", Tahoma, sans-serif;
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--cream-soft);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: "Comfortaa", "Segoe UI", sans-serif;
  color: var(--olive-dark);
  line-height: 1.3;
  font-weight: 600;
}

h1 { font-size: clamp(2rem, 5vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); }

/* h1 σε μέγεθος h2 — για το «Καλώς ήρθατε» της αρχικής, ώστε το
   λογότυπο στο hero να μένει ο μοναδικός μεγάλος φορέας του ονόματος */
.welcome-title { font-size: clamp(1.6rem, 3.5vw, 2.2rem); }

.welcome-tag {
  font-family: "Comfortaa", "Segoe UI", sans-serif;
  color: var(--gold);
  letter-spacing: 0.12em;
  font-size: 1.05rem;
  margin-top: 0.3rem;
}
h3 { font-size: 1.25rem; }

p + p { margin-top: 1em; }

/* Πλήρης στοίχιση (justify) στα κείμενα-παραγράφους */
.split p,
.class-body p,
.prose p,
.time-row p {
  text-align: justify;
  hyphens: auto;
}

a { color: var(--olive); text-decoration: none; }
a:hover { color: var(--olive-dark); }

img { max-width: 100%; display: block; }

.container {
  width: min(1100px, 92%);
  margin-inline: auto;
}

/* ---------- Header / Navigation ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(252, 242, 230, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--cream-dark);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
}

.brand {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-family: "Comfortaa", "Segoe UI", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--olive-dark);
  letter-spacing: 0.02em;
}

.brand-sub {
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

.main-nav ul {
  display: flex;
  gap: 1.6rem;
  list-style: none;
}

.main-nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
  padding: 0.3rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--olive-dark);
  border-bottom-color: var(--olive);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  margin: 5px 0;
  border-radius: 2px;
  background: var(--olive-dark);
  transition: transform 0.25s, opacity 0.25s;
}

@media (max-width: 1024px) {
  .nav-toggle { display: block; }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream-soft);
    border-bottom: 1px solid var(--cream-dark);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .main-nav.open { max-height: 420px; box-shadow: var(--shadow); }

  .main-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 0.6rem 0 1rem;
  }

  .main-nav li { text-align: center; }

  .main-nav a {
    display: block;
    padding: 0.7rem 0;
    border-bottom: none;
  }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 0.8rem 1.9rem;
  border-radius: 40px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.15s, box-shadow 0.15s, background 0.2s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--olive);
  color: var(--white);
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  background: var(--olive-dark);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--olive-dark);
  border: 2px solid var(--olive);
}

.btn-outline:hover {
  background: var(--olive-pale);
  transform: translateY(-2px);
}

/* ---------- Hero (Αρχική) ---------- */

.hero {
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-soft) 100%);
  padding: 4.5rem 0 4rem;
  text-align: center;
}

.hero-logo {
  width: min(280px, 66vw);
  margin: 0 auto 1.5rem;
}

.hero .tagline {
  font-family: "Comfortaa", "Segoe UI", sans-serif;
  font-size: clamp(1.15rem, 2.6vw, 1.5rem);
  color: var(--gold);
  letter-spacing: 0.12em;
  margin: 1.2rem 0 0.6rem;
}

.hero .lead {
  max-width: 640px;
  margin: 1rem auto 2.2rem;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Page hero (εσωτερικές σελίδες) ---------- */

.page-hero {
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-soft) 100%);
  padding: 3.2rem 0 2.6rem;
  text-align: center;
}

.page-hero .subtitle {
  color: var(--ink-soft);
  max-width: 620px;
  margin: 0.8rem auto 0;
}

/* ---------- Sections ---------- */

.section { padding: 4rem 0; }

.section.alt { background: var(--white); }

.section-title {
  text-align: center;
  margin-bottom: 0.6rem;
}

.section-intro {
  text-align: center;
  color: var(--ink-soft);
  max-width: 640px;
  margin: 0 auto 2.8rem;
}

.divider {
  width: 70px;
  height: 3px;
  border-radius: 2px;
  background: var(--tan);
  margin: 1.1rem auto 2.4rem;
}

/* ---------- Cards ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.6rem;
}

/* 2×2 πλέγμα — για τους τέσσερις πυλώνες (Προσέγγιση) */
.card-grid.pillars {
  grid-template-columns: repeat(2, 1fr);
  max-width: 760px;
  margin-inline: auto;
}

@media (max-width: 560px) {
  .card-grid.pillars { grid-template-columns: 1fr; }
}

/* ---------- Οι 8 άξονες του προγράμματος (Προσέγγιση) ---------- */
.axes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
}

@media (max-width: 760px) {
  .axes-grid { grid-template-columns: 1fr; }
}

.axis {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 1.5rem 1.6rem;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 1rem;
  row-gap: 0.4rem;
  align-items: start;
}

.axis-num {
  grid-row: 1 / span 2;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--olive-pale);
  color: var(--olive-dark);
  font-family: "Comfortaa", "Segoe UI", sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.axis h3 {
  font-size: 1.08rem;
  margin: 0;
  align-self: center;
}

.axis-items {
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.7;
  margin: 0;
}

.axis-items .sep { color: var(--tan); padding: 0 0.15rem; }

.card {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius);
  padding: 2rem 1.7rem;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s, box-shadow 0.2s;
}

.section.alt .card { background: var(--cream-soft); }

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.card .icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--olive-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.1rem;
}

.card h3 { margin-bottom: 0.5rem; }

.card p { color: var(--ink-soft); font-size: 0.97rem; }

.card .more {
  display: inline-block;
  margin-top: 0.9rem;
  font-weight: 600;
  font-size: 0.92rem;
}

/* ---------- Two-column text/media ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

@media (max-width: 800px) {
  .split { grid-template-columns: 1fr; gap: 1.8rem; }
}

/* Λογότυπο μέσα σε .split (π.χ. ιστορία ονόματος) — κεντραρισμένο, χωρίς κάρτα */
.split-logo {
  width: min(340px, 80%);
  height: auto;
  display: block;
  margin: 0 auto;
  align-self: center;
}

/* Ενότητα ιδρύτριας — ενιαίο πλάτος για split + κείμενο από κάτω */
.founder-body { max-width: 880px; margin-inline: auto; }

/* Πραγματική φωτογραφία μέσα σε .split — γεμίζει τη στήλη, ίδιο ύψος με το κείμενο */
.split-photo {
  width: 100%;
  height: 100%;
  min-height: 340px;
  max-height: 520px;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
  align-self: stretch;
  box-shadow: var(--shadow-soft);
}

@media (max-width: 800px) {
  .split-photo { height: 320px; min-height: 0; }
}

/* ---------- Photo placeholders ---------- */

.photo-ph {
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--olive-pale) 0%, var(--tan-pale) 100%);
  border: 1.5px dashed var(--tan);
  min-height: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--gold);
  font-size: 0.9rem;
  text-align: center;
  padding: 1rem;
}

.photo-ph .ph-icon { font-size: 2.2rem; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
}

.gallery-grid .photo-ph { min-height: 190px; }

/* ---------- Quote ---------- */

.quote {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  font-family: "Comfortaa", "Segoe UI", sans-serif;
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  color: var(--olive-dark);
  font-style: italic;
}

.quote .who {
  display: block;
  margin-top: 1.2rem;
  font-family: "Noto Sans", sans-serif;
  font-style: normal;
  font-size: 0.92rem;
  color: var(--gold);
  letter-spacing: 0.08em;
}

/* ---------- CTA banner ---------- */

.cta-banner {
  background: var(--olive);
  color: var(--white);
  text-align: center;
  padding: 3.5rem 0;
}

.cta-banner h2 { color: var(--white); margin-bottom: 0.7rem; }

.cta-banner p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 560px;
  margin: 0 auto 1.8rem;
}

.cta-banner .btn-primary {
  background: var(--cream);
  color: var(--olive-dark);
}

.cta-banner .btn-primary:hover { background: var(--white); }

/* ---------- Schedule (Πρόγραμμα) ---------- */

.timeline { max-width: 760px; margin: 0 auto; }

.time-row {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 1.4rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--cream-dark);
  align-items: baseline;
}

.time-row:last-child { border-bottom: none; }

.time-row .time {
  font-family: "Comfortaa", "Segoe UI", sans-serif;
  font-weight: 700;
  color: var(--gold);
  font-size: 1.05rem;
  white-space: nowrap;
}

.time-row h3 { font-size: 1.08rem; margin-bottom: 0.15rem; }

.time-row p { color: var(--ink-soft); font-size: 0.95rem; }

@media (max-width: 560px) {
  .time-row { grid-template-columns: 1fr; gap: 0.2rem; }
}

/* ---------- Τμήματα ---------- */

.class-card {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 0;
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  margin-bottom: 2rem;
}

.class-card .photo-ph {
  border-radius: 0;
  border: none;
  min-height: 100%;
}

.class-card .class-photo {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  display: block;
}

.class-card.reverse .class-photo { order: 2; }

.class-card .class-body { padding: 2.2rem 2rem; }

.class-card .age-badge {
  display: inline-block;
  background: var(--olive-pale);
  color: var(--olive-dark);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  border-radius: 30px;
  padding: 0.3rem 1rem;
  margin-bottom: 0.9rem;
}

.class-card h2 { margin-bottom: 0.7rem; }

.class-card ul {
  margin: 1rem 0 0 1.2rem;
  color: var(--ink-soft);
  font-size: 0.96rem;
}

.class-card li { margin-bottom: 0.35rem; }

.class-card.reverse .photo-ph { order: 2; }
.class-card.reverse .class-body { order: 1; }

@media (max-width: 720px) {
  .class-card { grid-template-columns: 1fr; }
  .class-card .photo-ph { min-height: 200px; }
  .class-card .class-photo { min-height: 260px; }
  .class-card.reverse .photo-ph,
  .class-card.reverse .class-photo { order: 0; }
}

/* ---------- Επικοινωνία ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2.5rem;
  align-items: start;
}

@media (max-width: 800px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.info-block {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--cream-dark);
}

.info-block:last-child { border-bottom: none; }

.info-block .icon {
  flex: 0 0 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--olive-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.info-block h3 { font-size: 1.02rem; margin-bottom: 0.15rem; }

.info-block p { color: var(--ink-soft); font-size: 0.96rem; }

.pending {
  color: var(--gold);
  font-style: italic;
  font-size: 0.9rem;
}

.contact-form {
  background: var(--cream-soft);
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius);
  padding: 2.2rem 2rem;
  box-shadow: var(--shadow);
}

.contact-form h3 { margin-bottom: 1.4rem; }

.form-row { margin-bottom: 1.1rem; }

.form-row label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--olive-dark);
  margin-bottom: 0.35rem;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1.5px solid var(--cream-dark);
  border-radius: 10px;
  background: var(--white);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  transition: border-color 0.2s;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--olive);
  box-shadow: 0 0 0 3px rgba(101, 103, 64, 0.15);
}

/* honeypot — κρυφό πεδίο κατά spam */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

/* Μήνυμα επιτυχίας/σφάλματος φόρμας */
.form-alert {
  display: none;
  margin-bottom: 1.3rem;
  padding: 0.85rem 1.1rem;
  border-radius: 10px;
  font-size: 0.92rem;
  line-height: 1.5;
}
.form-alert.show { display: block; }
.form-alert.ok {
  background: var(--olive-pale);
  color: var(--olive-dark);
  border: 1px solid var(--olive);
}
.form-alert.err {
  background: #F3E1D7;
  color: #8A452C;
  border: 1px solid #C98A6A;
}

.form-note {
  font-size: 0.83rem;
  color: var(--ink-soft);
  margin-top: 0.8rem;
}

.map-wrap {
  margin-top: 3rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--cream-dark);
}

.map-wrap iframe {
  display: block;
  width: 100%;
  height: 380px;
  border: 0;
}

/* ---------- Founder / bio ---------- */

.bio-sign {
  margin-top: 2rem;
  font-family: "Comfortaa", "Segoe UI", sans-serif;
  color: var(--olive-dark);
}

.bio-sign strong { font-size: 1.15rem; }

.bio-sign span {
  display: block;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.check-list {
  list-style: none;
  margin-top: 1rem;
}

.check-list li {
  padding-left: 1.9rem;
  position: relative;
  margin-bottom: 0.6rem;
  color: var(--ink-soft);
}

.check-list li::before {
  content: "✿";
  position: absolute;
  left: 0;
  color: var(--olive);
}

/* ---------- Draft notice ---------- */

.draft-note {
  background: var(--tan-pale);
  border: 1px dashed var(--gold);
  border-radius: 10px;
  padding: 0.7rem 1.1rem;
  font-size: 0.85rem;
  color: var(--gold);
  max-width: 720px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

/* ==========================================================
   ΠΕΙΡΑΜΑ: Διαγώνιες ραφές ενοτήτων (στυλ enarmonizw.gr)
   Για επαναφορά: διαγράψτε ΟΛΟ αυτό το μπλοκ μέχρι το τέλος του
   ========================================================== */

.section.alt {
  clip-path: polygon(0 3.5rem, 100% 0, 100% calc(100% - 3.5rem), 0 100%);
  padding-block: 7rem;
}

/* Το CTA έχει διαγώνια μόνο στην πάνω πλευρά· προς το footer η ένωση
   των δύο πράσινων μένει ευθεία για ηρεμία. */
.cta-banner {
  clip-path: polygon(0 0, 100% 3.5rem, 100% 100%, 0 100%);
  padding-block: 7rem 3.5rem;
}

/* Διαγώνια χρωματική ραφή: hero λευκό → «Καλώς ήρθατε» κρεμ.
   Η ενότητα κρεμ έχει λοξά κομμένη κορυφή και ανεβαίνει πάνω στο
   λευκό hero, ώστε το τρίγωνο που κόβεται να αποκαλύπτει το λευκό. */
.hero { background: var(--white); padding-bottom: 6.5rem; }

.welcome-section {
  background: var(--cream);
  clip-path: polygon(0 3.5rem, 100% 0, 100% 100%, 0 100%);
  margin-top: -3.5rem;
  padding-top: 6rem;
}

/* Εσωτερικές σελίδες: ΛΕΥΚΗ βάση — το φως ενώνεται (page-hero + 1η ενότητα
   σε ένα λευκό μπλοκ) και οι ΜΠΕΖ ενότητες γίνονται οι διαγώνιες ζώνες. */
body.inner { background: var(--white); }
.page-hero { background: var(--white); padding-bottom: 1.5rem; }
body.inner .section { background: var(--white); }
body.inner .section.alt { background: var(--cream); }
/* Κάρτες μέσα στις μπεζ ζώνες: λευκές, για μεγαλύτερη αντίθεση */
body.inner .section.alt .card { background: var(--white); }
/* Κάρτες αξόνων σε λευκή ενότητα: πιο ανοιχτό κρεμ, για ήπια αντίθεση */
body.inner .axis { background: var(--cream-soft); }
/* Το ίδιο και στις κάρτες των τμημάτων (λευκή ενότητα) */
body.inner .class-card { background: var(--cream-soft); }

/* ================== ΤΕΛΟΣ ΠΕΙΡΑΜΑΤΟΣ ================== */

/* ---------- Footer ---------- */

.site-footer {
  background: var(--olive-dark);
  color: rgba(255, 255, 255, 0.82);
  padding: 3.5rem 0 1.5rem;
  font-size: 0.94rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; }
}

.site-footer h4 {
  color: var(--cream);
  font-size: 1.05rem;
  margin-bottom: 0.9rem;
}

.footer-brand .f-name {
  font-family: "Comfortaa", "Segoe UI", sans-serif;
  font-size: 1.4rem;
  color: var(--cream);
  font-weight: 700;
}

.footer-brand .f-tag {
  color: var(--tan);
  font-size: 0.88rem;
  letter-spacing: 0.1em;
  margin-top: 0.2rem;
  margin-bottom: 1rem;
}

.site-footer ul { list-style: none; }

.site-footer li { margin-bottom: 0.45rem; }

.site-footer a { color: rgba(255, 255, 255, 0.82); }

.site-footer a:hover { color: var(--tan); }

.social-row {
  display: flex;
  gap: 0.8rem;
  margin-top: 0.6rem;
}

.social-row a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: background 0.2s;
}

.social-row a:hover { background: rgba(255, 255, 255, 0.25); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1.3rem;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
}
