/* Ziyaretçi sayfaları. Yönetim paneli bu dosyayı yüklemez. */
:root {
    --bg: #fbfbfc;
    --bg-soft: #f3f4f7;
    --surface: #ffffff;
    --text: #0b0d12;
    --text-2: #2c313d;
    --muted: #5f6573;
    --border: #e6e8ee;
    --border-strong: #d3d7e0;
    --accent: #2a4dff;
    --accent-2: #6a5cff;
    --accent-soft: #edf0ff;
    --accent-text: #ffffff;
    --font: "Geist", "Inter", system-ui, -apple-system, sans-serif;
    --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
    --grid-line: rgb(11 13 18 / 5%);
    --glow: rgb(42 77 255 / 14%);
}
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        --bg: #08090c;
        --bg-soft: #0e1015;
        --surface: #111319;
        --text: #eef0f5;
        --text-2: #c5c9d4;
        --muted: #8b91a0;
        --border: #1f232d;
        --border-strong: #2d3240;
        --accent: #7088ff;
        --accent-2: #a394ff;
        --accent-soft: #141a33;
        --accent-text: #08090c;
        --grid-line: rgb(255 255 255 / 4%);
        --glow: rgb(112 136 255 / 16%);
    }
}
:root[data-theme="dark"] {
    --bg: #08090c;
    --bg-soft: #0e1015;
    --surface: #111319;
    --text: #eef0f5;
    --text-2: #c5c9d4;
    --muted: #8b91a0;
    --border: #1f232d;
    --border-strong: #2d3240;
    --accent: #7088ff;
    --accent-2: #a394ff;
    --accent-soft: #141a33;
    --accent-text: #08090c;
    --grid-line: rgb(255 255 255 / 4%);
    --glow: rgb(112 136 255 / 16%);
}

body.pub { background: var(--bg); font-family: var(--font); font-size: 16px; letter-spacing: -0.005em; -webkit-font-smoothing: antialiased; }
.pub .container { max-width: 1200px; padding-left: 32px; padding-right: 32px; }
.pf-mono { font-family: var(--mono); font-size: 12.5px; letter-spacing: 0; text-transform: none; }
.pf-muted { color: var(--muted); }

/* ---------- Üst menü ---------- */
.pub .site-header { background: color-mix(in srgb, var(--bg) 78%, transparent); border-bottom: 1px solid transparent; transition: border-color .2s; }
.pub .site-header.scrolled { border-bottom-color: var(--border); }
.pub .header-inner { height: 68px; }
.pub .brand { gap: 12px; }
.pub .brand-mark { width: 34px; height: 34px; border-radius: 10px; background: var(--text); color: var(--bg); font-size: 13px; letter-spacing: .02em; }
.pub .brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.pub .brand-name { font-weight: 650; font-size: 14.5px; }
.pub .brand-role { font-family: var(--mono); font-size: 11.5px; color: var(--muted); }
.pub .nav a { font-size: 14px; font-weight: 500; }
.pub .header-actions { gap: 8px; }
.pub .lang-switch, .pub .icon-btn { border-radius: 10px; }

/* ---------- Butonlar ---------- */
.pf-btn {
    display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 20px; border-radius: 12px;
    border: 1px solid var(--border-strong); background: var(--surface); color: var(--text);
    font-weight: 560; font-size: 15px; text-decoration: none; transition: transform .15s, background .2s, border-color .2s, box-shadow .2s;
}
.pf-btn:hover { border-color: var(--text); }
.pf-btn:active { transform: translateY(1px); }
.pf-btn-primary { background: var(--text); color: var(--bg); border-color: var(--text); box-shadow: 0 10px 30px -12px rgb(11 13 18 / 45%); }
.pf-btn-primary:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.pf-btn-sm { height: 36px; padding: 0 12px; font-size: 13.5px; border-radius: 10px; }
.pf-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; color: var(--text); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.pf-link .icon { transition: transform .2s; }
.pf-link:hover { color: var(--accent); }
.pf-link:hover .icon { transform: translateX(3px); }
.pf-link-muted { color: var(--muted); border-bottom-color: transparent; }

