/* =========================================================
   TEMEL.CSS — tüm sayfaların ortak tasarım sistemi
   Kurumsal + piksel-art: lacivert gece, krem kağıt, altın, ahşap.
   Sıra: tokenlar → taban → tipografi → düğmeler → kepenk → üst menü
         → sayfa başlığı → alt bilgi → modal/CV → belirme → yardımcılar
   ========================================================= */
/* Türkçe büyük harf yaması: Press Start 2P, Ö Ü Ğ İ Ç Ş'yi noktalara yer açmak için küçültüp küçük harf gibi çiziyor.
   Bu küçük font (OFL, Press Start 2P'den türetildi) yalnızca bu 6 harfi tam boy büyük harf olarak verir. */
@font-face {
  font-family: 'ES Piksel TR';
  src: url('/assets/fonts/es-piksel-tr.woff') format('woff');
  unicode-range: U+00C7, U+00D6, U+00DC, U+011E, U+0130, U+015E;
  font-display: swap;
}
:root {
  --gece: #0e1524;
  --gece-2: #131d31;
  --gece-3: #1a2740;
  --panel: rgba(14, 21, 36, .94);
  --cizgi: #2b3d60;
  --krem: #f3e9d8;
  --krem-2: #e7d8bd;
  --murekkep: #1f1a17;
  --gold: #f0c040;
  --gold-koyu: #b98a12;
  --wood: #8b5e3c;
  --wood-dark: #5c3a1e;
  --wood-light: #c08b5c;
  --wood-golge: #3a2010;
  --kirmizi: #d64541;
  --gok: #3fa9f5;
  --yesil: #22c55e;
  --turuncu: #e8985a;
  --text: #ece3d3;
  --soluk: #a7b3c9;
  --chain: #b9bec8;

  /* eski adlar (alt sayfa stilleri bunları kullanıyor) */
  --bg: var(--gece);
  --bg2: var(--gece-2);
  --accent: var(--turuncu);
  --red: var(--kirmizi);
  --green: var(--yesil);
  --koyu: #0b111d;

  --f-piksel: 'ES Piksel TR', 'Press Start 2P', monospace;
  --f-govde: 'Pixelify Sans', 'ES Piksel TR', 'Press Start 2P', system-ui, sans-serif;
  --font-okuma: var(--f-govde);

  --ust-h: 50px;
  --kenar: clamp(16px, 4vw, 40px);
  --icerik: 1180px;
  --golge-piksel: 4px 4px 0 rgba(0, 0, 0, .45);
}

/* ---------- taban ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--ust-h) + 16px); }
/* yumuşak kaydırma (Lenis 1.3): kare kare kaydırırken tarayıcının kendi yumuşatması kapalı olmalı */
html.lenis, html.lenis body { height: auto; }
html.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis:not(.lenis-autoToggle).lenis-stopped { overflow: clip; }
.lenis [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-smooth iframe { pointer-events: none; }
body {
  font-family: var(--f-piksel);
  font-size: 12px; line-height: 2;
  color: var(--text);
  background: var(--gece);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
@supports (overflow: clip) { body { overflow-x: clip; } }
body.ust-var { padding-top: var(--ust-h); }
img { max-width: 100%; }
a { color: var(--gold); }
::selection { background: var(--gold); color: var(--murekkep); }
:focus-visible { outline: 3px dashed var(--gold); outline-offset: 3px; }
[hidden] { display: none !important; }
.gizli-metin {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
html { scrollbar-color: var(--wood) var(--gece-2); }
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--gece-2); }
::-webkit-scrollbar-thumb { background: var(--wood); border: 3px solid var(--gece-2); }
::-webkit-scrollbar-thumb:hover { background: var(--wood-light); }

/* ---------- tipografi ---------- */
.etiket {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-piksel); font-size: 9px; line-height: 1.4;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--gold);
}
.etiket::before {
  content: ''; width: 10px; height: 10px; flex: 0 0 10px;
  background: currentColor;
  box-shadow: 3px 3px 0 rgba(0, 0, 0, .35);
}
.etiket.koyu { color: var(--wood-dark); }
.dev-baslik {
  font-family: var(--f-govde); font-weight: 700;
  font-size: clamp(30px, 5.4vw, 64px); line-height: 1.08;
  letter-spacing: -.5px;
}
.buyuk-baslik {
  font-family: var(--f-govde); font-weight: 700;
  font-size: clamp(24px, 3.6vw, 42px); line-height: 1.15;
}
.okuma { font-family: var(--f-govde); font-size: 19px; line-height: 1.55; }
.okuma.kucuk { font-size: 16px; }
.vurgu { color: var(--gold); }
.vurgu-cizgi {
  background: linear-gradient(transparent 62%, rgba(240, 192, 64, .45) 62% 92%, transparent 92%);
}
.kap { width: 100%; max-width: var(--icerik); margin: 0 auto; padding-left: var(--kenar); padding-right: var(--kenar); }

