/* alisahinklc.com — Doç. Dr. Ali Şahin Kılıç
   Kağıt zemin, koyu yeşil vurgu; Newsreader (metin/başlık) + Archivo (etiket/menü). */
:root {
    --yesil: #1f4a3c;
    --yesil-koyu: #143328;
    --yesil-acik: #e4ece7;
    --murekkep: #1c1a17;
    --metin: #2e2b27;
    --soluk: #6b665e;
    --cizgi: #d9d3c7;
    --kagit: #f6f3ec;
    --kagit-koyu: #ede8dd;
    --beyaz: #fffdf9;
    --gutter: clamp(1.25rem, 5vw, 5rem);
    --olcu: 44rem;
    --genis: 76rem;
    --serif: "Newsreader", "Iowan Old Style", Georgia, "Times New Roman", serif;
    --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5rem; }
body {
    margin: 0;
    background: var(--kagit);
    color: var(--metin);
    font: 400 1.125rem/1.7 var(--serif);
    -webkit-font-smoothing: antialiased;
    display: flex; flex-direction: column; min-height: 100vh;
}
main { flex: 1; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--yesil); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--yesil-koyu); }
:focus-visible { outline: 2px solid var(--yesil); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; color: var(--murekkep); margin: 0; letter-spacing: -.01em; }
p { margin: 0 0 1.1em; }
.skip { position: absolute; left: -999px; top: 0; background: #fff; padding: .5rem 1rem; z-index: 100; }
.skip:focus { left: 0; }

.eyebrow, .pub-kind, .cv-heading, .foot-legal, .nav a, .brand-role, .tl-year, .pub-year, .facts dt, .contact-cols h3, .pub-tabs a, .btn {
    font-family: var(--sans);
}

/* ---------- Üst çubuk ---------- */
.top {
    position: sticky; top: 0; z-index: 20;
    background: rgba(246, 243, 236, .92);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--cizgi);
}
.top-inner {
    max-width: var(--genis); margin: 0 auto; padding: 0 var(--gutter);
    min-height: 4.5rem; display: flex; align-items: center; gap: 2rem; position: relative;
}
.brand { display: flex; align-items: baseline; gap: .6rem; text-decoration: none; color: var(--murekkep); }
.brand-name { font: 500 1.35rem/1 var(--serif); letter-spacing: -.01em; }
.brand-role { font-size: .72rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--yesil); }
.nav { margin-left: auto; display: flex; gap: 1.6rem; }
.nav a {
    font-size: .82rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase;
    color: var(--soluk); text-decoration: none; padding: .4rem 0;
    border-bottom: 2px solid transparent; transition: color .15s, border-color .15s;
}
.nav a:hover { color: var(--murekkep); }
.nav a[aria-current="page"] { color: var(--yesil); border-bottom-color: var(--yesil); }
.nav-btn { display: none; }

