/* Tanitim sitesi (ana sayfa + ses kayitlari) stilleri.
   E-book goruntuleyicinin styles.css'inden ayri tutuldu: goruntuleyici tam
   ekran, koyu ve sabit yerlesimli; site ise akan, acik renkli bir sayfa.
   Renkler kitabin kendi paletinden aliniyor, ikisi bir butun gorunsun diye. */

:root {
  --ink: #10281c;          /* kitabin koyu yesili */
  --ink-2: #1b3a2a;
  --accent: #1f9d55;
  --accent-dark: #17784134;
  --paper: #eef5ef;        /* kitap sayfalarinin zemini */
  --white: #ffffff;
  --muted: #5b6f63;
  --line: #d3e2d7;
  --radius: 14px;
  --wrap: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 76px; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font: 17px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-text-size-adjust: 100%;
}

h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
h2 { font-size: clamp(26px, 3.4vw, 38px); }
h3 { font-size: 20px; }
p { margin: 0 0 1em; }
a { color: #16794a; }

.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }

/* ---------- ust menu ---------- */

#nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(16, 40, 28, .96);
  backdrop-filter: blur(10px);
  color: var(--paper);
}
#nav .wrap { display: flex; align-items: center; gap: 22px; height: 60px; }
#nav a { color: inherit; text-decoration: none; font-size: 15px; white-space: nowrap; }
#nav a:hover { color: #8fe0b4; }
#nav .brand { font-weight: 700; letter-spacing: .3px; margin-right: auto; font-size: 17px; }
#nav .links { display: flex; gap: 20px; overflow-x: auto; scrollbar-width: none; }
#nav .links::-webkit-scrollbar { display: none; }
#nav .cta {
  padding: 7px 15px;
  border-radius: 999px;
  background: var(--accent);
  font-weight: 600;
  flex: none;
}
#nav .cta:hover { background: #24b463; color: #fff; }
#nav .language-switch {
  display: inline-flex;
  align-items: center;
  padding: 2px;
  border: 1px solid rgba(255,255,255,.34);
  border-radius: 999px;
  flex: none;
}
#nav .language-switch a,
#nav .language-switch span {
  min-width: 30px;
  padding: 3px 7px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}
#nav .language-switch [aria-current="true"] {
  background: rgba(255,255,255,.16);
  color: #fff;
}
#nav .language-switch a:hover { background: rgba(255,255,255,.11); color: #fff; }

/* ---------- kapak ---------- */

#hero {
  position: relative;
  color: var(--paper);
  text-align: center;
  padding: 84px 0 76px;
  background: var(--ink);
  overflow: hidden;
}
#hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("assets/hero-bursa.webp") center/cover no-repeat;
  opacity: .30;
}
#hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16,40,28,.55), rgba(16,40,28,.92));
}
#hero .wrap { position: relative; z-index: 1; }

.logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 6vw, 64px);
  margin-bottom: 26px;
}
/* Logolar zaten beyaz daire rozet olarak hazirlandi (bkz. usage-sources/logos)
   - CSS'te ayrica zemin vermek iki tonlu bir halka birakiyordu. */
.logos img {
  width: clamp(84px, 12vw, 132px);
  height: auto;
  border-radius: 50%;
}
.logos .sep { width: 1px; height: 74px; background: rgba(255,255,255,.28); }

#hero h1 {
  font-size: clamp(40px, 8vw, 76px);
  letter-spacing: -1px;
  margin-bottom: .2em;
}
#hero .kicker {
  font-size: clamp(14px, 1.8vw, 17px);
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: #8fe0b4;
  margin-bottom: 18px;
}
#hero .lede {
  max-width: 640px;
  margin: 0 auto 30px;
  font-size: clamp(17px, 2vw, 20px);
  color: #dbeee2;
}

.btns { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.btns.start { justify-content: flex-start; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 26px;
  border: 2px solid transparent;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  transition: background .15s, transform .15s;
}
.btn:hover { background: #24b463; transform: translateY(-1px); }
.btn.ghost { background: transparent; border-color: rgba(255,255,255,.5); color: var(--paper); }
.btn.ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn.dark { background: var(--ink); }
.btn.dark:hover { background: var(--ink-2); }
.btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- bolumler ---------- */

section { padding: 72px 0; }
section.tinted { background: var(--paper); }
section > .wrap > p { max-width: 74ch; color: #2f4438; }

/* Bolum basliginin altinda kisa bir yesil cizgi - rozetlerin yerine,
   sayfayi kalabaliklastirmadan bolum baslangicini isaretliyor. */
/* fit-content: h2 blok eleman oldugu icin normalde tum sutunu kapliyor ve
   altindaki cizgi de metinden cok daha uzun cikiyordu. */
section h2 { width: fit-content; max-width: 100%; margin-bottom: 22px; }
section h2::after {
  content: "";
  display: block;
  width: 100%;
  height: 4px;
  margin-top: 14px;
  border-radius: 2px;
  background: var(--accent);
}

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }

.cards { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}
.card h3 { margin-bottom: .35em; }
.card p { color: var(--muted); font-size: 16px; margin: 0; }
.card .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 14px;
  border-radius: 11px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 700;
}

/* ---------- ekip ---------- */

.team { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); }
.member { text-align: center; }
.member .photo {
  aspect-ratio: 1;
  margin-bottom: 12px;
  border-radius: var(--radius);
  background: linear-gradient(150deg, #d7e8dc, #b9d6c4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4d7a61;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 1px;
}
.member b { display: block; font-size: 16px; }
.member span { color: var(--muted); font-size: 14px; }

/* ---------- kitap bolumu ---------- */

#kitap { background: var(--ink); color: var(--paper); }
#kitap .eyebrow { background: rgba(143, 224, 180, .17); color: #8fe0b4; }
#kitap p { color: #cbe3d5; }
#kitap .two-col {
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
  align-items: center;
}
.book-shot {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .45);
  line-height: 0;
}
.book-shot img { width: 100%; height: auto; }

