/* ==========================================================================
   Yağız Erhan Tan — Portfolyo
   Tipografi: Instrument Serif + Geist + Geist Mono
   Renk Paleti: Mat Obsidyen (#131311), Fildişi (#ece7db), Sade Kehribar (#f59e0b)
   Yüzen Liquid Glass pill üst bar ve spotlight kart yüzeyleri.
   ========================================================================== */

:root {
  /* Tipografi Üçlüsü */
  --font-serif: "Instrument Serif", ui-serif, Georgia, serif;
  --font-sans: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* 1. (Ana) Tasarımın Kesinleşmiş Renk Paleti */
  --bg: #131311;
  --surface: #1b1a17;
  --surface-alt: #23211d;
  --code-bg: #0b0b09;
  --text: #ece7db;
  --text-body: #d8d2c5;
  --muted: #a6a092;
  --border: #2f2d27;
  --border-light: rgba(236, 231, 219, 0.1);
  --border-strong: #d6cfc0;
  --accent: #f59e0b;
  --accent-soft: rgba(245, 158, 11, 0.13);
  --accent-glow: rgba(245, 158, 11, 0.085);
  --accent-border: rgba(245, 158, 11, 0.38);

  /* Liquid Glass (Sıcak Obsidyen & Kehribar Yansımalı) */
  --glass-bg: linear-gradient(135deg, rgba(35, 33, 29, 0.78), rgba(27, 26, 23, 0.56));
  --glass-strong: linear-gradient(135deg, rgba(35, 33, 29, 0.94), rgba(19, 19, 17, 0.90));
  --glass-hi: rgba(236, 231, 219, 0.16);
  --glass-edge: rgba(0, 0, 0, 0.6);
  --glass-spec: rgba(245, 158, 11, 0.09);
  --glass-shadow: 0 1px 2px rgba(0, 0, 0, 0.55), 0 20px 48px -22px rgba(0, 0, 0, 0.85);
  --glass-shadow-hover: 0 40px 80px -42px rgba(0, 0, 0, 0.95);
  --blur: blur(22px) saturate(160%);

  /* Boşluk & Boyut Ölçeği (2. Tasarımla Aynı) */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --s-9: 96px;

  --r-xs: 8px;
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-full: 999px;

  --wrap: 1320px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16.5px;
}

body.t3-body {
  font-family: var(--font-sans);
  background-color: var(--bg);
  color: var(--text-body);
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

html.is-modal-open,
body.t3-body.is-modal-open {
  overflow: hidden;
}

/* Sıcak Obsidyen & Kehribar Atmosferik Küreler */
.t3-atmosphere {
  position: relative;
  isolation: isolate;
}

.t3-atmosphere::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(680px circle at 15% 10%, rgba(245, 158, 11, 0.065), transparent 65%),
    radial-gradient(600px circle at 85% 22%, rgba(236, 231, 219, 0.045), transparent 62%),
    radial-gradient(740px circle at 50% 90%, rgba(245, 158, 11, 0.05), transparent 68%);
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

/* ==========================================================================
   OKUMA İLERLEME ÇUBUĞU (KEHRİBAR)
   ========================================================================== */
.t3-readbar {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: var(--scroll-pct, 0%);
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  z-index: 1200;
  transition: width 80ms linear;
}

/* ==========================================================================
   YÜZEN PİLL ÜST BAR (2. Tasarımın Üst Barı + Ana Tasarımın Renkleri)
   ========================================================================== */
.t3-navbar-wrap {
  position: sticky;
  top: 14px;
  z-index: 1000;
  padding: 0 16px;
  margin-top: 14px;
}

.t3-navbar {
  max-width: var(--wrap);
  margin: 0 auto;
  min-height: 62px;
  padding: 8px 14px 8px 20px;
  border-radius: var(--r-full);
  background: rgba(27, 26, 23, 0.84);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  box-shadow:
    inset 0 1px 0 var(--glass-hi),
    inset 0 0 0 1px var(--border),
    inset 0 -1px 0 var(--glass-edge),
    var(--glass-shadow);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.t3-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-serif);
  font-size: 24px;
  line-height: 1;
  color: var(--text);
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.t3-brand-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  flex-shrink: 0;
}

.t3-brand em {
  font-style: italic;
  color: var(--accent);
}

.t3-brand-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 2px 8px;
  border-radius: var(--r-full);
  border: 1px solid var(--border);
  background: var(--code-bg);
}

