/* =========================================================
   Ümit Aydoğan · Kişisel Web Sitesi
   "Broadcast Lab" — yayıncılık & editörlük teması
   Mobil-öncelikli, saf HTML/CSS, az miktarda ilerici animasyon.
   ========================================================= */

/* ---------- Sıfırlama & Temeller ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Space Grotesk', system-ui, sans-serif;
  background: #07070f;
  color: #e9e9f1;
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; }

/* ---------- Renk Değişkenleri ---------- */
:root {
  --bg:        #07070f;
  --bg-2:      #0d0d1c;
  --ink:       #f3f3f7;
  --ink-dim:   #a8a8c0;
  --line:      rgba(255,255,255,0.08);
  --acc-1:     #ff2d75;   /* magenta */
  --acc-2:     #00e7ff;   /* cyan */
  --acc-3:     #ffd84d;   /* sarı vurgu */
  --grad:      linear-gradient(135deg, #ff2d75 0%, #ff8a3d 35%, #ffd84d 65%, #00e7ff 100%);
}

/* ---------- Arka Plan Katmanları ---------- */

/* Hareketli renkli mesh - hafif blur */
.grid-bg {
  position: fixed; inset: -20vmax;
  z-index: -3;
  background:
    radial-gradient(60vmax 60vmax at 15% 20%, rgba(255,45,117,0.35), transparent 60%),
    radial-gradient(50vmax 50vmax at 85% 80%, rgba(0,231,255,0.30), transparent 60%),
    radial-gradient(40vmax 40vmax at 50% 50%, rgba(255,216,77,0.18), transparent 65%);
  filter: blur(60px) saturate(120%);
  animation: drift 22s ease-in-out infinite alternate;
}
@keyframes drift {
  0%   { transform: translate3d(0,0,0) scale(1); }
  50%  { transform: translate3d(2vw,-2vw,0) scale(1.05); }
  100% { transform: translate3d(-2vw,2vw,0) scale(0.98); }
}

/* TV statik parazit — saf CSS noise (SVG data URI) */
.noise {
  position: fixed; inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.6'/></svg>");
  mix-blend-mode: overlay;
  animation: shake 0.6s steps(3) infinite;
}
@keyframes shake {
  0% { transform: translate(0,0); }
  33%{ transform: translate(-1px,1px); }
  66%{ transform: translate(1px,-1px); }
  100%{ transform: translate(0,0); }
}

/* CRT tarama çizgileri */
.scanlines {
  position: fixed; inset: 0;
  z-index: -1;
  pointer-events: none;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255,255,255,0.018) 0px,
    rgba(255,255,255,0.018) 1px,
    transparent 1px,
    transparent 3px
  );
}

/* ---------- ON AIR Rozeti (sağ üstte sabit) ---------- */
.on-air {
  position: fixed;
  top: 16px; right: 16px;
  z-index: 50;
  display: flex; align-items: center; gap: 8px;
  padding: 6px 12px;
  border: 1px solid rgba(255,45,117,0.6);
  border-radius: 999px;
  background: rgba(255,45,117,0.08);
  backdrop-filter: blur(8px);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: #ffd0e2;
}
.on-air .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #ff2d75;
  box-shadow: 0 0 8px #ff2d75, 0 0 16px #ff2d75;
  animation: pulse 1.4s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%     { opacity: 0.4; transform: scale(0.8); }
}

/* ---------- Üst Gezinti ---------- */
.nav {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 6vw;
  background: linear-gradient(180deg, rgba(7,7,15,0.85), rgba(7,7,15,0.3) 80%, transparent);
  backdrop-filter: blur(10px);
}
.logo {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.logo-mark {
  display: grid; place-items: center;
  width: 36px; height: 36px;
  background: var(--grad);
  color: #0a0a16;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 6px 24px rgba(255,45,117,0.35);
}
.logo-text { font-size: 15px; opacity: 0.92; }

.menu {
  display: none;
  gap: 22px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ink-dim);
}
.menu a { transition: color 0.2s ease; }
.menu a:hover { color: var(--ink); }
@media (min-width: 880px) {
  .menu { display: flex; }
}

