/* =========================================================================
   Koray Öner — kişisel sayfa · style.css
   ========================================================================= */
:root {
  color-scheme: light dark;
  /* Renk paleti: --accent* değişkenleri data-accent ile değiştirilebilir (varsayılan: mavi) */
  --accent: #2160b4; --accent-strong: #194e94;
  --accent-bright: #5b9be6; --accent-bright-2: #3f87d9; --accent-glow: #8ec1f2;
  --brand: var(--accent); --brand-strong: var(--accent-strong); --brand-contrast: #fff;
  --bg: #f7f5f0; --surface: #fff; --surface-2: #f0ece4; --border: #e2ddd2;
  --text: #17201d; --text-muted: #56605c; --focus: var(--accent);
  --radius-sm: 8px; --radius: 14px;
  --shadow: 0 1px 2px rgba(16,24,20,.06), 0 8px 24px rgba(16,24,20,.08);
  --step--1: clamp(.82rem,.78rem + .2vw,.9rem);
  --step-0: clamp(1rem,.95rem + .25vw,1.08rem);
  --step-1: clamp(1.2rem,1.1rem + .5vw,1.4rem);
  --step-2: clamp(1.5rem,1.3rem + 1vw,2rem);
  --step-3: clamp(2rem,1.6rem + 2vw,3rem);
  --step-4: clamp(2.5rem,1.9rem + 3vw,4rem);
  --wrap: 1080px;
}
@media (prefers-color-scheme: dark) {
  :root[data-theme="auto"] {
    --bg: #0b0d10; --surface: #14181d; --surface-2: #1b2027; --border: #2a313a;
    --text: #eef1f4; --text-muted: #a4adb6;
    --brand: var(--accent-bright); --brand-strong: var(--accent-bright-2); --focus: var(--accent-glow);
    --shadow: 0 1px 2px rgba(0,0,0,.4), 0 10px 30px rgba(0,0,0,.5);
  }
}
:root[data-theme="dark"] {
  --bg: #0b0d10; --surface: #14181d; --surface-2: #1b2027; --border: #2a313a;
  --text: #eef1f4; --text-muted: #a4adb6;
  --brand: var(--accent-bright); --brand-strong: var(--accent-bright-2); --focus: var(--accent-glow);
  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 10px 30px rgba(0,0,0,.5);
}