/* ---------- Giriş ---------- */
.pf-hero { position: relative; overflow: hidden; padding: 88px 0 64px; border-bottom: 1px solid var(--border); }
.pf-hero-bg {
    position: absolute; inset: 0; pointer-events: none;
    background:
        radial-gradient(60% 60% at 85% 0%, var(--glow), transparent 70%),
        linear-gradient(var(--grid-line) 1px, transparent 1px) 0 0 / 56px 56px,
        linear-gradient(90deg, var(--grid-line) 1px, transparent 1px) 0 0 / 56px 56px;
    mask-image: linear-gradient(to bottom, #000 40%, transparent);
}
.pf-hero-inner { position: relative; }
.pf-hero-top { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.pf-status { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--border-strong); background: var(--surface); font-size: 13px; font-weight: 550; }
.pf-dot { width: 7px; height: 7px; border-radius: 50%; background: #16a34a; box-shadow: 0 0 0 0 rgb(22 163 74 / 50%); animation: pf-pulse 2s infinite; }
@keyframes pf-pulse { 70% { box-shadow: 0 0 0 7px rgb(22 163 74 / 0%); } 100% { box-shadow: 0 0 0 0 rgb(22 163 74 / 0%); } }
.pf-display { font-size: clamp(44px, 7.4vw, 96px); line-height: .98; letter-spacing: -0.045em; font-weight: 650; max-width: 15ch; margin: 0; }
.pf-display em { font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-weight: 400; letter-spacing: -0.02em; color: var(--accent); }
.pf-display-md { font-size: clamp(36px, 5vw, 64px); max-width: 20ch; }
.pf-hero-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 48px; align-items: center; margin-top: 36px; }
.pf-lead { font-size: 18.5px; line-height: 1.6; color: var(--text-2); max-width: 60ch; }
.pf-now { justify-self: end; display: grid; gap: 4px; padding: 18px 20px; min-width: 280px; border: 1px solid var(--border); border-radius: 16px; background: color-mix(in srgb, var(--surface) 80%, transparent); backdrop-filter: blur(8px); }
.pf-now b { font-size: 16px; font-weight: 620; }
.pf-now span:last-child { color: var(--muted); font-size: 14px; }
.pf-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 36px; }
.pf-links { display: inline-flex; gap: 4px; margin-left: 8px; }
.pf-links a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; color: var(--muted); }
.pf-links a:hover { color: var(--text); background: var(--bg-soft); }

