/* ==========================================================
   Nilüfer Oryantiring — tema
   ========================================================== */
:root {
  --orange: #F26B1D;
  --amber: #FFA62B;
  --forest: #0E241B;
  --forest-2: #163428;
  --forest-3: #1F4535;
  --paper: #FAF6EE;
  --paper-2: #F2EBDD;
  --ink: #1A1A1A;
  --muted: #5d5a52;
  --brown: #C8742A;
  --purple: #B02FD6;  /* parkur baskı rengi */
  --radius: 18px;
  --shadow: 0 12px 30px -12px rgba(14, 36, 27, .35);
  --head: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --body: 'Barlow', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gutter: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.6;
  color: var(--ink); background: var(--paper); overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); line-height: 1.05; margin: 0 0 .5em; letter-spacing: .3px; }
h2 { font-size: clamp(2.1rem, 6vw, 3.4rem); font-weight: 800; font-style: italic; text-transform: uppercase; }
h3 { font-size: 1.45rem; font-weight: 800; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 820px; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }

.eyebrow {
  font-family: var(--head); font-weight: 600; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--orange); font-size: .95rem; margin-bottom: .4em;
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 26px; height: 3px; background: currentColor; border-radius: 2px; }

/* ---------- Butonlar ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 26px; border-radius: 999px; border: 2px solid var(--orange);
  background: var(--orange); color: #fff; font-family: var(--head); font-weight: 800; font-size: 1.15rem;
  letter-spacing: .8px; text-transform: uppercase; text-decoration: none; cursor: pointer;
  transition: transform .2s, box-shadow .2s, background .2s;
  box-shadow: 0 8px 22px -8px rgba(242, 107, 29, .7);
}
.btn:hover { transform: translateY(-2px); background: #ff7a2b; }
.btn:active { transform: translateY(0); }
.btn--ghost { background: transparent; box-shadow: none; color: #fff; border-color: rgba(255,255,255,.6); }
.btn--ghost:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 1rem; }
.btn--full { width: 100%; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }

/* ---------- Menü ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50; height: 68px;
  transition: background .3s, box-shadow .3s;
}
.nav.is-solid { background: rgba(14, 36, 27, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 6px 20px rgba(0,0,0,.25); }
.nav__in { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.nav__logo img { height: 50px; width: auto; filter: drop-shadow(0 2px 6px rgba(0,0,0,.35)); }
.nav__menu { display: flex; align-items: center; gap: 4px; }
.nav__menu a:not(.btn) {
  color: #fff; text-decoration: none; font-family: var(--head); font-weight: 600; font-size: 1.12rem;
  letter-spacing: .5px; padding: 8px 12px; border-radius: 8px; position: relative;
}
.nav__menu a:not(.btn)::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px;
  background: var(--orange); transform: scaleX(0); transition: transform .25s;
}
.nav__menu a:not(.btn):hover::after, .nav__menu a.is-active::after { transform: scaleX(1); }
.nav__menu .btn { margin-left: 8px; }
.nav__toggle { display: none; }

@media (max-width: 960px) {
  .nav__toggle {
    display: grid; place-content: center; gap: 5px; width: 48px; height: 48px;
    background: rgba(255,255,255,.08); border: 0; border-radius: 12px; cursor: pointer;
  }
  .nav__toggle span { width: 24px; height: 2.5px; background: #fff; border-radius: 2px; transition: transform .3s, opacity .3s; }
  .nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
  .nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
  .nav__menu {
    position: fixed; top: 68px; left: 0; right: 0; height: calc(100dvh - 68px);
    flex-direction: column; align-items: stretch; gap: 2px; padding: 20px var(--gutter) 40px;
    background: var(--forest) url(../img/topo-koyu.svg) center / cover;
    transform: translateX(100%); transition: transform .35s cubic-bezier(.2,.8,.2,1);
    visibility: hidden; overflow-y: auto;
  }
  .nav.is-open { background: var(--forest); }
  .nav.is-open .nav__menu { transform: none; visibility: visible; }
  .nav__menu a:not(.btn) { font-size: 1.6rem; padding: 12px 6px; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav__menu a:not(.btn)::after { display: none; }
  .nav__menu .btn { margin: 18px 0 0; min-height: 54px; }
  body.no-scroll { overflow: hidden; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  background: radial-gradient(120% 90% at 80% 20%, var(--forest-3), var(--forest) 60%);
  color: #fff; overflow: hidden; padding: 100px 0 90px;
}
.hero__topo {
  position: absolute; inset: -6%; background: url(../img/topo-koyu.svg) center / cover;
  animation: drift 40s ease-in-out infinite alternate; will-change: transform;
}
@keyframes drift { to { transform: translate3d(-3%, 2%, 0) scale(1.06) rotate(.6deg); } }
.hero__course { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .55; pointer-events: none; }
.hero__course .leg {
  fill: none; stroke: var(--purple); stroke-width: 3; stroke-linecap: round;
  stroke-dasharray: 2000; stroke-dashoffset: 2000; animation: draw 5s .6s ease-out forwards;
}
.hero__course .start, .hero__course circle { fill: none; stroke: var(--purple); stroke-width: 3; }
.hero__course text { fill: var(--purple); font: 800 26px var(--head); }
.hero__course .ctrl { opacity: 0; animation: pop .5s ease-out forwards; }
.hero__course .ctrl:nth-of-type(1) { animation-delay: 1.1s; }
.hero__course .ctrl:nth-of-type(2) { animation-delay: 1.8s; }
.hero__course .ctrl:nth-of-type(3) { animation-delay: 2.6s; }
.hero__course .ctrl:nth-of-type(4) { animation-delay: 3.3s; }
.hero__course .ctrl:nth-of-type(5) { animation-delay: 4.1s; }
.hero__course .ctrl:nth-of-type(6) { animation-delay: 4.9s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: none; } }
.hero__course .ctrl { transform-box: fill-box; transform-origin: center; }

.hero__in { position: relative; display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }
.hero h1 {
  font-size: clamp(3rem, 11vw, 6.4rem); font-weight: 800; font-style: italic; text-transform: uppercase;
  line-height: .92; margin-bottom: .3em; text-shadow: 0 4px 24px rgba(0,0,0,.35);
}
.hero h1 span { color: var(--orange); }
.hero .eyebrow { color: var(--amber); }
.lead { font-size: clamp(1.05rem, 2.6vw, 1.25rem); max-width: 560px; color: rgba(255,255,255,.88); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero__fox { position: relative; justify-self: center; width: min(400px, 80%); animation: float 6s ease-in-out infinite; }
.hero__fox img { filter: drop-shadow(0 20px 40px rgba(0,0,0,.45)); }
@keyframes float { 50% { transform: translateY(-14px); } }

/* Kontrol bayrağı (turuncu-beyaz prizma) */
.flag {
  position: absolute; right: -6%; bottom: 6%; width: 74px; height: 74px; z-index: 2;
  transform: rotate(8deg); transform-origin: top center; animation: sway 3s ease-in-out infinite;
}
.flag::before { content: ""; position: absolute; top: -40px; left: 50%; width: 3px; height: 40px; background: #ddd; }
.flag span {
  position: absolute; inset: 0; border: 3px solid #222;
  background: linear-gradient(135deg, #fff 0 50%, var(--orange) 50% 100%);
  box-shadow: 0 10px 20px rgba(0,0,0,.35);
}
@keyframes sway { 50% { transform: rotate(-6deg); } }

.hero__compass { position: absolute; right: 22px; top: 92px; width: 70px; opacity: .55; }
.hero__compass circle { fill: none; stroke: #fff; stroke-width: 2; }
.hero__compass .n { fill: var(--orange); }
.hero__compass .s { fill: #fff; }
.hero__compass text { fill: #fff; font: 700 11px var(--head); text-anchor: middle; }
.hero__compass svg { animation: needle 7s ease-in-out infinite; }
@keyframes needle { 0%,100% { transform: rotate(-12deg); } 40% { transform: rotate(9deg); } 70% { transform: rotate(-4deg); } }

.hero__scroll {
  position: absolute; left: 50%; bottom: 22px; translate: -50% 0; width: 30px; height: 48px;
  border: 2px solid rgba(255,255,255,.6); border-radius: 20px;
}
.hero__scroll span { position: absolute; left: 50%; top: 9px; width: 4px; height: 9px; margin-left: -2px; border-radius: 2px; background: #fff; animation: wheel 1.8s infinite; }
@keyframes wheel { to { transform: translateY(16px); opacity: 0; } }

@media (max-width: 860px) {
  .hero { padding: 96px 0 84px; min-height: auto; }
  .hero__in { grid-template-columns: 1fr; gap: 10px; text-align: left; }
  .hero__fox { grid-row: 1; width: 160px; justify-self: start; }
  .flag { width: 42px; height: 42px; right: -34%; bottom: 20%; }
  .flag::before { top: -26px; height: 26px; }
  .hero__compass { width: 52px; top: 84px; right: 16px; }
  .hero__cta .btn { flex: 1 1 220px; }
  .hero__course { opacity: .35; }
}

/* ---------- Rakamlar ---------- */
.stats { background: var(--orange); color: #fff; position: relative; z-index: 2; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 22px 10px; text-align: center; border-right: 1px solid rgba(255,255,255,.25); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-family: var(--head); font-weight: 800; font-style: italic; font-size: clamp(2rem, 6vw, 2.8rem); line-height: 1; }
.stat span { font-size: .95rem; font-weight: 600; opacity: .95; }
@media (max-width: 640px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.25); }
}

/* ---------- Bölümler ---------- */
.sec { padding: clamp(64px, 10vw, 110px) 0; position: relative; }
.sec__head { max-width: 760px; margin-bottom: 40px; }
.paper { background: var(--paper); }
.paper::before {
  content: ""; position: absolute; inset: 0; background: url(../img/topo-acik.svg) center / cover; opacity: .7; pointer-events: none;
}
.paper > .wrap { position: relative; }
.paper--alt { background: var(--paper-2); }
.dark { background: var(--forest); color: #fff; }
.dark .sec__head p, .dark .about__txt p { color: rgba(255,255,255,.82); }
.topo-bg::before { content: ""; position: absolute; inset: 0; background: url(../img/topo-koyu.svg) center / cover; opacity: .5; pointer-events: none; }
.topo-bg > .wrap { position: relative; }

/* Kayarken beliren öğeler */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Adımlar ---------- */
.steps { list-style: none; padding: 0; margin: 0 0 56px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.step {
  background: #fff; border-radius: var(--radius); padding: 26px 22px; box-shadow: var(--shadow);
  border-top: 5px solid var(--purple); position: relative;
}
.step::after { counter-increment: s; content: counter(s); position: absolute; top: 14px; right: 18px; font: 800 italic 2.4rem var(--head); color: rgba(176,47,214,.15); }
.step svg { width: 48px; height: 48px; margin-bottom: 14px; fill: none; stroke: var(--purple); stroke-width: 3.5; }
.step p { margin: 0; color: var(--muted); font-size: .98rem; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Harita lejantı ---------- */
.legend { display: grid; grid-template-columns: 1.1fr 1fr; gap: 34px; align-items: center; background: #fff; border-radius: 24px; padding: 26px; box-shadow: var(--shadow); }
.legend__map { border-radius: 14px; overflow: hidden; border: 2px solid #e9e1d1; }
.legend__map [data-k] { transition: opacity .35s; }
.legend__map.is-filter [data-k] { opacity: .12; }
.legend__map.is-filter [data-k].is-on { opacity: 1; }
.legend__map.is-white svg > rect { fill: #fff6d6; }
.keys { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.key {
  display: flex; align-items: center; gap: 10px; text-align: left; min-height: 54px; padding: 8px 12px;
  background: var(--paper); border: 2px solid transparent; border-radius: 12px; cursor: pointer; font: inherit; font-size: .92rem; color: var(--ink);
  transition: border-color .2s, transform .2s;
}
.key:hover { transform: translateY(-2px); }
.key.is-on { border-color: var(--orange); background: #fff3e8; }
.key i { flex: none; width: 26px; height: 26px; border-radius: 7px; border: 1.5px solid rgba(0,0,0,.2); }
.key b { display: block; font-size: 1rem; }
@media (max-width: 860px) { .legend { grid-template-columns: 1fr; padding: 16px; gap: 20px; } }
@media (max-width: 420px) { .keys { grid-template-columns: 1fr; } }

/* ---------- Disiplin kartları ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius);
  padding: 26px; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  transition: transform .3s, border-color .3s, background .3s;
}
.card:hover { transform: translateY(-4px); border-color: var(--orange); background: rgba(242,107,29,.1); }
.card__ic { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 14px; background: rgba(242,107,29,.18); font-size: 1.8rem; margin-bottom: 14px; }
.card p { margin: 0; color: rgba(255,255,255,.78); font-size: .98rem; }
@media (max-width: 900px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cards { grid-template-columns: 1fr; } }

/* ---------- Programlar ---------- */
.programs { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px; }
.prog { background: #fff; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); border: 2px solid transparent; transition: transform .3s, border-color .3s; }
.prog:hover { transform: translateY(-4px); border-color: var(--orange); }
.prog--hl { background: var(--forest); color: #fff; }
.prog--hl p, .prog--hl li { color: rgba(255,255,255,.82) !important; }
.tag { display: inline-block; font: 700 .85rem var(--head); letter-spacing: 1px; text-transform: uppercase; background: var(--orange); color: #fff; padding: 4px 10px; border-radius: 6px; margin-bottom: 10px; }
.prog p { color: var(--muted); font-size: .97rem; }
.prog ul { list-style: none; margin: 0; padding: 0; }
.prog li { position: relative; padding-left: 26px; margin: 6px 0; font-size: .95rem; color: var(--ink); }
.prog li::before { content: ""; position: absolute; left: 0; top: 5px; width: 14px; height: 14px; border: 2.5px solid var(--purple); border-radius: 50%; }

.session { margin-top: 44px; background: #fff; border-radius: 24px; padding: 28px; box-shadow: var(--shadow); }
.timeline { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; counter-reset: t; position: relative; }
.timeline li { position: relative; padding-top: 48px; }
.timeline li::before {
  counter-increment: t; content: counter(t); position: absolute; top: 0; left: 0; width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center; background: var(--orange); color: #fff; font: 800 1.2rem var(--head); z-index: 1;
}
.timeline li::after { content: ""; position: absolute; top: 17px; left: 36px; right: -12px; border-top: 3px dashed #e3d7c3; }
.timeline li:last-child::after { display: none; }
.timeline b { display: block; font-family: var(--head); font-size: 1.25rem; }
.timeline span { color: var(--muted); font-size: .95rem; }
@media (max-width: 760px) {
  .session { padding: 20px; }
  .timeline { grid-template-columns: 1fr; gap: 0; }
  .timeline li { padding: 4px 0 18px 52px; }
  .timeline li::after { top: 36px; left: 17px; right: auto; bottom: 0; border-top: 0; border-left: 3px dashed #e3d7c3; }
}

/* ---------- Gelişim rotası ---------- */
.route { position: relative; margin-bottom: 56px; }
.route__line { position: absolute; left: 0; right: 0; top: 0; width: 100%; height: 60px; overflow: visible; }
.route__line path { fill: none; stroke: var(--purple); stroke-width: 4; stroke-dasharray: 1100; stroke-dashoffset: 1100; transition: stroke-dashoffset 2.2s ease; vector-effect: non-scaling-stroke; }
.route.is-in .route__line path { stroke-dashoffset: 0; }
.levels { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; position: relative; }
.lvl { text-align: center; }
.lvl__dot {
  display: grid; place-items: center; margin: 0 auto 12px; width: 60px; height: 60px; border-radius: 50%;
  background: var(--forest); border: 5px solid var(--c); color: #fff; font: 800 1.5rem var(--head);
  box-shadow: 0 0 0 6px rgba(255,255,255,.06); transition: transform .3s;
}
.lvl:hover .lvl__dot { transform: scale(1.1); }
.lvl b { display: block; font: 800 italic 1.4rem var(--head); text-transform: uppercase; color: var(--c); }
.lvl small { display: block; color: rgba(255,255,255,.75); font-size: .9rem; line-height: 1.45; }
@media (max-width: 760px) {
  .route__line { display: none; }
  .levels { grid-template-columns: 1fr; gap: 0; }
  .lvl { display: grid; grid-template-columns: 60px 1fr; column-gap: 16px; text-align: left; padding-bottom: 20px; position: relative; }
  .lvl::after { content: ""; position: absolute; left: 29px; top: 62px; bottom: 0; border-left: 3px dashed rgba(176,47,214,.7); }
  .lvl:last-child::after { display: none; }
  .lvl__dot { grid-row: span 2; margin: 0; }
  .lvl b { align-self: end; }
}

.growth { display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; align-items: start; }
.gain-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.gain-list li { display: flex; gap: 14px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: 14px; padding: 16px; }
.gain-list span { font-size: 1.6rem; line-height: 1; }
.gain-list b { font-family: var(--head); font-size: 1.2rem; }
.gain-list p { margin: 2px 0 0; color: rgba(255,255,255,.72); font-size: .92rem; line-height: 1.45; }

.report { background: var(--paper); color: var(--ink); border-radius: 22px; padding: 22px; box-shadow: 0 20px 40px rgba(0,0,0,.35); position: sticky; top: 90px; }
.report__head { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 2px dashed #e3d7c3; }
.report__head img { width: 48px; height: auto; }
.report__head b { display: block; font: 800 1.35rem var(--head); text-transform: uppercase; }
.report__head small { color: var(--muted); }
.skill { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; margin-bottom: 12px; font-weight: 600; font-size: .95rem; }
.skill i { grid-column: 1 / -1; grid-row: 2; height: 10px; border-radius: 6px; background: #ebe2d2; overflow: hidden; }
.skill em { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--amber), var(--orange)); transition: width 1.4s cubic-bezier(.2,.8,.2,1); }
.report.is-in .skill em { width: calc(var(--v) * 1%); }
.skill b { color: var(--orange); font-family: var(--head); font-size: 1.1rem; }
.report__note { margin: 14px 0 0; font-size: .92rem; background: #fff3e8; padding: 10px 12px; border-radius: 10px; border-left: 4px solid var(--orange); }
@media (max-width: 900px) {
  .growth { grid-template-columns: 1fr; }
  .report { position: static; }
}
@media (max-width: 560px) { .gain-list { grid-template-columns: 1fr; } }

/* ---------- Mini oyun ---------- */
.game { max-width: 760px; margin: 0 auto; }
.game__bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; background: var(--forest); color: #fff; padding: 10px 12px 10px 18px; border-radius: 16px 16px 0 0; font-weight: 600; }
.game__bar b { color: var(--amber); }
.game__time { font: 800 1.5rem var(--head); font-variant-numeric: tabular-nums; letter-spacing: 1px; }
.game__map { position: relative; background: #fff; border-radius: 0 0 16px 16px; box-shadow: var(--shadow); overflow: hidden; touch-action: manipulation; user-select: none; -webkit-user-select: none; }
.game__map svg { width: 100%; height: auto; }
.game__map .gc { cursor: pointer; }
.game__map .gc circle.ring, .game__map .gc polygon { fill: rgba(255,255,255,.01); stroke: var(--purple); stroke-width: 2.6; transition: stroke .2s; }
.game__map .gc text { fill: var(--purple); font: 800 15px var(--head); pointer-events: none; }
.game__map .gc.done circle.ring, .game__map .gc.done polygon { stroke: #2f9e44; fill: rgba(47,158,68,.15); }
.game__map .gc.done text { fill: #2f9e44; }
.game__map .gc.bad circle.ring { stroke: #e03131; animation: shake .35s; }
@keyframes shake { 25% { transform: translateX(-3px); } 75% { transform: translateX(3px); } }
.game__map .gpath { fill: none; stroke: #2f9e44; stroke-width: 2.4; stroke-dasharray: 5 4; }
.game__msg { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; gap: 8px; background: rgba(14,36,27,.88); color: #fff; padding: 20px; }
.game__msg[hidden] { display: none; }
.game__msg b { font: 800 italic 2.4rem var(--head); color: var(--amber); text-transform: uppercase; }
.game + .muted, .game .muted { text-align: center; margin-top: 12px; }

/* ---------- Hakkımızda ---------- */
.about { display: grid; grid-template-columns: .8fr 1.2fr; gap: 50px; align-items: center; }
.about__img { position: relative; padding: 30px; }
.about__img::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 3px dashed rgba(242,107,29,.5); animation: spin 60s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.about__img img { position: relative; filter: drop-shadow(0 20px 40px rgba(0,0,0,.5)); }
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 24px; }
.values div { background: rgba(255,255,255,.06); border-left: 4px solid var(--orange); border-radius: 10px; padding: 16px; }
.values b { font: 800 1.25rem var(--head); text-transform: uppercase; color: var(--amber); }
.values p { margin: 4px 0 0; font-size: .95rem; }
@media (max-width: 860px) {
  .about { grid-template-columns: 1fr; gap: 10px; }
  .about__img { width: 220px; padding: 20px; margin: 0 auto; }
  .values { grid-template-columns: 1fr; }
}

/* ---------- Galeri ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 200px; gap: 14px; }
.gal {
  margin: 0; border-radius: var(--radius); position: relative; overflow: hidden; display: grid; place-items: center;
  background: var(--h) url(../img/topo-koyu.svg) center / 260%; box-shadow: var(--shadow);
}
.gal:nth-child(1) { grid-row: span 2; }
.gal:nth-child(4) { grid-column: span 2; }
.gal span { font-size: 3.2rem; transition: transform .4s; }
.gal:hover span { transform: scale(1.2) rotate(-6deg); }
.gal figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 16px 12px; color: #fff; font: 700 1.15rem var(--head); text-transform: uppercase; letter-spacing: .5px; background: linear-gradient(transparent, rgba(0,0,0,.55)); }
.gal img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 700px) {
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; gap: 10px; }
  .gal:nth-child(1) { grid-row: span 1; grid-column: span 2; }
  .gal:nth-child(4) { grid-column: span 1; }
  .gal:nth-child(6) { grid-column: span 2; }
}

/* ---------- SSS ---------- */
.faq details { background: #fff; border-radius: 14px; margin-bottom: 12px; box-shadow: 0 4px 14px -6px rgba(0,0,0,.15); overflow: hidden; }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 56px 18px 20px; position: relative;
  font: 700 1.25rem var(--head); min-height: 56px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 18px; top: 50%; width: 22px; height: 22px; margin-top: -11px;
  border: 2.5px solid var(--purple); border-radius: 50%;
  background: linear-gradient(var(--purple), var(--purple)) center / 10px 2.5px no-repeat,
              linear-gradient(var(--purple), var(--purple)) center / 2.5px 10px no-repeat;
  transition: transform .3s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 20px 18px; margin: 0; color: var(--muted); }

/* ---------- İletişim ---------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.contact__list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.contact__list li { display: flex; align-items: center; gap: 14px; font-weight: 600; font-size: 1.05rem; }
.contact__list span { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 12px; background: rgba(242,107,29,.2); }
.contact__list a { text-decoration: none; }
.contact__list a:hover { color: var(--amber); }
.form { background: var(--paper); color: var(--ink); border-radius: 22px; padding: 24px; box-shadow: 0 20px 40px rgba(0,0,0,.35); display: grid; gap: 14px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: .95rem; }
.form input, .form select, .form textarea {
  width: 100%; font: inherit; font-size: 16px; /* iOS yakınlaştırmasın */
  padding: 12px 14px; border: 2px solid #e3d7c3; border-radius: 12px; background: #fff; color: var(--ink); min-height: 50px;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--orange); }
.form__row { display: grid; grid-template-columns: 1fr 1.6fr; gap: 12px; }
.form__err { color: #c92a2a; margin: 0; font-weight: 600; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .form { padding: 18px; } .form__row { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.foot { background: #08160F; color: rgba(255,255,255,.7); padding: 40px 0 100px; text-align: center; }
.foot__in { display: grid; justify-items: center; gap: 16px; }
.foot img { width: 200px; }
.foot nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; }
.foot nav a { text-decoration: none; padding: 6px 0; }
.foot nav a:hover { color: var(--amber); }
.foot p { margin: 0; font-size: .9rem; }

/* ---------- WhatsApp butonu ---------- */
.wa {
  position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 40;
  width: 58px; height: 58px; border-radius: 50%; background: #25D366; display: grid; place-items: center;
  box-shadow: 0 10px 24px rgba(0,0,0,.3); animation: wa 2.6s infinite;
}
.wa svg { width: 32px; fill: #fff; }
@keyframes wa { 0%,100% { box-shadow: 0 10px 24px rgba(0,0,0,.3), 0 0 0 0 rgba(37,211,102,.5); } 60% { box-shadow: 0 10px 24px rgba(0,0,0,.3), 0 0 0 14px rgba(37,211,102,0); } }

/* ---------- Hareket azaltma ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .hero__course .leg { stroke-dashoffset: 0; }
  .hero__course .ctrl { opacity: 1; }
}
