/* ==========================================================
   Parlak Gelecek Kişisel Gelişim Kursu — stil dosyası (v2)
   Palet: logodan mavi, turkuaz, güneş sarısı; kursun içinden
   turuncu, yeşil, pembe, mor. Zeminler krem ve beyaz.
   Not: iOS 15 uyumu için CSS nesting kullanılmadı.
   ========================================================== */

/* ---------- Fontlar (yerel, OFL lisanslı) ---------- */
@font-face {
  font-family: "Baloo 2";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../assets/fonts/baloo2-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Baloo 2";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../assets/fonts/baloo2-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../assets/fonts/nunito-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../assets/fonts/nunito-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tasarım değişkenleri ---------- */
:root {
  --ink: #1B2B4B;
  --ink-soft: #3F4C66;
  --cream: #FFF8EC;
  --white: #FFFFFF;
  --lemon: #FFF4D2;
  --sky: #E5F3FF;
  --peach: #FFEEE2;

  --blue: #2B5797;
  --blue-edge: #183A6E;
  --blue-hover: #3463AD;
  --sun: #FFC93C;
  --sun-edge: #C98F00;
  --sun-hover: #FFD45E;
  --sun-ink: #2A1E00;
  --teal: #3FBBBD;
  --teal-edge: #1E8C8E;
  --teal-ink: #0C5F63;
  --teal-tint: #D9F4F4;
  --pink: #FF8DBC;
  --pink-edge: #D9558E;
  --pink-ink: #9C1F57;
  --pink-tint: #FFE3EF;
  --purple: #8B6CEF;
  --purple-edge: #6A4BD6;
  --purple-ink: #4B2FB0;
  --purple-tint: #ECE6FF;
  --green: #6CC24A;
  --green-edge: #4E9F31;
  --green-ink: #2D6B18;
  --green-tint: #E3F6DA;
  --orange: #FF8A3D;
  --orange-edge: #E5691B;
  --orange-ink: #9A440B;
  --orange-tint: #FFE6D5;
  --sun-tint: #FFF0C2;

  --display: "Baloo 2", "Arial Rounded MT Bold", "Trebuchet MS", system-ui, sans-serif;
  --body: "Nunito", "Segoe UI", system-ui, -apple-system, sans-serif;

  --radius: 18px;
  --radius-lg: 28px;
  --header-h: 72px;
  --bar-h: 76px;
  --gutter: 20px;
  --wave-h: clamp(28px, 4vw, 60px);

  --z-decor: 0;
  --z-content: 1;
  --z-header: 30;
  --z-bar: 40;
  --z-skip: 50;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-tap-highlight-color: rgba(43, 87, 151, .18);
}
@media (min-width: 960px) {
  body { font-size: 1.125rem; }
}

img, svg { display: block; }
img { max-width: 100%; height: auto; }
figure { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
a { color: var(--blue); text-underline-offset: .2em; text-decoration-thickness: 2px; }

h1, h2, h3 {
  font-family: var(--display);
  color: var(--ink);
  margin: 0 0 .45em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.35rem, 1.5rem + 3.6vw, 4.25rem); line-height: 1.04; font-weight: 800; letter-spacing: -.01em; }
h2 { font-size: clamp(1.95rem, 1.35rem + 2.4vw, 3rem); line-height: 1.1; font-weight: 800; }
h3 { font-size: clamp(1.3rem, 1.15rem + .6vw, 1.55rem); line-height: 1.2; font-weight: 700; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon .fill-icon, .fill-icon { fill: currentColor; stroke: none; }

.icon {
  width: 1.25em; height: 1.25em;
  flex: none;
  fill: none; stroke: currentColor; stroke-width: 2.2;
  stroke-linecap: round; stroke-linejoin: round;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left));
  padding-right: max(var(--gutter), env(safe-area-inset-right));
  position: relative;
  z-index: var(--z-content);
}
@media (max-width: 380px) { :root { --gutter: 16px; } }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Odak ---------- */
:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  border-radius: 8px;
}
.site-footer :focus-visible { outline-color: var(--sun); }
@supports not selector(:focus-visible) {
  a:focus, button:focus { outline: 3px solid var(--ink); outline-offset: 3px; }
}

.skip-link {
  position: absolute; left: 12px; top: -80px;
  z-index: var(--z-skip);
  background: var(--ink); color: var(--white);
  padding: 12px 18px; border-radius: 12px; font-weight: 800;
  text-decoration: none;
}
.skip-link:focus { top: 12px; color: var(--white); }