/* ---------- düğmeler (NES.css üzerine) ---------- */
.nes-btn { font-family: var(--f-piksel) !important; image-rendering: auto; text-decoration: none !important; }
.nes-btn.is-warning, .nes-btn.is-success { color: #111 !important; }
.pdug {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 20px;
  font-family: var(--f-piksel); font-size: 10px; line-height: 1.3; letter-spacing: 1px;
  color: var(--murekkep); background: var(--gold);
  border: 0; cursor: pointer; text-decoration: none;
  box-shadow:
    0 -4px 0 0 var(--murekkep), 0 4px 0 0 var(--murekkep),
    -4px 0 0 0 var(--murekkep), 4px 0 0 0 var(--murekkep),
    inset -4px -4px 0 0 var(--gold-koyu), inset 4px 4px 0 0 #ffe08a,
    8px 8px 0 0 rgba(0, 0, 0, .35);
  transition: transform .12s steps(2), box-shadow .12s steps(2);
}
.pdug:hover { transform: translate(-2px, -2px); box-shadow:
    0 -4px 0 0 var(--murekkep), 0 4px 0 0 var(--murekkep),
    -4px 0 0 0 var(--murekkep), 4px 0 0 0 var(--murekkep),
    inset -4px -4px 0 0 var(--gold-koyu), inset 4px 4px 0 0 #ffe08a,
    12px 12px 0 0 rgba(0, 0, 0, .35); }
.pdug:active { transform: translate(4px, 4px); box-shadow:
    0 -4px 0 0 var(--murekkep), 0 4px 0 0 var(--murekkep),
    -4px 0 0 0 var(--murekkep), 4px 0 0 0 var(--murekkep),
    inset 4px 4px 0 0 var(--gold-koyu); }
.pdug.krem { background: var(--krem); box-shadow:
    0 -4px 0 0 var(--murekkep), 0 4px 0 0 var(--murekkep),
    -4px 0 0 0 var(--murekkep), 4px 0 0 0 var(--murekkep),
    inset -4px -4px 0 0 var(--krem-2), inset 4px 4px 0 0 #fffaf0,
    8px 8px 0 0 rgba(0, 0, 0, .35); }
.pdug.kucuk { padding: 10px 14px; font-size: 8px; }
.pdug-ok { display: inline-block; transition: transform .2s steps(3); }
.pdug:hover .pdug-ok { transform: translateX(4px); }

/* ok bağlantı (metin) */
.ok-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-piksel); font-size: 9px; letter-spacing: 1px;
  color: var(--gold); text-decoration: none;
  padding: 6px 0; border-bottom: 3px solid currentColor;
}
.ok-link::after { content: '\25B6'; font-size: 8px; transition: transform .2s steps(3); }
.ok-link:hover::after { transform: translateX(5px); }

/* ---------- kepenk (yükleme & sayfa geçişi) ---------- */
.loading-screen {
  position: fixed; inset: 0; z-index: 99999;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
}
.kepenk-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: top;
  image-rendering: pixelated; z-index: 2;
}
.loading-text {
  position: relative; z-index: 3;
  font-family: var(--f-piksel); font-size: 14px; color: var(--gold);
  text-shadow: 2px 2px 0 rgba(0, 0, 0, .8);
  animation: yukNabiz 1.2s steps(4) infinite;
}
@keyframes yukNabiz { 50% { opacity: .5; } }
.kepenk-gecis { position: fixed; inset: 0; z-index: 99999; pointer-events: all; }
.kepenk-gecis img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: top; image-rendering: pixelated;
  transform: translateY(-100%);
}

/* =========================================================
   ÜST MENÜ — ahşap kiriş + mouse yaklaşınca inen zincirli tabelalar
   ========================================================= */
