﻿/* eraydogan.com.tr — "SQL Defteri" teması: koyu zemin, kod yazı tipi, kehribar vurgu. */
:root {
    --bg: #14171c;
    --bg-2: #171a20;
    --panel: #1c2027;
    --line: #2f3640;
    --line-soft: #262b33;
    --text: #e4e7eb;
    --body: #cfd5dc;
    --muted: #9aa4b0;
    --faint: #8b95a1;
    --white: #ffffff;
    --amber: #F2B544;
    --amber-hover: #ffd27a;
    --blue: #7cc4f5;
    --on-amber: #14171c;
    --header-bg: rgba(20, 23, 28, .96);
    --code-bg: #0f1216;
    --dot: #3a414b;
    color-scheme: dark;
    --wrap: 1160px;
    --read: 760px;
    --sans: "IBM Plex Sans", "Segoe UI", Helvetica, Arial, sans-serif;
    --mono: "JetBrains Mono", Consolas, "Cascadia Mono", Menlo, monospace;
}

/* Beyaz tema (sağ üstteki düğme ile) */
:root[data-tema="acik"] {
    --bg: #fbfaf7;
    --bg-2: #f3f1ec;
    --panel: #ffffff;
    --line: #d9d5cc;
    --line-soft: #e7e4dd;
    --text: #1d2127;
    --body: #343b44;
    --muted: #5b6470;
    --faint: #6b7480;
    --white: #111418;
    --amber: #a86a00;
    --amber-hover: #8a5700;
    --blue: #1f6fb2;
    --on-amber: #ffffff;
    --header-bg: rgba(251, 250, 247, .96);
    --code-bg: #f4f2ed;
    --dot: #cfcac0;
    color-scheme: light;
}