/* ---------- Çıkartma etiketler ---------- */
.sticker {
  display: inline-block;
  font-family: var(--display);
  font-weight: 800;
  font-size: .9rem;
  line-height: 1.2;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .45em 1em .35em;
  border-radius: 999px;
  border: 2px solid currentColor;
  transform: rotate(-2deg);
  margin-bottom: 1rem;
}
.sticker-teal { background: var(--teal-tint); color: var(--teal-ink); box-shadow: 0 3px 0 var(--teal); }
.sticker-pink { background: var(--pink-tint); color: var(--pink-ink); box-shadow: 0 3px 0 var(--pink); }
.sticker-sun { background: var(--sun-tint); color: #6E4E00; box-shadow: 0 3px 0 var(--sun); }
.sticker-orange { background: var(--orange-tint); color: var(--orange-ink); box-shadow: 0 3px 0 var(--orange); }
.sticker-purple { background: var(--purple-tint); color: var(--purple-ink); box-shadow: 0 3px 0 var(--purple); }
.sticker-green { background: var(--green-tint); color: var(--green-ink); box-shadow: 0 3px 0 var(--green); }

/* Fosforlu kalem */
.mark {
  background-image: linear-gradient(transparent 56%, var(--mk) 56%, var(--mk) 90%, transparent 90%);
  padding: 0 .06em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.mark-sun { --mk: #FFD966; }
.mark-pink { --mk: #FFC2DA; }
.mark-teal { --mk: #B4EBEB; }

/* El çizimi alt çizgi */
.underline {
  padding-bottom: .38em;
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: min(220px, 70%) .42em;
}
.underline-sun { background-image: url("../assets/illus/cizgi-sari.svg"); }
.underline-pink { background-image: url("../assets/illus/cizgi-pembe.svg"); }
.underline-teal { background-image: url("../assets/illus/cizgi-turkuaz.svg"); }

/* ---------- Butonlar (şeker / 3D) ---------- */
.btn {
  --bg: var(--white); --fg: var(--ink); --edge: #C8D2E3; --hover: #F4F7FC;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 52px; min-width: 48px;
  padding: .7em 1.35em .6em;
  border-radius: 999px;
  border: 2px solid var(--edge);
  background-color: var(--bg);
  color: var(--fg);
  font-family: var(--display);
  font-weight: 800; font-size: 1.05rem; line-height: 1.1;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 5px 0 var(--edge);
  transform: translateY(0);
  transition: transform .12s ease, box-shadow .12s ease, background-color .2s ease;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.btn .icon { width: 1.2em; height: 1.2em; stroke-width: 2.4; }
.btn:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--edge); }
.btn:focus-visible { outline: 3px solid var(--ink); outline-offset: 5px; border-radius: 999px; }
@media (hover: hover) {
  .btn:hover { background-color: var(--hover); color: var(--fg); }
}
.btn-lg { min-height: 58px; font-size: 1.15rem; padding: .75em 1.6em .65em; }
.btn-block { width: 100%; }
.btn-sun { --bg: var(--sun); --fg: var(--sun-ink); --edge: var(--sun-edge); --hover: var(--sun-hover); }
.btn-blue { --bg: var(--blue); --fg: var(--white); --edge: var(--blue-edge); --hover: var(--blue-hover); }
.btn-teal { --bg: var(--teal); --fg: var(--ink); --edge: var(--teal-edge); --hover: #5CC9CB; }
.btn-pink { --bg: var(--pink); --fg: var(--ink); --edge: var(--pink-edge); --hover: #FFA3CA; }
.btn-white { --bg: var(--white); --fg: var(--ink); --edge: #B9C6DB; --hover: #F4F7FC; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px 12px; }

.text-link {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 44px; margin-top: .4rem;
  font-family: var(--display); font-weight: 800;
  color: var(--orange-ink);
  text-decoration: underline;
}
.text-link .icon { width: 1.1em; height: 1.1em; }
@media (hover: hover) {
  .text-link:hover { color: var(--ink); }
}

/* ---------- Üst menü ---------- */
.site-header {
  position: -webkit-sticky;
  position: sticky; top: 0;
  z-index: var(--z-header);
  background: var(--white);
  border-bottom: 3px solid var(--sun-tint);
  transition: box-shadow .2s ease;
}
.site-header.is-scrolled { box-shadow: 0 6px 20px rgba(27, 43, 75, .1); }

.header-inner {
  min-height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
  gap: 8px 16px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  min-height: 48px;
  text-decoration: none; color: var(--ink);
  min-width: 0;
}
.brand-logo { width: 48px; height: 48px; border-radius: 50%; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; min-width: 0; }
.brand-name { font-family: var(--display); font-weight: 800; font-size: 1.25rem; color: var(--blue); }
.brand-sub { font-size: .85rem; font-weight: 700; color: var(--ink-soft); white-space: nowrap; }

.nav-toggle {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 52px; height: 52px;
  border: 2px solid #C8D2E3; border-radius: 16px;
  background: var(--white); color: var(--ink);
  box-shadow: 0 4px 0 #C8D2E3;
  cursor: pointer;
  touch-action: manipulation;
}
.nav-toggle:active { transform: translateY(2px); box-shadow: 0 2px 0 #C8D2E3; }
.nav-toggle .icon { width: 26px; height: 26px; stroke-width: 2.6; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* Mobilde açılır menü paneli. JavaScript kapalıyken css/nojs.css menüyü her zaman açık gösterir
   (sayfa yüklenirken düzen kayması olmasın diye varsayılan stil JS'nin açık olduğunu varsayar). */
.site-nav {
  display: none;
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--white);
  border-bottom: 3px solid var(--sun-tint);
  box-shadow: 0 18px 30px rgba(27, 43, 75, .14);
  padding: 8px var(--gutter) 22px;
}
.site-nav.is-open { display: block; }
.site-nav ul a {
  display: flex; align-items: center;
  min-height: 54px; padding: 0 4px;
  border-bottom: 2px dashed #E3E8F1;
  font-family: var(--display); font-weight: 700; font-size: 1.15rem;
  color: var(--ink); text-decoration: none;
}
.nav-cta { width: 100%; margin-top: 18px; }

@media (hover: hover) {
  .site-nav ul a:hover { color: var(--blue); background: var(--sky); }
}

@media (min-width: 1080px) {
  .header-inner { flex-wrap: nowrap; }
  .nav-toggle { display: none; }
  .site-nav {
    display: flex; align-items: center; gap: 18px;
    position: static; width: auto; padding: 0;
    background: none; border: 0; box-shadow: none;
  }
  .site-nav ul { display: flex; gap: 2px; }
  .site-nav ul a {
    min-height: 46px; padding: 0 14px; border: 0; border-radius: 999px; font-size: 1.05rem;
  }
  .nav-cta { width: auto; margin-top: 0; min-height: 50px; }
}

/* ---------- Bölüm ortak ---------- */
.section {
  position: relative;
  overflow: hidden;
  padding-top: clamp(56px, 6vw, 100px);
  padding-bottom: calc(clamp(56px, 6vw, 100px) + var(--wave-h));
}
.section-head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head > p:not(.sticker) { color: var(--ink-soft); font-size: 1.08em; }

.wave {
  position: absolute; left: 0; bottom: -1px;
  width: 100%; height: var(--wave-h);
  z-index: var(--z-content);
}
.wave-white { fill: var(--white); }
.wave-lemon { fill: var(--lemon); }
.wave-sky { fill: var(--sky); }
.wave-peach { fill: var(--peach); }
.wave-cream { fill: var(--cream); }
.wave-blue { fill: var(--blue); }

/* Yüzen süsler */
.decor { position: absolute; inset: 0; z-index: var(--z-decor); pointer-events: none; }
.decor > * { position: absolute; }
.harf {
  display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 50%;
  font-family: var(--display); font-weight: 800; font-size: 1.35rem; line-height: 1;
  color: var(--ink);
  border: 2px solid rgba(27, 43, 75, .12);
}
/* Süsler bölüm ekrana girince bir kez, yavaşça yüzer ve durur (toplam < 5 sn, WCAG 2.2.2) */
@media (prefers-reduced-motion: no-preference) {
  .float { animation: floaty 4.6s ease-in-out 1 both; }
  .float:nth-child(2n) { animation-duration: 4.2s; }
  .js .float { animation-name: none; }
  .js .in-view .float { animation-name: floaty; }
}
@keyframes floaty {
  0%, 100% { transform: translateY(0) rotate(var(--rot, 0deg)); }
  50% { transform: translateY(-12px) rotate(var(--rot, 0deg)); }
}

/* ---------- Giriş ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--cream);
  padding-top: clamp(24px, 4vw, 56px);
  padding-bottom: calc(clamp(56px, 6vw, 96px) + var(--wave-h));
}
.hero .d-cloud-1 { top: 4%; left: -30px; width: 120px; opacity: .9; }
.hero .d-star-1 { top: 10%; right: 4%; width: 40px; --rot: 12deg; display: none; }
.hero .d-plane { bottom: 16%; left: 42%; width: 100px; display: none; }
.hero .h-a { top: 46%; right: -10px; background: #FFC2DA; --rot: -10deg; display: none; }
.hero .h-c { bottom: 9%; left: 4%; background: #C6F0B4; --rot: 8deg; display: none; }
.hero .h-g { top: 2%; left: 52%; background: #E0D6FF; --rot: 6deg; display: none; }

.hero-grid { display: grid; gap: 40px; align-items: center; }
.hero-text { max-width: 640px; }
.hero h1 { margin-bottom: .4em; }
.hero-lead { font-size: 1.1em; color: var(--ink-soft); margin-bottom: 1.6rem; max-width: 36rem; }
.hero .btn-row .btn { flex: 1 1 210px; }
.hero-phone { margin-top: 1.2rem; font-weight: 700; color: var(--ink-soft); }
.hero-phone a { color: var(--ink); font-weight: 800; text-decoration: none; font-variant-numeric: tabular-nums; }
@media (hover: hover) {
  .hero-phone a:hover { text-decoration: underline; }
}

.hero-media { position: relative; padding: 34px 18px 18px; max-width: 560px; justify-self: center; width: 100%; }
.hero-mascot {
  position: absolute; z-index: 3;
  top: -6px; right: -4px;
  width: clamp(96px, 26vw, 176px); height: auto;
  --rot: 8deg;
  transform: rotate(8deg);
}
.hero-pencils {
  position: absolute; z-index: 3;
  bottom: -6px; left: -2px;
  width: clamp(48px, 12vw, 78px); height: auto;
  transform: rotate(-14deg);
}
@media (prefers-reduced-motion: no-preference) {
  .hero-mascot { animation: floaty 4.6s ease-in-out 1 both; }
}

/* Polaroid fotoğraflar */
.polaroid {
  position: relative;
  background: var(--white);
  padding: 12px 12px 14px;
  border-radius: 8px;
  box-shadow: 0 2px 0 rgba(27, 43, 75, .06), 0 14px 30px rgba(27, 43, 75, .14);
}
.polaroid::before {
  content: "";
  position: absolute; top: -12px; left: 50%;
  width: 96px; height: 26px; margin-left: -48px;
  background: rgba(255, 201, 60, .75);
  border-radius: 3px;
  transform: rotate(-4deg);
}
.polaroid img { width: 100%; border-radius: 4px; }
.polaroid figcaption {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  padding-top: 10px;
  font-family: var(--display); font-weight: 700; font-size: 1.05rem; line-height: 1.25;
  color: var(--ink); text-align: center;
}
.polaroid figcaption .icon { color: var(--orange-edge); }
.polaroid-hero { transform: rotate(-2.5deg); }
.tilt-l { transform: rotate(-1.6deg); }
.tilt-r { transform: rotate(1.6deg); }
.tilt-r::before { background: rgba(255, 141, 188, .7); transform: rotate(3deg); }

@media (min-width: 640px) {
  .hero .h-a, .hero .h-c { display: grid; }
  .hero .d-plane, .hero .d-star-1 { display: block; }
}
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.1fr .9fr; gap: 56px; }
  .hero .btn-row .btn { flex: 0 0 auto; }
  .hero .h-g { display: grid; }
  .hero .d-cloud-1 { width: 150px; left: 2%; }
  .hero .d-plane { bottom: 12%; left: 44%; width: 120px; }
  .hero .h-a { right: 2%; top: 70%; }
}

/* ---------- Biz Kimiz ---------- */
.about { background: var(--white); }
.about-grid { display: grid; gap: 32px; align-items: center; }
.about-text > p:not(.sticker) { max-width: 40rem; }

.facts { margin: 1.8rem 0 0; display: grid; grid-template-columns: 1fr; gap: 14px; }
.fact {
  padding: 14px 18px;
  border-radius: var(--radius);
  border: 2px solid var(--c-edge);
  background: var(--c-tint);
  box-shadow: 0 4px 0 var(--c-edge);
  transform: rotate(-.8deg);
}
.fact:nth-child(2n) { transform: rotate(.8deg); }
.fact dt { font-size: .9rem; font-weight: 800; color: var(--c-ink); }
.fact dd { margin: 0; font-family: var(--display); font-weight: 700; font-size: 1.2rem; line-height: 1.25; color: var(--ink); }
.fact-sun { --c-edge: var(--sun); --c-tint: var(--sun-tint); --c-ink: #6E4E00; }
.fact-teal { --c-edge: var(--teal); --c-tint: var(--teal-tint); --c-ink: var(--teal-ink); }
.fact-pink { --c-edge: var(--pink); --c-tint: var(--pink-tint); --c-ink: var(--pink-ink); }
.fact-purple { --c-edge: var(--purple); --c-tint: var(--purple-tint); --c-ink: var(--purple-ink); }

.about-art {
  position: relative;
  display: flex; justify-content: center; align-items: flex-end; gap: 4%;
  max-width: 420px; width: 100%; margin-inline: auto;
  padding-top: 70px;
}
.about-art .rainbow { position: absolute; top: 0; left: 50%; width: 62%; transform: translateX(-50%); }
.about-art .kid { width: 46%; position: relative; }
.about-art .kid-2 { margin-bottom: 18px; }

@media (min-width: 640px) {
  .facts { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 960px) {
  .about-grid { grid-template-columns: 1.2fr .8fr; gap: 56px; }
}

/* ---------- Programlar ---------- */
.programs { background: var(--lemon); }
.program-grid { display: grid; grid-template-columns: 1fr; gap: 28px; }
.program {
  display: flex; flex-direction: column;
  background: var(--white);
  border: 3px solid var(--c);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 0 var(--c);
  padding: 14px 14px 22px;
  transform: rotate(-1deg);
  transition: transform .25s ease;
}
.program:nth-child(2n) { transform: rotate(1deg); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .program:hover { transform: rotate(0) translateY(-4px); }
}
.program-art {
  display: grid; place-items: center;
  background: var(--c-tint);
  border-radius: 20px;
  padding: 14px;
  margin-bottom: 16px;
}
.program-art img { width: min(240px, 80%); }
.program-body { padding: 0 8px; }
.program h3 { color: var(--c-ink); font-size: clamp(1.45rem, 1.25rem + .7vw, 1.75rem); font-weight: 800; }
.program p { color: var(--ink-soft); }
.prog-teal { --c: var(--teal); --c-tint: var(--teal-tint); --c-ink: var(--teal-ink); }
.prog-purple { --c: var(--purple); --c-tint: var(--purple-tint); --c-ink: var(--purple-ink); }
.prog-green { --c: var(--green); --c-tint: var(--green-tint); --c-ink: var(--green-ink); }
.prog-orange { --c: var(--orange); --c-tint: var(--orange-tint); --c-ink: var(--orange-ink); }
.center-cta { display: flex; justify-content: center; margin-top: 44px; }

@media (min-width: 720px) {
  .program-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

/* ---------- Anlayarak Hızlı Okuma ---------- */
.reading { background: var(--sky); }
/* Hızlı okuma süsleri yalnızca geniş ekranda (dar ekranda metnin üstüne binmesin) */
.reading .decor { display: none; }
@media (min-width: 960px) { .reading .decor { display: block; } }
.reading .d-rocket { top: 6%; right: 3%; width: 46px; --rot: 18deg; }
.reading .d-star-2 { bottom: 14%; left: 2%; width: 34px; }
.reading .h-s { top: 38%; left: -12px; background: #FFE6D5; --rot: -8deg; }

.reading-top { display: grid; gap: 16px; align-items: end; margin-bottom: 36px; }
.reading-top h3 { margin-top: .6em; }
.reading-lead { font-size: 1.12em; max-width: 42rem; }
.reading-kid { width: min(200px, 52%); justify-self: center; }

.reading-grid { display: grid; gap: 32px; }
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 3px solid #BFE0FA;
  box-shadow: 0 8px 0 #BFE0FA;
  padding: 24px 20px;
}
.card > p { color: var(--ink-soft); }
.check-list li {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 10px 0;
  border-bottom: 2px dashed #E3E8F1;
  font-weight: 700; line-height: 1.4;
}
.check-list li:last-child { border-bottom: 0; }
.check-list .icon {
  width: 30px; height: 30px; padding: 6px; margin-top: -3px;
  border-radius: 50%; stroke-width: 3.4;
  background: var(--teal-tint); color: var(--teal-ink);
}
.check-list li:nth-child(4n+2) .icon { background: var(--pink-tint); color: var(--pink-ink); }
.check-list li:nth-child(4n+3) .icon { background: var(--sun-tint); color: #6E4E00; }
.check-list li:nth-child(4n+4) .icon { background: var(--purple-tint); color: var(--purple-ink); }

.reading-how > p { max-width: 40rem; }
.how-list { display: grid; gap: 12px; margin-top: 1.2rem; }
.how {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: var(--white);
  border: 2px solid var(--c);
  box-shadow: 0 4px 0 var(--c);
  font-weight: 800; line-height: 1.35;
}
.how .icon {
  width: 44px; height: 44px; padding: 10px;
  border-radius: 14px; stroke-width: 2.2;
  background: var(--c-tint); color: var(--c-ink);
}
.how-teal { --c: var(--teal); --c-tint: var(--teal-tint); --c-ink: var(--teal-ink); }
.how-pink { --c: var(--pink); --c-tint: var(--pink-tint); --c-ink: var(--pink-ink); }
.how-sun { --c: var(--sun); --c-tint: var(--sun-tint); --c-ink: #6E4E00; }
.how-green { --c: var(--green); --c-tint: var(--green-tint); --c-ink: var(--green-ink); }
.how-purple { --c: var(--purple); --c-tint: var(--purple-tint); --c-ink: var(--purple-ink); }
.how-orange { --c: var(--orange); --c-tint: var(--orange-tint); --c-ink: var(--orange-ink); }

.reading-why { display: grid; gap: 36px; margin-top: clamp(40px, 5vw, 64px); align-items: center; }

/* Unutmayın kutusu — göz durakları gibi kelime grupları */
.remember {
  background: var(--sun);
  border: 3px solid var(--sun-edge);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 0 var(--sun-edge);
  padding: 26px 22px 28px;
  transform: rotate(-1.2deg);
}
.remember-label {
  display: inline-block;
  font-family: var(--display); font-weight: 800;
  font-size: .9rem; letter-spacing: .08em; text-transform: uppercase;
  background: var(--white); color: var(--ink);
  border-radius: 999px; padding: .35em .9em .25em;
  margin-bottom: 1rem;
}
.fixation {
  font-family: var(--display);
  font-size: clamp(1.35rem, 1.1rem + 1.1vw, 1.9rem);
  font-weight: 700;
  line-height: 2.1;
  color: var(--ink);
}
.fixation .g { position: relative; display: inline-block; line-height: 1.3; padding-top: 12px; }
.fixation .g::before {
  content: "";
  position: absolute; top: 0; left: 50%;
  width: 9px; height: 9px; margin-left: -4.5px;
  border-radius: 50%;
  background: var(--blue);
}
.fixation .g::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -3px;
  height: 4px; border-radius: 2px;
  background: var(--pink-edge);
  transform-origin: left center;
}
@media (prefers-reduced-motion: no-preference) {
  .js .fixation .g { color: #6B5A2A; transition: color .35s ease; }
  .js .fixation .g::before { opacity: 0; transform: scale(.3); transition: opacity .25s ease, transform .35s ease; }
  .js .fixation .g::after { transform: scaleX(0); transition: transform .35s ease; }
  .js .remember.is-reading .fixation .g { color: var(--ink); }
  .js .remember.is-reading .fixation .g::before { opacity: 1; transform: none; }
  .js .remember.is-reading .fixation .g::after { transform: none; }
  .js .fixation .g2, .js .fixation .g2::before, .js .fixation .g2::after { transition-delay: .26s; }
  .js .fixation .g3, .js .fixation .g3::before, .js .fixation .g3::after { transition-delay: .52s; }
  .js .fixation .g4, .js .fixation .g4::before, .js .fixation .g4::after { transition-delay: .78s; }
  .js .fixation .g5, .js .fixation .g5::before, .js .fixation .g5::after { transition-delay: 1.04s; }
  .js .fixation .g6, .js .fixation .g6::before, .js .fixation .g6::after { transition-delay: 1.3s; }
  .js .fixation .g7, .js .fixation .g7::before, .js .fixation .g7::after { transition-delay: 1.56s; }
  .js .fixation .g8, .js .fixation .g8::before, .js .fixation .g8::after { transition-delay: 1.82s; }
}

@media (min-width: 640px) {
  .how-list { grid-template-columns: 1fr 1fr; }
  .card { padding: 30px 30px; }
  .remember { padding: 32px 36px 36px; }
}
@media (min-width: 960px) {
  .reading-top { grid-template-columns: 1fr 240px; gap: 40px; }
  .reading-kid { width: 220px; }
  .reading-grid { grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
  .reading-why { grid-template-columns: 1fr 1fr; gap: 56px; }
}

/* ---------- Galeri ---------- */
.gallery { background: var(--white); }
.gallery-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 18px; }
.gallery-wide { grid-column: 1 / -1; }
.gallery-link { display: block; border-radius: 4px; cursor: zoom-in; }
.gallery-link img { transition: opacity .2s ease; }
@media (hover: hover) {
  .gallery-link:hover img { opacity: .9; }
}
.gallery .polaroid { padding: 10px 10px 12px; }
.gallery .polaroid::before { width: 64px; height: 20px; margin-left: -32px; top: -9px; }
.gallery .gallery-wide .polaroid::before { width: 96px; height: 26px; margin-left: -48px; top: -12px; }
.gallery .polaroid figcaption { font-size: .98rem; }
@media (min-width: 960px) {
  .gallery-grid { grid-template-columns: repeat(4, 1fr); gap: 36px 26px; }
  .gallery .polaroid { padding: 12px 12px 14px; }
}

/* Lightbox */
.lightbox {
  width: 100%; height: 100%;
  max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0;
  background: rgba(16, 26, 46, .94);
  overscroll-behavior: contain;
}
.lightbox::backdrop { background: rgba(16, 26, 46, .6); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox-figure { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 72px 16px 24px; max-width: 100%; }
.lightbox-img {
  width: auto; height: auto;
  max-width: min(1200px, 100%);
  max-height: 72vh;
  max-height: 72svh;
  border-radius: 10px;
  background: #0E1A30;
}
.lightbox-caption { color: #EEF3FA; font-family: var(--display); font-weight: 700; font-size: 1.1rem; text-align: center; }
.lb-btn {
  position: fixed;
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border: 2px solid rgba(255, 255, 255, .5); border-radius: 50%;
  background: rgba(16, 26, 46, .7); color: var(--white);
  cursor: pointer; touch-action: manipulation;
}
@media (hover: hover) {
  .lb-btn:hover { background: rgba(255, 255, 255, .18); }
}
.lb-btn:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 50%; }
.lb-btn .icon { width: 26px; height: 26px; }
.lb-close { top: max(12px, env(safe-area-inset-top)); right: 12px; }
.lb-prev, .lb-next { top: 50%; margin-top: -26px; }
.lb-prev { left: 12px; }
.lb-next { right: 12px; }
@media (max-width: 719px) {
  .lb-prev, .lb-next { top: auto; bottom: max(16px, env(safe-area-inset-bottom)); margin-top: 0; }
  .lb-prev { left: calc(50% - 64px); }
  .lb-next { right: calc(50% - 64px); }
  .lightbox-figure { padding-bottom: 96px; }
}

/* ---------- Randevu ---------- */
.appointment { background: var(--peach); }
.appointment-grid { display: grid; gap: 32px; align-items: center; }
.appointment-lead { font-size: 1.12em; max-width: 34rem; }
.appointment-kid { width: min(150px, 40%); margin-top: 8px; }
.appointment-card {
  background: var(--white);
  border: 3px solid #FFB98F;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 0 #FFB98F;
  padding: 24px 20px;
}
.state { display: grid; gap: 14px; }
.state[hidden], .embed-gate[hidden], .form-embed[hidden] { display: none; }
.state > p { color: var(--ink-soft); }
.status {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--sun-tint);
  border: 2px solid var(--sun);
  font-weight: 800; line-height: 1.45;
}
.status .icon { width: 24px; height: 24px; margin-top: 1px; color: var(--orange-ink); stroke-width: 2.6; }
.kvkk-note { margin-top: 16px; font-size: .95rem; color: var(--ink-soft); }
.kvkk-note a { color: var(--blue); font-weight: 800; }
.embed-gate { margin-top: 16px; padding: 16px; border: 2px dashed #C8D2E3; border-radius: 16px; display: grid; gap: 10px; }
.embed-note { font-size: .92rem; font-weight: 700; color: var(--ink-soft); margin: 0; }
.form-embed { margin-top: 36px; }
.form-embed iframe {
  display: block; width: 100%; height: 1100px;
  border: 3px solid #FFB98F; border-radius: var(--radius-lg);
  background: var(--white);
}
@media (min-width: 960px) {
  .appointment-grid { grid-template-columns: 1.05fr .95fr; gap: 56px; }
  .appointment-card { padding: 32px; }
  .appointment-kid { width: 180px; }
}

/* ---------- İletişim ---------- */
.contact {
  background: var(--cream);
  padding-bottom: clamp(56px, 6vw, 100px);
}
.contact-grid { display: grid; gap: 36px; align-items: start; }
.contact-list { margin: 1.4rem 0 1.8rem; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; min-width: 0; }
.contact-list li > div { min-width: 0; }
.ci { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; flex: none; background: var(--c-tint); color: var(--c-ink); border: 2px solid var(--c); }
.ci .icon { width: 22px; height: 22px; }
.ci-orange { --c: var(--orange); --c-tint: var(--orange-tint); --c-ink: var(--orange-ink); }
.ci-blue { --c: #8FB2E3; --c-tint: var(--sky); --c-ink: var(--blue); }
.ci-purple { --c: var(--purple); --c-tint: var(--purple-tint); --c-ink: var(--purple-ink); }
.ci-pink { --c: var(--pink); --c-tint: var(--pink-tint); --c-ink: var(--pink-ink); }
.contact-list .label { display: block; font-size: .88rem; font-weight: 800; color: var(--ink-soft); }
.contact-list address, .contact-list a { font-weight: 700; color: var(--ink); }
.contact-list a { display: inline-block; min-height: 44px; padding-top: 6px; }
.email { overflow-wrap: anywhere; word-break: break-word; }

.map-card {
  position: relative;
  min-height: 360px;
  border-radius: var(--radius-lg);
  border: 3px dashed var(--teal);
  background: var(--teal-tint);
  overflow: hidden;
  display: grid; place-items: center;
}
.map-card.is-loaded { border-style: solid; }
.map-gate { display: grid; justify-items: center; gap: 10px; padding: 28px 20px; text-align: center; }
.map-gate[hidden] { display: none; }
.map-icon { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--white); color: var(--teal-ink); border: 3px solid var(--teal); }
.map-icon .icon { width: 34px; height: 34px; }
.map-title { font-family: var(--display); font-weight: 800; font-size: 1.35rem; margin: 0; }
.map-card iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.loading-note { font-family: var(--display); font-weight: 700; color: var(--ink-soft); margin: 0; }
.map-card .loading-note { position: absolute; inset: 0; display: grid; place-items: center; }
.form-embed { position: relative; }
.form-embed .loading-note { position: absolute; top: 24px; left: 0; right: 0; text-align: center; }
.form-embed iframe { position: relative; }
.map-fallback { display: none; }
@media (min-width: 960px) {
  .contact-grid { grid-template-columns: 1fr 1fr; gap: 56px; }
  .map-card { min-height: 460px; }
}

/* ---------- Alt bilgi ---------- */
.site-footer { background: var(--cream); }
.site-footer .wave { position: static; display: block; margin-bottom: -1px; }
.footer-body {
  background: var(--blue);
  color: var(--white);
  padding-top: 28px;
}
.site-footer a { color: var(--white); text-decoration: none; }
@media (hover: hover) {
  .site-footer a:hover { text-decoration: underline; }
}
.footer-grid { display: grid; gap: 32px; padding-bottom: 32px; }
.footer-brand img { width: 64px; height: 64px; border-radius: 50%; margin-bottom: 14px; }
.footer-name { font-family: var(--display); font-weight: 800; font-size: 1.3rem; line-height: 1.2; }
.footer-slogan { max-width: 22rem; color: #EAF1FB; }
.footer-title {
  display: inline-block;
  font-size: 1.15rem; font-weight: 800; color: var(--white);
  padding-bottom: 4px; margin-bottom: .8rem;
  border-bottom: 4px solid var(--sun);
}
.footer-col address { margin-bottom: .6rem; color: #EAF1FB; }
.footer-links { display: grid; }
.footer-links a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; }
.footer-links .icon { width: 1.1em; height: 1.1em; }
.footer-bottom { border-top: 2px solid rgba(255, 255, 255, .22); padding-block: 18px; font-size: .95rem; color: #EAF1FB; }
.built-by {
  margin: 0;
  padding: 12px var(--gutter) 14px;
  text-align: center;
  font-size: .85rem;
  color: #DCE6F4;
  background: var(--blue-edge);
}
@media (min-width: 720px) {
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
}

/* ---------- Mobil alt buton çubuğu ---------- */
.action-bar {
  position: fixed; left: 0; right: 0; bottom: 0;
  z-index: var(--z-bar);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px;
  padding: 8px max(8px, env(safe-area-inset-left)) calc(10px + env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-right));
  background: var(--white);
  border-top: 3px solid var(--sun-tint);
  box-shadow: 0 -6px 18px rgba(27, 43, 75, .1);
}
.ab {
  --bg: var(--white); --fg: var(--ink); --edge: #C8D2E3;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  min-height: 54px; min-width: 44px;
  border-radius: 16px;
  border: 2px solid var(--edge);
  background: var(--bg); color: var(--fg);
  box-shadow: 0 4px 0 var(--edge);
  font-family: var(--display); font-weight: 800; font-size: .8rem; line-height: 1.1;
  text-decoration: none;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: transform .12s ease, box-shadow .12s ease;
}
.ab .icon { width: 22px; height: 22px; stroke-width: 2.4; }
.ab:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--edge); }
.ab:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; border-radius: 16px; }
.ab-blue { --bg: var(--blue); --fg: var(--white); --edge: var(--blue-edge); }
.ab-sun { --bg: var(--sun); --fg: var(--sun-ink); --edge: var(--sun-edge); }
.ab-teal { --bg: var(--teal); --fg: var(--ink); --edge: var(--teal-edge); }
.ab-pink { --bg: var(--pink); --fg: var(--ink); --edge: var(--pink-edge); }

/* Alt çubuk sayfanın sonunu örtmesin: footer'ın son şeridi çubuk yüksekliği kadar uzar */
@media (max-width: 1079px) {
  html { scroll-padding-bottom: calc(var(--bar-h) + 16px); }
  .built-by { padding-bottom: calc(14px + var(--bar-h) + env(safe-area-inset-bottom)); }
}
@media (min-width: 1080px) {
  .action-bar { display: none; }
}

/* ---------- KVKK ve 404 sayfaları ---------- */
.page-head { background: var(--cream); padding: clamp(36px, 5vw, 72px) 0 calc(24px + var(--wave-h)); position: relative; overflow: hidden; }
.legal { background: var(--white); padding: clamp(32px, 5vw, 64px) 0 clamp(56px, 6vw, 96px); }
.legal .container { max-width: 860px; }
.legal h2 { font-size: clamp(1.4rem, 1.2rem + .9vw, 1.85rem); margin-top: 1.6em; }
.legal ul { list-style: disc; padding-left: 1.3em; margin: 0 0 1em; }
.legal ul.plain { list-style: none; padding-left: 0; }
.legal li { margin-bottom: .4em; }
.legal .updated { font-weight: 800; color: var(--ink-soft); }
.legal .contact-lines p { margin-bottom: .2em; }
.legal a { overflow-wrap: anywhere; }

.notfound { background: var(--cream); text-align: center; padding: clamp(40px, 6vw, 88px) 0 clamp(64px, 8vw, 120px); position: relative; overflow: hidden; }
.notfound .container { display: grid; justify-items: center; gap: 8px; }
.notfound .d-cloud-1 { top: 6%; left: 3%; width: clamp(80px, 12vw, 140px); }
.notfound .d-star-1 { top: 10%; right: 6%; width: 38px; --rot: 12deg; }
.notfound .h-a { bottom: 12%; left: 6%; background: #E0D6FF; --rot: -8deg; }
@media (max-width: 639px) { .notfound .h-a, .notfound .d-star-1 { display: none; } }
.notfound-mascot { width: min(240px, 60vw); height: auto; margin-bottom: 8px; }
.notfound-code { font-family: var(--display); font-weight: 800; font-size: clamp(4rem, 3rem + 6vw, 8rem); line-height: 1; color: var(--blue); margin: 0; }
.notfound p { max-width: 32rem; }
@media (prefers-reduced-motion: no-preference) {
  .notfound-mascot { animation: floaty 4.6s ease-in-out 1 both; }
}

/* ---------- Windows yüksek kontrast ---------- */
@media (forced-colors: active) {
  .btn, .ab, .nav-toggle, .lb-btn { border: 2px solid ButtonText; box-shadow: none; }
  .program, .card, .fact, .remember, .polaroid, .appointment-card, .map-card, .how, .sticker, .status, .ci { border: 2px solid CanvasText; box-shadow: none; }
  .mark { background: none; text-decoration: underline; }
  .decor, .polaroid::before, .fixation .g::before, .fixation .g::after { display: none; }
  .underline { background: none; text-decoration: underline; }
}

/* ---------- Hareket azaltma: tüm animasyonlar durur ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
    scroll-behavior: auto !important;
  }
}

/* KVKK sayfası ayrıntıları */
.legal-title { font-size: clamp(1.6rem, 1.15rem + 2vw, 2.6rem); line-height: 1.15; }
.footer-on-white { background: var(--white); }