.ust {
  position: fixed; left: 0; right: 0; top: 0; z-index: 9000;
  height: var(--ust-h);
  pointer-events: none;
}
.icerige-gec {
  position: absolute; left: 12px; top: -60px; z-index: 10;
  padding: 10px 14px; font-family: var(--f-piksel); font-size: 9px;
  color: var(--murekkep); background: var(--gold); text-decoration: none;
  box-shadow: 0 0 0 3px var(--murekkep); pointer-events: auto;
}
.icerige-gec:focus { top: 8px; }
.ust-kiris {
  position: relative; z-index: 3;
  height: var(--ust-h);
  display: flex; align-items: center; gap: 14px;
  padding: 0 var(--kenar);
  background:
    repeating-linear-gradient(90deg, rgba(0, 0, 0, .0) 0 46px, rgba(0, 0, 0, .14) 46px 48px),
    linear-gradient(180deg, #a87148 0 6px, var(--wood) 6px 30px, #7a5131 30px 44px, var(--wood-dark) 44px);
  box-shadow: 0 4px 0 var(--wood-golge), 0 10px 24px rgba(0, 0, 0, .35);
  pointer-events: auto;
}
.ust-kiris::before { /* ahşap damarı */
  content: ''; position: absolute; inset: 10px 0 auto; height: 2px;
  background: repeating-linear-gradient(90deg, rgba(58, 32, 16, .35) 0 30px, transparent 30px 70px, rgba(58, 32, 16, .25) 70px 86px, transparent 86px 140px);
  pointer-events: none;
}
.ust.seffaf .ust-kiris { /* anasayfa en üstte: kiriş hafif saydam */
  background:
    linear-gradient(180deg, rgba(92, 58, 30, .82), rgba(58, 32, 16, .78));
  box-shadow: 0 4px 0 rgba(58, 32, 16, .7);
}
.ust-marka {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--krem); text-decoration: none;
  font-family: var(--f-piksel); font-size: 10px; letter-spacing: 1px;
  text-shadow: 2px 2px 0 var(--wood-golge);
  white-space: nowrap;
}
.ust-logo {
  position: relative; display: grid; place-items: center;
  width: 34px; height: 34px; flex: 0 0 34px;
  background: var(--gold); color: var(--murekkep);
  font-size: 10px; text-shadow: none;
  box-shadow: inset -3px -3px 0 var(--gold-koyu), inset 3px 3px 0 #ffe08a, 0 0 0 3px var(--wood-golge);
}
.ust-marka:hover .ust-logo { animation: logoZipla .45s steps(3) 1; }
@keyframes logoZipla { 40% { transform: translateY(-4px); } }
.ust-marka small { display: block; font-size: 6px; color: var(--gold); letter-spacing: 2px; margin-top: 4px; text-shadow: none; opacity: .9; }
.ust-bosluk { flex: 1; }
.ust-ipucu {
  font-family: var(--f-piksel); font-size: 7px; color: rgba(243, 233, 216, .65);
  letter-spacing: 1px; white-space: nowrap;
  animation: ipucuYanip 2.4s steps(1) infinite;
}
@keyframes ipucuYanip { 70% { opacity: .25; } }
.ust.acik .ust-ipucu { visibility: hidden; }
.ust-menu-btn {
  display: none; align-items: center; gap: 8px;
  height: 34px; padding: 0 12px;
  font-family: var(--f-piksel); font-size: 8px; letter-spacing: 1px;
  color: var(--murekkep); background: var(--krem);
  border: 0; cursor: pointer;
  box-shadow: inset -3px -3px 0 var(--krem-2), 0 0 0 3px var(--wood-golge), 3px 3px 0 3px rgba(0, 0, 0, .3);
}
.ust-menu-btn i { display: grid; gap: 3px; }
.ust-menu-btn i b { display: block; width: 14px; height: 3px; background: currentColor; transition: transform .2s steps(2), opacity .2s; }
.ust.acik .ust-menu-btn i b:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.ust.acik .ust-menu-btn i b:nth-child(2) { opacity: 0; }
.ust.acik .ust-menu-btn i b:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* tabelalar */
.ust-tabelalar {
  position: absolute; z-index: 2; top: calc(var(--ust-h) - 4px);
  left: 0; right: 0;
  display: flex; justify-content: center; gap: clamp(8px, 1.4vw, 18px);
  list-style: none; margin: 0; padding: 0 var(--kenar);
  pointer-events: none;
}
.tabela {
  --zincir: 22px;
  position: relative;
  display: flex; flex-direction: column; align-items: center;
  transform: translateY(calc(-100% - 8px));
  transform-origin: 50% 0;
  pointer-events: none; visibility: hidden;
  transition: transform .45s cubic-bezier(.34, 1.6, .5, 1) calc(var(--i, 0) * 45ms), visibility 0s linear .5s;
}
.tabela:nth-child(odd) { --zincir: 28px; }
.ust.acik .tabela { transform: translateY(0); pointer-events: auto; visibility: visible; transition-delay: calc(var(--i, 0) * 45ms), 0s; }
.ust.kapaniyor .tabela { transition: transform .28s ease-in calc((7 - var(--i, 0)) * 30ms), visibility 0s linear .55s; }
.tabela-zincir { display: flex; gap: 38px; height: var(--zincir); }
.tabela-zincir span {
  width: 6px; height: 100%;
  background:
    repeating-linear-gradient(180deg, var(--chain) 0 6px, transparent 6px 8px, #7d838e 8px 12px, transparent 12px 14px);
  box-shadow: 1px 0 0 rgba(0, 0, 0, .35);
}
.tabela a, .tabela button {
  position: relative; display: block;
  margin-top: -2px; padding: 11px 14px 10px;
  font-family: var(--f-piksel); font-size: 8px; line-height: 1.3; letter-spacing: .5px; white-space: nowrap;
  color: var(--krem); text-decoration: none; text-shadow: 2px 2px 0 var(--wood-golge);
  background:
    repeating-linear-gradient(180deg, transparent 0 7px, rgba(58, 32, 16, .22) 7px 8px),
    linear-gradient(180deg, var(--wood-light) 0 3px, var(--wood) 3px calc(100% - 4px), var(--wood-dark) calc(100% - 4px));
  border: 0; cursor: pointer;
  box-shadow: 0 0 0 3px var(--wood-golge), 4px 6px 0 3px rgba(0, 0, 0, .35);
  transform-origin: 50% -26px;
  transition: color .15s;
}
.tabela a::before, .tabela button::before, .tabela a::after, .tabela button::after { /* çiviler */
  content: ''; position: absolute; top: 4px; width: 4px; height: 4px;
  background: #3a2010; box-shadow: 1px 1px 0 rgba(255, 255, 255, .25);
}
.tabela a::before, .tabela button::before { left: calc(50% - 22px); }
.tabela a::after, .tabela button::after { right: calc(50% - 22px); }
.tabela a:hover, .tabela button:hover, .tabela a:focus-visible, .tabela button:focus-visible {
  color: var(--gold); outline: none;
  animation: tabelaSalla .9s ease-in-out 1;
}
.tabela a:focus-visible, .tabela button:focus-visible { box-shadow: 0 0 0 3px var(--gold), 4px 6px 0 3px rgba(0, 0, 0, .35); }
@keyframes tabelaSalla { 25% { transform: rotate(4deg); } 60% { transform: rotate(-3deg); } 85% { transform: rotate(1deg); } }
.tabela.aktif a { color: var(--gold); }
.tabela.aktif a span::after { content: ''; display: block; height: 3px; margin-top: 5px; background: var(--gold); }
.tabela.cv button { color: var(--murekkep); text-shadow: none;
  background: repeating-linear-gradient(180deg, transparent 0 7px, rgba(0, 0, 0, .06) 7px 8px), linear-gradient(180deg, #fff2c2 0 3px, var(--gold) 3px calc(100% - 4px), var(--gold-koyu) calc(100% - 4px)); }

.ust-perde { /* mobil menü arka planı */
  position: fixed; inset: 0; z-index: 1;
  background: rgba(8, 12, 22, .72);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .25s, visibility 0s linear .25s;
}

@media (max-width: 960px) {
  .ust-ipucu { display: none; }
  .ust-menu-btn { display: inline-flex; }
  .ust-tabelalar {
    flex-direction: column; align-items: center; gap: 0;
    top: calc(var(--ust-h) - 4px);
  }
  .tabela { --zincir: 14px; transform: translateY(-120vh); }
  .ust.acik .tabela { transition-delay: calc(var(--i, 0) * 35ms), 0s; }
  .tabela:nth-child(odd) { --zincir: 14px; }
  .tabela a, .tabela button { min-width: min(78vw, 300px); text-align: center; padding: 15px 16px 14px; font-size: 10px; }
  .ust.acik .ust-perde { opacity: 1; visibility: visible; pointer-events: auto; transition-delay: 0s; }
  .ust.kapaniyor .tabela { transition: transform .3s ease-in calc((7 - var(--i, 0)) * 25ms), visibility 0s linear .55s; }
}
@media (max-width: 420px) {
  .ust-marka { font-size: 8px; } /* ES kutusu kaldırıldı: dar ekranda da isim görünür */
}

/* =========================================================
   ALT SAYFA BAŞLIĞI
   ========================================================= */
.sayfa-bas {
  position: relative; overflow: hidden;
  padding: clamp(34px, 6vw, 64px) 0 clamp(26px, 4vw, 40px);
  background:
    linear-gradient(180deg, rgba(14, 21, 36, 0) 0%, var(--gece) 100%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 24px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 24px),
    var(--gece-2);
  border-bottom: 4px solid var(--wood-dark);
}
.sayfa-bas .kap { position: relative; z-index: 1; }
.yol-izi { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 16px; font-size: 8px; color: var(--soluk); }
.yol-izi a { color: var(--soluk); text-decoration: none; }
.yol-izi a:hover { color: var(--gold); }
.yol-izi span[aria-current] { color: var(--gold); }
.sayfa-baslik {
  font-family: var(--f-govde); font-weight: 700;
  font-size: clamp(30px, 5vw, 56px); line-height: 1.05;
  color: var(--krem);
  text-shadow: 4px 4px 0 rgba(0, 0, 0, .45);
}
.sayfa-baslik .vurgu { color: var(--gold); }
.sayfa-giris { font-family: var(--f-govde); font-size: 18px; line-height: 1.5; color: var(--soluk); max-width: 720px; margin-top: 12px; }
.sayfa-bas-bulut {
  position: absolute; z-index: 0; pointer-events: none; opacity: .18;
  image-rendering: pixelated; height: 90px; top: 18px; right: -10%;
  animation: basBulut 70s linear infinite;
}
@keyframes basBulut { from { transform: translateX(0); } to { transform: translateX(-130vw); } }

/* eski alt sayfa iskeleti (deneyimler / portföy / linkler gövdeleri) */
.subpage { padding: 34px var(--kenar) 50px; max-width: 900px; margin: 0 auto; }
.subpage-genis { max-width: calc(var(--icerik) + 2 * var(--kenar)); }
.subpage-subtitle {
  font-family: var(--f-govde); font-weight: 700; font-size: 26px; line-height: 1.2; color: var(--gold);
  margin: 40px 0 16px; padding-bottom: 10px;
  border-bottom: 3px solid var(--wood);
}
.subpage-note { font-family: var(--f-govde); font-size: 16px; line-height: 1.5; color: var(--soluk); margin-bottom: 24px; }
.subpage-note a { color: var(--gold); }
.ilgi-wrap { display: flex; flex-wrap: wrap; gap: 14px 22px; margin-bottom: 30px; }
.ilgi-badge { font-size: 8px; }

/* NES kutuları */
.nes-container.is-dark { background-color: var(--gece-3) !important; }
.nes-container.is-dark.with-title > .title { background-color: var(--gece) !important; }
.nes-container.with-title > .title { font-size: 12px; color: var(--gold); }
.nes-container.is-rounded { border-image: none !important; border: 3px solid var(--wood) !important; }

/* =========================================================
   ALT BİLGİ
   ========================================================= */
.alt {
  position: relative; margin-top: 0;
  background: var(--gece-2);
  border-top: 4px solid var(--wood-dark);
}
.alt-zemin { /* piksel çimen şeridi */
  position: relative; height: 16px;
  background:
    linear-gradient(90deg, #3f7a2c 0 8px, #4f9a37 8px 16px, #3f7a2c 16px 20px, #5aa83f 20px 28px, #4f9a37 28px 36px) 0 0 / 36px 8px repeat-x,
    linear-gradient(180deg, transparent 8px, #6b4a2b 8px);
}
/* çimenlikte gezen creeper (site.js creeperKur): ayakları çimin üstünde, 3× (telefonda 2×); kareler ortalanır, tabana hizalanır */
.alt-creeper {
  --o: 3px; position: absolute; left: 0; bottom: calc(100% - 2px); z-index: 3;
  display: flex; justify-content: center; align-items: flex-end;
  width: calc(14 * var(--o)); height: calc(30 * var(--o)); cursor: pointer; transform-origin: 50% 100%;
}
.alt-creeper svg { display: none; flex: none; width: calc(var(--w) * var(--o)); height: calc(var(--h) * var(--o)); }
.alt-creeper[data-kare="on"] .cr-on, .alt-creeper[data-kare="y0"] .cr-y0, .alt-creeper[data-kare="y1"] .cr-y1,
.alt-creeper[data-kare="y2"] .cr-y2, .alt-creeper[data-kare="sis"] .cr-sis, .alt-creeper[data-kare="beyaz"] .cr-beyaz { display: block; }
.alt-creeper-duman { --o: 3px; position: absolute; z-index: 3; width: calc(9 * var(--o)); height: calc(9 * var(--o)); pointer-events: none; }
.alt-creeper-duman svg { display: none; width: 100%; height: 100%; }
.alt-creeper-duman[data-k="0"] .dk0, .alt-creeper-duman[data-k="1"] .dk1, .alt-creeper-duman[data-k="2"] .dk2,
.alt-creeper-duman[data-k="3"] .dk3, .alt-creeper-duman[data-k="4"] .dk4 { display: block; }
@media (max-width: 599px) { .alt-creeper, .alt-creeper-duman { --o: 2px; } }
.alt-ic {
  display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 30px;
  padding-top: 40px; padding-bottom: 34px;
}
.alt-marka { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.alt-marka p { font-family: var(--f-govde); font-size: 16px; line-height: 1.5; color: var(--soluk); max-width: 360px; }
.alt h2 { font-family: var(--f-piksel); font-size: 9px; letter-spacing: 2px; color: var(--gold); margin-bottom: 14px; }
.alt ul { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.alt ul a, .alt ul button {
  font-family: var(--f-govde); font-size: 16px; color: var(--text); text-decoration: none;
  background: none; border: 0; cursor: pointer; padding: 2px 0; text-align: left;
}
.alt ul a:hover, .alt ul button:hover { color: var(--gold); }
.alt ul a:hover::before, .alt ul button:hover::before { content: '\25B6\00a0'; font-size: 10px; }
.alt-son {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px;
  padding-top: 16px; padding-bottom: 22px;
  border-top: 2px dashed rgba(192, 139, 92, .35);
  font-size: 7px; color: var(--soluk); letter-spacing: 1px;
}
@media (max-width: 760px) {
  .alt-ic { grid-template-columns: 1fr 1fr; }
  .alt-marka { grid-column: 1 / -1; }
}

/* =========================================================
   MODAL + CV GÖRÜNTÜLEYİCİ
   ========================================================= */
.modal-zemin {
  position: fixed; inset: 0; z-index: 9500;
  display: flex; align-items: center; justify-content: center;
  padding: 18px;
  background: rgba(8, 12, 22, .86);
}
.modal-zemin[hidden] { display: none; }
body.modal-acik { overflow: hidden; }

.pencere {
  position: relative; display: flex; flex-direction: column;
  width: min(980px, 100%); max-height: calc(100vh - 36px); max-height: calc(100dvh - 36px);
  background: var(--gece-2);
  border: 4px solid var(--murekkep);
  box-shadow: 0 0 0 4px var(--wood), 10px 10px 0 4px rgba(0, 0, 0, .45);
}
.pencere-bar {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 10px 12px;
  background: linear-gradient(180deg, var(--wood-light) 0 3px, var(--wood) 3px calc(100% - 3px), var(--wood-dark) calc(100% - 3px));
  border-bottom: 4px solid var(--murekkep);
}
.pencere-ad { flex: 1; min-width: 0; font-size: 9px; color: var(--krem); text-shadow: 2px 2px 0 var(--wood-golge); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pencere-ad::before { content: '\25A0\00a0'; color: var(--gold); }
.pencere-bar .pdug { padding: 9px 12px; font-size: 8px; }
.pencere-kapat {
  width: 34px; height: 34px; display: grid; place-items: center;
  font-family: var(--f-piksel); font-size: 12px; color: #fff; background: var(--kirmizi);
  border: 0; cursor: pointer;
  box-shadow: inset -3px -3px 0 #9b2a27, inset 3px 3px 0 #f07a76, 0 0 0 3px var(--murekkep);
}
.pencere-kapat:hover { filter: brightness(1.1); }
.pencere-govde { position: relative; flex: 1; min-height: 240px; overflow: auto; overscroll-behavior: contain; background: #555b66; }

.cv-sayfalar { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 16px; }
.cv-sayfalar canvas { display: block; max-width: 100%; height: auto; background: #fff; box-shadow: 6px 6px 0 rgba(0, 0, 0, .35); }
.cv-iframe { display: block; width: 100%; height: 75vh; border: 0; background: #fff; }
.cv-durum {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
  padding: 24px; text-align: center; font-size: 9px; color: var(--krem); background: var(--gece-2);
}
.cv-cubuk { width: min(320px, 80%); height: 18px; padding: 3px; background: var(--murekkep); box-shadow: 0 0 0 3px var(--wood); }
.cv-cubuk i { display: block; height: 100%; width: 4%; background: repeating-linear-gradient(90deg, var(--gold) 0 10px, var(--gold-koyu) 10px 12px); transition: width .2s steps(4); }
.cv-yakinlik { display: inline-flex; gap: 6px; }
.cv-yakinlik button {
  width: 30px; height: 30px; font-family: var(--f-piksel); font-size: 12px;
  background: var(--krem); color: var(--murekkep); border: 0; cursor: pointer;
  box-shadow: inset -3px -3px 0 var(--krem-2), 0 0 0 3px var(--wood-golge);
}
@media (max-width: 560px) {
  .modal-zemin { padding: 8px; }
  .pencere { max-height: calc(100dvh - 16px); }
  .pencere-bar { gap: 8px; }
  .pencere-ad { flex-basis: calc(100% - 50px); }
  .cv-yakinlik { display: none; }
}

/* =========================================================
   BELİRME (kaydırınca piksel adımlı giriş)
   ========================================================= */
.belir { opacity: 0; transform: translateY(26px); transition: opacity .5s steps(5), transform .6s steps(6); }
.belir.sol { transform: translateX(-30px); }
.belir.sag { transform: translateX(30px); }
.belir.olcek { transform: scale(.9); }
.belir.gorundu { opacity: 1; transform: none; }
.belir[data-gecikme="1"] { transition-delay: .08s; }
.belir[data-gecikme="2"] { transition-delay: .16s; }
.belir[data-gecikme="3"] { transition-delay: .24s; }
.belir[data-gecikme="4"] { transition-delay: .32s; }
.belir[data-gecikme="5"] { transition-delay: .40s; }

/* bildirim (toast) */
.bildirim {
  position: fixed; left: 50%; bottom: 24px; z-index: 9900;
  max-width: calc(100vw - 32px);
  padding: 12px 16px;
  font-family: var(--f-piksel); font-size: 9px; line-height: 1.6; color: var(--murekkep);
  background: var(--gold); border: 3px solid var(--murekkep); box-shadow: 4px 4px 0 var(--murekkep);
  transform: translate(-50%, calc(100% + 40px)); visibility: hidden;
  transition: transform .3s cubic-bezier(.34, 1.56, .64, 1), visibility 0s linear .3s;
  pointer-events: none; overflow-wrap: anywhere;
}
.bildirim.acik { transform: translate(-50%, 0); visibility: visible; transition-delay: 0s; }

/* piksel ikonlar */
.px-ikon { display: block; image-rendering: pixelated; }

/* WhatsApp yüzen düğme */
.wp-yuzen {
  position: fixed; left: 18px; bottom: 18px; z-index: 8000;
  display: grid; place-items: center; width: 56px; height: 56px;
  background: #1fa855; text-decoration: none;
  box-shadow: inset -4px -4px 0 #157a3d, inset 4px 4px 0 #5fd68b, 0 0 0 3px var(--murekkep), 5px 5px 0 3px rgba(0, 0, 0, .35);
  animation: wpZipla 2.6s steps(6) infinite;
}
.wp-yuzen:hover { animation: none; transform: translateY(-3px); }
@keyframes wpZipla { 0%, 70%, 100% { transform: translateY(0); } 80% { transform: translateY(-6px); } 90% { transform: translateY(-2px); } }

/* ---------- hareket azaltma ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; transition-delay: 0s !important;
  }
  .belir { opacity: 1; transform: none; }
}
