/* ==========================================================
   kadirdev.com — ortak stil dosyası
   Laravel.com'dan esinlenen sade, sıcak, kırmızı vurgulu tema
   ========================================================== */

:root {
    --bg: #fdfdfc;
    --bg-soft: #f6f6f4;
    --surface: #ffffff;
    --text: #1b1b18;
    --text-muted: #706f6c;
    --border: #e3e3e0;
    --border-strong: #d1d1cc;
    --accent: #f53003;
    --accent-hover: #d42a02;
    --accent-soft: #fff2f2;
    --accent-ring: rgba(245, 48, 3, 0.18);
    --code-bg: #1b1b18;
    --code-text: #ededec;
    --shadow-sm: 0 1px 2px rgba(27, 27, 24, 0.05);
    --shadow: 0 1px 2px rgba(27, 27, 24, 0.04), 0 8px 24px rgba(27, 27, 24, 0.06);
    --radius: 10px;
    --radius-lg: 16px;
    --container: 1160px;
    --header-h: 68px;
    --font-sans: 'Instrument Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    color-scheme: light;
}

:root[data-theme="dark"] {
    --bg: #0a0a0a;
    --bg-soft: #111110;
    --surface: #161615;
    --text: #ededec;
    --text-muted: #a1a09a;
    --border: #2a2a27;
    --border-strong: #3e3e3a;
    --accent: #ff4433;
    --accent-hover: #ff6a5c;
    --accent-soft: #1d0d0b;
    --accent-ring: rgba(255, 68, 51, 0.25);
    --code-bg: #0f0f0e;
    --code-text: #ededec;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 24px rgba(0, 0, 0, 0.35);
    color-scheme: dark;
}

/* ---------- Temel ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.65;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    transition: background-color .2s ease, color .2s ease;
}

img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; letter-spacing: -0.02em; font-weight: 600; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.icon { width: 1.15em; height: 1.15em; flex-shrink: 0; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon--fill { fill: currentColor; stroke: none; }

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

.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--accent); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip-link:focus { left: 8px; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* ---------- Butonlar ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    height: 42px; padding: 0 18px;
    font: inherit; font-size: .925rem; font-weight: 500;
    border-radius: 8px; border: 1px solid transparent;
    cursor: pointer; white-space: nowrap;
    transition: background-color .15s, border-color .15s, color .15s, transform .15s, box-shadow .15s;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 1px 0 rgba(0,0,0,.08), 0 4px 14px var(--accent-ring); }
.btn--primary:hover { background: var(--accent-hover); }
.btn--ghost { background: var(--surface); color: var(--text); border-color: var(--border); box-shadow: var(--shadow-sm); }
.btn--ghost:hover { border-color: var(--border-strong); }
.btn--sm { height: 36px; padding: 0 14px; font-size: .875rem; }

.icon-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .35rem;
    height: 36px; min-width: 36px; padding: 0 8px;
    background: transparent; color: var(--text-muted);
    border: 1px solid transparent; border-radius: 8px;
    font: inherit; font-size: .8rem; font-weight: 600; letter-spacing: .04em;
    cursor: pointer; transition: color .15s, background-color .15s, border-color .15s;
}
.icon-btn:hover { color: var(--text); background: var(--bg-soft); border-color: var(--border); }

/* tema ikonunu duruma göre göster */
.theme-toggle .icon-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

/* ---------- 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(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--border); }
.site-header .container { height: 100%; display: flex; align-items: center; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: -0.01em; }
.brand__mark { width: 30px; height: 30px; }
.brand__text span { color: var(--accent); }

.main-nav { display: flex; align-items: center; gap: 4px; margin-left: 12px; }
.main-nav a {
    padding: 6px 12px; border-radius: 8px;
    font-size: .925rem; color: var(--text-muted);
    transition: color .15s, background-color .15s;
}
.main-nav a:hover { color: var(--text); background: var(--bg-soft); }
.main-nav a[aria-current="page"] { color: var(--text); font-weight: 500; }

.header-actions { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.menu-toggle { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 72px 0 64px; overflow: hidden; }
.hero::before {
    /* Laravel tarzı ince ızgara arka planı */
    content: ""; position: absolute; inset: 0; z-index: -1;
    background-image:
        linear-gradient(to right, var(--border) 1px, transparent 1px),
        linear-gradient(to bottom, var(--border) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
    opacity: .55;
}
.hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }

.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 5px 12px 5px 8px; margin-bottom: 22px;
    font-family: var(--font-mono); font-size: .75rem; color: var(--text-muted);
    background: var(--surface); border: 1px solid var(--border); border-radius: 999px;
    box-shadow: var(--shadow-sm);
}
.eyebrow__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-ring); }

.hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 600; letter-spacing: -0.035em; line-height: 1.08; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero__lead { margin-top: 22px; max-width: 560px; font-size: 1.1rem; color: var(--text-muted); }
.hero__cta { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero__social { margin-top: 28px; display: flex; align-items: center; gap: 18px; color: var(--text-muted); font-size: .9rem; }
.hero__social a { display: inline-flex; align-items: center; gap: 6px; transition: color .15s; }
.hero__social a:hover { color: var(--text); }

/* sağ taraf: fotoğraf + kod penceresi */
.hero__visual { position: relative; }
.photo-card {
    position: relative; width: 210px; aspect-ratio: 1; margin-left: auto; margin-right: 24px;
    border-radius: 50%; overflow: hidden;
    border: 6px solid var(--surface); box-shadow: var(--shadow), 0 0 0 1px var(--border);
    background: #fff;
}
.photo-card img { width: 100%; height: 100%; object-fit: cover; }

.code-window {
    position: relative; margin-top: -48px; z-index: -0;
    background: var(--code-bg); color: var(--code-text);
    border-radius: var(--radius-lg); border: 1px solid #2a2a27;
    box-shadow: 0 20px 50px rgba(27, 27, 24, .18);
    font-family: var(--font-mono); font-size: .8rem; line-height: 1.75;
    overflow: hidden;
}
.photo-card { z-index: 1; }
.code-window__bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid #2a2a27; }
.code-window__bar i { width: 11px; height: 11px; border-radius: 50%; background: #3e3e3a; }
.code-window__bar i:first-child { background: #ff5f57; }
.code-window__bar i:nth-child(2) { background: #febc2e; }
.code-window__bar i:nth-child(3) { background: #28c840; }
.code-window__bar span { margin-left: 10px; color: #8f8f8a; font-size: .75rem; }
.code-window pre { margin: 0; padding: 18px 20px 22px; overflow-x: auto; }
.tok-k { color: #ff7b72; } .tok-v { color: #ffa657; } .tok-s { color: #a5d6ff; }
.tok-c { color: #6e7681; } .tok-f { color: #d2a8ff; } .tok-n { color: #79c0ff; }

/* ---------- Bölümler ---------- */
.section { padding: 88px 0; }
.section--alt { background: var(--bg-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.section__kicker { font-family: var(--font-mono); font-size: .75rem; color: var(--accent); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 10px; }
.section__title { font-size: clamp(1.7rem, 3vw, 2.3rem); letter-spacing: -0.03em; }
.section__desc { margin-top: 12px; max-width: 760px; color: var(--text-muted); }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; font-size: .925rem; color: var(--text); white-space: nowrap; }
.link-arrow .icon { transition: transform .15s; }
.link-arrow:hover { color: var(--accent); }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ---------- Hizmet kartları ---------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card {
    position: relative; padding: 26px;
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: border-color .2s, transform .2s, box-shadow .2s;
}
.card:hover { border-color: var(--border-strong); transform: translateY(-2px); box-shadow: var(--shadow); }
.card__icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 42px; height: 42px; margin-bottom: 18px;
    color: var(--accent); background: var(--accent-soft); border-radius: 10px;
}
.card__icon .icon { width: 20px; height: 20px; }
.card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.card p { font-size: .925rem; color: var(--text-muted); }

/* ---------- Teknoloji ---------- */
.stack { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.stack__group { padding: 22px 24px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.stack__group h3 { font-family: var(--font-mono); font-size: .75rem; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); margin-bottom: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 5px 11px; font-size: .85rem; font-weight: 500;
    background: var(--bg-soft); border: 1px solid var(--border); border-radius: 999px;
}
.chip--accent { color: var(--accent); background: var(--accent-soft); border-color: color-mix(in srgb, var(--accent) 35%, transparent); }

/* ---------- Projeler ---------- */
.projects { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.project {
    display: flex; flex-direction: column; padding: 28px;
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: border-color .2s, box-shadow .2s;
}
.project:hover { border-color: var(--border-strong); box-shadow: var(--shadow); }
.project__meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; font-family: var(--font-mono); font-size: .75rem; color: var(--text-muted); }
.project__tag { color: var(--accent); }
.project h3 { font-size: 1.2rem; margin-bottom: 10px; }
.project > p { color: var(--text-muted); font-size: .95rem; }
.project__highlight {
    margin-top: 18px; padding: 12px 14px;
    font-size: .875rem; border-left: 3px solid var(--accent);
    background: var(--bg-soft); border-radius: 0 8px 8px 0;
}
.project .chips { margin-top: auto; padding-top: 20px; }
.project .chip { font-size: .78rem; padding: 3px 9px; }

/* ---------- Deneyim zaman çizelgesi ---------- */
.timeline { border-top: 1px solid var(--border); }
.timeline__item {
    display: grid; grid-template-columns: 180px 1fr auto; gap: 24px; align-items: baseline;
    padding: 22px 0; border-bottom: 1px solid var(--border);
}
.timeline__date { font-family: var(--font-mono); font-size: .8rem; color: var(--text-muted); }
.timeline__role { font-weight: 600; }
.timeline__company { color: var(--text-muted); font-size: .95rem; }
.timeline__badge { font-family: var(--font-mono); font-size: .72rem; padding: 3px 10px; border-radius: 999px; color: var(--accent); background: var(--accent-soft); }

/* ---------- CTA ---------- */
.cta {
    position: relative; overflow: hidden;
    padding: 56px; border-radius: 24px;
    background: var(--code-bg); color: #ededec;
    display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center;
}
.cta::after {
    content: ""; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px;
    background: radial-gradient(circle, rgba(245, 48, 3, .45), transparent 65%);
    pointer-events: none;
}
.cta h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -0.03em; }
.cta p { margin-top: 10px; color: #a1a09a; max-width: 520px; }
.cta__actions { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 12px; }
.cta .btn--ghost { background: transparent; color: #ededec; border-color: #3e3e3a; box-shadow: none; }
.cta .btn--ghost:hover { border-color: #62605b; }

/* ---------- Footer ---------- */
.site-footer { padding: 40px 0; border-top: 1px solid var(--border); font-size: .875rem; color: var(--text-muted); }
.site-footer .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-links a:hover { color: var(--text); }

/* ---------- Görünür olunca beliren 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; }
}

/* ---------- Duyarlı ---------- */
@media (max-width: 1024px) {
    .cards { grid-template-columns: repeat(2, 1fr); }
    .stack { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 880px) {
    .hero { padding: 48px 0 40px; }
    .hero__grid { grid-template-columns: 1fr; gap: 40px; }
    .photo-card { width: 170px; margin: 0 auto; }
    .projects { grid-template-columns: 1fr; }
    .timeline__item { grid-template-columns: 1fr auto; gap: 4px 16px; }
    .timeline__date { grid-column: 1 / -1; }
    .cta { grid-template-columns: 1fr; padding: 40px 28px; }

    .menu-toggle { display: inline-flex; }
    .main-nav {
        position: fixed; top: var(--header-h); left: 0; right: 0;
        flex-direction: column; align-items: stretch; gap: 2px; margin: 0;
        padding: 12px 16px 20px;
        background: var(--bg); border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow);
        transform: translateY(-8px); opacity: 0; visibility: hidden;
        transition: opacity .2s, transform .2s, visibility .2s;
    }
    .main-nav a { padding: 12px 14px; font-size: 1rem; }
    .nav-open .main-nav { transform: none; opacity: 1; visibility: visible; }
    .header-actions .btn-cv-label { display: none; }
    .header-actions .btn--sm { padding: 0 10px; }
}

@media (max-width: 560px) {
    .container { padding: 0 16px; }
    .section { padding: 64px 0; }
    .section__head { flex-direction: column; align-items: flex-start; }
    .cards, .stack { grid-template-columns: 1fr; }
    .hero__cta .btn { flex: 1 1 auto; }
    .code-window { font-size: .72rem; }
    .brand__text { display: none; }
}

/* ==========================================================
   Alt sayfalar (Portfolyo, Hakkımda)
   ========================================================== */

/* İki dilli uzun içerik: <div data-lang="tr"> / <div data-lang="en"> */
:root[lang="tr"] [data-lang="en"],
:root[lang="en"] [data-lang="tr"] { display: none !important; }

.page-hero { position: relative; padding: 64px 0 40px; overflow: hidden; }
.page-hero::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background-image:
        linear-gradient(to right, var(--border) 1px, transparent 1px),
        linear-gradient(to bottom, var(--border) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse 60% 80% at 20% 0%, #000 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 60% 80% at 20% 0%, #000 20%, transparent 70%);
    opacity: .5;
}
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.035em; text-wrap: balance; }
.page-hero__lead { margin-top: 16px; max-width: 640px; font-size: 1.075rem; color: var(--text-muted); }
.page-section { padding: 24px 0 88px; }

/* ---------- Portfolyo filtreleri ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filter {
    display: inline-flex; align-items: center; gap: 8px;
    height: 38px; padding: 0 14px;
    font: inherit; font-size: .9rem; font-weight: 500; color: var(--text-muted);
    background: var(--surface); border: 1px solid var(--border); border-radius: 999px;
    cursor: pointer; transition: color .15s, border-color .15s, background-color .15s;
}
.filter:hover { color: var(--text); border-color: var(--border-strong); }
.filter.is-active { color: #fff; background: var(--text); border-color: var(--text); }
:root[data-theme="dark"] .filter.is-active { color: var(--bg); }
.filter__count { font-family: var(--font-mono); font-size: .72rem; opacity: .7; }

.projects__empty {
    grid-column: 1 / -1; padding: 48px 24px; text-align: center; color: var(--text-muted);
    border: 1px dashed var(--border-strong); border-radius: var(--radius-lg);
}

/* ---------- Proje kartı ekleri ---------- */
.project__more { margin-top: 16px; font-size: .9rem; }
.project__more summary {
    display: inline-flex; align-items: center; gap: 6px; cursor: pointer;
    font-weight: 500; color: var(--text); list-style: none;
}
.project__more summary::-webkit-details-marker { display: none; }
.project__more summary::after { content: "+"; font-family: var(--font-mono); color: var(--accent); }
.project__more[open] summary::after { content: "−"; }
.project__more ul { margin-top: 10px; padding-left: 18px; list-style: disc; color: var(--text-muted); display: grid; gap: 6px; }
.project__more li::marker { color: var(--accent); }
.project__foot { margin-top: auto; padding-top: 20px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.project__foot .chips { margin: 0; padding: 0; }
.project__links { display: flex; flex-wrap: wrap; gap: 16px; }
.project__highlight + .project__foot, .project > p + .project__foot { margin-top: auto; }

/* ---------- Hakkımda ---------- */
.about-hero { display: grid; grid-template-columns: 1fr 280px; gap: 56px; align-items: center; }
.about-hero__photo {
    width: 100%; max-width: 280px; aspect-ratio: 1; border-radius: 24px; overflow: hidden;
    border: 1px solid var(--border); box-shadow: var(--shadow); background: #fff;
}
.about-hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.about-hero .hero__cta { margin-top: 28px; }

.prose { max-width: 680px; display: grid; gap: 16px; color: var(--text-muted); font-size: 1.025rem; }
.prose strong { color: var(--text); font-weight: 600; }

.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.fact { padding: 20px 22px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.fact__label { font-family: var(--font-mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); }
.fact__value { margin-top: 6px; font-weight: 600; }
.fact__value a:hover { color: var(--accent); }

.about-grid { display: grid; grid-template-columns: 260px 1fr; gap: 48px; }
.about-grid__side h2 { font-size: 1.5rem; letter-spacing: -0.03em; position: sticky; top: calc(var(--header-h) + 24px); }

.xp { display: grid; gap: 0; border-top: 1px solid var(--border); }
.xp__item { padding: 28px 0; border-bottom: 1px solid var(--border); }
.xp__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; }
.xp__role { font-size: 1.1rem; font-weight: 600; }
.xp__company { color: var(--text-muted); }
.xp__date { font-family: var(--font-mono); font-size: .8rem; color: var(--text-muted); white-space: nowrap; }
.xp__list { margin-top: 14px; padding-left: 18px; list-style: disc; display: grid; gap: 6px; color: var(--text-muted); font-size: .95rem; }
.xp__list li::marker { color: var(--accent); }
.xp__roles { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 6px; }

.edu { display: grid; gap: 12px; }
.edu__item { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; padding: 18px 22px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.edu__school { color: var(--text-muted); }

@media (max-width: 880px) {
    .about-hero { grid-template-columns: 1fr; gap: 32px; }
    .about-hero__photo { max-width: 180px; order: -1; }
    .facts { grid-template-columns: repeat(2, 1fr); }
    .about-grid { grid-template-columns: 1fr; gap: 20px; }
    .about-grid__side h2 { position: static; }
}
@media (max-width: 560px) {
    .page-hero { padding: 40px 0 28px; }
    .facts { grid-template-columns: 1fr; }
    .page-section { padding-bottom: 64px; }
}
.section--flush { padding-top: 0; }
.prose > [data-lang] { display: grid; gap: 16px; }
@media (max-width: 560px) { .project__meta { flex-direction: column; align-items: flex-start; gap: 2px; } }

/* ---------- İletişim ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; align-items: stretch; }
.contact-card { display: flex; flex-direction: column; gap: 10px; }
.contact-card .card__icon { margin-bottom: 8px; }
.contact-card__title { font-size: 1.15rem; }
.contact-card p { font-size: .95rem; color: var(--text-muted); }
.contact-card__link { margin-top: auto; padding-top: 12px; font-size: .875rem; word-break: break-all; }
a.contact-card:hover .contact-card__link { color: var(--accent); }
.reveal-box { margin-top: auto; padding-top: 12px; }
.reveal-box__result { display: grid; gap: 12px; }
.reveal-box__value {
    display: block; padding: 12px 14px; font-family: var(--font-mono); font-size: .95rem;
    color: var(--text); background: var(--bg-soft); border: 1px solid var(--border); border-radius: 8px;
    user-select: all; word-break: break-all;
}
.reveal-box__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.reveal-box__note { font-size: .85rem; color: var(--text-muted); }
@media (max-width: 560px) { .contact-grid { grid-template-columns: 1fr; } }

.about-grid .stack { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 560px) { .about-grid .stack { grid-template-columns: 1fr; } }

/* Dar ekranlarda uzun içerik grid sütununu genişletmesin */
.hero__grid > *, .about-hero > *, .about-grid > * { min-width: 0; }
.eyebrow { max-width: 100%; line-height: 1.4; }

/* ---------- Çerez onayı ---------- */
.consent {
    position: fixed; z-index: 60; left: 16px; right: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    max-width: 560px; margin-left: auto;
    display: grid; gap: 14px; padding: 18px 20px;
    background: var(--surface); color: var(--text);
    border: 1px solid var(--border); border-radius: var(--radius-lg);
    box-shadow: 0 12px 40px rgba(27, 27, 24, .18);
}
.consent__text { font-size: .9rem; color: var(--text-muted); }
.consent__text a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.consent__actions { display: flex; justify-content: flex-end; gap: 8px; flex-wrap: wrap; }
.footer-link-btn { padding: 0; font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.footer-link-btn:hover { color: var(--text); }

/* ---------- 404 & Gizlilik ---------- */
.notfound__code { font-family: var(--font-mono); font-size: clamp(4rem, 14vw, 8rem); line-height: 1; letter-spacing: -0.04em; color: var(--accent); margin-bottom: 12px; }
.legal { max-width: 720px; display: grid; gap: 32px; }
.legal h2 { font-size: 1.2rem; margin-bottom: 10px; }
.legal p, .legal li { color: var(--text-muted); }
.legal ul { list-style: disc; padding-left: 20px; display: grid; gap: 6px; margin-top: 8px; }
.legal code { font-family: var(--font-mono); font-size: .85em; padding: 1px 6px; background: var(--bg-soft); border: 1px solid var(--border); border-radius: 6px; }
.legal__updated { font-family: var(--font-mono); font-size: .8rem; color: var(--text-muted); }
.legal > div > p + p, .legal > div > ul + p { margin-top: 10px; }