/* ---------- Bölümler ---------- */
.pf-section { padding: 120px 0; }
.pf-section-tight { padding-top: 24px; }
.pf-band { background: var(--bg-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.pf-head { margin-bottom: 56px; max-width: 760px; }
.pf-label { font-family: var(--mono); font-size: 12.5px; color: var(--accent); margin: 0 0 14px; letter-spacing: .02em; }
.pf-h2 { font-size: clamp(32px, 4vw, 52px); line-height: 1.05; letter-spacing: -0.04em; font-weight: 640; margin: 0; }

/* Vaka satırları */
.pf-cases { display: grid; gap: 96px; }
.pf-case { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: center; }
.pf-case.flip .pf-case-media { order: 2; }
.pf-case-media { display: block; text-decoration: none; }
.pf-frame {
    display: block; border-radius: 16px; overflow: hidden; background: var(--surface); border: 1px solid var(--border);
    box-shadow: 0 1px 2px rgb(0 0 0 / 4%), 0 30px 60px -30px rgb(11 13 18 / 35%); transition: transform .4s cubic-bezier(.2, .8, .2, 1), box-shadow .4s;
}
.pf-case-media:hover .pf-frame { transform: translateY(-6px); box-shadow: 0 1px 2px rgb(0 0 0 / 4%), 0 40px 70px -30px rgb(11 13 18 / 45%); }
.pf-frame-bar { display: flex; gap: 6px; padding: 11px 14px; border-bottom: 1px solid var(--border); background: var(--bg-soft); }
.pf-frame-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--border-strong); }
.pf-frame img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top center; background: #f3f5f9; }
.pf-case-body h3 { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.1; letter-spacing: -0.035em; margin: 12px 0 14px; font-weight: 640; }
.pf-case-body h3 a { color: inherit; text-decoration: none; }
.pf-case-body h3 a:hover { color: var(--accent); }
.pf-case-summary { color: var(--text-2); font-size: 16.5px; line-height: 1.6; margin: 0; }
.pf-checks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.pf-checks li { position: relative; padding-left: 26px; color: var(--text-2); font-size: 15px; line-height: 1.5; }
.pf-checks li::before { content: ""; position: absolute; left: 0; top: 8px; width: 12px; height: 7px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.pf-stack { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.pf-stack li, .pf-stack i {
    font-family: var(--mono); font-style: normal; font-size: 12px; padding: 4px 9px; border-radius: 7px; border: 1px solid var(--border); background: var(--surface); color: var(--text-2);
}
.pf-stack-col { flex-direction: column; align-items: flex-start; }
.pf-case-links { display: flex; gap: 22px; margin-top: 28px; flex-wrap: wrap; }

/* Kart ızgarası */
.pf-more-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin: 120px 0 28px; padding-top: 32px; border-top: 1px solid var(--border); }
.pf-more-head h3 { font-size: 24px; letter-spacing: -0.03em; margin: 0; font-weight: 620; }
.pf-grid { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: 20px; }
.pf-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.pf-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; border-radius: 16px; border: 1px solid var(--border); background: var(--surface); overflow: hidden; transition: transform .3s, border-color .3s, box-shadow .3s; }
.pf-card:hover { transform: translateY(-4px); border-color: var(--border-strong); box-shadow: 0 24px 48px -28px rgb(11 13 18 / 35%); }
.pf-card-media { display: block; aspect-ratio: 16 / 10; background: #f3f5f9; border-bottom: 1px solid var(--border); overflow: hidden; }
.pf-card-media img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; transition: transform .5s; }
.pf-card:hover .pf-card-media img { transform: scale(1.03); }
.pf-card-body { display: grid; gap: 8px; padding: 18px 18px 20px; }
.pf-card-body b { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; font-size: 17px; letter-spacing: -0.02em; font-weight: 620; line-height: 1.25; }
.pf-card-body b .icon { flex: none; color: var(--muted); transition: transform .2s, color .2s; }
.pf-card:hover .pf-card-body b .icon { color: var(--accent); transform: translate(2px, -2px); }
.pf-card-text { color: var(--muted); font-size: 14px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pf-card-lg .pf-card-body { padding: 24px 24px 26px; }
.pf-card-lg .pf-card-body b { font-size: 22px; }
.pf-card-lg .pf-card-text { font-size: 15px; }
.pf-card-lg .pf-stack { margin-top: 8px; }

/* Uzmanlık */
.pf-caps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--border); border-radius: 18px; background: var(--surface); overflow: hidden; }
.pf-cap { padding: 30px 26px 32px; }
.pf-cap + .pf-cap { border-left: 1px solid var(--border); }
.pf-cap-ic { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: var(--accent-soft); color: var(--accent); margin-bottom: 22px; }
.pf-cap h3 { font-size: 18px; letter-spacing: -0.02em; margin: 0 0 10px; font-weight: 620; }
.pf-cap p { color: var(--muted); font-size: 14.5px; line-height: 1.6; margin: 0; }
.pf-toolbox { margin-top: 48px; }
.pf-toolbox-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; margin-top: 18px; }
.pf-toolbox h4 { font-size: 13.5px; font-weight: 620; margin: 0 0 8px; }
.pf-toolbox-grid p { color: var(--muted); font-size: 14px; line-height: 1.7; margin: 0; }

