/* Şifalı Yazılım */

@font-face { font-family: "IBM Plex Sans"; font-weight: 400; font-display: swap;
  src: url(fonts/ibm-plex-sans-latin-400-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2190-2193, U+2197; }
@font-face { font-family: "IBM Plex Sans"; font-weight: 400; font-display: swap;
  src: url(fonts/ibm-plex-sans-latin-ext-400-normal.woff2) format("woff2");
  unicode-range: U+0100-0130, U+0132-02BA, U+1E00-1EFF, U+2C60-2C7F; }
@font-face { font-family: "IBM Plex Sans"; font-weight: 700; font-display: swap;
  src: url(fonts/ibm-plex-sans-latin-700-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2190-2193, U+2197; }
@font-face { font-family: "IBM Plex Sans"; font-weight: 700; font-display: swap;
  src: url(fonts/ibm-plex-sans-latin-ext-700-normal.woff2) format("woff2");
  unicode-range: U+0100-0130, U+0132-02BA, U+1E00-1EFF, U+2C60-2C7F; }
@font-face { font-family: "IBM Plex Mono"; font-weight: 400; font-display: swap;
  src: url(fonts/ibm-plex-mono-latin-400-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: "IBM Plex Mono"; font-weight: 400; font-display: swap;
  src: url(fonts/ibm-plex-mono-latin-ext-400-normal.woff2) format("woff2");
  unicode-range: U+0100-0130, U+0132-02BA, U+1E00-1EFF, U+2C60-2C7F; }

:root {
  --zemin: #e9ebe6;
  --murekkep: #101214;
  --ikincil: #4d5359;
  --cizgi: rgba(16, 18, 20, .22);
  --vurgu: #c8ff2e;
  --koyu-ikincil: #a4abb2;
  --koyu-cizgi: rgba(233, 235, 230, .2);
  --sans: "IBM Plex Sans", "Segoe UI", Arial, sans-serif;
  --mono: "IBM Plex Mono", Consolas, monospace;
  --kenar: clamp(16px, 3vw, 44px);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--zemin);
  color: var(--murekkep);
  font-family: var(--sans);
  font-size: clamp(16px, 1.15vw, 19px);
  line-height: 1.5;
}
::selection { background: var(--vurgu); color: var(--murekkep); }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--murekkep); outline-offset: 3px; }

/* ---------- Kapak ---------- */
.kapak { display: flex; flex-direction: column; min-height: 100svh; }
.alan { position: relative; flex: 1; min-height: 340px; overflow: hidden; }
.alan canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
h1 {
  position: absolute;
  inset: auto 0 0 var(--kenar);
  margin: 0;
  font-size: clamp(64px, 19vw, 300px);
  line-height: .95;
  letter-spacing: -.03em;
  text-transform: uppercase;
}
/* Kod yazıyı çizebildiyse metin yalnızca ekran okuyuculara kalır. */
.tuval-hazir h1 {
  clip-path: inset(50%);
  width: 1px;
  height: 1px;
  overflow: hidden;
  white-space: nowrap;
}

.kapak-alt {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px clamp(20px, 3vw, 48px);
  padding: 18px var(--kenar);
  background: var(--murekkep);
  color: var(--zemin);
}
.giris { margin: 0; font-size: 1.32em; line-height: 1.25; }
.not { margin: 0; font: .76em/1.5 var(--mono); color: var(--koyu-ikincil); }

.dugme {
  display: inline-block;
  padding: 12px 18px;
  background: var(--vurgu);
  color: var(--murekkep);
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .12s, box-shadow .12s;
}
.dugme span { display: inline-block; transition: transform .15s; }
.dugme:hover { box-shadow: 4px 4px 0 currentColor; transform: translate(-2px, -2px); }
.kapak-alt .dugme:hover { box-shadow: 4px 4px 0 var(--zemin); }
.dugme:hover span { transform: translateX(3px); }
.dugme:active { box-shadow: none; transform: none; }
.kapak-alt .dugme:focus-visible { outline-color: var(--zemin); }

