/* ============================================================
   Ανθεμώνες — Βρεφονηπιακός Σταθμός
   Παλέτα βασισμένη στο λογότυπο (κρεμ / λαδί / μπεζ / χρυσοκάφε)
   ============================================================ */

:root {
  --cream:        #F7EFE2;
  --cream-soft:   #FBF6EC;
  --cream-dark:   #EFE3CC;
  --olive:        #7C8557;
  --olive-dark:   #5C6440;
  --olive-pale:   #E4E7D5;
  --tan:          #D9B98D;
  --tan-pale:     #F0E2CB;
  --gold:         #B08D57;
  --ink:          #3F4234;
  --ink-soft:     #6B6E5C;
  --white:        #FFFFFF;
  --radius:       14px;
  --shadow:       0 10px 30px rgba(92, 100, 64, 0.10);
  --shadow-soft:  0 4px 14px rgba(92, 100, 64, 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: "Noto Serif", Georgia, 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); }
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(251, 246, 236, 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: "Noto Serif", Georgia, 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(340px, 70vw);
  margin: 0 auto 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero .tagline {
  font-family: "Noto Serif", Georgia, 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;
}

.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; }
}

/* ---------- 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: "Noto Serif", Georgia, 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: "Noto Serif", Georgia, 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-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 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.reverse .photo-ph { 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(--white);
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius);
  padding: 2.2rem 2rem;
  box-shadow: var(--shadow-soft);
}

.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(--cream-soft);
  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);
}

.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: "Noto Serif", Georgia, 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;
}

/* ---------- 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: "Noto Serif", Georgia, 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);
}