.t3-tabsbar {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: var(--r-full);
  background: var(--code-bg);
  border: 1px solid var(--border);
}

.t3-tab-link {
  padding: 7px 14px;
  border-radius: var(--r-full);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.25s var(--ease), background-color 0.25s var(--ease);
  white-space: nowrap;
}

.t3-tab-link:hover,
.t3-tab-link.is-active {
  color: var(--text);
  background: var(--surface-alt);
  box-shadow: inset 0 1px 0 var(--glass-hi), inset 0 0 0 1px var(--border);
}

.t3-tab-link.is-active {
  color: var(--accent);
}

.t3-nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.t3-icon-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 38px;
  padding: 0 13px;
  border-radius: var(--r-full);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--text);
  background: var(--code-bg);
  border: 1px solid var(--border);
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease), color 0.25s var(--ease);
}

.t3-icon-pill:hover {
  border-color: var(--accent-border);
  color: var(--accent);
  transform: translateY(-1px);
}

/* ==========================================================================
   TİPOGRAFİ & BOYUTLANDIRMA (2. Tasarımın Ölçeği + Kehribar/Fildişi Vurgu)
   ========================================================================== */
.t3-wrap {
  width: min(var(--wrap), calc(100% - 48px));
  margin: 0 auto;
}

.t3-display,
.t3-h1,
.t3-h2,
.t3-h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  color: var(--text);
}

.t3-display {
  font-size: clamp(50px, 8.2vw, 112px);
  line-height: 0.93;
  letter-spacing: -0.025em;
}

.t3-h1 {
  font-size: clamp(42px, 6.2vw, 86px);
  line-height: 0.96;
  letter-spacing: -0.02em;
}

.t3-h2 {
  font-size: clamp(32px, 4.6vw, 62px);
  line-height: 1.02;
  letter-spacing: -0.02em;
}

.t3-h3 {
  font-size: clamp(25px, 2.5vw, 36px);
  line-height: 1.12;
  letter-spacing: -0.01em;
}

/* Başlıklarda <em>: Kehribar ve sıcak sönük fildişi kontrastı */
.t3-display em,
.t3-h1 em,
.t3-h2 em {
  font-style: italic;
  color: var(--accent);
}

.t3-h3 em,
.t3-card-title em {
  font-style: italic;
  color: var(--muted);
}

.t3-lede {
  font-family: var(--font-sans);
  font-size: clamp(16px, 1.35vw, 18.5px);
  font-weight: 400;
  line-height: 1.72;
  letter-spacing: -0.008em;
  color: var(--text-body);
  max-width: 760px;
}

.t3-aside {
  font-family: var(--font-sans);
  font-style: normal;
  font-weight: 500;
  font-size: clamp(17px, 1.45vw, 20px);
  letter-spacing: -0.012em;
  color: var(--muted);
  line-height: 1.55;
}

.t3-mono-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ==========================================================================
   EYEBROW, PILL, TAG & STATUS DOT
   ========================================================================== */
.t3-eyebrow {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  max-width: 100%;
  padding: 6px 14px;
  border-radius: var(--r-full);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: inset 0 1px 0 var(--glass-hi);
}

.t3-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
  flex-shrink: 0;
}

/* Sadece "Staj ve Junior Pozisyonlara Açık" etiketi için koyu yeşil parlayan nokta */
.t3-dot.is-status-green {
  background: #16a34a;
  box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.22);
  animation: t3GreenPulse 2.2s infinite ease-in-out;
}

@keyframes t3GreenPulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.24); }
  50% { box-shadow: 0 0 0 8px rgba(22, 163, 74, 0.04); }
}

.t3-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border-radius: var(--r-full);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--text);
  background: var(--code-bg);
  border: 1px solid var(--border);
}

.t3-pill.is-amber {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
  font-weight: 700;
}

.t3-tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 11px;
  border-radius: var(--r-full);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text);
  background: var(--code-bg);
  border: 1px solid var(--border);
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.t3-tag:hover {
  border-color: var(--accent-border);
  color: var(--accent);
}

.t3-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

/* ==========================================================================
   BUTONLAR (Sıvı Dalga Dolum Efektli — Fildişi & Kehribar)
   ========================================================================== */