/* Hakkımda */
.pf-split { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 72px; align-items: start; }
.pf-split > header, .pf-split > aside { position: sticky; top: 100px; }
.pf-facts { display: grid; gap: 14px; margin: 36px 0 0; padding-top: 24px; border-top: 1px solid var(--border); }
.pf-facts div { display: grid; grid-template-columns: 90px 1fr; gap: 12px; font-size: 14.5px; }
.pf-facts dt { font-family: var(--mono); font-size: 12.5px; color: var(--muted); padding-top: 2px; }
.pf-facts dd { margin: 0; font-weight: 520; }
.pf-prose { color: var(--text-2); line-height: 1.7; }
.pf-prose p { margin: 0 0 1em; }
.pf-prose ul { list-style: none; padding: 0; margin: 1.2em 0; display: grid; gap: 12px; }
.pf-prose ul li { position: relative; padding-left: 26px; }
.pf-prose ul li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; border-radius: 2px; background: var(--accent); }
.pf-prose-lg { font-size: 18px; }
.pf-prose-lg p:first-child { font-size: 21px; line-height: 1.55; color: var(--text); letter-spacing: -0.01em; }

/* Deneyim */
.pf-timeline { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--border); }
.pf-timeline li { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 40px; padding: 32px 0; border-bottom: 1px solid var(--border); }
.pf-period { color: var(--muted); padding-top: 5px; }
.pf-timeline h3 { font-size: 21px; letter-spacing: -0.025em; margin: 0; font-weight: 620; }
.pf-company { color: var(--accent); font-weight: 550; margin: 4px 0 12px; }
.pf-timeline .pf-prose { font-size: 15.5px; max-width: 70ch; }

/* İletişim */
.pf-contact { background: var(--text); color: var(--bg); }
.pf-contact .pf-lead { color: color-mix(in srgb, var(--bg) 70%, transparent); margin-top: 24px; }
.pf-contact .pf-label { color: color-mix(in srgb, var(--bg) 60%, transparent); }
.pf-contact-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 72px; align-items: start; }
.pf-email { display: inline-flex; align-items: center; gap: 10px; margin-top: 36px; font-size: clamp(22px, 2.6vw, 32px); font-weight: 560; letter-spacing: -0.03em; color: inherit; text-decoration: none; border-bottom: 2px solid color-mix(in srgb, var(--bg) 35%, transparent); padding-bottom: 6px; }
.pf-email:hover { border-bottom-color: currentColor; }
.pf-contact-links { list-style: none; padding: 0; margin: 28px 0 0; display: flex; gap: 22px; flex-wrap: wrap; }
.pf-contact-links a { display: inline-flex; align-items: center; gap: 8px; color: color-mix(in srgb, var(--bg) 75%, transparent); text-decoration: none; font-size: 15px; }
.pf-contact-links a:hover { color: var(--bg); }
.pf-form { display: grid; gap: 16px; padding: 30px; border-radius: 20px; background: var(--surface); color: var(--text); box-shadow: 0 30px 80px -30px rgb(0 0 0 / 60%); }
.pf-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pf-field { display: grid; gap: 7px; font-size: 13.5px; font-weight: 550; }
.pf-field input, .pf-field textarea {
    width: 100%; padding: 12px 14px; border-radius: 11px; border: 1px solid var(--border-strong); background: var(--bg); color: var(--text);
    font: inherit; font-size: 15px; font-weight: 400; outline: none; transition: border-color .15s, box-shadow .15s;
}
.pf-field input:focus, .pf-field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 16%, transparent); }
.pf-form .pf-btn-primary { justify-self: start; }
:root[data-theme="dark"] .pf-contact { background: #11131a; color: var(--text); }
:root[data-theme="dark"] .pf-contact .pf-lead, :root[data-theme="dark"] .pf-contact-links a { color: var(--muted); }
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .pf-contact { background: #11131a; color: var(--text); }
    :root:not([data-theme="light"]) .pf-contact .pf-lead, :root:not([data-theme="light"]) .pf-contact-links a { color: var(--muted); }
}

/* Alt bilgi */
.pf-footer { padding: 56px 0 40px; border-top: 1px solid var(--border); }
.pf-footer-top { display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 32px; align-items: start; }
.pf-footer-name { font-size: 20px; font-weight: 640; letter-spacing: -0.03em; margin: 0 0 4px; }
.pf-footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.pf-footer-links a, .pf-footer-bottom a { color: var(--muted); text-decoration: none; font-size: 14.5px; }
.pf-footer-links a:hover, .pf-footer-bottom a:hover { color: var(--text); }
.pf-footer-social { display: flex; gap: 6px; }
.pf-footer-social a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--border); color: var(--muted); }
.pf-footer-social a:hover { color: var(--text); border-color: var(--border-strong); }
.pf-footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--border); color: var(--muted); font-size: 13.5px; }
.pf-footer-bottom a { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; }

