/* Colorumi sitesi. Düzen: pastel boya lekeleri üstünde tek sütunlu hikâye; her bölüm kendi zeminini taşır.
   Tema cihaza göre açık ya da koyu açılır; üst çubuktaki düğmeyle değiştirilir (html[data-theme], tema.js). */
@font-face { font-family: "Fredoka"; src: url("fredoka-regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Fredoka"; src: url("fredoka-bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  color-scheme: light;
  --on-purple: #FFFFFF;
  --leke: .55;
  --bg: #FFF6EA;
  --bg-alt: #FFE9C9;
  --surface: #FFFFFF;
  --ink: #2E2547;
  --muted: #5E5576;
  --purple: #6A3FCB;
  --purple-soft: #EDE4FF;
  --orange: #F28A1E;
  --orange-ink: #A8520A;
  --pink: #D63C7B;
  --green: #2E8A3B;
  --teal: #157F78;
  --line: #F0DFC6;
  --shadow: 0 10px 30px rgba(92, 64, 30, .14);
  --foot-bg: #2E2547;
  --foot-fg: #FFF6EA;
  --display: "Fredoka", "Baloo 2", "Nunito", ui-rounded, system-ui, sans-serif;
  --body: ui-rounded, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 26px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark; --on-purple: #1C1830; --leke: .12;
    --bg: #1C1830; --bg-alt: #251F3D; --surface: #2C2547; --ink: #F6F0FF; --muted: #C4BADB;
    --purple: #B79BFF; --purple-soft: #3A2F5E; --orange: #FFA94D; --orange-ink: #FFB46B; --pink: #FF8DB9;
    --green: #6CD47A; --teal: #4FD1C5; --line: #3A3157; --shadow: 0 10px 30px rgba(0, 0, 0, .35);
    --foot-bg: #141124; --foot-fg: #F6F0FF;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark; --on-purple: #1C1830; --leke: .12;
  --bg: #1C1830; --bg-alt: #251F3D; --surface: #2C2547; --ink: #F6F0FF; --muted: #C4BADB;
  --purple: #B79BFF; --purple-soft: #3A2F5E; --orange: #FFA94D; --orange-ink: #FFB46B; --pink: #FF8DB9;
  --green: #6CD47A; --teal: #4FD1C5; --line: #3A3157; --shadow: 0 10px 30px rgba(0, 0, 0, .35);
  --foot-bg: #141124; --foot-fg: #F6F0FF;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--purple); }
:focus-visible { outline: 3px solid var(--purple); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.12; text-wrap: balance; margin: 0; }
h2 { font-size: clamp(1.8rem, 4.2vw, 2.7rem); }
h3 { font-size: 1.3rem; }
p { margin: 0; }

/* dil: yalnız seçili dildeki parçalar görünür */
body[data-dil="tr"] [data-l="en"], body[data-dil="en"] [data-l="tr"] { display: none !important; }

.wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
section { padding-block: clamp(56px, 9vw, 104px); }
.eyebrow { font-family: var(--display); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: .82rem; color: var(--orange-ink); margin-bottom: 10px; }
.lead { color: var(--muted); font-size: 1.12rem; max-width: 60ch; margin-top: 14px; }
.bas { display: grid; gap: 4px; margin-bottom: clamp(28px, 4vw, 44px); }

/* üst çubuk */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--bg-alt); }
header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 9; background: color-mix(in srgb, var(--bg-alt) 90%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.ust { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; min-height: 64px; }
.marka { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--display); font-weight: 700; font-size: 1.35rem; }
.marka img { width: 38px; height: 38px; border-radius: 10px; }
nav.menu { display: flex; gap: 22px; margin-left: auto; }
nav.menu a { color: var(--ink); text-decoration: none; font-family: var(--display); font-size: 1.02rem; padding: 10px 0; }
nav.menu a:hover, nav.menu a[aria-current="page"] { color: var(--purple); }
.dil { display: inline-flex; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.dil button { font: 700 .95rem var(--display); border: 0; background: transparent; color: var(--muted); min-width: 48px; min-height: 40px; padding: 6px 12px; border-radius: 999px; cursor: pointer; }
.dil button[aria-pressed="true"] { background: var(--purple); color: var(--on-purple); }
/* tema düğmesi: açık temada ay (koyuya geç), koyu temada güneş (açığa geç); tema.js data-theme'i hep yazar */
.tema { width: 46px; height: 46px; flex: none; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink); display: grid; place-items: center; cursor: pointer; padding: 0; }
.tema svg { width: 22px; height: 22px; }
.tema .gunes, :root[data-theme="dark"] .tema .ay { display: none; }
:root[data-theme="dark"] .tema .gunes { display: block; }
@media (max-width: 860px) {
  .dil { margin-left: auto; }
  nav.menu { order: 3; width: 100%; margin: 0 0 4px; gap: 20px; overflow-x: auto; scrollbar-width: none; }
  nav.menu a { white-space: nowrap; padding: 6px 0; font-size: .98rem; }
}

/* giriş */
.hero { position: relative; overflow: hidden; background: var(--bg-alt); padding-block: clamp(36px, 6vw, 72px) clamp(56px, 8vw, 96px); }
.leke { position: absolute; border-radius: 50%; filter: blur(2px); opacity: var(--leke); pointer-events: none; }
.leke.a { width: 420px; height: 420px; background: #FFC9B5; left: -140px; bottom: -160px; }
.leke.b { width: 360px; height: 360px; background: #E3D4FF; right: -120px; top: -140px; }
.leke.c { width: 220px; height: 220px; background: #C7EFE3; right: 18%; bottom: -110px; }
.hero-ic { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.hero-logo { width: min(330px, 80%); margin-bottom: 18px; filter: drop-shadow(0 6px 14px rgba(120, 70, 20, .18)); }
.hero h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); }
.hero h1 em { font-style: normal; color: var(--purple); }
.hero .lead { font-size: 1.18rem; }
.sozler { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 26px; padding: 0; list-style: none; }
.sozler li { font: 700 .95rem var(--display); background: var(--surface); border: 2px solid var(--line); border-radius: 999px; padding: 6px 14px; display: inline-flex; align-items: center; gap: 7px; }
.sozler li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--c, var(--green)); }

.magazalar { display: flex; flex-wrap: wrap; gap: 12px; }
.rozet-link { display: inline-block; border-radius: 10px; transition: transform .15s; }
.rozet-link:hover { transform: translateY(-2px); }
.rozet-link img { height: 54px; width: auto; }

/* telefon */
.sahne { position: relative; }
.telefon { position: relative; border-radius: clamp(26px, 4vw, 44px); background: #231C38; padding: clamp(8px, 1.3vw, 14px); box-shadow: 0 30px 60px rgba(70, 40, 20, .28), inset 0 0 0 2px #3B3158; aspect-ratio: 2622 / 1206; max-width: 100%; }
.telefon::after { content: ""; position: absolute; left: clamp(12px, 2vw, 22px); top: 50%; translate: 0 -50%; width: clamp(6px, .9vw, 10px); height: 22%; border-radius: 99px; background: #0F0B1A; }
.telefon img { width: 100%; height: 100%; object-fit: cover; border-radius: clamp(18px, 3vw, 32px); }
.hero .kedi { position: absolute; width: 22%; right: -6%; bottom: -26%; filter: drop-shadow(0 12px 18px rgba(80, 40, 10, .22)); animation: zipla 3.2s ease-in-out infinite; }
@keyframes zipla { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }

/* rakamlar */
.sayilar { background: var(--surface); border-block: 1px solid var(--line); padding-block: 26px; }
.sayilar ul { list-style: none; margin: 0 auto; padding-block: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; text-align: center; }
.sayilar li { display: grid; justify-items: center; }
.sayilar b { display: block; font: 700 clamp(1.8rem, 4vw, 2.5rem)/1 var(--display); color: var(--c); font-variant-numeric: tabular-nums; }
.sayilar span { color: var(--muted); font-size: .95rem; }
@media (max-width: 560px) { .sayilar ul { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 20px; } }

/* ücretsiz */
.ucretsiz { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.soz { background: var(--surface); border-radius: var(--radius); padding: 26px 24px; box-shadow: var(--shadow); display: grid; gap: 8px; align-content: start; }
.soz .rakam { font: 700 2.4rem/1 var(--display); color: var(--c); }
.soz p { color: var(--muted); }
@media (max-width: 760px) { .ucretsiz { grid-template-columns: 1fr; } }

/* kaydırılan şeritler: sağ kenarda devamı olduğunu gösteren solma */
.serit { position: relative; }
.serit::after { content: ""; position: absolute; top: 0; right: 0; bottom: 14px; width: 56px; pointer-events: none; background: linear-gradient(to right, transparent, var(--serit-zemin, var(--bg-alt))); }
.kategoriler { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(132px, 17vw, 170px); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 14px; scrollbar-width: thin; }
.kart { scroll-snap-align: start; margin: 0; border-radius: 20px; overflow: hidden; background: var(--surface); box-shadow: var(--shadow); border: 4px solid var(--c); }
.kart img { aspect-ratio: 360 / 600; object-fit: cover; width: 100%; }
.kart figcaption { background: var(--c); color: #fff; font: 700 1.1rem var(--display); text-align: center; padding: 7px 4px 9px; }

/* özellikler */
.ozellikler { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-flow: dense; gap: 18px; }
.oz { background: var(--surface); border-radius: var(--radius); padding: 22px; display: grid; gap: 10px; align-content: start; border: 2px solid var(--line); }
.oz .simge { width: 54px; height: 54px; border-radius: 16px; background: var(--c); display: grid; place-items: center; color: #fff; }
.oz .simge svg { width: 30px; height: 30px; }
.oz p { color: var(--muted); }
.oz.genis { grid-column: span 2; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 18px; }
.rozetler { display: flex; gap: 6px; }
.rozetler img { width: 74px; height: 74px; }
@media (max-width: 860px) { .ozellikler { grid-template-columns: repeat(2, minmax(0, 1fr)); } .oz.son { grid-column: 1 / -1; } }
@media (max-width: 560px) { .ozellikler { grid-template-columns: 1fr; } .oz.genis { grid-column: auto; grid-template-columns: 1fr; } .rozetler img { width: 60px; height: 60px; } }

/* ekran görüntüleri */
.vitrin { display: grid; grid-auto-flow: column; grid-auto-columns: min(78vw, 620px); gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 4px 22px; scrollbar-width: thin; }
.vitrin figure { margin: 0; scroll-snap-align: center; display: grid; gap: 12px; }
.vitrin .telefon { box-shadow: 0 16px 34px rgba(70, 40, 20, .2), inset 0 0 0 2px #3B3158; }
.vitrin figcaption { font: 400 1.05rem var(--display); color: var(--muted); text-align: center; }

/* öğrenme */
.ogrenme { background: var(--purple-soft); }
.beceriler { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.beceriler li { background: var(--surface); border-radius: 22px; padding: 20px; display: grid; gap: 6px; align-content: start; }
.beceriler b { font: 700 1.15rem var(--display); color: var(--purple); }
.beceriler span { color: var(--muted); font-size: .97rem; }
@media (max-width: 860px) { .beceriler { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .beceriler { grid-template-columns: 1fr; } }

/* ebeveynler */
.ebeveyn-ic { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.liste { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 14px; }
.liste li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 12px; align-items: start; }
.liste li::before { content: ""; width: 26px; height: 26px; margin-top: 1px; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 16px no-repeat; }
.liste b { font-family: var(--display); font-size: 1.08rem; }
.liste span { color: var(--muted); display: block; }
.kapi { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(22px, 3vw, 34px); display: grid; gap: 14px; justify-items: center; text-align: center; }
.kapi .soru { font: 700 clamp(2.2rem, 5vw, 3rem)/1 var(--display); color: var(--purple); letter-spacing: .02em; }
.kapi .cevaplar { display: flex; gap: 10px; }
.kapi .cevaplar span { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; font: 700 1.5rem var(--display); background: var(--bg-alt); color: var(--ink); }
.kapi .cevaplar span.dogru { background: var(--green); color: #fff; }
.kapi p { color: var(--muted); max-width: 36ch; }
@media (max-width: 760px) { .ebeveyn-ic { grid-template-columns: 1fr; } }

/* SSS */
.sss { display: grid; gap: 12px; max-width: 820px; }
details { background: var(--surface); border: 2px solid var(--line); border-radius: 20px; padding: 4px 20px; }
details[open] { border-color: var(--purple); }
summary { cursor: pointer; list-style: none; font: 700 1.1rem var(--display); padding: 14px 32px 14px 0; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 0; top: 50%; translate: 0 -50%; font-size: 1.6rem; color: var(--purple); }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); padding-bottom: 16px; max-width: 68ch; }

/* destek, hakkımızda */
.alt-iki { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.kutu { background: var(--surface); border-radius: var(--radius); padding: clamp(22px, 3vw, 34px); display: grid; gap: 12px; align-content: start; box-shadow: var(--shadow); }
.kutu p { color: var(--muted); }
.kutu .devam { font: 700 1rem var(--display); text-decoration: none; }
.eposta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.eposta a { font: 700 1.3rem var(--display); color: var(--purple); text-decoration: none; user-select: all; }
.kopyala { font: 700 .95rem var(--display); border: 2px solid var(--purple); color: var(--purple); background: transparent; border-radius: 999px; min-height: 44px; padding: 6px 16px; cursor: pointer; }
address { font-style: normal; color: var(--muted); }
@media (max-width: 760px) { .alt-iki { grid-template-columns: 1fr; } }

/* iç sayfalar */
.sayfa { padding-block: clamp(40px, 7vw, 80px); }
.sayfa h1 { font-size: clamp(2.1rem, 5vw, 3.2rem); }
.sayfa .icerik { display: grid; gap: 18px; max-width: 760px; }
.sayfa .icerik h2 { font-size: 1.5rem; margin-top: 10px; }
.sayfa .icerik p, .sayfa .icerik li { color: var(--muted); }
.sayfa .icerik ul { margin: 0; padding-left: 22px; display: grid; gap: 6px; }

footer { background: var(--foot-bg); color: var(--foot-fg); padding-block: 40px calc(40px + env(safe-area-inset-bottom, 0px)); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 18px 28px; align-items: center; justify-content: space-between; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
footer a { color: var(--foot-fg); text-decoration: none; font-family: var(--display); padding: 6px 0; }
footer a:hover { text-decoration: underline; }
footer small { opacity: .8; }

@media (max-width: 860px) {
  .hero-ic { grid-template-columns: 1fr; }
  .sahne { margin: 6px 7% 40px 0; }
  .hero .kedi { width: 24%; right: -8%; bottom: -30%; }
}
@media (max-width: 560px) { .hero-logo { display: none; } }