.t3-btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 24px;
  border-radius: var(--r-full);
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.2;
  border: 1px solid var(--border-strong);
  transition: color 0.45s var(--ease), border-color 0.45s var(--ease), transform 0.3s var(--ease);
}

.t3-btn::before {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: -1;
  border-radius: 50% 50% 0 0 / 30% 30% 0 0;
  transform: translateY(104%);
  transition: transform 0.65s var(--ease), border-radius 0.65s var(--ease);
}

.t3-btn:hover::before {
  transform: translateY(0%);
  border-radius: 0;
}

.t3-btn-primary {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}

.t3-btn-primary::before {
  background: var(--accent);
}

.t3-btn-primary:hover {
  color: var(--bg);
  border-color: var(--accent);
}

.t3-btn-ghost {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border);
}

.t3-btn-ghost::before {
  background: var(--text);
}

.t3-btn-ghost:hover {
  color: var(--bg);
  border-color: var(--text);
}

.t3-btn-sm {
  padding: 8px 16px;
  font-size: 13px;
}

.t3-btn .t3-go {
  display: inline-block;
  transition: transform 0.35s var(--ease);
}

.t3-btn:hover .t3-go {
  transform: translateX(4px);
}

/* ==========================================================================
   AYIRAÇLAR (.t3-divider)
   ========================================================================== */
.t3-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: var(--s-8) 0;
}

.t3-divider::before,
.t3-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border));
}

.t3-divider::after {
  background: linear-gradient(90deg, var(--border), transparent);
}

.t3-divider-diamond {
  width: 7px;
  height: 7px;
  border: 1px solid var(--accent);
  transform: rotate(45deg);
}

/* ==========================================================================
   KARTLAR (Sıcak Obsidyen Liquid Glass + Kehribar Spotlight)
   ========================================================================== */
.t3-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-xl);
  padding: 34px 30px;
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  box-shadow:
    inset 0 1px 0 var(--glass-hi),
    inset 0 0 0 1px var(--border),
    inset 0 -1px 0 var(--glass-edge),
    var(--glass-shadow);
  transition:
    transform 0.45s var(--ease),
    box-shadow 0.45s var(--ease);
}

.t3-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(480px circle at var(--mx, 50%) var(--my, 0%), var(--accent-glow), transparent 48%),
    radial-gradient(120% 90% at 15% -30%, var(--glass-spec), transparent 52%);
  opacity: 0.95;
}

/* İçerik, ışık katmanının üstünde kalsın (aksi halde parıltı yazının üstüne biner) */
.t3-card > * {
  position: relative;
  z-index: 1;
}

/* Yuvarlak köşelerde bükülen border-top yerine ortalanmış kehribar ışık çizgisi */
.t3-accent-top::after {
  content: "";
  position: absolute;
  top: 0;
  left: 12%;
  right: 12%;
  height: 2px;
  z-index: 2;
  pointer-events: none;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.t3-card:hover {
  box-shadow:
    inset 0 1px 0 var(--glass-hi),
    inset 0 0 0 1px var(--accent-border),
    inset 0 -1px 0 var(--glass-edge),
    var(--glass-shadow-hover);
}

.t3-card.is-clickable {
  cursor: pointer;
}

.t3-card.is-clickable:hover {
  transform: translateY(-4px);
}

.t3-card.is-clickable:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.t3-card-num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.t3-card-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 2.6vw, 38px);
  font-weight: 400;
  line-height: 1.08;
  color: var(--text);
  margin-bottom: 10px;
}

/* Proje adı altında, ayrı satırda net ve modern ürün alt başlığı */
.t3-title-tag {
  display: block;
  margin-top: 10px;
  font-family: var(--font-sans);
  font-style: normal;
  font-weight: 500;
  font-size: clamp(16px, 1.25vw, 18.5px);
  line-height: 1.5;
  letter-spacing: -0.012em;
  color: var(--muted);
}

.t3-h2 .t3-title-tag {
  font-size: clamp(17.5px, 1.45vw, 21px);
  max-width: 880px;
}

/* Büyük Sarı→Kehribar Yıldız (Ana Tasarımdan) */
.t3-star-mark {
  display: inline-block;
  margin-right: 0.32rem;
  background: linear-gradient(160deg, #fcd34d 10%, #f59e0b 60%, #d97706 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 1px 6px rgba(245, 158, 11, 0.28));
}

.t3-title-link {
  display: inline-block;
  color: inherit;
  text-decoration: none;
  border-bottom: 1.5px solid transparent;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.t3-title-link:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* ==========================================================================
   HERO: SOLDA TANITIM YAZISI + SAĞDA KÜNYE KARTI
   ========================================================================== */
.t3-hero {
  padding: var(--s-7) 0 var(--s-6);
}

.t3-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 390px);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}