/* ---------- sik sorulan sorular ---------- */

.faq { max-width: 820px; }
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 18px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 24px; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq p { margin: 12px 0 0; color: var(--muted); }

/* ---------- iletisim + alt bilgi ---------- */

.contact { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.contact a { text-decoration: none; }
.contact .card:hover { border-color: var(--accent); }

footer {
  padding: 40px 0;
  background: var(--ink);
  color: #a9c6b6;
  font-size: 15px;
}
footer .wrap { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
footer img { height: 46px; width: auto; border-radius: 50%; }
footer .marks { display: flex; gap: 12px; align-items: center; }
footer a { color: #cbe3d5; }

/* ---------- ses kayitlari sayfasi ---------- */

.track {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  margin-bottom: 10px;
}
.track .no {
  flex: none;
  width: 62px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}
.track .what { flex: 1; min-width: 0; }
.track .what b { display: block; font-size: 16px; }
.track .what span { color: var(--muted); font-size: 14px; }
.track audio { width: min(320px, 42vw); height: 38px; }

/* Kayit satiri + altindaki dinleme metni tek blok olarak duruyor. */
.track-wrap { margin-bottom: 10px; }
.track-wrap .track { margin-bottom: 0; }

.script summary {
  cursor: pointer;
  padding: 7px 18px;
  color: var(--muted);
  font-size: 14px;
  user-select: none;
}
.script summary:hover { color: var(--ink); }
.script[open] summary { color: var(--ink); font-weight: 600; }
.script pre {
  margin: 0 0 4px;
  padding: 14px 18px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  font: 14px/1.65 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  white-space: pre-wrap;
  overflow-wrap: break-word;
}

.notice {
  padding: 16px 20px;
  border-left: 4px solid var(--accent);
  border-radius: 0 10px 10px 0;
  background: var(--paper);
  margin-bottom: 30px;
}
.notice p:last-child { margin: 0; }

/* ---------- ornek cevaplar sayfasi ---------- */

.answer-page { min-height: calc(100vh - 182px); }
.answer-page .page-kicker {
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}
.answer-page h1 {
  max-width: 900px;
  margin-bottom: 18px;
  font-size: clamp(38px, 6vw, 64px);
  letter-spacing: -.8px;
}
.answer-page .intro { max-width: 74ch; color: #2f4438; }
.answer-page .notice { margin-top: 28px; }
.answer-unit-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 42px;
}
.answer-unit-nav a {
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.answer-unit-nav a:hover { border-color: var(--accent); color: var(--accent); }
.answer-unit {
  padding: 0;
  scroll-margin-top: 92px;
}
.answer-unit + .answer-unit { margin-top: 56px; }
.answer-unit-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.answer-unit-heading h2 { margin: 0; }
.answer-unit-heading h2::after { display: none; }
.answer-unit-heading span { color: var(--muted); font-size: 14px; font-weight: 700; }
.answer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 24px;
}
.answer-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 28px rgba(16, 40, 28, .06);
}
.answer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.answer-meta span {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--paper);
  color: #315842;
  font-size: 13px;
  font-weight: 700;
}
.answer-card h2 {
  width: auto;
  max-width: none;
  margin-bottom: 18px;
  font-size: 24px;
}
.answer-card h2::after { display: none; }
.answer-card .label {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .7px;
  text-transform: uppercase;
}
.answer-prompt {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}
.sample-answer {
  margin-top: 20px;
  padding: 18px 20px;
  border-left: 4px solid var(--accent);
  border-radius: 0 10px 10px 0;
  background: var(--paper);
}
.sample-answer p { margin: 0; color: var(--ink); }
.answer-explanation { margin: 18px 0 0; color: var(--muted); font-size: 15px; }

/* ---------- dar ekran ---------- */

@media (max-width: 820px) {
  .two-col { grid-template-columns: 1fr; gap: 28px; }
  #kitap .two-col { grid-template-columns: 1fr; }
  .answer-grid { grid-template-columns: 1fr; }
  section { padding: 52px 0; }
  #hero { padding: 56px 0 52px; }
  #nav .links { gap: 16px; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .wrap { width: min(var(--wrap), 100% - 28px); }
  /* Dar ekranda menu iki satira iner: ust satirda marka, e-kitap dugmesi ve
     dil secici; alt satirda yatay kaydirilabilir bolum baglantilari.
     Baglantilari tamamen gizlemek sayfada gezinmeyi imkansiz kiliyordu. */
  html { scroll-padding-top: 104px; }
  #nav .wrap { flex-wrap: wrap; height: auto; padding-block: 9px; row-gap: 6px; gap: 12px; }
  #nav .links { order: 3; flex-basis: 100%; gap: 18px; font-size: 14px; padding-bottom: 2px; }
  .logos .sep { display: none; }
  .track { flex-wrap: wrap; }
  .track audio { width: 100%; }
  .team { grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 16px; }
}