/* ---------- HERO ---------- */
.hero {
  padding: 60px 6vw 80px;
  min-height: 92vh;
  display: flex; flex-direction: column; justify-content: center;
  position: relative;
}
.hero-meta {
  display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: 0.18em;
  color: var(--ink-dim);
  text-transform: uppercase;
  margin-bottom: 28px;
}
.hero-meta .sep {
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--ink-dim);
  opacity: 0.5;
}

/* Devasa tipografi */
.hero-title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: clamp(58px, 16vw, 220px);
  line-height: 0.86;
  letter-spacing: -0.04em;
  margin: 0 0 28px;
  text-transform: uppercase;
}
.hero-title .line { display: block; }
.hero-title .word { display: inline-block; position: relative; }

/* Birinci satır — dolgu rengi */
.hero-title .word:first-child {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* İkinci satır — sadece kontur */
.hero-title .outline {
  color: transparent;
  -webkit-text-stroke: 2px var(--ink);
}

/* Glitch efekti — hover'da etkin */
.glitch {
  position: relative;
  cursor: default;
}
.glitch::before, .glitch::after {
  content: attr(data-text);
  position: absolute; left: 0; top: 0;
  width: 100%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s ease;
}
.glitch::before {
  color: var(--acc-1);
  -webkit-text-stroke: 0;
  background: none;
  -webkit-background-clip: initial;
  transform: translate(-2px, 0);
  mix-blend-mode: screen;
}
.glitch::after {
  color: var(--acc-2);
  -webkit-text-stroke: 0;
  background: none;
  -webkit-background-clip: initial;
  transform: translate(2px, 0);
  mix-blend-mode: screen;
}
.hero-title:hover .glitch::before,
.hero-title:hover .glitch::after { opacity: 0.85; animation: jitter 0.4s steps(2) infinite; }
@keyframes jitter {
  0%   { transform: translate(-3px, 1px); }
  50%  { transform: translate(3px, -1px); }
  100% { transform: translate(-2px, 0); }
}

.hero-sub {
  font-size: clamp(15px, 1.6vw, 19px);
  color: var(--ink-dim);
  margin: 0 0 28px;
  max-width: 720px;
}
.hero-sub .hl { color: var(--ink); font-weight: 600; }
.cursor {
  display: inline-block;
  color: var(--acc-2);
  animation: blink 1s steps(1) infinite;
  margin-right: 6px;
  font-weight: 600;
}
@keyframes blink {
  0%,49% { opacity: 1; }
  50%,100%{ opacity: 0; }
}

/* Kayan keyword bandı */
.ticker {
  margin: 8px 0 32px;
  border-block: 1px solid var(--line);
  overflow: hidden;
  --duration: 38s;
}
.ticker-track {
  display: inline-flex; gap: 18px;
  white-space: nowrap;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-dim);
  padding: 14px 0;
  animation: marquee var(--duration) linear infinite;
}
.ticker-track span:nth-child(odd) { color: var(--ink); }
@keyframes marquee {
  from { transform: translate3d(0,0,0); }
  to   { transform: translate3d(-50%,0,0); }
}

.hero-cta {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-bottom: 36px;
}
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.02em;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn.primary {
  background: var(--grad);
  color: #0a0a16;
  box-shadow: 0 8px 30px rgba(255,45,117,0.35);
}
.btn.primary:hover { transform: translateY(-2px); box-shadow: 0 14px 40px rgba(255,45,117,0.45); }
.btn.ghost {
  border: 1px solid var(--line);
  color: var(--ink);
  background: rgba(255,255,255,0.02);
}
.btn.ghost:hover { border-color: var(--ink); }

/* Stüdyo HUD'u */
.hud {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  max-width: 560px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.hud-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,0.02);
  backdrop-filter: blur(4px);
}
.hud-item .k { color: var(--ink-dim); }
.hud-item .v { color: var(--acc-2); font-weight: 600; }
@media (min-width: 720px) { .hud { grid-template-columns: repeat(4,1fr); } }