/* Tema düğmesi */
.tema-btn { display: inline-grid; place-items: center; width: 38px; height: 38px; flex: none; border: 1px solid var(--line); border-radius: 6px; background: transparent; color: var(--muted); cursor: pointer; padding: 0; }
.tema-btn:hover { color: var(--amber); border-color: var(--amber); }
.tema-btn .ikon-gunes { display: none; }
:root[data-tema="acik"] .tema-btn .ikon-gunes { display: block; }
:root[data-tema="acik"] .tema-btn .ikon-ay { display: none; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.7 var(--sans); }
a { color: var(--amber); text-underline-offset: 3px; }
a:hover { color: var(--amber-hover); }
img { max-width: 100%; height: auto; }
h1, h2, h3 { color: var(--white); font-weight: 600; line-height: 1.25; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 12px; top: 12px; background: var(--amber); color: var(--on-amber); padding: 8px 12px; z-index: 100; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.hl { color: var(--amber); }
.code-comment, .eyebrow { font-family: var(--mono); font-size: 13px; color: var(--faint); margin: 0 0 14px; font-weight: 400; }
.eyebrow.dark { color: var(--faint); }

/* ---------- Üst menü ---------- */
.site-header { background: var(--header-bg); border-bottom: 1px solid var(--line-soft); position: sticky; top: 0; z-index: 50; backdrop-filter: blur(6px); }
.header-inner { display: flex; align-items: center; min-height: 60px; gap: 12px; }
.header-inner .site-nav { margin-left: auto; }
.brand { font-family: var(--mono); font-size: 15px; color: var(--text); text-decoration: none; white-space: nowrap; }
.brand:hover { color: var(--white); }
.prompt-user { color: var(--amber); }
.prompt-sep { color: var(--faint); }
.site-nav { display: flex; gap: 4px; align-items: center; font-family: var(--mono); font-size: 14px; }
.site-nav a { color: var(--muted); text-decoration: none; padding: 10px 10px; border-radius: 6px; white-space: nowrap; }
.site-nav a:hover { color: var(--white); background: var(--panel); }
.site-nav a[aria-current] { color: var(--white); }
.site-nav .nav-dgn { color: var(--on-amber); background: var(--amber); font-weight: 600; margin-left: 8px; padding: 8px 12px; }
.site-nav .nav-dgn:hover { background: var(--amber-hover); color: var(--on-amber); }
.site-nav .nav-admin { display: inline-flex; align-items: center; gap: 6px; margin-left: 6px; padding: 7px 10px; border: 1px solid var(--line); color: var(--muted); }
.site-nav .nav-admin:hover { border-color: var(--amber); color: var(--amber); background: transparent; }
.menu-toggle, .menu-btn { display: none; }
@media (max-width: 1080px) { .site-nav .nav-admin span { display: none; } }
@media (max-width: 860px) {
    .site-nav .nav-admin span { display: inline; }
    .menu-btn { display: flex; flex-direction: column; gap: 5px; cursor: pointer; padding: 12px; order: 3; }
    .tema-btn { order: 2; margin-left: auto; }
    .menu-btn span { width: 22px; height: 2px; background: var(--text); display: block; }
    .site-nav {
        display: none; position: absolute; left: 0; right: 0; top: 60px; background: var(--bg-2);
        flex-direction: column; align-items: stretch; padding: 8px 20px 18px; border-bottom: 1px solid var(--line);
    }
    .site-nav a { padding: 12px 8px; border-bottom: 1px solid var(--line-soft); border-radius: 0; }
    .site-nav .nav-dgn { margin: 12px 0 0; text-align: center; border-radius: 6px; border: 0; }
    .site-nav .nav-admin { margin: 8px 0 0; justify-content: center; border: 1px solid var(--line); border-radius: 6px; }
    .menu-toggle:checked ~ .site-nav { display: flex; }
}

/* ---------- Butonlar ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; min-height: 44px; background: var(--amber); color: var(--on-amber);
    text-decoration: none; border: 1px solid var(--amber); padding: 0 18px; border-radius: 6px; cursor: pointer;
    font: 600 14px var(--mono); line-height: 1.3; transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.btn:hover { background: var(--amber-hover); border-color: var(--amber-hover); color: var(--on-amber); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { background: var(--panel); color: var(--white); border-color: var(--faint); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-actions.center { justify-content: center; margin-top: 24px; }

/* ---------- Ana sayfa girişi ---------- */
.sql-hero { padding: 72px 0 56px; }
.sql-hero-inner { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.sql-hero-text { flex: 999 1 480px; min-width: 0; }
.sql-hero h1 { font-size: clamp(34px, 5vw, 52px); line-height: 1.12; letter-spacing: -1px; margin: 0; }
.sql-hero .lead { margin: 22px 0 30px; max-width: 560px; font-size: 18px; color: var(--muted); }
.cmd-search, .home-search {
    display: flex; align-items: center; max-width: 540px; background: var(--panel); border: 1px solid var(--line);
    border-radius: 6px; padding-left: 16px; font-family: var(--mono);
}
.cmd-search:focus-within, .home-search:focus-within { border-color: var(--amber); }
.cmd-search > span { color: var(--amber); }
.cmd-search input, .home-search input {
    flex: 1; min-width: 0; border: 0; background: transparent; color: var(--text); padding: 14px 12px; font: inherit; font-size: 15px;
}
.cmd-search input:focus, .home-search input:focus { outline: none; }
.cmd-search button, .home-search button {
    align-self: stretch; border: 0; background: var(--amber); color: var(--on-amber); font: 600 13px var(--mono);
    padding: 0 18px; min-height: 48px; border-radius: 0 5px 5px 0; cursor: pointer;
}
.cmd-search button:hover, .home-search button:hover { background: var(--amber-hover); }
.home-search { margin: 18px auto 0; }

.sql-card { flex: 1 1 380px; min-width: 0; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; font-family: var(--mono); font-size: 14px; }
.sql-card-bar { display: flex; gap: 8px; align-items: center; padding: 10px 14px; border-bottom: 1px solid var(--line); color: var(--faint); font-size: 12px; }
.sql-card-bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--dot); }
.sql-card-bar em { font-style: normal; margin-left: 6px; }
.sql-card pre { margin: 0; padding: 18px 20px; line-height: 1.75; white-space: pre-wrap; color: var(--text); font: inherit; }
.sql-card .kw { color: var(--blue); }
.sql-card .str { color: var(--amber); }
.table-scroll { overflow-x: auto; border-top: 1px solid var(--line); }
.sql-card table { width: 100%; border-collapse: collapse; font-size: 13px; }
.sql-card th { text-align: left; color: var(--faint); font-weight: 400; padding: 10px 20px; }
.sql-card td { padding: 10px 20px; border-top: 1px solid var(--line-soft); }
.sql-card-foot { margin: 0; padding: 10px 20px; border-top: 1px solid var(--line-soft); color: var(--faint); font-size: 12px; }

