/* =========================================================
   Kişisel site — ana stil dosyası
   Renkler :root içinde tanımlı; vurgu rengi yönetim panelinden gelir.
   ========================================================= */

:root {
  --accent: #4f46e5;
  --on-accent: #fff;
  --bg: #fafaf8;
  --bg-alt: #f3f2ee;
  --surface: #ffffff;
  --surface-2: #f6f5f2;
  --text: #17171c;
  --text-2: #3f3f48;
  --muted: #6b6b76;
  --border: #e6e4de;
  --border-strong: #d6d3cb;
  --shadow-sm: 0 1px 2px rgba(20, 20, 30, .05);
  --shadow: 0 1px 2px rgba(20, 20, 30, .04), 0 8px 24px -8px rgba(20, 20, 30, .10);
  --shadow-lg: 0 2px 4px rgba(20, 20, 30, .04), 0 24px 48px -16px rgba(20, 20, 30, .18);
  --accent-soft: color-mix(in srgb, var(--accent) 11%, transparent);
  --accent-softer: color-mix(in srgb, var(--accent) 6%, transparent);
  --accent-ink: color-mix(in srgb, var(--accent) 82%, var(--text));
  --success: #16a34a;
  --danger: #dc2626;
  --radius: 18px;
  --radius-sm: 12px;
  --container: 1140px;
  --gutter: 20px;
  --header-h: 68px;
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0d0d11; --bg-alt: #121218; --surface: #16161d; --surface-2: #1d1d26;
    --text: #f2f2f5; --text-2: #d0d0d8; --muted: #9a9aa6; --border: #262631; --border-strong: #33333f;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px -8px rgba(0,0,0,.5);
    --shadow-lg: 0 24px 48px -16px rgba(0,0,0,.6);
    --accent-soft: color-mix(in srgb, var(--accent) 20%, transparent);
    --accent-softer: color-mix(in srgb, var(--accent) 10%, transparent);
    --accent-ink: color-mix(in srgb, var(--accent) 55%, #fff);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0d0d11; --bg-alt: #121218; --surface: #16161d; --surface-2: #1d1d26;
  --text: #f2f2f5; --text-2: #d0d0d8; --muted: #9a9aa6; --border: #262631; --border-strong: #33333f;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px -8px rgba(0,0,0,.5);
  --shadow-lg: 0 24px 48px -16px rgba(0,0,0,.6);
  --accent-soft: color-mix(in srgb, var(--accent) 20%, transparent);
  --accent-softer: color-mix(in srgb, var(--accent) 10%, transparent);
  --accent-ink: color-mix(in srgb, var(--accent) 55%, #fff);
  color-scheme: dark;
}

/* ---------- Temel ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font); font-size: 16px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
[hidden] { display: none !important; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.icon { flex-shrink: 0; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--accent); color: var(--on-accent); padding: 8px 14px; border-radius: 8px; }
.skip-link:focus { left: 8px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container-narrow { max-width: 780px; }

/* ---------- Butonlar ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 20px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 15px; white-space: nowrap; cursor: pointer;
  transition: transform .15s ease, background .2s, border-color .2s, box-shadow .2s, color .2s;
}
.btn:active { transform: translateY(1px); }
.btn-sm { height: 38px; padding: 0 15px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--accent); color: var(--on-accent); box-shadow: 0 6px 18px -6px color-mix(in srgb, var(--accent) 70%, transparent); }
.btn-primary:hover { background: color-mix(in srgb, var(--accent) 88%, #000); }
.btn-secondary { background: var(--accent-soft); color: var(--accent-ink); }
.btn-secondary:hover { background: color-mix(in srgb, var(--accent) 18%, transparent); }
.btn-ghost { background: var(--surface); border-color: var(--border-strong); color: var(--text); }
.btn-ghost:hover { border-color: var(--text); }
.btn-light { background: #fff; color: #111; }
.btn-light:hover { background: #f1f1f1; }
.btn-outline-light { border-color: rgba(255,255,255,.45); color: #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,.12); border-color: #fff; }

.icon-btn {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--surface); cursor: pointer; color: var(--text-2);
  transition: border-color .2s, color .2s;
}
.icon-btn:hover { border-color: var(--border-strong); color: var(--text); }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--accent-ink); }
.link-arrow .icon { transition: transform .2s; }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--border); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; min-width: 0; }
.brand-mark {
  width: 36px; height: 36px; border-radius: 50%; overflow: hidden; flex-shrink: 0;
  display: grid; place-items: center; background: var(--accent); color: var(--on-accent); font-size: 14px; font-weight: 700;
}
.brand-mark img { width: 100%; height: 100%; object-fit: cover; }
.brand-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a {
  padding: 8px 14px; border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--text-2);
  transition: background .2s, color .2s;
}
.nav a:hover { color: var(--text); background: var(--surface-2); }
.nav a[aria-current="page"] { color: var(--text); background: var(--surface-2); }
.nav .nav-cv { display: none; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.menu-btn { display: none; }
.when-dark, .when-open { display: none; }
[data-theme="dark"] .when-light { display: none; }
[data-theme="dark"] .when-dark { display: inline-flex; }
.menu-btn[aria-expanded="true"] .when-closed { display: none; }
.menu-btn[aria-expanded="true"] .when-open { display: inline-flex; }

@media (max-width: 860px) {
  .menu-btn { display: inline-grid; }
  .header-cv { display: none; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; margin: 0;
    flex-direction: column; align-items: stretch; gap: 2px; padding: 12px var(--gutter) 20px;
    background: var(--bg); border-bottom: 1px solid var(--border); box-shadow: var(--shadow-lg);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: all .2s ease;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: 12px 14px; font-size: 16px; }
  .nav .nav-cv { display: flex; align-items: center; gap: 8px; margin-top: 6px; background: var(--accent); color: var(--on-accent); justify-content: center; }
  .nav .nav-cv:hover { background: var(--accent); color: var(--on-accent); }
  .header-actions { margin-left: auto; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: 72px 0 88px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 680px; height: 680px; border-radius: 50%;
  background: radial-gradient(circle at center, var(--accent-soft), transparent 65%); pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.status-pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 12px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border); font-size: 14px; font-weight: 500; color: var(--text-2);
  box-shadow: var(--shadow-sm); margin-bottom: 22px;
}
.pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--success); position: relative; }
.pulse::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--success); opacity: .5; animation: pulse 2s ease-out infinite; }
@keyframes pulse { from { transform: scale(.6); opacity: .7; } to { transform: scale(1.6); opacity: 0; } }
.hero-title { font-size: clamp(2.3rem, 5.4vw, 4rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.06; }
.accent-text { color: var(--accent); }
.hero-role { margin-top: 14px; font-size: clamp(1.1rem, 2vw, 1.35rem); font-weight: 600; color: var(--text-2); }
.hero-lead { margin-top: 18px; max-width: 560px; font-size: 1.08rem; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.socials a {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--border); background: var(--surface); color: var(--text-2);
  transition: color .2s, border-color .2s, transform .2s;
}
.socials a:hover { color: var(--accent); border-color: var(--accent); transform: translateY(-2px); }
.socials-sm { margin-top: 0; }
.socials-sm a { width: 38px; height: 38px; }

.hero-visual { position: relative; justify-self: center; width: min(100%, 420px); }
.photo-frame {
  position: relative; aspect-ratio: 1; border-radius: 36% 64% 58% 42% / 44% 40% 60% 56%;
  overflow: hidden; background: var(--accent-soft); box-shadow: var(--shadow-lg);
  outline: 10px solid var(--surface); outline-offset: -1px;
}
.photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.photo-fallback {
  width: 100%; height: 100%; display: grid; place-items: center;
  background: linear-gradient(140deg, var(--accent), color-mix(in srgb, var(--accent) 55%, #000));
  color: var(--on-accent); font-size: clamp(4rem, 12vw, 7rem); font-weight: 800; letter-spacing: -0.04em;
}
.float-chip {
  position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); font-size: 14px; font-weight: 600;
  white-space: nowrap;
}
.float-chip .icon { color: var(--accent); }
.chip-a { left: -18px; bottom: 16%; }
.chip-b { right: -10px; top: 10%; }
a.float-chip:hover { border-color: var(--accent); }

@media (max-width: 860px) {
  .hero { padding: 36px 0 64px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-visual { order: -1; width: min(72%, 300px); }
  .chip-a { left: -12%; } .chip-b { right: -12%; }
  .float-chip { font-size: 13px; padding: 8px 12px; }
}
@media (max-width: 420px) {
  .hero-actions .btn { flex: 1 1 100%; }
}

/* ---------- Bölümler ---------- */
.section { padding: 88px 0; }
.section-tight { padding: 24px 0 88px; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .12em; color: var(--accent); margin-bottom: 10px;
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.section-title { font-size: clamp(1.75rem, 3.6vw, 2.5rem); font-weight: 800; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 40px; flex-wrap: wrap; }
@media (max-width: 640px) { .section { padding: 64px 0; } .section-head { margin-bottom: 28px; } }

.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
@media (max-width: 360px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
}

.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  display: inline-flex; align-items: center; gap: 5px; padding: 4px 11px; border-radius: 999px;
  background: var(--surface-2); border: 1px solid var(--border); font-size: 13px; font-weight: 500; color: var(--text-2);
}
.chips-lg .chip { padding: 7px 14px; font-size: 14px; }

/* Hakkımda */
.about-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: start; }
.about-grid .prose { margin-top: 20px; }
.about-side { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.facts { display: grid; gap: 18px; }
.facts li { display: flex; gap: 14px; align-items: flex-start; }
.facts li > .icon { margin-top: 3px; color: var(--accent); }
.facts small { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; }
.facts span { min-width: 0; overflow-wrap: anywhere; font-weight: 500; }
.facts a:hover { color: var(--accent); }
.side-title { font-size: 1rem; margin: 26px 0 12px; padding-top: 22px; border-top: 1px solid var(--border); }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; gap: 32px; } }