/* ---------- Genel Bölüm Yapısı ---------- */
.section {
  padding: 90px 6vw;
  border-top: 1px solid var(--line);
  position: relative;
}
.section-head {
  max-width: 880px;
  margin-bottom: 40px;
}
.kicker {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--acc-2);
  margin-bottom: 14px;
  padding: 4px 10px;
  border: 1px solid rgba(0,231,255,0.3);
  border-radius: 999px;
  background: rgba(0,231,255,0.06);
}
.section-head h2 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  font-size: clamp(28px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0;
}
.section-head h2 em {
  font-style: italic;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.head-note {
  margin-top: 16px;
  color: var(--ink-dim);
  font-size: 14px;
}
.head-note a { color: var(--acc-2); border-bottom: 1px dotted var(--acc-2); }

/* ---------- HAKKIMDA ---------- */
.about-grid {
  display: grid; gap: 28px;
  grid-template-columns: 1fr;
}
@media (min-width: 880px) {
  .about-grid { grid-template-columns: 1.5fr 1fr; }
}
.about-card {
  font-size: 17px;
  color: #d4d4e0;
}
.about-card p + p { margin-top: 14px; }
.about-card a {
  color: var(--acc-2);
  border-bottom: 1px dotted var(--acc-2);
}
.hl-soft { color: var(--ink); font-weight: 600; }

.about-stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  align-self: start;
}
.stat {
  padding: 22px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,0.02);
  position: relative; overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.stat::before {
  content: ""; position: absolute; inset: 0;
  background: var(--grad);
  opacity: 0; transition: opacity 0.3s ease;
}
.stat:hover { transform: translateY(-3px); border-color: var(--acc-2); }
.stat .num {
  display: block;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.03em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat .lbl {
  display: block;
  margin-top: 4px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-dim);
}

/* ---------- ZAMAN ÇİZELGESİ ---------- */
.timeline {
  list-style: none;
  padding: 0; margin: 0;
  display: grid;
  gap: 18px;
}
.timeline li {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 16px;
  align-items: start;
  position: relative;
}
.timeline li::before {
  content: ""; position: absolute;
  left: 96px; top: 12px;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--acc-1);
  box-shadow: 0 0 0 4px rgba(255,45,117,0.2);
}
.t-year {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: var(--acc-3);
  padding-top: 6px;
  letter-spacing: 0.1em;
}
.t-card {
  padding: 20px 22px;
  margin-left: 28px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,0.02);
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.t-card:hover { border-color: var(--acc-2); transform: translateX(4px); }
.t-card.highlight {
  border-color: rgba(255,45,117,0.4);
  background: linear-gradient(135deg, rgba(255,45,117,0.08), rgba(0,231,255,0.04));
}
.t-card h3 {
  margin: 0 0 4px;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 19px;
  letter-spacing: -0.01em;
}
.t-card .t-place {
  margin: 0 0 8px;
  color: var(--acc-2);
  font-size: 13px;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.04em;
}
.t-card p:last-child {
  margin: 0;
  color: var(--ink-dim);
  font-size: 15px;
}

@media (max-width: 560px) {
  .timeline li { grid-template-columns: 64px 1fr; }
  .timeline li::before { left: 70px; }
  .t-card { margin-left: 18px; }
}

/* ---------- YAYINLAR ---------- */
.pub-grid {
  display: grid; gap: 18px;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) { .pub-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px){ .pub-grid { grid-template-columns: 1fr 1fr 1fr 1fr; } }

.pub-card {
  position: relative;
  padding: 22px 22px 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0.01));
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  display: flex; flex-direction: column;
}
.pub-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--grad);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s ease;
}
.pub-card:hover {
  transform: translateY(-4px);
  border-color: var(--acc-2);
  box-shadow: 0 18px 40px rgba(0,0,0,0.4);
}
.pub-card:hover::before { transform: scaleX(1); }
.pub-top {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 14px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.pub-ch {
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--acc-2);
}
.pub-year { color: var(--ink-dim); }
.pub-card h3 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
  flex: 1;
}
.pub-meta {
  font-size: 13px;
  color: var(--ink-dim);
  margin: 0 0 14px;
}
.pub-meta em { color: var(--ink); font-style: italic; }
.pub-tags {
  margin: 0;
  display: flex; flex-wrap: wrap; gap: 6px;
}
.pub-tags span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(0,231,255,0.08);
  color: var(--acc-2);
  letter-spacing: 0.06em;
  text-transform: lowercase;
}