.t3-hero-main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--s-5);
  min-width: 0;
}

.t3-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
}

.t3-profile-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.t3-profile-top {
  display: flex;
  align-items: center;
  gap: 18px;
}

.t3-avatar {
  position: relative;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background:
    radial-gradient(circle at 30% 25%, var(--accent-soft), transparent 70%),
    var(--surface-alt);
  border: 1px solid var(--border);
  box-shadow: 0 0 0 3px var(--bg), 0 0 0 4px var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.t3-avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.t3-avatar-initials {
  font-family: var(--font-serif);
  font-size: 34px;
  color: var(--accent);
}

.t3-dl {
  display: grid;
  grid-template-columns: 96px 1fr;
  row-gap: 10px;
  column-gap: 12px;
  font-size: 13.5px;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.t3-dl dt {
  font-family: var(--font-mono);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.t3-dl dd {
  color: var(--text);
  word-break: break-word;
}

.t3-dl dd a {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--border-strong);
  transition: color 0.2s var(--ease);
}

.t3-dl dd a:hover {
  color: var(--accent);
}

/* ==========================================================================
   İSTATİSTİK ŞERİDİ
   ========================================================================== */
.t3-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: var(--s-6) 0 var(--s-8);
}

.t3-stat-card {
  padding: 24px 22px;
  border-radius: var(--r-lg);
}

.t3-stat-val {
  font-family: var(--font-serif);
  font-size: clamp(34px, 3.6vw, 48px);
  line-height: 1;
  color: var(--text);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.t3-stat-lbl {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.45;
}

/* ==========================================================================
   BÖLÜM BAŞLIKLARI & PROJELER
   ========================================================================== */
section[id] {
  scroll-margin-top: 96px;
}

.t3-sec-head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: var(--s-6);
}

.t3-sec-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.t3-flagship {
  margin-bottom: 24px;
  padding: 40px 36px;
}

.t3-flagship-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 32px;
  margin-top: 24px;
  align-items: start;
}

.t3-prob-sol {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 18px 0;
  padding: 18px;
  border-radius: var(--r-md);
  background: var(--code-bg);
  border: 1px solid var(--border);
}

.t3-ps-title {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}

.t3-ps-body {
  font-family: var(--font-sans);
  font-size: 14.5px;
  line-height: 1.62;
  color: var(--muted);
}

.t3-ps-body.is-ink {
  color: var(--text);
}

.t3-metrics-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 16px 0;
}

.t3-metric-cell {
  padding: 12px 14px;
  border-radius: var(--r-sm);
  background: var(--code-bg);
  border: 1px solid var(--border);
}

.t3-metric-cell .lbl {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.t3-metric-cell .val {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-top: 2px;
}

.t3-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin: 16px 0;
  font-size: 14.5px;
}

.t3-list li {
  position: relative;
  padding-left: 18px;
  color: var(--text-body);
}

.t3-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* Mimari Akış Şeması (Izgaralı Koyu Zemin + Kehribar Oklar) */
.t3-arch-box {
  margin-top: 22px;
  border-radius: var(--r-md);
  background-color: var(--code-bg);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 18px 18px;
  border: 1px solid var(--border);
  overflow: hidden;
}

.t3-arch-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 18px;
  background: rgba(27, 26, 23, 0.92);
  border-bottom: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.t3-arch-title {
  color: var(--accent);
  font-weight: 700;
}

.t3-arch-file {
  margin-left: auto;
}

.t3-arch-dots {
  display: inline-flex;
  gap: 6px;
}

.t3-arch-dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--border);
}

.t3-arch-dots i:first-child {
  background: var(--accent);
}

.t3-arch-canvas {
  overflow-x: auto;
  padding: 30px 24px;
  text-align: center;
}

.t3-arch-pre {
  display: inline-block;
  text-align: left;
  font-family: var(--font-mono);
  font-size: clamp(13px, 1.16vw, 16.5px);
  line-height: 1.68;
  color: var(--text);
  white-space: pre;
}