/* ---------- Projeler ---------- */
.projeler { padding: clamp(40px, 7vh, 80px) var(--kenar) clamp(48px, 8vh, 96px); }
.bolum {
  margin: 0;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--murekkep);
  font: 400 .8em/1.4 var(--mono);
}
.proje {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(24px, 4vw, 64px);
  padding: clamp(24px, 4vh, 44px) 0 clamp(36px, 6vh, 64px);
  border-bottom: 1px solid var(--cizgi);
}
.proje-ust { display: flex; align-items: center; gap: 14px; margin: 0 0 14px; font: .8em/1.4 var(--mono); }
.durum { display: inline-flex; align-items: center; gap: 7px; }
.durum::before { content: ""; width: 9px; height: 9px; }
.durum-acik::before { background: var(--vurgu); outline: 1px solid var(--murekkep); }
.durum-yapim::before { border: 1px solid var(--murekkep); }
h3 {
  margin: 0 0 16px;
  font-size: clamp(44px, 5.8vw, 96px);
  line-height: .98;
  letter-spacing: -.035em;
}
.ozet { margin: 0 0 20px; font-size: 1.16em; line-height: 1.38; }
.ozellik { margin: 0 0 20px; padding: 0; list-style: none; }
.ozellik li { padding: 7px 0; border-top: 1px solid var(--cizgi); line-height: 1.35; }
.teknik { margin: 0 0 24px; font: .8em/1.5 var(--mono); color: var(--ikincil); }

.proje-bos { display: block; padding-bottom: clamp(24px, 4vh, 44px); }
.bos-metin { margin: 0; color: var(--ikincil); font-size: clamp(22px, 2.4vw, 36px); line-height: 1.2; letter-spacing: -.01em; }

/* ---------- Canlı deneme ---------- */
.deneme {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr) auto;
  align-self: start;
  background: var(--murekkep);
  color: var(--zemin);
}
.deneme[hidden] { display: none; }
.deneme-sohbet, .deneme-gunluk { display: flex; flex-direction: column; min-width: 0; min-height: 490px; padding: 16px; }
.deneme-gunluk { border-left: 1px solid var(--koyu-cizgi); }
.pano-baslik { margin: 0 0 14px; font: .74em/1.4 var(--mono); color: var(--koyu-ikincil); }
.deneme-not {
  grid-column: 1 / -1;
  margin: 0;
  padding: 9px 16px;
  border-top: 1px solid var(--koyu-cizgi);
  font: .72em/1.4 var(--mono);
  color: var(--koyu-ikincil);
}

.sohbet { display: flex; flex-direction: column; gap: 8px; flex: 1; }
.balon { max-width: 90%; padding: 8px 11px; line-height: 1.32; animation: gel .22s ease-out; }
.balon-musteri { align-self: flex-end; background: var(--vurgu); color: var(--murekkep); }
.balon-bot { align-self: flex-start; background: #24282c; }
.yaziyor { display: inline-block; font-family: var(--mono); letter-spacing: .15em; color: var(--koyu-ikincil); }
.secenekler { display: flex; flex-wrap: wrap; gap: 8px; min-height: 44px; margin-top: 14px; }
.secenekler button {
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid var(--vurgu);
  background: none;
  color: var(--vurgu);
  font: inherit;
  cursor: pointer;
}
.secenekler button:hover { background: var(--vurgu); color: var(--murekkep); }
.secenekler button:focus-visible { outline-color: var(--zemin); }

.gunluk { margin: 0; padding: 0; list-style: none; font: .8em/1.4 var(--mono); }
.gunluk li { display: grid; grid-template-columns: 1.5em minmax(0, 1fr); padding: 6px 0; border-bottom: 1px solid var(--koyu-cizgi); animation: gel .22s ease-out; }
.gunluk li::before { content: "→"; color: var(--vurgu); }
@keyframes gel { from { opacity: 0; transform: translateY(5px); } }

/* ---------- Alt ---------- */
.alt {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 24px;
  padding: 20px var(--kenar);
  background: var(--murekkep);
  color: var(--koyu-ikincil);
  font: .78em/1.5 var(--mono);
}
.alt p { margin: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .balon, .gunluk li { animation: none; }
  .dugme, .dugme span { transition: none; }
}

/* ---------- Dar ekran ---------- */
@media (max-width: 960px) {
  .proje { grid-template-columns: minmax(0, 1fr); }
  .kapak-alt { grid-template-columns: minmax(0, 1fr) auto; }
  .not { grid-column: 1 / -1; grid-row: 2; }
}
@media (max-width: 620px) {
  .kapak { min-height: 0; }
  .alan { flex: none; height: 44svh; }
  .kapak-alt { grid-template-columns: minmax(0, 1fr); }
  .not { grid-row: auto; }
  .kapak-alt .dugme { text-align: center; }
  .deneme { grid-template-columns: minmax(0, 1fr); }
  .deneme-sohbet { min-height: 410px; }
  .deneme-gunluk { min-height: 300px; border-left: 0; border-top: 1px solid var(--koyu-cizgi); }
  .proje-bilgi .dugme { display: block; text-align: center; }
}