/* ---------- ARAŞTIRMA ALANLARI ---------- */
.chip-cloud {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-bottom: 56px;
}
.chip {
  padding: 11px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.25s ease;
  cursor: default;
}
.chip:hover {
  border-color: var(--acc-2);
  color: var(--bg);
  background: var(--acc-2);
  transform: translateY(-2px);
}
.chip.alt:hover {
  border-color: var(--acc-1);
  background: var(--acc-1);
  color: #fff;
}

.duties-title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 22px;
  margin: 0 0 22px;
  letter-spacing: -0.01em;
}
.duty-list {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 14px;
}
.duty-list li {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,0.02);
  transition: border-color 0.3s ease;
}
.duty-list li:hover { border-color: var(--acc-3); }
.duty-num {
  color: var(--acc-3);
  font-family: 'JetBrains Mono', monospace;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
}
.duty-list strong { display: block; font-size: 16px; margin-bottom: 4px; }
.duty-list em {
  display: block;
  color: var(--ink-dim);
  font-style: normal;
  font-size: 14px;
}

/* ---------- İLETİŞİM ---------- */
.contact-grid {
  display: grid; gap: 14px;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) { .contact-grid { grid-template-columns: 1fr 1fr; } }

.ccard {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 14px;
  align-items: center;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255,255,255,0.02);
  transition: all 0.3s ease;
  overflow: hidden;
}
.ccard::after {
  content: ""; position: absolute; inset: 0;
  background: var(--grad);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}
.ccard:hover {
  border-color: transparent;
  color: #0a0a16;
  transform: translateY(-3px);
}
.ccard:hover::after { opacity: 1; }
.ccard:hover .ccard-k,
.ccard:hover .ccard-v { color: #0a0a16; }
.ccard-k {
  grid-column: 1 / -1;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin-bottom: 4px;
  transition: color 0.3s ease;
}
.ccard-v {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  word-break: break-all;
  transition: color 0.3s ease;
}
.ccard-v small { font-weight: 400; opacity: 0.75; }
.ccard-arrow {
  grid-row: 1;
  grid-column: 2;
  font-size: 22px;
  color: var(--acc-2);
  transition: transform 0.3s ease, color 0.3s ease;
}
.ccard:hover .ccard-arrow { transform: rotate(45deg); color: #0a0a16; }

/* ---------- FOOTER ---------- */
.foot {
  padding: 40px 6vw 60px;
  border-top: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 20px;
  align-items: flex-start;
}
.foot-line {
  display: flex; flex-wrap: wrap; gap: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ink-dim);
}
.foot-line .dim { opacity: 0.5; }
.foot-line .mono { color: var(--acc-3); }

.signal {
  display: inline-flex; align-items: flex-end; gap: 4px;
  height: 24px;
}
.signal span {
  width: 5px; background: var(--acc-2); border-radius: 2px;
  animation: bars 1.2s ease-in-out infinite;
}
.signal span:nth-child(1) { height: 30%; animation-delay: -0.4s; }
.signal span:nth-child(2) { height: 55%; animation-delay: -0.2s; }
.signal span:nth-child(3) { height: 75%; animation-delay: 0s;    }
.signal span:nth-child(4) { height: 90%; animation-delay: -0.3s; }
.signal span:nth-child(5) { height: 60%; animation-delay: -0.1s; }
@keyframes bars {
  0%,100% { transform: scaleY(0.4); }
  50%     { transform: scaleY(1); }
}

/* ---------- Erişilebilirlik & Hareket Tercihi ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Seçim rengi ---------- */
::selection { background: var(--acc-1); color: #0a0a16; }

/* ---------- Kaydırma çubuğu (webkit) ---------- */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #0d0d1c; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--acc-1), var(--acc-2));
  border-radius: 5px;
}