.t3-arch-pre .dg-line {
  color: #706b5f;
}

.t3-arch-pre .dg-flow {
  color: var(--accent);
  font-weight: 700;
}

/* Kurulum Komutu */
.t3-copyfield {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 14px;
  padding: 8px 10px 8px 16px;
  border-radius: var(--r-md);
  background: var(--code-bg);
  border: 1px dashed var(--border);
}

.t3-copyfield code {
  flex: 1;
  min-width: 0;
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--accent);
  /* Komut kesilmesin: uzun komutlar alt satıra kırılır */
  white-space: normal;
  overflow-wrap: anywhere;
}

.t3-inline-code {
  font-family: var(--font-mono);
  font-size: 0.88em;
  padding: 1px 6px;
  border-radius: 6px;
  color: var(--accent);
  background: var(--code-bg);
  border: 1px solid var(--border);
}

.t3-copyfield .t3-btn {
  flex-shrink: 0;
}

.t3-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.t3-card-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* Yan yana kartlarda alt bilgi satırı hep en altta hizalı dursun */
.t3-g-2 > .t3-card {
  display: flex;
  flex-direction: column;
}

.t3-g-2 > .t3-card > .t3-card-foot {
  margin-top: auto;
}

.t3-g-2 > .t3-card > .t3-copyfield {
  margin-bottom: 22px;
}

.t3-open-link {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.25s var(--ease);
}

.t3-card:hover .t3-open-link {
  color: var(--text);
}

.t3-open-link b {
  color: var(--accent);
  transition: transform 0.3s var(--ease);
}

.t3-card:hover .t3-open-link b {
  transform: translateX(5px);
}

/* Simetrik Izgaralar */
.t3-g-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.t3-g-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.t3-g-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

/* ==========================================================================
   ZAMAN ÇİZELGESİ (Eğitim & Deneyim)
   ========================================================================== */
.t3-timeline {
  list-style: none;
  position: relative;
  padding-left: 28px;
  border-left: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.t3-timeline-item {
  position: relative;
}

.t3-timeline-dot {
  position: absolute;
  left: -33px;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--accent);
}

.t3-timeline-period {
  font-family: var(--font-mono);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--accent);
  margin-bottom: 4px;
}

.t3-timeline-title {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 400;
  line-height: 1.15;
  color: var(--text);
}

.t3-timeline-org {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--muted);
  margin: 3px 0 8px;
}

.t3-timeline-desc {
  font-size: 14.5px;
  color: var(--text-body);
  max-width: 680px;
}

/* ==========================================================================
   EN ALTTAKİ BÜYÜK İLETİŞİM & BAĞLANTILAR KARTI (#iletisim)
   ========================================================================== */
.t3-footer-wrap {
  scroll-margin-top: 96px;
  padding: var(--s-8) 0 var(--s-7);
}

.t3-footer-card {
  position: relative;
  overflow: hidden;
  border-radius: 36px;
  background: var(--glass-strong);
  color: var(--text);
  padding: 56px 48px 40px;
  border: 1px solid var(--border);
  box-shadow:
    inset 0 1px 0 var(--glass-hi),
    var(--glass-shadow-hover);
}

.t3-contact-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}

.t3-footer-brand {
  font-family: var(--font-serif);
  font-size: clamp(42px, 5.4vw, 72px);
  line-height: 0.96;
  color: var(--text);
}

.t3-footer-brand em {
  font-style: italic;
  color: var(--accent);
}

.t3-contact-lead {
  color: var(--text-body);
  max-width: 620px;
  margin-top: 14px;
  font-size: 16px;
  line-height: 1.65;
}

.t3-contact-badge-box {
  padding: 18px 22px;
  border-radius: var(--r-lg);
  background: var(--code-bg);
  border: 1px solid var(--border);
  min-width: 260px;
}

.t3-contact-meta {
  font-family: var(--font-serif);
  font-size: 26px;
  line-height: 1.15;
  color: var(--text);
  margin-top: 4px;
}

.t3-contact-sub {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}