/* ---------- DGN Yazılım ---------- */
.dgn-band { background: var(--bg-2); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.dgn-band-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; padding-top: 22px; padding-bottom: 22px; }
.dgn-band img { width: 120px; border-radius: 6px; flex: none; }
.dgn-band p { flex: 1 1 380px; margin: 0; color: var(--body); }
.dgn-band strong { color: var(--white); }
.dgn-band .code-comment { margin: 0 6px 0 0; color: var(--amber); }
.promo { margin: 0 0 32px; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; display: flex; align-items: center; gap: 20px; padding: 16px 20px; }
.promo img { width: 120px; flex: none; border-radius: 6px; }
.promo p { margin: 0; color: var(--body); font-size: 15px; }
.promo strong { color: var(--white); }
.promo .btn { margin-left: auto; flex: none; }
@media (max-width: 760px) { .promo { flex-direction: column; text-align: center; } .promo .btn { margin: 0; } }
.dgn-widget p { color: var(--body); font-size: 15px; margin: 0 0 14px; }

/* ---------- Yazı + kenar çubuğu ---------- */
.post-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; padding: 48px 28px 80px; }
.post-layout > div { min-width: 0; }
@media (max-width: 980px) { .post-layout { grid-template-columns: 1fr; gap: 40px; } }

.article h1 { font-size: clamp(28px, 4vw, 40px); line-height: 1.2; margin: 0 0 14px; letter-spacing: -.5px; }
.meta { display: flex; flex-wrap: wrap; gap: 4px 20px; font-family: var(--mono); font-size: 13px; color: var(--faint); margin-bottom: 20px; }
.meta a { color: var(--faint); }
.meta a:hover { color: var(--amber); }
.tags { display: flex; flex-wrap: wrap; gap: 6px 12px; margin: 0; padding: 0; list-style: none; font-family: var(--mono); font-size: 13px; }
.tags a, .tags span { color: var(--amber); text-decoration: none; }
.tags a::before, .tags span::before { content: "#"; color: var(--faint); }
.tags a:hover { color: var(--amber-hover); text-decoration: underline; }

/* Yazı içeriği (eski yazılardaki satır içi renkler koyu zeminde okunsun diye nötrlenir) */
.post-body { max-width: var(--read); overflow-wrap: anywhere; font-size: 17px; color: var(--body); }
.post-body [style*="color"] { color: inherit !important; }
.post-body [style*="background"] { background: transparent !important; }
.post-body p { margin: 0 0 1.15em; }
.post-body h2, .post-body h3, .post-body h4 { margin: 1.7em 0 .6em; color: var(--white); }
.post-body strong, .post-body b { color: var(--white); }
.post-body img { margin: 10px 0; border-radius: 6px; border: 1px solid var(--line); background: #fff; }
.post-body table { display: block; overflow-x: auto; border-collapse: collapse; max-width: 100%; margin: 1em 0; font-size: 15px; }
.post-body td, .post-body th { border: 1px solid var(--line); padding: 6px 10px; }
.post-body pre, .post-body code { font-family: var(--mono); font-size: 14px; }
.post-body code { background: var(--panel); border: 1px solid var(--line-soft); border-radius: 4px; padding: 1px 5px; color: var(--amber-hover); }
.post-body pre { background: var(--code-bg); border: 1px solid var(--line); border-radius: 8px; padding: 16px 18px; overflow-x: auto; color: var(--text); }
.post-body pre code { background: none; border: 0; padding: 0; color: inherit; }
.post-body blockquote { margin: 1.2em 0; padding: .2em 1.2em; border-left: 3px solid var(--amber); color: var(--muted); }
.post-body hr { border: 0; border-top: 1px solid var(--line); }

.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 36px 0 0; padding-top: 24px; border-top: 1px solid var(--line); }
.share strong { margin-right: 8px; font: 400 13px var(--mono); color: var(--faint); }
.share a { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px; border: 1px solid var(--line); border-radius: 6px; color: var(--text); text-decoration: none; font-size: 14px; }
.share a:hover { border-color: var(--amber); color: var(--amber); }
.share svg { width: 15px; height: 15px; fill: currentColor; }