/* Hizmetler */
.service-card { padding: 28px; }
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.service-icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--accent-soft); color: var(--accent-ink); margin-bottom: 18px; }
.service-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.service-card p { color: var(--muted); }

/* Proje kartı */
.project-card { overflow: hidden; display: flex; flex-direction: column; }
.project-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--border-strong); }
.project-cover { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-2); border-bottom: 1px solid var(--border); }
.project-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.project-card:hover .project-cover img { transform: scale(1.04); }
.cover-fallback {
  width: 100%; height: 100%; display: grid; place-items: center; color: var(--accent);
  background:
    radial-gradient(circle at 20% 20%, var(--accent-soft), transparent 55%),
    radial-gradient(circle at 80% 90%, var(--accent-softer), transparent 50%),
    var(--surface-2);
}
.project-body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.project-meta { display: flex; gap: 12px; flex-wrap: wrap; font-size: 13px; color: var(--muted); font-weight: 500; }
.project-meta span + span::before { content: "•"; margin-right: 12px; opacity: .6; }
.project-body h3 { font-size: 1.2rem; }
.project-body p { color: var(--muted); font-size: 15px; }
.project-body .chips { margin-top: auto; padding-top: 6px; }
.stretched::after { content: ""; position: absolute; inset: 0; }
.stretched:focus-visible { outline: none; }
.stretched:focus-visible::after { outline: 2px solid var(--accent); outline-offset: -2px; border-radius: var(--radius); }

/* Kariyer */
.career-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.career-grid.single { grid-template-columns: minmax(0, 760px); }
.col-title { display: flex; align-items: center; gap: 10px; font-size: 1.15rem; margin-bottom: 22px; }
.col-title .icon { color: var(--accent); }
.timeline { position: relative; display: grid; gap: 16px; }
.timeline::before { content: ""; position: absolute; left: 17px; top: 8px; bottom: 8px; width: 2px; background: var(--border); border-radius: 2px; }
.timeline-item { position: relative; padding-left: 54px; }
.timeline-dot {
  position: absolute; left: 0; top: 16px; width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center; background: var(--surface); border: 2px solid var(--border-strong); color: var(--muted);
}
.timeline-dot.is-current { border-color: var(--accent); color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.timeline-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 18px 20px; box-shadow: var(--shadow-sm); }
.timeline-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 6px 12px; flex-wrap: wrap; }
.timeline-head h3 { font-size: 1.05rem; }
.timeline-period { font-size: 13px; font-weight: 600; color: var(--muted); white-space: nowrap; padding-top: 2px; }
.timeline-period.is-current { color: var(--accent-ink); }
.timeline-org { margin-top: 4px; color: var(--text-2); font-weight: 500; font-size: 15px; }
.timeline-desc { margin-top: 10px; color: var(--muted); font-size: 15px; white-space: pre-line; }
@media (max-width: 860px) { .career-grid { grid-template-columns: 1fr; gap: 40px; } }

