/* =====================================================
   Minik Adımlar Anaokulu — Demo tasarım (mockup)
   İskandinav pastel kimlik: krem zemin, pudra mercan,
   adaçayı yeşili, bebek mavisi, bal sarısı.
   ===================================================== */

:root {
  --cream: #FAF6EF;
  --cream-deep: #F3ECDF;
  --paper: #FFFFFF;
  --ink: #47403B;
  --ink-soft: #7A7169;
  --coral: #E8837B;
  --coral-soft: #F8DCD6;
  --sage: #8FB287;
  --sage-soft: #E3EDDD;
  --sky: #7FB3D1;
  --sky-soft: #DFECF4;
  --honey: #E9B94E;
  --honey-soft: #F8EACB;
  --line: #E9E0D2;
  --radius: 22px;
  --radius-lg: 34px;
  --shadow: 0 10px 30px -12px rgba(71, 64, 59, .18);
  --font: "Avenir Next", "Nunito", "Trebuchet MS", "Segoe UI", system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

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

[id] { scroll-margin-top: 96px; }

body {
  font-family: var(--font);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.65;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; letter-spacing: -.01em; }

a { color: inherit; }

.container { width: min(1120px, 92%); margin-inline: auto; }

/* ---------- Scroll progress ---------- */
.progress {
  position: fixed; inset: 0 auto auto 0; height: 5px; width: 0%;
  background: linear-gradient(90deg, var(--coral), var(--honey), var(--sage), var(--sky));
  z-index: 120; border-radius: 0 99px 99px 0;
  transition: width .1s linear;
}

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 246, 239, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: .8rem 0; gap: 1rem;
}
.brand {
  display: flex; align-items: center; gap: .65rem;
  text-decoration: none; font-weight: 800; font-size: 1.12rem; line-height: 1.15;
}
.brand-mark {
  width: 46px; height: 46px; flex: none; border-radius: 16px;
  background: var(--coral-soft); display: grid; place-items: center;
}
.brand small { display: block; font-weight: 600; color: var(--ink-soft); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: .25rem; }
.nav a {
  text-decoration: none; font-weight: 600; font-size: .95rem;
  padding: .55rem .95rem; border-radius: 99px; color: var(--ink-soft);
  transition: background .2s, color .2s;
  min-height: 44px; display: inline-flex; align-items: center;
}
.nav a:hover { background: var(--cream-deep); color: var(--ink); }
.nav a.active { background: var(--ink); color: var(--cream); }
.nav a.cta { background: var(--coral); color: #fff; margin-left: .35rem; }
.nav a.cta:hover { background: #d9736b; }

.nav-toggle {
  display: none; width: 46px; height: 46px; border: 1px solid var(--line);
  background: var(--paper); border-radius: 14px; cursor: pointer;
  align-items: center; justify-content: center; gap: 4px; flex-direction: column;
}
.nav-toggle span { width: 20px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .25s; }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--cream); border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; padding: .8rem 4%;
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { justify-content: center; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: 4.5rem 0 5.5rem; overflow: clip; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: center;
}
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }

.kicker {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--sage-soft); color: #5c7a55;
  font-weight: 700; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase;
  padding: .45rem 1rem; border-radius: 99px; margin-bottom: 1.2rem;
}
.kicker.coral { background: var(--coral-soft); color: #b65a52; }
.kicker.sky { background: var(--sky-soft); color: #4c7fa0; }
.kicker.honey { background: var(--honey-soft); color: #a37c1e; }

.hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); margin-bottom: 1.1rem; }
.hero h1 em { font-style: normal; color: var(--coral); position: relative; white-space: nowrap; }
.hero h1 em svg { position: absolute; left: 0; bottom: -.18em; width: 100%; height: .3em; }
.hero p.lead { font-size: 1.12rem; color: var(--ink-soft); max-width: 34rem; margin-bottom: 1.8rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; }
.btn {
  display: inline-flex; align-items: center; gap: .5rem; text-decoration: none;
  font-weight: 700; padding: .85rem 1.6rem; border-radius: 99px; font-size: 1rem;
  min-height: 48px; transition: transform .2s, box-shadow .2s, background .2s;
}
.btn-primary { background: var(--coral); color: #fff; box-shadow: 0 8px 20px -8px rgba(232, 131, 123, .6); }
.btn-primary:hover { transform: translateY(-2px); background: #d9736b; }
.btn-ghost { background: var(--paper); color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--ink-soft); }

.hero-photo { position: relative; }
.hero-photo .frame {
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow);
  border: 6px solid #fff; transform: rotate(1.5deg);
}
.hero-photo .frame img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.hero-badge {
  position: absolute; bottom: -1.2rem; left: -1rem;
  background: var(--paper); border-radius: 18px; box-shadow: var(--shadow);
  padding: .8rem 1.2rem; display: flex; align-items: center; gap: .7rem;
  font-size: .88rem; font-weight: 700; border: 1px solid var(--line);
}
.hero-badge .dot { width: 38px; height: 38px; border-radius: 12px; background: var(--honey-soft); display: grid; place-items: center; flex: none; }

/* Floating shapes (parallax) */
.float { position: absolute; pointer-events: none; will-change: transform; }
@media (prefers-reduced-motion: reduce) { .float { display: none; } }

/* ---------- Sections ---------- */
.section { padding: 4.5rem 0; position: relative; }
.section.tint { background: var(--paper); }
.section.tint-sage { background: var(--sage-soft); }
.section.tint-sky { background: var(--sky-soft); }
.section-head { max-width: 42rem; margin-bottom: 2.8rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin-bottom: .7rem; }
.section-head p { color: var(--ink-soft); font-size: 1.05rem; }

/* Wavy divider */
.wave { display: block; width: 100%; height: 60px; margin-bottom: -1px; }

/* ---------- Cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--paper); border-radius: var(--radius); padding: 1.8rem;
  border: 1px solid var(--line); transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card .icon {
  width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center;
  margin-bottom: 1.1rem;
}
.card h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.card p { color: var(--ink-soft); font-size: .96rem; }
.bg-coral { background: var(--coral-soft); }
.bg-sage { background: var(--sage-soft); }
.bg-sky { background: var(--sky-soft); }
.bg-honey { background: var(--honey-soft); }

/* Photo cards */
.photo-card {
  background: var(--paper); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); transition: transform .25s, box-shadow .25s;
  display: flex; flex-direction: column;
}
.photo-card:hover { transform: translateY(-6px) rotate(-.4deg); box-shadow: var(--shadow); }
.photo-card img { width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; }
.photo-card .pad { padding: 1.3rem 1.5rem 1.6rem; }
.photo-card h3 { font-size: 1.1rem; margin-bottom: .35rem; }
.photo-card p { color: var(--ink-soft); font-size: .93rem; }
.chip {
  display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .08em;
  text-transform: uppercase; padding: .3rem .75rem; border-radius: 99px; margin-bottom: .6rem;
}

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
@media (max-width: 820px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem 1.2rem; text-align: center;
}
.stat b { display: block; font-size: 2.2rem; font-weight: 800; color: var(--coral); }
.stat:nth-child(2) b { color: var(--sage); }
.stat:nth-child(3) b { color: var(--sky); }
.stat:nth-child(4) b { color: var(--honey); }
.stat span { color: var(--ink-soft); font-size: .9rem; font-weight: 600; }

/* ---------- Marquee ---------- */
.marquee {
  overflow: clip; background: var(--ink); color: var(--cream);
  padding: .85rem 0; font-weight: 700; font-size: .95rem;
}
.marquee-track { display: flex; gap: 2.5rem; white-space: nowrap; width: max-content; animation: marquee 26s linear infinite; }
.marquee-track span { display: inline-flex; align-items: center; gap: 2.5rem; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ---------- Timeline (günlük akış) ---------- */
.timeline { position: relative; max-width: 46rem; margin-inline: auto; }
.timeline::before {
  content: ""; position: absolute; left: 26px; top: 8px; bottom: 8px;
  width: 3px; border-radius: 3px;
  background: linear-gradient(var(--coral), var(--honey), var(--sage), var(--sky));
}
.tl-item { position: relative; padding: 0 0 2rem 4.6rem; }
.tl-item:last-child { padding-bottom: 0; }
.tl-dot {
  position: absolute; left: 8px; top: 2px; width: 40px; height: 40px;
  border-radius: 14px; display: grid; place-items: center;
  background: var(--paper); border: 2px solid var(--line); font-size: 1.1rem;
}
.tl-item time { font-weight: 800; font-size: .82rem; color: var(--coral); letter-spacing: .06em; }
.tl-item h3 { font-size: 1.08rem; margin: .15rem 0 .25rem; }
.tl-item p { color: var(--ink-soft); font-size: .94rem; }

/* ---------- Accordion / age groups ---------- */
.age-card { border-left: 6px solid var(--coral); }
.age-card.sage { border-left-color: var(--sage); }
.age-card.sky { border-left-color: var(--sky); }
.age-card.honey { border-left-color: var(--honey); }
.age-card ul { list-style: none; margin-top: .8rem; }
.age-card li { padding: .3rem 0 .3rem 1.6rem; position: relative; color: var(--ink-soft); font-size: .94rem; }
.age-card li::before { content: ""; position: absolute; left: 0; top: .45em; width: 11px; height: 11px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='%23E8837B'%3E%3Ccircle cx='12' cy='5' r='4'/%3E%3Ccircle cx='18.7' cy='9.8' r='4'/%3E%3Ccircle cx='16.1' cy='17.7' r='4'/%3E%3Ccircle cx='7.9' cy='17.7' r='4'/%3E%3Ccircle cx='5.3' cy='9.8' r='4'/%3E%3C/g%3E%3Ccircle cx='12' cy='11.8' r='3' fill='%23FAF6EF'/%3E%3C/svg%3E") center/contain no-repeat; }

/* ---------- Values ---------- */
.value-row { display: flex; gap: 1.1rem; align-items: flex-start; padding: 1.1rem 0; border-bottom: 1px dashed var(--line); }
.value-row:last-child { border-bottom: 0; }
.value-row .icon { flex: none; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; }
.value-row h3 { font-size: 1.05rem; margin-bottom: .2rem; }
.value-row p { color: var(--ink-soft); font-size: .94rem; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--ink); color: var(--cream); border-radius: var(--radius-lg);
  padding: 3rem clamp(1.5rem, 5vw, 4rem); position: relative; overflow: clip;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.cta-band h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: .4rem; }
.cta-band p { color: #cfc8be; max-width: 30rem; }
.cta-band .btn-primary { background: var(--honey); color: var(--ink); box-shadow: none; }
.cta-band .btn-primary:hover { background: #f2c96a; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 2.5rem; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-list { list-style: none; }
.contact-list li { display: flex; gap: 1rem; align-items: flex-start; padding: .9rem 0; border-bottom: 1px dashed var(--line); }
.contact-list li:last-child { border: 0; }
.contact-list .icon { flex: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; }
.contact-list b { display: block; font-size: .95rem; }
.contact-list span, .contact-list a { color: var(--ink-soft); font-size: .93rem; text-decoration: none; }
.contact-list a:hover { color: var(--coral); }

form.demo-form { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 620px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 1rem; }
.field label { display: block; font-weight: 700; font-size: .85rem; margin-bottom: .35rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; padding: .75rem 1rem; border-radius: 14px;
  border: 1.5px solid var(--line); background: var(--cream); color: var(--ink);
  min-height: 48px;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--coral); outline-offset: 1px; border-color: var(--coral);
}
.form-note { font-size: .8rem; color: var(--ink-soft); margin-top: .8rem; }
.form-success { display: none; background: var(--sage-soft); color: #43663d; font-weight: 700; padding: 1rem 1.2rem; border-radius: 14px; margin-top: 1rem; }
.form-success.show { display: block; }

/* ---------- Map placeholder ---------- */
.map-ph {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  background: var(--sky-soft);
}
.map-ph svg { display: block; width: 100%; height: auto; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #cfc8be; margin-top: 4.5rem; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; padding: 3.5rem 0 2.5rem; }
@media (max-width: 820px) { .footer-inner { grid-template-columns: 1fr; } }
.footer h4 { color: var(--cream); margin-bottom: .9rem; font-size: 1rem; }
.footer a { color: #cfc8be; text-decoration: none; }
.footer a:hover { color: var(--honey); }
.footer ul { list-style: none; }
.footer li { padding: .25rem 0; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12); padding: 1.2rem 0; font-size: .82rem;
  display: flex; flex-wrap: wrap; gap: .6rem; justify-content: space-between;
}
.footer .brand { color: var(--cream); margin-bottom: .8rem; }
.footer .brand-mark { background: rgba(255,255,255,.12); }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Page hero (alt sayfalar) ---------- */
.page-hero { padding: 3.5rem 0 3rem; text-align: center; position: relative; overflow: clip; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 2.9rem); margin-bottom: .7rem; }
.page-hero p { color: var(--ink-soft); max-width: 38rem; margin-inline: auto; font-size: 1.08rem; }

/* ---------- Misc ---------- */
.two-col-photo { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center; }
@media (max-width: 900px) { .two-col-photo { grid-template-columns: 1fr; } }
.two-col-photo .frame { border-radius: var(--radius-lg); overflow: hidden; border: 6px solid #fff; box-shadow: var(--shadow); }
.two-col-photo .frame img { width: 100%; object-fit: cover; }

.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff;
  padding: .7rem 1.2rem; border-radius: 0 0 14px 0; z-index: 200;
}
.skip-link:focus { left: 0; }

/* ---------- Emoji yerine pastel SVG ikon düzeni ---------- */
.kicker svg { flex: none; }
.marquee-track .mq-item { display: inline-flex; align-items: center; gap: .55rem; }
.marquee-track .mq-item svg { flex: none; }
.footer .f-line { display: flex; gap: .6rem; align-items: flex-start; }
.footer .f-line svg { flex: none; margin-top: .3rem; }
.tl-dot svg { display: block; }
.hero-badge .dot svg { display: block; }
.btn svg { flex: none; }
.btn .arr { transition: transform .25s; }
.btn:hover .arr { transform: translateX(4px); }
