/* ============================================================
   NUR HOCAM — Tasarım Sistemi
   Görselsiz, çocuk dostu, hızlı ve sade eğitim sitesi
   ============================================================ */

/* ---------- Renk ve Değişkenler ---------- */
:root {
  --sky:        #2E9BCB;   /* Gökyüzü mavisi — ana etkileşim */
  --sky-soft:   #5EAECD;
  --sky-tint:   #DFF3F6;
  --turk:       #4FB6A2;   /* Pastel turkuaz — olumlu vurgu */
  --turk-soft:  #66BEAD;
  --turk-tint:  #E6F5F0;
  --yellow:     #F1CA5B;   /* Yumuşak sarı — dikkat */
  --yellow-tint:#FFF3D3;
  --peach:      #F0AA97;   /* Şeftali — sınırlı sıcak vurgu */
  --peach-tint: #FBE5DE;

  --bg:         #FBF9F4;   /* Kırık beyaz — ana zemin */
  --surface:    #FFFFFF;
  --ink:        #2B3F49;   /* Koyu gri — metin */
  --ink-soft:   #5B6E77;
  --heading:    #253842;
  --line:       #EAE6DD;

  --radius:     18px;
  --radius-sm:  12px;
  --radius-lg:  28px;
  --shadow:     0 10px 30px rgba(37, 56, 66, .08);
  --shadow-sm:  0 4px 14px rgba(37, 56, 66, .06);
  --maxw:       1120px;
  --gutter:     20px;

  --font-head: 'Baloo 2', 'Nunito', system-ui, sans-serif;
  --font-body: 'Nunito', system-ui, -apple-system, Segoe UI, sans-serif;
}

/* ---------- Sıfırlama ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--sky); text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--heading); line-height: 1.15; margin: 0 0 .5em; font-weight: 600; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); }
h3 { font-size: 1.25rem; }
p  { margin: 0 0 1em; }
ul { margin: 0 0 1em; padding-left: 1.2em; }
li { margin-bottom: .4em; }

/* ---------- Yerleşim ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 72px 0; }
.section--tight { padding: 48px 0; }
.center { text-align: center; }
.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 640px; }
.center .lead { margin-left: auto; margin-right: auto; }

/* Renk şeritleri */
.strip-sky   { background: var(--sky-tint); }
.strip-turk  { background: var(--turk-tint); }
.strip-yellow{ background: var(--yellow-tint); }
.strip-peach { background: var(--peach-tint); }
.strip-white { background: var(--surface); }