/* Blog kartı */
.post-card { overflow: hidden; display: flex; flex-direction: column; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.post-cover { display: block; aspect-ratio: 16 / 9; overflow: hidden; border-bottom: 1px solid var(--border); }
.post-cover img { width: 100%; height: 100%; object-fit: cover; }
.post-body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-meta { display: flex; gap: 14px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.post-meta span { display: inline-flex; align-items: center; gap: 5px; }
.post-body h3 { font-size: 1.15rem; }
.post-body p { color: var(--muted); font-size: 15px; }
.read-more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14px; color: var(--accent-ink); padding-top: 4px; }

/* CTA */
.cta {
  position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
  padding: 52px; border-radius: 28px; color: #fff;
  background:
    radial-gradient(circle at 90% 10%, rgba(255,255,255,.18), transparent 40%),
    linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 60%, #000));
}
.cta h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; }
.cta p { margin-top: 10px; max-width: 520px; opacity: .88; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 640px) { .cta { padding: 32px 24px; } .cta-actions .btn { flex: 1 1 auto; } }

/* ---------- Alt sayfalar ---------- */
.page-hero { padding: 64px 0 32px; }
.page-title { font-size: clamp(2.1rem, 5vw, 3.2rem); font-weight: 800; letter-spacing: -0.03em; }
.page-lead { margin-top: 14px; max-width: 620px; font-size: 1.08rem; color: var(--muted); }

.filter { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.filter-btn {
  padding: 8px 16px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface);
  font-size: 14px; font-weight: 500; cursor: pointer; color: var(--text-2); transition: all .2s;
}
.filter-btn:hover { border-color: var(--border-strong); color: var(--text); }
.filter-btn.is-active { background: var(--text); color: var(--bg); border-color: var(--text); }
.empty-filter, .empty { text-align: center; color: var(--muted); padding: 48px 0; }
.empty { display: grid; justify-items: center; gap: 12px; border: 1px dashed var(--border-strong); border-radius: var(--radius); }

/* Detay */
.detail { padding: 48px 0 88px; }
.back-link { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--muted); margin-bottom: 28px; }
.back-link:hover { color: var(--text); }
.draft-note { display: inline-block; padding: 6px 12px; border-radius: 8px; background: #fef3c7; color: #92400e; font-size: 14px; font-weight: 600; margin-bottom: 16px; }
.detail-title { font-size: clamp(2rem, 4.6vw, 3rem); font-weight: 800; letter-spacing: -0.03em; }
.detail-meta { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 16px; color: var(--muted); font-size: 15px; }
.detail-meta span { display: inline-flex; align-items: center; gap: 7px; }
.detail-lead { margin-top: 20px; font-size: 1.15rem; color: var(--text-2); }
.detail .chips { margin-top: 20px; }
.detail-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.detail-cover { margin: 40px auto 8px; max-width: 980px; border-radius: 22px; overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow); }
.detail-cover img { width: 100%; max-height: 560px; object-fit: cover; }
.detail .prose { margin-top: 40px; }
.author { font-weight: 600; color: var(--text-2); }
.avatar-xs { width: 26px; height: 26px; border-radius: 50%; overflow: hidden; display: inline-grid; place-items: center; background: var(--accent); color: var(--on-accent); font-size: 11px; font-weight: 700; }
.avatar-xs img { width: 100%; height: 100%; object-fit: cover; }
.post-tags { margin-top: 36px !important; }

.gallery-title { font-size: 1.4rem; margin: 56px 0 20px; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.gallery-item { display: block; aspect-ratio: 4 / 3; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--border); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery-item:hover img { transform: scale(1.04); }

.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 64px; padding-top: 32px; border-top: 1px solid var(--border); }
.pager-link { display: grid; gap: 4px; padding: 16px 18px; border-radius: var(--radius-sm); border: 1px solid var(--border); background: var(--surface); transition: border-color .2s; }
.pager-link:hover { border-color: var(--accent); }
.pager-link small { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); font-weight: 600; font-size: 13px; }
.pager-link span { font-weight: 700; }
.pager-link.is-next { text-align: right; grid-column: 2; }
.pager-link.is-next small { justify-content: flex-end; }