/* Proje sayfası */
.pf-project-head { padding-top: 40px; padding-bottom: 48px; }
.pf-back { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); text-decoration: none; font-size: 14px; margin-bottom: 40px; }
.pf-back:hover { color: var(--text); }
.pf-project-head .pf-display { margin-top: 14px; }
.pf-project-head .pf-lead { margin-top: 22px; }
.pf-meta { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 48px 0 0; border-top: 1px solid var(--border); }
.pf-meta div { padding: 20px 20px 0 0; }
.pf-meta div + div { padding-left: 20px; border-left: 1px solid var(--border); }
.pf-meta dt { font-family: var(--mono); font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.pf-meta dd { margin: 0; font-weight: 560; }
.pf-project-gallery { border-radius: 20px; }
.pf-project-body { padding: 96px 32px 40px; }
.pf-next { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding-top: 40px; padding-bottom: 96px; }
.pf-next a { display: grid; gap: 8px; padding: 26px 28px; border-radius: 18px; border: 1px solid var(--border); text-decoration: none; color: inherit; transition: border-color .2s, transform .2s; }
.pf-next a:hover { border-color: var(--text); transform: translateY(-2px); }
.pf-next a.next { text-align: right; }
.pf-next b { font-size: 22px; letter-spacing: -0.03em; font-weight: 620; }
.pf-page-head { padding-top: 88px; padding-bottom: 48px; }
.pf-count { font-family: var(--mono); font-size: .4em; font-weight: 500; color: var(--accent); vertical-align: super; letter-spacing: 0; }

/* Görünür olunca yumuşak giriş */
.pub .reveal { transition-duration: .7s; }

@media (max-width: 1100px) {
    .pf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pf-caps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pf-cap:nth-child(3) { border-left: 0; }
    .pf-cap:nth-child(n+3) { border-top: 1px solid var(--border); }
    .pf-toolbox-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
    .pub .container { padding-left: 20px; padding-right: 20px; }
    .pub .brand-role { display: none; }
    .header-cv { display: none !important; }
    .pf-hero { padding: 56px 0 40px; }
    .pf-hero-grid, .pf-case, .pf-split, .pf-contact-grid, .pf-footer-top { grid-template-columns: 1fr; }
    .pf-now { justify-self: start; min-width: 0; width: 100%; }
    .pf-case { gap: 28px; }
    .pf-case.flip .pf-case-media { order: 0; }
    .pf-cases { gap: 72px; }
                .pf-section { padding: 80px 0; }
    .pf-split > header, .pf-split > aside { position: static; }
    .pf-split { gap: 32px; }
    .pf-timeline li { grid-template-columns: 1fr; gap: 8px; }
    .pf-grid-2, .pf-meta { grid-template-columns: 1fr 1fr; }
    .pf-meta div:nth-child(3) { padding-left: 0; border-left: 0; }
    .pf-project-body { padding: 64px 20px 24px; }
}
@media (max-width: 600px) {
    .pf-grid, .pf-grid-2, .pf-caps, .pf-toolbox-grid, .pf-field-row, .pf-next { grid-template-columns: 1fr; }
    .pf-cap + .pf-cap { border-left: 0; border-top: 1px solid var(--border); }
    .pf-display { font-size: 42px; }
    .pf-lead { font-size: 16.5px; }
    .pf-form { padding: 20px; }
    .pf-next a.next { text-align: left; }
}

/* Logo gibi oranı farklı görseller kırpılmadan ortalanır (site.js "fit" ekler). */
.pf-card-media img.fit, .pf-frame img.fit { object-fit: contain; object-position: center; padding: 8% 10%; background: #f6f7fa; }