/* ---------- Üst Menü ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 249, 244, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 600; font-size: 1.25rem; color: var(--heading); white-space: nowrap; flex-shrink: 0; }
.brand__mark {
  width: 38px; height: 38px; border-radius: 12px;
  background: linear-gradient(135deg, var(--sky) 0%, var(--turk) 100%);
  color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 1.1rem;
  box-shadow: var(--shadow-sm);
}
.nav__links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__links a {
  color: var(--ink); font-weight: 600; font-size: .95rem;
  padding: 8px 10px; border-radius: 10px; transition: background .15s, color .15s; white-space: nowrap;
}
.nav__links a:hover, .nav__links a.active { background: var(--sky-tint); color: var(--sky); }
.nav__cta { margin-left: 6px; }
.nav__toggle {
  display: none; background: none; border: 0; cursor: pointer; padding: 8px;
  width: 44px; height: 44px; border-radius: 10px;
}
.nav__toggle span { display: block; width: 22px; height: 2.5px; background: var(--heading); border-radius: 2px; margin: 4px auto; transition: .2s; }

/* ---------- Butonlar ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-head); font-weight: 500; font-size: 1rem;
  padding: 13px 24px; border-radius: 999px; cursor: pointer;
  border: 2px solid transparent; transition: transform .12s, box-shadow .15s, background .15s;
  text-align: center; line-height: 1.1;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--sky); color: #fff; box-shadow: 0 8px 20px rgba(46,155,203,.28); }
.btn--primary:hover { background: #2789b4; }
.btn--turk { background: var(--turk); color: #fff; box-shadow: 0 8px 20px rgba(79,182,162,.28); }
.btn--turk:hover { background: #43a08e; }
.btn--yellow { background: var(--yellow); color: #5a4a1c; }
.btn--yellow:hover { background: #e8bd42; }
.btn--ghost { background: transparent; color: var(--sky); border-color: var(--sky); }
.btn--ghost:hover { background: var(--sky-tint); }
.btn--lg { padding: 16px 30px; font-size: 1.08rem; }
.btn--block { display: flex; width: 100%; }

/* ---------- Bölüm Etiketi (pill) ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 500; letter-spacing: .04em;
  text-transform: uppercase; font-size: .8rem; color: var(--sky);
  background: var(--sky-tint); padding: 6px 14px; border-radius: 999px; margin-bottom: 16px;
}
.eyebrow--turk { color: #2f8a78; background: var(--turk-tint); }
.eyebrow--peach { color: #b96a52; background: var(--peach-tint); }
.eyebrow--yellow { color: #8a6a12; background: var(--yellow-tint); }

/* ---------- Rozetler ---------- */
.badge {
  display: inline-block; font-family: var(--font-head); font-weight: 500;
  font-size: .78rem; padding: 3px 10px; border-radius: 999px; letter-spacing: .01em;
}
.badge--free { background: var(--turk); color: #fff; }
.badge--new  { background: var(--peach); color: #5a2c1e; }
.badge--grade{ background: var(--sky-tint); color: var(--sky); }
.badge--paid { background: var(--yellow); color: #5a4a1c; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 90px 0 80px; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.hero h1 { margin-bottom: .3em; }
.hero__quote { color: var(--sky); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero__note { margin-top: 18px; font-size: .95rem; color: var(--ink-soft); }

/* Görselsiz — CSS geometrik hero paneli */
.hero__panel {
  position: relative; background: var(--surface); border-radius: var(--radius-lg);
  padding: 32px; box-shadow: var(--shadow); border: 1px solid var(--line);
}
.hero__panel h3 { color: var(--heading); margin-bottom: 18px; }
.mini-list { list-style: none; padding: 0; margin: 0; }
.mini-list li {
  display: flex; align-items: center; gap: 12px; padding: 12px 0;
  border-bottom: 1px dashed var(--line); font-weight: 600; color: var(--ink);
}
.mini-list li:last-child { border-bottom: 0; }
.dot { width: 34px; height: 34px; flex: 0 0 34px; border-radius: 10px; display: grid; place-items: center; font-weight: 700; color: #fff; font-family: var(--font-head); }
.dot--sky { background: var(--sky); }
.dot--turk { background: var(--turk); }
.dot--yellow { background: var(--yellow); color: #5a4a1c; }
.dot--peach { background: var(--peach); color: #5a2c1e; }

/* Dekoratif CSS şekilleri (fotoğraf değil) */
.blob { position: absolute; border-radius: 50%; filter: blur(2px); opacity: .5; z-index: 0; pointer-events: none; }
.blob--1 { width: 260px; height: 260px; background: var(--turk-tint); top: -60px; right: -40px; }
.blob--2 { width: 180px; height: 180px; background: var(--yellow-tint); bottom: -50px; left: -30px; }
.hero .container { position: relative; z-index: 1; }

/* ---------- Kart Izgaraları ---------- */
.grid { display: grid; gap: 22px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm); transition: transform .15s, box-shadow .15s;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card__top { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.card h3 { margin-bottom: .35em; }
.card p { color: var(--ink-soft); }
.card__foot { margin-top: auto; padding-top: 18px; }
.card--accent-sky   { border-top: 4px solid var(--sky); }
.card--accent-turk  { border-top: 4px solid var(--turk); }
.card--accent-yellow{ border-top: 4px solid var(--yellow); }
.card--accent-peach { border-top: 4px solid var(--peach); }

/* İkon kutusu (CSS/emoji tabanlı, fotoğraf değil) */
.ibox { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 1.4rem; }
.ibox--sky { background: var(--sky-tint); }
.ibox--turk { background: var(--turk-tint); }
.ibox--yellow { background: var(--yellow-tint); }
.ibox--peach { background: var(--peach-tint); }

/* ---------- Ders kartı ---------- */
.lesson { position: relative; }
.lesson ul { color: var(--ink-soft); }

/* ---------- PDF / Ürün listesi (görselsiz) ---------- */
.product {
  display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 24px; box-shadow: var(--shadow-sm); transition: box-shadow .15s;
}
.product:hover { box-shadow: var(--shadow); }
.product__meta { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.product__title { font-family: var(--font-head); font-weight: 600; font-size: 1.15rem; color: var(--heading); margin: 0 0 4px; }
.product__desc { color: var(--ink-soft); margin: 0; font-size: .97rem; }
.product__buy { text-align: right; display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }
.price { font-family: var(--font-head); font-weight: 600; font-size: 1.4rem; color: var(--sky); white-space: nowrap; }
.price--free { color: var(--turk); }

/* ---------- Adımlar (numaralı süreç) ---------- */
.steps { display: grid; gap: 20px; grid-template-columns: repeat(4, 1fr); }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; position: relative; }
.step__num {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; color: #fff;
  background: linear-gradient(135deg, var(--sky), var(--turk)); margin-bottom: 14px;
}
.step h3 { font-size: 1.1rem; }
.step p { color: var(--ink-soft); font-size: .95rem; margin: 0; }

/* ---------- Zoom / Canlı ders çağrısı ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--sky) 0%, var(--turk) 100%);
  color: #fff; border-radius: var(--radius-lg); padding: 44px; text-align: center;
  box-shadow: var(--shadow);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.92); max-width: 560px; margin: 0 auto 24px; }
.cta-band .btn--primary { background: #fff; color: var(--sky); }
.cta-band .btn--primary:hover { background: #f0fbff; }
.cta-band .btn--ghost { color: #fff; border-color: rgba(255,255,255,.7); }
.cta-band .btn--ghost:hover { background: rgba(255,255,255,.14); }

/* ---------- SSS ---------- */
.faq { max-width: 760px; margin: 0 auto; }
.faq__item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 12px; overflow: hidden; }
.faq__q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  padding: 18px 22px; font-family: var(--font-head); font-weight: 500; font-size: 1.05rem;
  color: var(--heading); display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq__q::after { content: "+"; font-size: 1.5rem; color: var(--sky); transition: transform .2s; }
.faq__item.open .faq__q::after { transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.faq__a p { padding: 0 22px 18px; margin: 0; color: var(--ink-soft); }

/* ---------- Formlar ---------- */
.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; color: var(--heading); margin-bottom: 6px; font-size: .95rem; }
.field .req { color: var(--peach); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 1rem; color: var(--ink); background: #fff; transition: border .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--sky); box-shadow: 0 0 0 3px var(--sky-tint);
}
.field textarea { min-height: 110px; resize: vertical; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form__hint { font-size: .88rem; color: var(--ink-soft); margin-top: 4px; }

/* ---------- İletişim kutuları ---------- */
.contact-card { display: flex; align-items: center; gap: 16px; }
.contact-card .ibox { flex: 0 0 48px; }
.contact-card h3 { margin: 0 0 2px; font-size: 1.05rem; }
.contact-card a, .contact-card span { color: var(--ink-soft); font-weight: 600; }

/* ---------- Güven / bilgi kutusu ---------- */
.note {
  background: var(--yellow-tint); border: 1px solid #F0E0AC; border-radius: var(--radius-sm);
  padding: 16px 20px; color: #6b5719; font-size: .95rem;
}
.note--sky { background: var(--sky-tint); border-color: #BEE6EE; color: #205d70; }

/* ---------- Sayfa başlığı (alt sayfalar) ---------- */
.pagehead { padding: 56px 0 40px; }
.pagehead h1 { margin-bottom: .2em; }

/* ---------- Footer ---------- */
.footer { background: var(--heading); color: #cfdce2; padding: 56px 0 28px; margin-top: 20px; }
.footer a { color: #cfdce2; }
.footer a:hover { color: #fff; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; margin-bottom: 36px; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 8px; }
.footer .brand { color: #fff; margin-bottom: 12px; }
.footer__brandtext { color: #9fb2ba; font-size: .95rem; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .88rem; color: #9fb2ba; }

/* Üyelik modalı */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 100; padding: 20px;
  background: rgba(37,56,66,.55); backdrop-filter: blur(3px);
  display: none; align-items: center; justify-content: center;
}
.modal-backdrop.open { display: flex; }
.modal {
  background: var(--surface); border-radius: var(--radius-lg); width: 100%; max-width: 440px;
  padding: 32px; box-shadow: var(--shadow); position: relative; animation: modalIn .2s ease;
}
@keyframes modalIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.modal h3 { margin-bottom: 6px; font-size: 1.5rem; }
.modal__sub { color: var(--ink-soft); font-size: .95rem; margin-bottom: 22px; }
.modal__close {
  position: absolute; top: 14px; right: 16px; background: none; border: 0;
  font-size: 1.7rem; line-height: 1; color: var(--ink-soft); cursor: pointer;
}
.modal__close:hover { color: var(--heading); }
.modal .field { margin-bottom: 14px; }
.modal__err { color: #c0392b; font-size: .9rem; margin: 4px 0 12px; display: none; }
.modal__note { color: var(--ink-soft); font-size: .82rem; text-align: center; margin: 14px 0 0; }

/* WhatsApp yüzen buton */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff;
  display: grid; place-items: center; box-shadow: 0 8px 24px rgba(37,211,102,.4);
  font-size: 1.6rem; transition: transform .15s;
}
.wa-float:hover { transform: scale(1.06); color: #fff; }

/* ---------- Yardımcılar ---------- */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.stack > * + * { margin-top: 14px; }
.divider { height: 1px; background: var(--line); border: 0; margin: 40px 0; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__panel { order: -1; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .section { padding: 52px 0; }
  .nav__links {
    position: fixed; inset: 68px 0 auto 0; flex-direction: column; align-items: stretch;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 12px var(--gutter) 20px;
    gap: 4px; transform: translateY(-140%); transition: transform .25s ease; box-shadow: var(--shadow);
  }
  .nav__links.open { transform: translateY(0); }
  .nav__links a { padding: 12px 14px; }
  .nav__cta { margin: 8px 0 0; }
  .nav__toggle { display: block; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .product { grid-template-columns: 1fr; }
  .product__buy { text-align: left; align-items: stretch; flex-direction: row; justify-content: space-between; }
  .footer__grid { grid-template-columns: 1fr; }
  .cta-band { padding: 32px 22px; }
}