/* ---- Seçilebilir renk paletleri ---- */
:root[data-accent="yesil"]     { --accent:#0e7c66; --accent-strong:#0a5f4e; --accent-bright:#2bb596; --accent-bright-2:#1f9c80; --accent-glow:#4fd3b4; }
:root[data-accent="camgobegi"] { --accent:#0c7f93; --accent-strong:#0a6273; --accent-bright:#3fb9cf; --accent-bright-2:#2aa3ba; --accent-glow:#7fd6e6; }
:root[data-accent="turuncu"] { --accent:#bb5714; --accent-strong:#9a4610; --accent-bright:#e8905a; --accent-bright-2:#d97b3f; --accent-glow:#f3b98e; }
:root[data-accent="gul"]     { --accent:#b0345c; --accent-strong:#92294b; --accent-bright:#e07399; --accent-bright-2:#d15a85; --accent-glow:#eda6c0; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: var(--step-0); line-height: 1.65; -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); }
p { margin: 0 0 1rem; }
a { color: var(--brand-strong); text-underline-offset: 2px; }
a:hover { color: var(--brand); }
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
.skip-link {
  position: absolute; left: .75rem; top: -3rem; background: var(--brand); color: #fff;
  padding: .6rem 1rem; border-radius: var(--radius-sm); z-index: 100; transition: top .15s ease;
}
.skip-link:focus { top: .75rem; }

.btn {
  display: inline-flex; align-items: center; gap: .5rem; font: inherit; font-weight: 600;
  cursor: pointer; padding: .7rem 1.2rem; border-radius: var(--radius-sm);
  border: 1px solid transparent; text-decoration: none; transition: background .15s, border-color .15s, transform .12s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: var(--brand-contrast); }
.btn-primary:hover { background: var(--brand-strong); color: #fff; }
.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand-strong); }

.site-header {
  position: sticky; top: 0; z-index: 50; border-bottom: 1px solid transparent;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(180%) blur(12px);
  transition: border-color .25s ease, box-shadow .25s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--border); box-shadow: 0 6px 24px rgba(16,24,20,.06); }
.header-inner { display: flex; align-items: center; gap: 1.5rem; padding: .7rem 0; }
.brand { display: inline-flex; align-items: center; gap: .6rem; color: var(--text); text-decoration: none; font-weight: 700; }
.brand-mark {
  display: block; inline-size: 30px; block-size: 30px; border-radius: 9px;
  box-shadow: 0 4px 12px color-mix(in srgb, var(--brand) 35%, transparent);
  transition: transform .35s cubic-bezier(.34,1.56,.64,1);
}
.brand:hover .brand-mark { transform: rotate(-8deg) scale(1.08); }
.brand-name {
  font-size: 1.35rem; font-weight: 800; letter-spacing: -.03em; white-space: nowrap;
  background: linear-gradient(92deg, var(--text) 30%, var(--brand-strong));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.site-nav { margin-left: auto; }
.site-nav ul { display: flex; gap: 1.25rem; list-style: none; margin: 0; padding: 0; }
.site-nav a { color: var(--text-muted); text-decoration: none; font-weight: 500; font-size: var(--step--1); }
.site-nav a:hover { color: var(--text); }
.theme-toggle {
  display: inline-flex; align-items: center; gap: .45rem; background: var(--surface);
  border: 1px solid var(--border); color: var(--text); border-radius: 999px;
  padding: .45rem .8rem; cursor: pointer; font: inherit; font-size: var(--step--1);
}
.theme-toggle:hover { border-color: var(--brand); }
.theme-toggle-icon { width: 14px; height: 14px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, #ffd479, var(--brand)); }

section { padding: clamp(2.5rem,1.5rem + 4vw,4.5rem) 0; }
.hero { position: relative; overflow: hidden; padding: clamp(3rem,2rem + 6vw,6rem) 0 clamp(2rem,1rem + 4vw,4rem); }
.hero-inner { position: relative; z-index: 1; }
/* Animasyonlu, hareketli gradient "blob"lar */
.hero-bg { position: absolute; inset: -20% -10% auto; height: 140%; z-index: 0; pointer-events: none; filter: blur(60px); opacity: .55; }
.hero-bg span { position: absolute; display: block; border-radius: 50%; mix-blend-mode: multiply; will-change: transform; }
.hero-bg span:nth-child(1) { width: 42vw; max-width: 520px; aspect-ratio: 1; left: -6%; top: 4%; background: radial-gradient(circle at 30% 30%, var(--brand), transparent 70%); animation: floatA 18s ease-in-out infinite; }
.hero-bg span:nth-child(2) { width: 34vw; max-width: 420px; aspect-ratio: 1; right: 2%; top: -6%; background: radial-gradient(circle at 40% 40%, #ffd479, transparent 70%); animation: floatB 22s ease-in-out infinite; }
.hero-bg span:nth-child(3) { width: 30vw; max-width: 380px; aspect-ratio: 1; left: 40%; top: 30%; background: radial-gradient(circle at 50% 50%, #3d5a80, transparent 70%); animation: floatC 26s ease-in-out infinite; }
:root[data-theme="dark"] .hero-bg { opacity: .4; }
:root[data-theme="dark"] .hero-bg span { mix-blend-mode: screen; }
@media (prefers-color-scheme: dark) {
  :root[data-theme="auto"] .hero-bg { opacity: .4; }
  :root[data-theme="auto"] .hero-bg span { mix-blend-mode: screen; }
}
@keyframes floatA { 0%,100%{ transform: translate(0,0) scale(1);} 50%{ transform: translate(6%,4%) scale(1.12);} }
@keyframes floatB { 0%,100%{ transform: translate(0,0) scale(1);} 50%{ transform: translate(-5%,6%) scale(1.08);} }
@keyframes floatC { 0%,100%{ transform: translate(0,0) scale(1);} 50%{ transform: translate(4%,-5%) scale(1.15);} }
/* Hero başlığındaki vurgulu isim */
.hero h1 .accent {
  background: linear-gradient(100deg, var(--brand) 0%, var(--brand-strong) 40%, var(--brand) 80%);
  background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 6s ease-in-out infinite;
}
@keyframes shimmer { 0%,100%{ background-position: 0% 50%; } 50%{ background-position: 100% 50%; } }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: var(--step--1); font-weight: 700; color: var(--brand-strong); margin-bottom: 1rem; }
.tool-logo { display: block; width: clamp(52px, 8vw, 64px); height: auto; border-radius: 14px; box-shadow: var(--shadow); margin-bottom: 1rem; }
.hero h1 { max-width: 18ch; }
.lede { font-size: var(--step-1); color: var(--text-muted); max-width: 60ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }

.about { background: var(--surface-2); border-block: 1px solid var(--border); }
.prose { max-width: 68ch; margin-inline: auto; }
.skills { display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; margin: 1.5rem 0 0; padding: 0; }
.skills li { background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: .4rem .9rem; font-size: var(--step--1); font-weight: 600; transition: transform .2s ease, border-color .2s ease, color .2s ease, background .2s ease; cursor: default; }
.skills li:hover { transform: translateY(-3px); border-color: var(--brand); color: var(--brand-strong); background: color-mix(in srgb, var(--brand) 8%, var(--surface)); }

.section-head { max-width: 60ch; margin-bottom: 2rem; }
.section-head p { color: var(--text-muted); margin: 0; }
.project-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.project-card { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .3s cubic-bezier(.34,1.4,.64,1), box-shadow .3s ease, border-color .3s ease; }
.project-card:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--brand) 45%, var(--border)); box-shadow: 0 2px 6px rgba(16,24,20,.08), 0 20px 40px rgba(16,24,20,.14); }
.project-swatch { display: flex; block-size: 72px; }
.project-swatch span { flex: 1; transition: flex .35s ease; }
.project-card:hover .project-swatch span:nth-child(1) { flex: 1.8; }
.project-body h3 a { position: relative; transition: color .2s ease; }
.project-card:hover .project-body h3 a { color: var(--brand-strong); }
.project-body { padding: 1.25rem; }
.project-body h3 { margin-bottom: .5rem; }
.logo-badge { display: inline-flex; align-items: center; justify-content: center; width: 1.9em; height: 1.9em; margin-right: .1em; border-radius: 9px; background: var(--surface-2, #eef2f1); font-size: .85em; line-height: 1; vertical-align: -.35em; box-shadow: var(--shadow); color: var(--brand); }
.logo-badge svg { display: block; width: 1.1em; height: 1.1em; }
.project-body h3 a { text-decoration: none; }
.project-links { color: var(--text-muted); font-size: var(--step--1); margin-bottom: 0; }
.project-card--soon { border-style: dashed; box-shadow: none; background: var(--surface-2); }

.about-figure { float: right; margin: 0 0 1rem 1.5rem; text-align: center; position: relative; }
.about-figure img { border-radius: 20px; box-shadow: var(--shadow); position: relative; z-index: 1; }
/* Logonun arkasında dönen, renk değiştiren yumuşak hale */
.about-figure::before {
  content: ""; position: absolute; top: 60px; left: 50%;
  width: 172px; height: 172px; transform: translate(-50%, -50%);
  z-index: 0; border-radius: 50%; pointer-events: none;
  background: conic-gradient(from 0deg, var(--brand), #ffd479, var(--accent-bright), #5b9be6, var(--brand));
  filter: blur(26px); opacity: .5;
  animation: aboutHalo 9s linear infinite;
}
@keyframes aboutHalo { to { transform: translate(-50%, -50%) rotate(360deg); } }
.about-figure figcaption { font-size: var(--step--1); color: var(--text-muted); margin-top: .5rem; }
@media (max-width: 560px) { .about-figure { float: none; margin: 0 auto 1.5rem; } }

.social-list { display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; margin: 1rem 0 0; padding: 0; }
.social-list a {
  display: inline-flex; align-items: center; background: var(--surface); border: 1px solid var(--border);
  border-radius: 999px; padding: .45rem 1rem; text-decoration: none; color: var(--text);
  font-size: var(--step--1); font-weight: 600; transition: border-color .15s, color .15s;
}
.social-list a:hover { border-color: var(--brand); color: var(--brand-strong); }

.site-footer { background: var(--surface); border-top: 1px solid var(--border); padding-block: 2rem; }
.muted { color: var(--text-muted); font-size: var(--step--1); }

/* Scroll ile ortaya çıkma animasyonu */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.22,1,.36,1); transition-delay: var(--reveal-delay, 0ms); }
.reveal.is-visible { opacity: 1; transform: none; }
.project-grid .project-card:nth-child(3n+2) { --reveal-delay: 90ms; }
.project-grid .project-card:nth-child(3n+3) { --reveal-delay: 180ms; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .hero-bg { display: none; }
}
@media (max-width: 640px) { .site-nav { display: none; } .theme-toggle-label { display: none; } }

/* =========================================================================
   Renk paleti seçici (header)
   ========================================================================= */
.palette { position: relative; }
.palette-dot {
  width: 14px; height: 14px; border-radius: 50%;
  background: conic-gradient(#0e7c66 0 72deg, #2160b4 0 144deg, #6a4fc0 0 216deg, #bb5714 0 288deg, #b0345c 0);
}
.palette-pop {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 60;
  display: flex; gap: .5rem; padding: .6rem .7rem;
  background: var(--surface); border: 1px solid var(--border); border-radius: 999px;
  box-shadow: var(--shadow);
}
.palette-pop button {
  width: 26px; height: 26px; border-radius: 50%; cursor: pointer;
  border: 2px solid transparent; background: var(--sw, #0e7c66); padding: 0;
  transition: transform .15s ease, border-color .15s ease;
}
.palette-pop button:hover { transform: scale(1.15); }
.palette-pop button[aria-pressed="true"] { border-color: var(--text); }

/* =========================================================================
   Rozetler: Ücretsiz · Üyeliksiz · Reklamsız
   ========================================================================= */
.badges { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin: 1rem 0 0; padding: 0; }
.badges li, .card-badges span {
  display: inline-flex; align-items: center; gap: .3rem;
  background: color-mix(in srgb, var(--brand) 10%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--brand) 30%, var(--border));
  color: var(--brand-strong); border-radius: 999px;
  padding: .3rem .8rem; font-size: var(--step--1); font-weight: 700;
}
.badges li::before, .card-badges span::before { content: "✓"; font-weight: 800; }
.card-badges { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 .75rem; }
.card-badges span { padding: .15rem .6rem; font-size: .72rem; }

/* =========================================================================
   Araç dizini: arama + kategori filtreleri
   ========================================================================= */
.tool-search {
  display: flex; align-items: center; gap: .6rem; margin: 1.25rem 0 1rem;
  background: var(--surface); border: 1px solid var(--border); border-radius: 999px;
  padding: .35rem .5rem .35rem 1.1rem; max-width: 480px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.tool-search:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 20%, transparent); }
.tool-search svg { flex: none; width: 18px; height: 18px; color: var(--text-muted); }
.tool-search input {
  flex: 1; font: inherit; border: 0; background: transparent; color: var(--text);
  padding: .45rem 0; min-width: 0;
}
.tool-search input:focus { outline: none; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.5rem; }
.chip {
  font: inherit; font-size: var(--step--1); font-weight: 600; cursor: pointer;
  padding: .45rem 1rem; border-radius: 999px;
  border: 1px solid var(--border); background: var(--surface); color: var(--text-muted);
  transition: border-color .15s, color .15s, background .15s;
}
.chip:hover { color: var(--text); border-color: var(--brand); }
.chip[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.project-card.is-hidden { display: none; }
.no-results { color: var(--text-muted); padding: 1rem 0; }

/* =========================================================================
   Yazdırma / PDF raporu — yüksek kaliteli rapor çıktısı
   ========================================================================= */
.report-head { display: none; }
@media print {
  :root, :root[data-theme="dark"], :root[data-theme="auto"] {
    --bg: #fff; --surface: #fff; --surface-2: #f3f3f1; --border: #c9c9c4;
    --text: #111; --text-muted: #4a4a46; --shadow: none;
    --brand: var(--accent); --brand-strong: var(--accent-strong); --focus: var(--accent);
  }
  @page { margin: 14mm; }
  body { background: #fff !important; color: #111 !important; font-size: 10.5pt; }
  .site-header, .breadcrumb, .hero, .faq, .related, .content, .site-footer,
  .theme-toggle, .palette, .hero-actions, .no-print, .tabs, .skip-link { display: none !important; }
  .calc { padding: 0 !important; }
  .calc .panel-q, .calc .rate-group, .calc form.panel[hidden] { display: none !important; }
  .panel { box-shadow: none !important; border: 1px solid var(--border) !important; break-inside: avoid; }
  .sum-card { break-inside: avoid; box-shadow: none !important; }
  table { break-inside: auto; }
  tr { break-inside: avoid; }
  a { color: inherit; text-decoration: none; }
  .report-head {
    display: flex !important; align-items: center; gap: 12pt;
    border-bottom: 2.5pt solid var(--brand); padding-bottom: 10pt; margin-bottom: 14pt;
  }
  .report-head img { width: 42pt; height: 42pt; }
  .report-head .report-title { font-size: 15pt; font-weight: 800; letter-spacing: -.02em; }
  .report-head .report-meta { font-size: 9pt; color: var(--text-muted); margin-top: 2pt; }
  .report-inputs {
    display: block; background: var(--surface-2); border: 1pt solid var(--border);
    border-radius: 6pt; padding: 8pt 12pt; margin-bottom: 12pt; font-size: 9.5pt;
  }
  .report-foot {
    display: block !important; margin-top: 16pt; padding-top: 8pt;
    border-top: 1pt solid var(--border); font-size: 8pt; color: var(--text-muted);
  }
}
.report-inputs, .report-foot { display: none; }
/* ================= Araç sayfaları: net alanlar, divider'lar, accent ================= */
/* Bölümler net bantlara ayrılır (düz sayfa yerine belirgin alanlar) */
.calc { border-top: 1px solid var(--border); }
.content { border-top: 1px solid var(--border); }
.faq { background: var(--surface-2); border-block: 1px solid var(--border); }
.related { border-top: 1px solid var(--border); }

/* Hesaplayıcı formunu belirgin bir panel içine al */
.calc form.panel {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: clamp(1rem, .6rem + 1.5vw, 1.5rem);
  box-shadow: var(--shadow);
}

/* İçerik başlıklarına accent'e bağlı ince üst çizgi (palet değişince renk değişir) */
.content .prose h2, .faq .prose > h2 {
  padding-top: .5rem;
  border-top: 3px solid color-mix(in srgb, var(--brand) 60%, transparent);
  display: inline-block;
}

/* Birincil sonuç kartı accent ile vurgulanır → renk paleti gözle görülür çalışır */
.sum-grid .sum-card:first-child {
  border-color: color-mix(in srgb, var(--brand) 50%, var(--border));
  background: color-mix(in srgb, var(--brand) 10%, var(--surface));
}
.sum-grid .sum-card:first-child .sum-value { color: var(--brand-strong); }

/* Formül kutusuna accent kenar */
.formula { border-left: 3px solid var(--brand); }

/* Hareketli logo: accent renginde yumuşak parıltı (hover'daki dönüşle çakışmaz) */
@keyframes brandGlow {
  0%, 100% { filter: drop-shadow(0 0 0 transparent); }
  50% { filter: drop-shadow(0 2px 9px color-mix(in srgb, var(--brand) 50%, transparent)); }
}
.brand-mark { animation: brandGlow 4.5s ease-in-out infinite; }
/* Görsel gizli (erişilebilirlik) — TANIMSIZDI: gizli başlıklar/altyazılar büyük görünüyordu */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}

/* Divider'lar site genelinde: ana sayfa bölümleri de net bantlara ayrılır */
.projects, .contact { border-top: 1px solid var(--border); }

/* Yasal bilgilendirme kutusu (Hakkımda) */
.legal-note {
  margin-top: 2rem; padding: 1.25rem 1.5rem;
  background: var(--surface-2); border: 1px solid var(--border);
  border-left: 4px solid var(--brand); border-radius: var(--radius-sm);
}
.legal-note h3 { margin: 0 0 .6rem; font-size: var(--step-0); }
.legal-note p { font-size: var(--step--1); color: var(--text-muted); margin: 0 0 .75rem; }
.legal-note p:last-child { margin-bottom: 0; }
.footer-disclaimer { font-size: var(--step--1); max-width: 60ch; }

/* Input odak parlaması (site geneli) */
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--brand) 60%, transparent);
  outline-offset: 1px;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 14%, transparent);
}

/* Araç kartları ve panellerde hafif accent parlaması */
.project-card, .panel, .live-card {
  box-shadow: var(--shadow, 0 1px 6px rgba(16,24,20,.05)),
              0 0 24px color-mix(in srgb, var(--accent-bright, #2bb596) 14%, transparent);
}
.project-card:hover {
  box-shadow: 0 2px 6px rgba(16,24,20,.08), 0 20px 40px rgba(16,24,20,.14),
              0 0 34px color-mix(in srgb, var(--accent-bright, #2bb596) 26%, transparent);
}
.panel:focus-within, .live-card:hover {
  box-shadow: 0 4px 14px rgba(16,24,20,.08),
              0 0 30px color-mix(in srgb, var(--accent-bright, #2bb596) 18%, transparent);
}
:root[data-theme="dark"] .project-card, :root[data-theme="dark"] .panel, :root[data-theme="dark"] .live-card {
  box-shadow: 0 1px 6px rgba(0,0,0,.3),
              0 0 26px color-mix(in srgb, var(--accent-bright, #2bb596) 13%, transparent);
}
:root[data-theme="dark"] .project-card:hover {
  box-shadow: 0 20px 40px rgba(0,0,0,.4),
              0 0 36px color-mix(in srgb, var(--accent-bright, #2bb596) 26%, transparent);
}

/* Paragraflar iki yana yaslı + Türkçe heceleme (başlık/liste hariç) */
.prose p, .project-body > p:not(.card-badges):not(.project-links), .lede {
  text-align: justify; hyphens: auto; -webkit-hyphens: auto; text-wrap: pretty;
}
@media (max-width: 480px) {
  .lede { text-align: left; } /* dar ekranda hero yazısında nehir boşluğu olmasın */
}

/* ---------- Breadcrumb (site geneli; araç sayfaları kendi CSS'inde de tanımlar) ---------- */
.breadcrumb { padding-top: 1.25rem; font-size: var(--step--1); color: var(--text-muted); }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--brand-strong); }

/* ---------- Footer yasal bağlantıları ---------- */
.footer-links {
  list-style: none; margin: .75rem 0 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: .4rem 1.1rem;
  font-size: var(--step--1);
}
.footer-links a { color: var(--text-muted); text-decoration: none; }
.footer-links a:hover, .footer-links a:focus-visible { color: var(--brand-strong); text-decoration: underline; }

/* ---------- Veri kaynakları ve güncelleme bloğu ---------- */
.sources {
  margin-top: 2rem; padding: 1.25rem 1.5rem;
  background: var(--surface-2); border: 1px solid var(--border);
  border-left: 4px solid var(--brand); border-radius: var(--radius-sm);
}
.sources h2, .sources h3 { margin: 0 0 .5rem; font-size: var(--step-0); }
.sources p { font-size: var(--step--1); color: var(--text-muted); margin: 0 0 .75rem; text-align: left; }
.sources ul { margin: 0 0 .75rem; padding-left: 1.15rem; font-size: var(--step--1); color: var(--text-muted); }
.sources li { margin-bottom: .35rem; }
.sources > :last-child { margin-bottom: 0; }
.sources .updated {
  display: inline-flex; align-items: center; gap: .4rem;
  font-weight: 600; color: var(--text);
}

/* ---------- Veri tablosu (site geneli; günlük veri sayfaları kullanır) ---------- */
.table-wrap { overflow-x: auto; margin: 1.25rem 0; }
.data-table {
  width: 100%; border-collapse: collapse; min-width: 480px;
  font-variant-numeric: tabular-nums;
}
.data-table caption {
  caption-side: top; text-align: left; padding-bottom: .75rem;
  font-size: var(--step--1); color: var(--text-muted);
}
.data-table th, .data-table td {
  padding: .6rem .75rem; text-align: right; white-space: nowrap;
  border-bottom: 1px solid var(--border);
}
.data-table thead th {
  font-size: var(--step--1); text-transform: uppercase; letter-spacing: .04em;
  color: var(--text-muted); font-weight: 600;
}
.data-table thead th:first-child, .data-table tbody th { text-align: left; }
.data-table tbody th { font-weight: 600; }
.data-table tbody tr:nth-child(even) { background: color-mix(in srgb, var(--text) 4%, transparent); }
.data-table tbody tr:hover { background: color-mix(in srgb, var(--brand) 7%, transparent); }