/* Okunabilir metin (markdown) */
.prose { color: var(--text-2); font-size: 1.02rem; }
.prose > * + * { margin-top: 1em; }
.prose h1, .prose h2, .prose h3, .prose h4 { color: var(--text); margin-top: 1.8em; }
.prose h1 { font-size: 1.8rem; } .prose h2 { font-size: 1.45rem; } .prose h3 { font-size: 1.2rem; }
.prose a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose strong { color: var(--text); }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose ul { list-style: disc; } .prose ol { list-style: decimal; }
.prose li + li { margin-top: .35em; }
.prose li::marker { color: var(--accent); }
.prose blockquote { margin-left: 0; padding: 4px 0 4px 18px; border-left: 3px solid var(--accent); color: var(--muted); font-style: italic; }
.prose code { font-family: ui-monospace, 'Cascadia Code', Consolas, monospace; font-size: .9em; background: var(--surface-2); border: 1px solid var(--border); padding: .1em .4em; border-radius: 6px; }
.prose pre { background: #15151c; color: #e8e8ee; padding: 18px 20px; border-radius: var(--radius-sm); overflow-x: auto; }
.prose pre code { background: none; border: 0; padding: 0; color: inherit; }
.prose img { border-radius: var(--radius-sm); border: 1px solid var(--border); }
.prose hr { border: 0; border-top: 1px solid var(--border); margin: 2em 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: .95em; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--border); padding: 8px 12px; text-align: left; }
.prose-lg { font-size: 1.1rem; line-height: 1.8; }
.prose > :first-child { margin-top: 0; }

/* İletişim */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px; align-items: start; }
.contact-grid.single { grid-template-columns: minmax(0, 640px); }
.contact-cards { display: grid; gap: 12px; }
.contact-card { display: flex; align-items: center; gap: 16px; padding: 18px 20px; }
a.contact-card:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow); }
.contact-icon { width: 48px; height: 48px; flex-shrink: 0; border-radius: 14px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-ink); }
.contact-card small { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; }
.contact-card strong { display: block; font-weight: 600; overflow-wrap: anywhere; }
.contact-go { margin-left: auto; color: var(--muted); }
.contact-cards .socials { margin-top: 8px; }
.form-card { padding: 32px; }
.form-title { font-size: 1.4rem; margin-bottom: 22px; }
.contact-form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: grid; gap: 7px; font-size: 14px; font-weight: 600; color: var(--text-2); }
.contact-form input, .contact-form textarea {
  width: 100%; padding: 12px 14px; border-radius: var(--radius-sm); border: 1px solid var(--border-strong);
  background: var(--bg); color: var(--text); font: inherit; font-weight: 400; transition: border-color .2s, box-shadow .2s;
}
.contact-form textarea { resize: vertical; min-height: 140px; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.req { color: var(--danger); }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 12px 16px; border-radius: var(--radius-sm); font-size: 15px; margin-bottom: 18px; }
.alert-error { background: color-mix(in srgb, var(--danger) 10%, transparent); color: var(--danger); border: 1px solid color-mix(in srgb, var(--danger) 30%, transparent); }
.success { text-align: center; display: grid; justify-items: center; gap: 12px; padding: 24px 0; }
.success-icon { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--success) 14%, transparent); color: var(--success); }
.success p { color: var(--muted); margin-bottom: 8px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } .form-card { padding: 22px; } }

/* Hata sayfası */
.error-page { text-align: center; padding: 120px 0; }
.error-page .page-lead { margin-left: auto; margin-right: auto; }
.error-page .hero-actions { justify-content: center; }
.error-code { font-size: 5rem; font-weight: 800; color: var(--accent); line-height: 1; margin-bottom: 12px; letter-spacing: -0.04em; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); padding: 40px 0; background: var(--bg); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-brand { display: grid; }
.footer-brand span { color: var(--muted); font-size: 14px; }
.footer-copy { width: 100%; color: var(--muted); font-size: 14px; padding-top: 20px; border-top: 1px solid var(--border); }

.admin-fab {
  position: fixed; right: 18px; bottom: 18px; z-index: 60; display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 999px; background: var(--text); color: var(--bg); font-weight: 600; font-size: 14px;
  box-shadow: var(--shadow-lg);
}

/* ---------- Animasyon ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .pulse::after { animation: none; }
  * { transition-duration: 0s !important; }
}
