/* ============================================================
   semihbener.com — Modern Tasarım Sistemi
   Koyu tema + kırmızı vurgu. Çok sayfalı, profesyonel.
   ============================================================ */

:root {
    --bg: #0c0c10;
    --bg-2: #121218;
    --surface: #16161e;
    --surface-2: #1c1c26;
    --border: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.16);
    --text: #ececef;
    --muted: #9a9aa6;
    --muted-2: #6f6f7b;
    --accent: #ff3141;
    --accent-2: #e01e2d;
    --accent-soft: rgba(255, 49, 65, 0.12);
    --radius: 16px;
    --radius-sm: 10px;
    --maxw: 1180px;
    --shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.6);
    --font-head: 'Plus Jakarta Sans', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5 { font-family: var(--font-head); font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; color: #fff; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section--tight { padding: 64px 0; }

/* Ambient background glow */
body::before {
    content: "";
    position: fixed; inset: 0;
    background:
        radial-gradient(60% 50% at 80% -10%, rgba(255, 49, 65, 0.14), transparent 60%),
        radial-gradient(50% 40% at 0% 0%, rgba(80, 90, 255, 0.08), transparent 60%);
    pointer-events: none; z-index: 0;
}
.page { position: relative; z-index: 1; }

/* ---------- Navbar ---------- */
.nav {
    position: sticky; top: 0; z-index: 100;
    backdrop-filter: blur(14px);
    background: rgba(12, 12, 16, 0.7);
    border-bottom: 1px solid transparent;
    transition: border-color .3s, background .3s;
}
.nav.is-scrolled { border-bottom-color: var(--border); background: rgba(12, 12, 16, 0.9); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav__brand { font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; letter-spacing: -0.02em; }
    .nav__brand.site-logo img {
        width: auto;
        height: 80px;
        max-width: 420px;
    }

.footer__brand .site-logo img {
    width: auto;
    height: 50px;
    max-width: 306px;
}
.nav__brand span { color: var(--accent); }
.nav__links { display: flex; gap: 4px; align-items: center; list-style: none; margin: 0; padding: 0; }
.nav__links a {
    display: inline-block; padding: 9px 16px; border-radius: 999px;
    font-size: .82rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
    color: var(--muted); transition: color .2s, background .2s;
}
.nav__links a:hover { color: #fff; }
.nav__links a.active { color: #fff; background: var(--accent-soft); }
.nav__cta { padding: 10px 20px !important; background: var(--accent); color: #fff !important; text-transform: none !important; letter-spacing: 0 !important; }
.nav__cta:hover { background: var(--accent-2); }
.nav__toggle { display: none; background: none; border: 0; color: #fff; font-size: 1.6rem; cursor: pointer; }

@media (max-width: 860px) {
    .nav__toggle { display: block; }
    .nav__links {
        position: fixed; inset: 72px 0 auto 0; flex-direction: column; gap: 0;
        background: var(--bg-2); border-bottom: 1px solid var(--border);
        padding: 12px 24px 24px; transform: translateY(-120%); transition: transform .3s; align-items: stretch;
    }
    .nav.is-open .nav__links { transform: translateY(0); }
    .nav__links a { padding: 14px 8px; border-radius: 10px; }
    .nav__cta { text-align: center; }
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 13px 26px; border-radius: 999px; font-weight: 600; font-size: .95rem;
    border: 1px solid transparent; cursor: pointer; transition: transform .15s, background .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-2); }
.btn--ghost { border-color: var(--border-strong); color: #fff; }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- Eyebrow / section head ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--accent); font-weight: 700; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--accent); display: inline-block; }
.section__title { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 0 0 14px; }
.section__lead { color: var(--muted); max-width: 620px; font-size: 1.05rem; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 110px 0 90px; }
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.4rem, 6vw, 4.1rem); margin: 0 0 22px; }
.hero h1 .accent { color: var(--accent); }
.hero__lead { color: var(--muted); font-size: 1.15rem; max-width: 540px; margin-bottom: 32px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__socials { display: flex; gap: 14px; margin-top: 34px; }
.hero__socials a { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--border); border-radius: 50%; color: var(--muted); transition: .2s; }
.hero__socials a:hover { color: #fff; border-color: var(--accent); background: var(--accent-soft); }
.hero__portrait { position: relative; aspect-ratio: 4/5; border-radius: 24px; overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow); background: linear-gradient(160deg, var(--surface), var(--bg-2)); }
.hero__portrait img { width: 100%; height: 100%; object-fit: cover; }
.hero__badge { position: absolute; bottom: 18px; left: 18px; right: 18px; background: rgba(12,12,16,.75); backdrop-filter: blur(8px); border: 1px solid var(--border); border-radius: 14px; padding: 14px 18px; display: flex; gap: 10px; align-items: center; }
.hero__badge b { color: #fff; }
@media (max-width: 860px) { .hero__grid { grid-template-columns: 1fr; gap: 36px; } .hero__portrait { max-width: 340px; } }

.stat-row { display: flex; gap: 40px; margin-top: 40px; flex-wrap: wrap; }
.stat b { display: block; font-family: var(--font-head); font-size: 1.9rem; color: #fff; }
.stat span { color: var(--muted); font-size: .9rem; }

/* ---------- Page header band (iç sayfalar) ---------- */
.page-head { padding: 70px 0 40px; border-bottom: 1px solid var(--border); }
.page-head h1 { font-size: clamp(2rem, 5vw, 3rem); margin: 10px 0 12px; }
.page-head p { color: var(--muted); max-width: 640px; margin: 0; }
.breadcrumb { color: var(--muted-2); font-size: .85rem; }
.breadcrumb a:hover { color: var(--accent); }

/* ---------- Cards / grid ---------- */
.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid--3, .grid--2 { grid-template-columns: 1fr; } }

.card {
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
    overflow: hidden; transition: transform .2s, border-color .2s; display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.card__media { aspect-ratio: 16/10; overflow: hidden; background: var(--bg-2); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .card__media img { transform: scale(1.05); }
.card__body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card__title { font-size: 1.15rem; margin: 0; }
.card__text { color: var(--muted); font-size: .95rem; margin: 0; }
.card__meta { color: var(--muted-2); font-size: .82rem; display: flex; gap: 14px; align-items: center; margin-top: auto; }

/* ---------- Tags / chips ---------- */
.chip { display: inline-block; padding: 5px 12px; border-radius: 999px; font-size: .74rem; font-weight: 600; background: var(--surface-2); color: var(--muted); border: 1px solid var(--border); }
.chip--accent { color: var(--accent); background: var(--accent-soft); border-color: transparent; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- Blog list ---------- */
.post-card__media { position: relative; }
.post-card__fallback { display: grid; place-items: center; height: 100%; color: var(--muted-2); font-family: var(--font-head); font-weight: 800; font-size: 2rem; }
.post-card__cat { position: absolute; top: 12px; left: 12px; }

/* ---------- Blog detail ---------- */
.article { max-width: 760px; margin: 0 auto; }
.article__head { text-align: center; padding: 20px 0 34px; }
.article__title { font-size: clamp(2rem, 5vw, 3rem); margin: 14px 0 16px; }
.article__meta { display: flex; gap: 18px; justify-content: center; color: var(--muted); font-size: .9rem; flex-wrap: wrap; }
.article__cover { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); margin: 8px 0 36px; }
.prose { font-size: 1.12rem; line-height: 1.85; color: #d8d8df; }
.prose h2 { font-size: 1.7rem; margin: 2em 0 .6em; }
.prose h3 { font-size: 1.3rem; margin: 1.6em 0 .5em; }
.prose p { margin: 0 0 1.2em; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.4em; margin: 0 0 1.2em; }
.prose li { margin: .4em 0; }
.prose img { border-radius: 12px; margin: 1.4em 0; }
.prose blockquote { margin: 1.5em 0; padding: 4px 22px; border-left: 3px solid var(--accent); color: var(--muted); font-style: italic; }
.prose pre { background: #0a0a0e; border: 1px solid var(--border); border-radius: 12px; padding: 18px; overflow-x: auto; }
.prose code { background: var(--surface-2); padding: 2px 7px; border-radius: 6px; font-size: .9em; }
.prose pre code { background: none; padding: 0; }

/* ---------- Empty state ---------- */
.empty { text-align: center; padding: 80px 20px; color: var(--muted); }
.empty i { font-size: 2.4rem; color: var(--muted-2); display: block; margin-bottom: 14px; }

/* ---------- CTA band ---------- */
.cta { background: linear-gradient(120deg, var(--surface), var(--bg-2)); border: 1px solid var(--border); border-radius: 24px; padding: 54px; text-align: center; }
.cta h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); margin: 0 0 12px; }
.cta p { color: var(--muted); margin: 0 auto 26px; max-width: 520px; }

/* ---------- Pagination ---------- */
.pager { display: flex; gap: 8px; justify-content: center; margin-top: 48px; }
.pager a, .pager span { min-width: 42px; height: 42px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--border); color: var(--muted); font-weight: 600; }
.pager a:hover { color: #fff; border-color: var(--accent); }
.pager .active { background: var(--accent); color: #fff; border-color: transparent; }

/* ---------- Timeline (about) ---------- */
.timeline { border-left: 2px solid var(--border); padding-left: 26px; display: flex; flex-direction: column; gap: 26px; }
.timeline__item { position: relative; }
.timeline__item::before { content: ""; position: absolute; left: -33px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--bg); }
.timeline__item h4 { margin: 0 0 4px; }
.timeline__item .when { color: var(--accent); font-size: .82rem; font-weight: 600; }
.timeline__item p { color: var(--muted); margin: 6px 0 0; }

/* ---------- Contact ---------- */
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .85rem; color: var(--muted); margin-bottom: 6px; }
.field input, .field textarea {
    width: 100%; background: var(--bg-2); border: 1px solid var(--border); border-radius: 12px;
    padding: 13px 16px; color: var(--text); font-family: inherit; font-size: .98rem; transition: border-color .2s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.info-row { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 20px; }
.info-row i { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: var(--accent-soft); color: var(--accent); font-size: 1.2rem; flex-shrink: 0; }
.info-row b { display: block; color: #fff; }
.info-row span { color: var(--muted); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); padding: 54px 0 34px; margin-top: 40px; }
.footer__grid { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; align-items: center; }
.footer__brand { font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; }
.footer__brand span { color: var(--accent); }
.footer__logo { display: inline-block; }
.footer__logo img { width: auto; height: 60px; max-width: 320px; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer__nav a { color: var(--muted); font-size: .92rem; transition: .2s; }
.footer__nav a:hover { color: #fff; }
.footer__socials { display: flex; gap: 12px; }
.footer__socials a { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--border); border-radius: 50%; color: var(--muted); transition: .2s; }
.footer__socials a:hover { color: #fff; border-color: var(--accent); }
.footer__copy { color: var(--muted-2); font-size: .85rem; margin-top: 26px; text-align: center; }

/* ---------- Alerts ---------- */
.alert { padding: 14px 18px; border-radius: 12px; margin-bottom: 20px; font-size: .95rem; }
.alert--ok { background: rgba(46,160,90,.14); border: 1px solid rgba(46,160,90,.4); color: #7fe0a5; }
.alert--err { background: rgba(255,49,65,.12); border: 1px solid rgba(255,49,65,.35); color: #ff8a95; }

/* =====================================================================
   HOME & GENEL GÖRSEL İYİLEŞTİRMELER (additive — mevcut kuralları ezmez)
   ===================================================================== */

/* Hero arka planına yumuşak kırmızı ışıma + ince ızgara dokusu */
.hero { overflow: hidden; }
.hero::before {
    content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background:
        radial-gradient(620px 380px at 78% 12%, rgba(255,49,65,.16), transparent 70%),
        radial-gradient(520px 360px at 8% 88%, rgba(255,49,65,.08), transparent 70%);
}
.hero::after {
    content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .5;
    background-image:
        linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
    background-size: 44px 44px;
    -webkit-mask-image: radial-gradient(circle at 50% 40%, #000 55%, transparent 100%);
            mask-image: radial-gradient(circle at 50% 40%, #000 55%, transparent 100%);
}
.hero .container { position: relative; z-index: 1; }

/* Başlıktaki vurgu kelimesi degrade */
.hero h1 .accent {
    background: linear-gradient(120deg, #ff5a6b, #ff3141 55%, #ff8a3d);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
}

/* Portre çerçevesine hafif ışıltı halkası */
.hero__portrait { box-shadow: var(--shadow), 0 0 0 1px rgba(255,49,65,.10); }
.hero__portrait::after {
    content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
    box-shadow: inset 0 0 90px rgba(255,49,65,.12);
}

/* Butonlara derinlik */
.btn--primary { box-shadow: 0 12px 26px -12px rgba(255,49,65,.7); }
.btn--primary:hover { transform: translateY(-1px); }

/* Bölüm başlıklarına kısa aksan çizgisi */
.section__title { position: relative; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; }
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--accent); display: inline-block; }

/* Kartlara hover kaldırma + kenar vurgusu */
.card { transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease; }
.card:hover { transform: translateY(-4px); border-color: var(--border-strong); box-shadow: 0 26px 50px -28px rgba(0,0,0,.85); }
.post-card__fallback {
    display: grid; place-items: center; width: 100%; height: 100%;
    font-family: var(--font-head); font-weight: 800; font-size: 2.4rem; color: #fff;
    background: linear-gradient(135deg, var(--surface-2), #241016);
}

/* Blog gövdesindeki kod kutusu mobilde taşmasın */
.prose .code-block-wrapper { max-width: 100%; }
.prose .code-block-wrapper pre { margin: 0; }