/* ---------- Açılış ---------- */
.hero {
    max-width: var(--genis); margin: 0 auto; padding: clamp(3rem, 8vh, 6rem) var(--gutter) clamp(2rem, 5vh, 4rem);
    display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(16rem, .75fr); gap: clamp(2rem, 6vw, 6rem); align-items: center;
}
.eyebrow { font-size: .8rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--yesil); margin: 0 0 .9rem; }
.hero-name { font-size: clamp(2.6rem, 5.6vw, 4.6rem); line-height: 1.02; font-weight: 500; }
.hero-field { font-size: clamp(1.25rem, 2vw, 1.55rem); font-style: italic; color: var(--murekkep); margin: 1.1rem 0 .25rem; }
.hero-inst { color: var(--soluk); margin: 0 0 1.6rem; }
.lead { font-size: 1.2rem; line-height: 1.62; max-width: var(--olcu); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.btn {
    display: inline-block; padding: .8rem 1.5rem; border-radius: 2px;
    background: var(--yesil); color: #fff; text-decoration: none;
    font-size: .82rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
    border: 1px solid var(--yesil); transition: background .15s, color .15s;
}
.btn:hover { background: var(--yesil-koyu); color: #fff; }
.btn-ghost { background: transparent; color: var(--yesil); }
.btn-ghost:hover { background: var(--yesil-acik); color: var(--yesil-koyu); }
.hero-portrait { margin: 0; }
.hero-portrait img, .portrait-empty {
    width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 3px;
    box-shadow: 0 30px 60px -30px rgba(28, 26, 23, .45);
}
.portrait-empty {
    background: linear-gradient(160deg, var(--yesil) 0%, var(--yesil-koyu) 100%);
    display: flex; align-items: center; justify-content: center;
}
.portrait-empty span { font: 500 clamp(4rem, 9vw, 7rem)/1 var(--serif); color: rgba(255, 255, 255, .28); letter-spacing: -.04em; }

/* ---------- Künye ---------- */
.facts { border-top: 1px solid var(--cizgi); border-bottom: 1px solid var(--cizgi); background: var(--beyaz); }
.facts dl {
    max-width: var(--genis); margin: 0 auto; padding: 1.6rem var(--gutter);
    display: grid; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); gap: 1.2rem 2rem;
}
.facts div { border-left: 2px solid var(--yesil); padding-left: 1rem; }
.facts dt { font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--soluk); margin-bottom: .2rem; }
.facts dd { margin: 0; font-size: 1.05rem; color: var(--murekkep); }

/* ---------- Bölümler ---------- */
.sec { max-width: var(--genis); margin: 0 auto; padding: clamp(3rem, 7vh, 5rem) var(--gutter); }
.sec + .sec { border-top: 1px solid var(--cizgi); }
.sec-title { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 1.8rem; }
.sec-title::after { content: ""; display: block; width: 3rem; height: 3px; background: var(--yesil); margin-top: .7rem; }
.more { display: inline-block; margin-top: 1.5rem; font-family: var(--sans); font-size: .82rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; }
.more::after { content: " →"; }

/* Kitaplar */
.books { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); gap: 2.5rem 2rem; }
.book-cover { width: 100%; aspect-ratio: 12 / 17; object-fit: cover; border-radius: 2px; box-shadow: 0 18px 36px -20px rgba(28, 26, 23, .5); margin-bottom: 1rem; }
.book-cover-type {
    background: var(--yesil); color: var(--kagit); padding: 1.4rem 1.2rem;
    display: flex; flex-direction: column; justify-content: space-between;
    border-left: 6px solid var(--yesil-koyu);
}
.book-cover-type span { font: 500 1.35rem/1.2 var(--serif); letter-spacing: -.01em; }
.book-cover-type small { font-family: var(--sans); font-size: .75rem; letter-spacing: .12em; opacity: .75; }
.book-title { font-size: 1.15rem; line-height: 1.3; }
.book-title a { color: var(--murekkep); text-decoration: none; }
.book-title a:hover { color: var(--yesil); text-decoration: underline; }
.book-meta { font-size: .95rem; color: var(--soluk); margin: .35rem 0 0; }
.book-note { font-size: .9rem; color: var(--soluk); font-style: italic; margin: .3rem 0 0; }

/* Yayın listeleri */
.pubs { list-style: none; margin: 0; padding: 0; max-width: 56rem; }
.pub { display: grid; grid-template-columns: 4.5rem 1fr; gap: 1rem; padding: 1.1rem 0; border-top: 1px solid var(--cizgi); }
.pub:last-child { border-bottom: 1px solid var(--cizgi); }
.pub-year { font-size: .85rem; font-weight: 600; color: var(--yesil); letter-spacing: .04em; padding-top: .25rem; }
.pub-kind { display: block; font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--soluk); margin-bottom: .15rem; }
.pub-title { display: block; font-size: 1.15rem; line-height: 1.35; color: var(--murekkep); }
.pub-title a { color: inherit; text-decoration: none; }
.pub-title a:hover { color: var(--yesil); text-decoration: underline; }
.pub-authors, .pub-venue, .pub-note { display: block; font-size: .95rem; color: var(--soluk); margin-top: .2rem; }
.pub-venue { font-style: italic; }
.pub-tabs { display: flex; flex-wrap: wrap; gap: .6rem; margin: 0 0 2.5rem; }
.pub-tabs a {
    font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; text-decoration: none;
    padding: .5rem .9rem; border: 1px solid var(--cizgi); border-radius: 2rem; color: var(--metin); background: var(--beyaz);
}
.pub-tabs a:hover { border-color: var(--yesil); color: var(--yesil); }
.pub-tabs a span { color: var(--soluk); margin-left: .3rem; font-weight: 500; }
.pub-group + .pub-group { margin-top: 3.5rem; }

/* ---------- İçerik sayfaları ---------- */
.doc { max-width: calc(var(--olcu) + 2 * var(--gutter)); }
.doc-wide { max-width: var(--genis); }
.page-title { font-size: clamp(2.2rem, 4.4vw, 3.4rem); line-height: 1.05; margin-bottom: 1.6rem; }
.page-title::after { content: ""; display: block; width: 3rem; height: 3px; background: var(--yesil); margin-top: .9rem; }
.doc-figure { margin: 0 0 2rem; }
.doc-figure img { border-radius: 3px; }
.rich h2 { font-size: 1.6rem; margin: 2rem 0 .8rem; }
.rich h3 { font-size: 1.25rem; margin: 1.6rem 0 .6rem; }
.rich ul, .rich ol { padding-left: 1.4rem; }
.rich img { border-radius: 3px; }
.sent { background: var(--yesil-acik); border-left: 3px solid var(--yesil); padding: 1rem 1.3rem; }

.cv-block { margin-top: 2.8rem; }
.cv-heading { font-size: .8rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--yesil); margin-bottom: 1.2rem; padding-bottom: .6rem; border-bottom: 1px solid var(--cizgi); }
.cv-dl { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 1rem 2rem; }
.cv-dl dt { font-family: var(--sans); font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--soluk); }
.cv-dl dd { margin: .15rem 0 0; color: var(--murekkep); }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { display: grid; grid-template-columns: 7rem 1fr; gap: 1rem; padding: 1rem 0; border-top: 1px solid var(--cizgi); }
.timeline li:first-child { border-top: 0; padding-top: 0; }
.tl-year { font-size: .85rem; font-weight: 600; color: var(--yesil); letter-spacing: .04em; padding-top: .3rem; }
.timeline strong { display: block; font-weight: 500; color: var(--murekkep); font-size: 1.15rem; }
.tl-inst, .tl-detail { display: block; color: var(--soluk); font-size: .98rem; }
.tl-detail { font-style: italic; }

/* ---------- İletişim ---------- */
.contact-strip { background: var(--kagit-koyu); max-width: none; }
.contact-strip > * { max-width: var(--genis); margin-left: auto; margin-right: auto; }
.contact-strip .btn { display: table; }
.contact-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 1.5rem 2.5rem; margin-bottom: 2rem; }
.contact-cols h3 { font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--soluk); margin-bottom: .3rem; }
.contact-cols p { margin: 0 0 .3em; }
.contact-form { max-width: 34rem; margin-top: 1.5rem; }
.field { display: flex; flex-direction: column; gap: .35rem; margin-bottom: 1.1rem; }
.field label { font-family: var(--sans); font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--soluk); }
.field abbr { text-decoration: none; color: var(--yesil); }
.field input, .field textarea {
    font: inherit; padding: .7rem .9rem; border: 1px solid var(--cizgi); border-radius: 2px; background: var(--beyaz); color: var(--metin);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--yesil); box-shadow: 0 0 0 3px var(--yesil-acik); }
.field textarea { min-height: 9rem; resize: vertical; }
.field-error, .form-error { color: #9b2c2c; font-size: .9rem; }
.form-note { font-size: .9rem; color: var(--soluk); margin-top: 1rem; }

/* ---------- Alt bilgi ---------- */
.foot { background: var(--yesil-koyu); color: rgba(255, 255, 255, .78); }
.foot-inner { max-width: var(--genis); margin: 0 auto; padding: 3rem var(--gutter) 2.2rem; display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.foot p { margin: 0 0 .3em; font-size: .98rem; }
.foot-name { font-size: 1.2rem; color: #fff; margin-bottom: .5rem; }
.foot a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.foot a:hover { color: #fff; text-decoration: underline; }
.foot-legal { grid-column: 1 / -1; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .5); margin-top: 1.5rem; padding-top: 1.2rem; border-top: 1px solid rgba(255, 255, 255, .15); }

/* ---------- Duyarlı ---------- */
@media (max-width: 900px) {
    .hero { grid-template-columns: 1fr; }
    .hero-portrait { order: -1; max-width: 18rem; }
}
@media (max-width: 720px) {
    .nav-btn {
        display: block; margin-left: auto; width: 2.4rem; height: 2.4rem; position: relative; cursor: pointer;
    }
    .nav-btn span, .nav-btn span::before, .nav-btn span::after {
        content: ""; position: absolute; left: .4rem; right: .4rem; height: 2px; background: var(--murekkep); transition: transform .2s, opacity .2s;
    }
    .nav-btn span { top: 50%; }
    .nav-btn span::before { top: -7px; } .nav-btn span::after { top: 7px; }
    .nav {
        display: none; position: absolute; left: 0; right: 0; top: 100%;
        background: var(--kagit); border-bottom: 1px solid var(--cizgi);
        flex-direction: column; gap: 0; padding: .5rem var(--gutter) 1rem;
    }
    .nav a { padding: .8rem 0; border-bottom: 1px solid var(--cizgi); }
    .nav a[aria-current="page"] { border-bottom-color: var(--cizgi); }
    .nav-toggle:checked ~ .nav { display: flex; }
    .nav-toggle:checked ~ .nav-btn span { background: transparent; }
    .nav-toggle:checked ~ .nav-btn span::before { transform: translateY(7px) rotate(45deg); }
    .nav-toggle:checked ~ .nav-btn span::after { transform: translateY(-7px) rotate(-45deg); }
    .brand-role { display: none; }
    .pub { grid-template-columns: 1fr; gap: .2rem; }
    .timeline li { grid-template-columns: 1fr; gap: .2rem; }
    .foot-inner { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
@media (max-width: 720px) {
    .books { grid-template-columns: repeat(2, 1fr); gap: 1.6rem 1rem; }
    .book-cover-type { padding: 1rem .9rem; }
    .book-cover-type span { font-size: 1.05rem; }
    .book-title { font-size: 1rem; }
}

/* Yayın bağlantıları + özet */
.pub-links { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .5rem; }
.pub-links a {
    font-family: var(--sans); font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
    text-decoration: none; color: var(--yesil); padding: .3rem .6rem; border: 1px solid var(--cizgi); border-radius: 2px; background: var(--beyaz);
}
.pub-links a:hover { border-color: var(--yesil); background: var(--yesil-acik); }
.pub-abstract { margin-top: .7rem; }
.pub-abstract summary { cursor: pointer; font-family: var(--sans); font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--soluk); list-style: none; }
.pub-abstract summary::-webkit-details-marker { display: none; }
.pub-abstract summary::before { content: "+ "; color: var(--yesil); }
.pub-abstract[open] summary::before { content: "− "; }
.pub-abstract p { font-size: 1rem; line-height: 1.6; color: var(--metin); margin: .5rem 0 0; max-width: 46rem; }
.book .pub-abstract p { font-size: .95rem; }