/* Büyük Tıklanabilir E-Posta Banner'ı */
.t3-email-banner {
  margin-top: 28px;
  padding: 26px 30px;
  border-radius: var(--r-xl);
  background:
    radial-gradient(520px circle at 15% 50%, var(--accent-soft), transparent 70%),
    var(--code-bg);
  border: 1px solid var(--accent-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.t3-email-banner:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: 0 20px 44px -20px rgba(245, 158, 11, 0.25);
}

.t3-email-big {
  font-family: var(--font-serif);
  font-size: clamp(26px, 3.6vw, 46px);
  line-height: 1.05;
  color: var(--text);
  word-break: break-all;
}

/* 4'lü İletişim Kanalları Izgarası */
.t3-contact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.t3-contact-item {
  padding: 20px 20px;
  border-radius: var(--r-lg);
  background: var(--code-bg);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}

.t3-contact-item:hover {
  transform: translateY(-3px);
  border-color: var(--accent-border);
}

.t3-contact-item-title {
  font-family: var(--font-mono);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
  word-break: break-all;
}

.t3-contact-item-sub {
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}

.t3-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.t3-back-top {
  padding: 6px 14px;
  border-radius: var(--r-full);
  border: 1px solid var(--border);
  background: var(--code-bg);
  color: var(--text);
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}

.t3-back-top:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ==========================================================================
   MODAL & TOAST
   ========================================================================== */
.t3-modal {
  position: fixed;
  inset: 0;
  z-index: 1500;
  background: rgba(11, 11, 9, 0.78);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease);
}

.t3-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.t3-modal-dialog {
  position: relative;
  width: min(1160px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  overscroll-behavior: contain;
  outline: none;
  border-radius: var(--r-xl);
  padding: 40px 36px;
  background: var(--glass-strong);
  border: 1px solid var(--border);
  box-shadow: var(--glass-shadow-hover);
  color: var(--text-body);
  transform: translateY(18px) scale(0.98);
  transition: transform 0.4s var(--spring);
}

.t3-modal-dialog .t3-arch-canvas {
  container-type: inline-size;
  padding: 26px 20px;
}

.t3-modal-dialog .t3-arch-pre {
  font-size: clamp(11px, 1.56cqi, 16.5px);
}

.t3-modal.is-open .t3-modal-dialog {
  transform: translateY(0) scale(1);
}

.t3-modal-close {
  position: sticky;
  top: 0;
  float: right;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--code-bg);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.t3-modal-close:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.t3-toasts {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1600;
  pointer-events: none;
}

.t3-toast-item {
  padding: 12px 20px;
  border-radius: var(--r-full);
  background: var(--accent);
  color: var(--bg);
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 700;
  box-shadow: var(--glass-shadow-hover);
  animation: t3ToastIn 0.35s var(--spring);
}

@keyframes t3ToastIn {
  from { opacity: 0; transform: translateY(12px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ==========================================================================
   DUYARLILIK (RESPONSIVE)
   ========================================================================== */
@media (max-width: 1080px) {
  /* 1fr yerine minmax(0,1fr): mimari şema <pre> blokları sütunu taşırmasın */
  .t3-hero-grid,
  .t3-flagship-grid,
  .t3-g-3 {
    grid-template-columns: minmax(0, 1fr);
  }
  .t3-g-4,
  .t3-contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .t3-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .t3-tabsbar {
    display: none;
  }
}

@media (max-width: 640px) {
  .t3-wrap {
    width: calc(100% - 32px);
  }
  .t3-navbar {
    padding: 8px 8px 8px 16px;
  }
  .t3-brand {
    font-size: 21px;
  }
  .t3-card,
  .t3-flagship,
  .t3-modal-dialog {
    padding: 26px 20px;
    border-radius: var(--r-lg);
  }
  .t3-g-2,
  .t3-g-4,
  .t3-contact-grid,
  .t3-prob-sol,
  .t3-stats,
  .t3-metrics-row {
    grid-template-columns: minmax(0, 1fr);
  }
  .t3-email-banner {
    padding: 20px 18px;
  }
  .t3-dl {
    grid-template-columns: 80px minmax(0, 1fr);
  }
  .t3-eyebrow-sep,
  .t3-arch-file {
    display: none;
  }
  .t3-card-foot {
    flex-wrap: wrap;
  }
  .t3-footer-card {
    padding: 36px 24px 28px;
    border-radius: 26px;
  }
  .t3-brand-tag {
    display: none;
  }
}

@media (max-width: 420px) {
  .t3-nav-actions .t3-btn .t3-cta-text {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .t3-dot.is-pulse { animation: none; }
  .t3-card,
  .t3-btn,
  .t3-btn::before,
  .t3-modal-dialog { transition: none; }
}