.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; }
.post-nav a { display: block; padding: 16px 18px; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; color: var(--white); text-decoration: none; line-height: 1.45; }
.post-nav a:hover { border-color: var(--amber); }
.post-nav small { display: block; font: 400 12px var(--mono); color: var(--faint); margin-bottom: 4px; }
.post-nav .next { text-align: right; grid-column: 2; }
@media (max-width: 600px) { .post-nav { grid-template-columns: 1fr; } .post-nav .next { grid-column: 1; } }

/* ---------- Yorumlar, formlar ---------- */
.comments { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line); }
.comments h2 { font-size: 24px; margin: 0 0 18px; }
.comment { border-top: 1px solid var(--line-soft); padding: 14px 0; }
.comment:first-of-type { border-top: 0; }
.comment strong { display: block; color: var(--white); }
.comment p { margin: 4px 0 0; color: var(--muted); }
.notice { background: var(--panel); border: 1px solid var(--line); border-left: 3px solid var(--amber); border-radius: 6px; padding: 12px 16px; margin-bottom: 18px; color: var(--text); }
.notice.success { border-left-color: #4cc38a; }
.notice.error { border-left-color: #f07167; }
.form-row { margin-bottom: 16px; }
.form-row label { display: block; font: 400 13px var(--mono); color: var(--muted); margin-bottom: 6px; }
.form-row label small { color: var(--faint); }
.form-row input, .form-row textarea {
    width: 100%; padding: 11px 12px; border: 1px solid var(--line); border-radius: 6px; font: inherit; background: var(--panel); color: var(--text);
}
.form-row input:focus, .form-row textarea:focus { outline: none; border-color: var(--amber); }
.form-row textarea { min-height: 130px; resize: vertical; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
::placeholder { color: var(--faint); opacity: .8; }

/* ---------- Kenar çubuğu ---------- */
.sidebar { display: flex; flex-direction: column; gap: 20px; }
.widget { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 20px; }
.widget h2 { font: 400 13px var(--mono); color: var(--faint); margin: 0 0 12px; }
.widget h2::before { content: "-- "; }
.widget ul { list-style: none; margin: 0; padding: 0; }
.recent li + li { border-top: 1px solid var(--line-soft); }
.recent a { display: block; padding: 10px 0; color: var(--text); text-decoration: none; font-size: 15px; line-height: 1.45; }
.recent a:hover { color: var(--amber); }
.tag-cloud ul { display: flex; flex-wrap: wrap; gap: 4px 12px; font-family: var(--mono); font-size: 13px; }
.tag-cloud p { display: none; }
.tag-cloud a { color: var(--amber); text-decoration: none; }
.tag-cloud a::before { content: "#"; color: var(--faint); }
.tag-cloud a:hover { text-decoration: underline; }
.author-card { text-align: center; }
.author-card img { width: 88px; height: 88px; border-radius: 50%; object-fit: contain; background: #fff; padding: 5px; }
.author-card h3 { margin: 10px 0 0; font-size: 18px; }
.author-card p { color: var(--muted); font-size: 14px; margin: 4px 0 14px; }
.side-search { display: flex; border: 1px solid var(--line); border-radius: 6px; background: var(--bg); font-family: var(--mono); }
.side-search:focus-within { border-color: var(--amber); }
.side-search input { flex: 1; min-width: 0; border: 0; padding: 10px 12px; font: inherit; font-size: 14px; background: transparent; color: var(--text); }
.side-search input:focus { outline: none; }
.side-search button { border: 0; background: transparent; color: var(--amber); font: 600 13px var(--mono); padding: 0 12px; cursor: pointer; }
.years li a { display: flex; justify-content: space-between; padding: 6px 0; color: var(--text); text-decoration: none; font-family: var(--mono); font-size: 14px; }
.years li a span { color: var(--faint); }
.years li a:hover, .years li a[aria-current] { color: var(--amber); }

/* ---------- Yazı listesi: sonuç tablosu görünümü ---------- */
.list-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin: 0 0 18px; }
.list-title { font-size: clamp(24px, 3vw, 28px); margin: 0; }
.list-sub { margin: 6px 0 0; font-family: var(--mono); font-size: 13px; color: var(--faint); }
.post-list { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.post-card {
    display: grid; grid-template-columns: 112px minmax(0, 1fr) 170px; grid-template-areas: "meta title tags" "meta body tags";
    column-gap: 20px; padding: 18px 20px; border-top: 1px solid var(--line-soft); overflow-wrap: anywhere; transition: background .15s ease;
}
.post-card:first-child { border-top: 0; }
.post-card:hover { background: var(--bg-2); }
.post-card-meta { grid-area: meta; display: flex; flex-direction: column; gap: 2px; font-family: var(--mono); font-size: 12px; color: var(--faint); padding-top: 4px; }
.post-card-meta .lock { color: var(--amber); }
.post-card h2 { grid-area: title; font-size: 18px; font-weight: 500; line-height: 1.4; margin: 0 0 6px; }
.post-card h2 a { color: var(--white); text-decoration: none; }
.post-card h2 a:hover { color: var(--amber); }
.post-card > p, .post-card > .parola-form { grid-area: body; margin: 0; color: var(--muted); font-size: 15px; }
.post-card-foot { grid-area: tags; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding-top: 4px; }
.post-card .tags { font-size: 12px; gap: 2px 10px; }
.read-more { display: none; }
.parola-form label { display: block; font-size: 14px; color: var(--muted); margin-bottom: 6px; }
.parola-form div { display: flex; gap: 8px; max-width: 380px; }
.parola-form input { flex: 1; min-width: 0; padding: 9px 11px; border: 1px solid var(--line); border-radius: 6px; font: inherit; background: var(--bg); color: var(--text); }
.parola-form input:focus { outline: none; border-color: var(--amber); }
.parola-hata { color: #f07167; display: block; margin-top: 4px; }
.parola-hata[hidden] { display: none; }
@media (max-width: 700px) {
    .post-card { grid-template-columns: 1fr; grid-template-areas: "meta" "title" "body" "tags"; row-gap: 6px; }
    .post-card-meta { flex-direction: row; gap: 14px; padding: 0; }
    .post-card-foot { padding-top: 6px; }
}
.pager { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; margin-top: 24px; font-family: var(--mono); }
.pager a { border: 1px solid var(--line); border-radius: 6px; padding: 10px 16px; text-decoration: none; color: var(--text); font-size: 14px; justify-self: start; }
.pager a[rel=next] { justify-self: end; }
.pager a:hover { border-color: var(--amber); color: var(--amber); }
.pager-info { color: var(--faint); font-size: 13px; }
.empty { text-align: center; padding: 40px 20px; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; margin-bottom: 16px; }
.empty h2 { margin-top: 0; }
@media (max-width: 600px) {
    .list-head { flex-direction: column; align-items: flex-start; }
    .pager { grid-template-columns: 1fr 1fr; }
    .pager-info { display: none; }
}

/* ---------- İç sayfa başlıkları ---------- */
.page-head { padding: 64px 0 44px; border-bottom: 1px solid var(--line-soft); }
.page-head .eyebrow::before { content: "-- "; }
.page-head h1 { font-size: clamp(30px, 5vw, 44px); margin: 0 0 12px; letter-spacing: -.5px; }
.page-head .lead { color: var(--muted); font-size: 18px; margin: 0; max-width: 680px; }
.chip-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; font-family: var(--mono); font-size: 13px; }
.chip-nav a { color: var(--text); text-decoration: none; border: 1px solid var(--line); border-radius: 6px; padding: 7px 12px; }
.chip-nav a:hover { border-color: var(--amber); color: var(--amber); }
.chip-nav span { color: var(--faint); margin-left: 4px; }

.hero { padding: 64px 0 56px; border-bottom: 1px solid var(--line-soft); }
.hero-inner { display: grid; grid-template-columns: 180px 1fr; gap: 40px; align-items: center; }
.hero img { width: 180px; height: 180px; object-fit: contain; background: #fff; padding: 8px; border-radius: 12px; }
.hero h1 { font-size: clamp(30px, 5vw, 46px); margin: 0 0 10px; letter-spacing: -.5px; }
.hero .lead { color: var(--muted); font-size: 18px; margin: 0 0 22px; max-width: 660px; }
@media (max-width: 700px) {
    .hero-inner { grid-template-columns: 1fr; }
    .hero img { width: 120px; height: 120px; }
}

.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; padding: 48px 28px 80px; }
@media (max-width: 980px) { .about-grid { grid-template-columns: 1fr; gap: 40px; } }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 28px; color: var(--body); }
.card + .card { margin-top: 20px; }
.card h2 { font-size: 22px; margin: 0 0 14px; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0; }
.facts div { background: var(--bg); border: 1px solid var(--line-soft); border-radius: 6px; padding: 10px 12px; }
.facts dt { font: 400 12px var(--mono); color: var(--faint); }
.facts dd { margin: 2px 0 0; color: var(--white); font-weight: 500; }
.timeline { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.timeline li { position: relative; padding: 0 0 20px 22px; }
.timeline li::before { content: ""; position: absolute; left: -5px; top: 9px; width: 9px; height: 9px; border-radius: 50%; background: var(--amber); }
.timeline time { display: block; font: 400 13px var(--mono); color: var(--faint); }
.timeline strong { color: var(--white); }
.check-list { padding-left: 0; margin: 0; list-style: none; }
.check-list li { margin-bottom: 8px; padding-left: 22px; position: relative; }
.check-list li::before { content: ">"; position: absolute; left: 2px; top: 0; color: var(--amber); font-family: var(--mono); }

.narrow-page { max-width: 760px; padding-top: 64px; padding-bottom: 80px; }
.center-card { text-align: center; }
.center-card h1 { font-size: clamp(24px, 4vw, 32px); margin: 0 0 12px; }
.center-card .parola-form div, .center-card .home-search { margin-left: auto; margin-right: auto; }
.center-card .parola-form { margin: 22px 0; }
.contact-links li { display: flex; flex-direction: column; padding: 10px 0; border-bottom: 1px solid var(--line-soft); }
.contact-links li:last-child { border-bottom: 0; }
.contact-links a { text-decoration: none; font-weight: 500; }
.contact-links span { color: var(--faint); font-size: 13px; font-family: var(--mono); }

/* ---------- Çalışmalarım ---------- */
.works { padding-top: 48px; padding-bottom: 80px; }
.works-section { margin-bottom: 64px; scroll-margin-top: 80px; }
.works-section > h2 { font-size: 26px; margin: 0 0 6px; }
.works-section > p { margin: 0 0 24px; font-family: var(--mono); font-size: 13px; color: var(--faint); }
.works-section > p::before { content: "-- "; }
.work-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.work-card { display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.work-card:hover { border-color: var(--faint); }
.work-img { display: block; aspect-ratio: 16 / 10; background: #fff; border-bottom: 1px solid var(--line); overflow: hidden; }
.work-img img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.work-img[hidden] { display: none; }
.work-body { padding: 14px 16px 16px; }
.work-body h3 { font-size: 17px; margin: 0 0 4px; }
.work-body p { margin: 0; color: var(--muted); font-size: 14px; }
.solution { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 22px; margin-bottom: 16px; overflow-wrap: anywhere; }
.solution h3 { font-size: 18px; margin: 0 0 8px; }
.solution > p { margin: 0 0 14px; color: var(--muted); font-size: 15px; }
.shot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.shot-grid figure { margin: 0; }
.shot-grid figure[hidden] { display: none; }
.shot-grid img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.shot-grid figcaption { font-size: 13px; color: var(--muted); margin-top: 6px; }

/* ---------- Alt bilgi ---------- */
.site-footer { border-top: 1px solid var(--line-soft); background: var(--bg-2); color: var(--muted); padding: 40px 0 28px; font-size: 14px; }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 16px 32px; align-items: start; }
.footer-inner p { margin: 0 0 6px; }
.foot-comment { font-family: var(--mono); color: var(--faint); }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 18px; font-family: var(--mono); font-size: 13px; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--amber); }
.copy { grid-column: 1 / -1; color: var(--faint); font-family: var(--mono); font-size: 12px; border-top: 1px solid var(--line-soft); padding-top: 18px; margin: 0; }
@media (max-width: 700px) { .footer-inner { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }