/* Hüseyin Kaytan — modern & minimal */

:root {
  --ink: #16161a;
  --ink-soft: #55555e;
  --ink-faint: #9a9aa3;
  --paper: #fdfdfc;
  --paper-alt: #f4f4f1;
  --line: #e6e6e2;
  --accent: #16161a;
  --serif: "Spectral", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 720px; margin: 0 auto; padding: 0 24px; }
.wrap-wide { max-width: 980px; margin: 0 auto; padding: 0 24px; }

a { color: inherit; text-decoration: none; }

/* ---------- Üst menü ---------- */

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(253,253,252,.92);
  backdrop-filter: blur(8px);
  position: sticky; top: 0; z-index: 50;
}
.site-header .inner {
  max-width: 980px; margin: 0 auto; padding: 20px 24px;
  display: flex; align-items: baseline; justify-content: space-between;
  flex-wrap: wrap; gap: 12px 24px;
}
.brand { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; letter-spacing: .01em; }
.brand span { color: var(--ink-faint); font-weight: 300; margin-left: .5em; font-size: .8em; }

nav.main-nav { display: flex; gap: 26px; font-size: .92rem; }
nav.main-nav a {
  color: var(--ink-soft); padding-bottom: 2px;
  border-bottom: 1px solid transparent; transition: color .15s, border-color .15s;
}
nav.main-nav a:hover { color: var(--ink); }
nav.main-nav a.active { color: var(--ink); border-color: var(--ink); }

/* ---------- Kahraman alanı ---------- */

.hero { padding: 110px 0 90px; text-align: center; }
.hero h1 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(1.6rem, 4.5vw, 2.6rem);
  line-height: 1.35; max-width: 640px; margin: 0 auto;
}
.hero .who { margin-top: 22px; color: var(--ink-faint); font-size: .95rem; letter-spacing: .12em; text-transform: uppercase; }

/* ---------- Bölüm başlıkları ---------- */

.section { padding: 56px 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-head {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 34px;
}
.section-head h2 {
  font-family: var(--serif); font-weight: 500; font-size: 1.4rem;
}
.section-head .more { font-size: .88rem; color: var(--ink-faint); }
.section-head .more:hover { color: var(--ink); }

/* ---------- Liste kartları ---------- */

.post-list { display: flex; flex-direction: column; }
.post-item { padding: 26px 0; border-bottom: 1px solid var(--line); }
.post-item:last-child { border-bottom: none; }
.post-item .date { font-size: .82rem; color: var(--ink-faint); letter-spacing: .04em; }
.post-item h3 {
  font-family: var(--serif); font-weight: 500; font-size: 1.3rem;
  margin: 6px 0 8px; line-height: 1.4;
}
.post-item h3 a:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.post-item p.summary { color: var(--ink-soft); font-size: .96rem; }

/* ---------- Tekil sayfa ---------- */

.article { padding: 70px 0 90px; }
.article .date { font-size: .85rem; color: var(--ink-faint); letter-spacing: .05em; }
.article h1 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(1.7rem, 4vw, 2.3rem); line-height: 1.35;
  margin: 10px 0 40px;
}
.article .content { font-size: 1.05rem; }
.article .content p { margin-bottom: 1.3em; }
.article .content h2, .article .content h3 { font-family: var(--serif); font-weight: 500; margin: 1.6em 0 .6em; }
.article .content blockquote {
  border-left: 2px solid var(--ink); padding-left: 20px; margin: 1.6em 0;
  font-family: var(--serif); font-style: italic; color: var(--ink-soft);
}
.article .content img { max-width: 100%; height: auto; border-radius: 4px; }
.article .content ul, .article .content ol { margin: 0 0 1.3em 1.4em; }

/* Şiir gövdesi: satır sonları korunur, serif ve geniş satır aralığı */
.poem-body {
  font-family: var(--serif);
  font-size: 1.18rem;
  line-height: 2.05;
  white-space: normal;
}
.poem-body p { margin-bottom: 1.8em; }

.backlink { display: inline-block; margin-top: 48px; font-size: .9rem; color: var(--ink-faint); }
.backlink:hover { color: var(--ink); }

/* ---------- Video ---------- */

.video-frame {
  position: relative; width: 100%; aspect-ratio: 16 / 9;
  background: #000; border-radius: 6px; overflow: hidden; margin: 1.4em 0;
}
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 40px 32px; }
.video-card h3 { font-family: var(--serif); font-weight: 500; font-size: 1.08rem; margin-top: 2px; line-height: 1.45; }
.video-card .date { font-size: .8rem; color: var(--ink-faint); }
.video-card .video-frame { margin: 0 0 12px; }
.video-card p.summary { color: var(--ink-soft); font-size: .92rem; margin-top: 6px; }

/* ---------- Hakkında / İletişim ---------- */

.prose p { margin-bottom: 1.3em; }
.prose { font-size: 1.02rem; }

form.contact { margin-top: 36px; display: flex; flex-direction: column; gap: 16px; max-width: 520px; }
form.contact label { font-size: .85rem; color: var(--ink-soft); display: block; margin-bottom: 6px; }
form.contact input, form.contact textarea {
  width: 100%; padding: 12px 14px; font: inherit; font-size: .96rem;
  border: 1px solid var(--line); border-radius: 6px; background: var(--paper);
  transition: border-color .15s;
}
form.contact input:focus, form.contact textarea:focus { outline: none; border-color: var(--ink); }
form.contact textarea { min-height: 150px; resize: vertical; }

.btn {
  display: inline-block; padding: 12px 28px; font: inherit; font-size: .92rem;
  background: var(--ink); color: var(--paper); border: none; border-radius: 6px;
  cursor: pointer; transition: opacity .15s; align-self: flex-start;
}
.btn:hover { opacity: .85; }

.notice { padding: 14px 18px; border-radius: 6px; background: var(--paper-alt); border: 1px solid var(--line); font-size: .94rem; margin: 20px 0; }
.notice.ok { border-color: #b7d8b7; background: #f0f7f0; }

/* ---------- Alt bilgi ---------- */

.site-footer {
  border-top: 1px solid var(--line); margin-top: 60px;
  padding: 40px 24px 60px; text-align: center;
  color: var(--ink-faint); font-size: .85rem;
}
.site-footer .social { display: flex; justify-content: center; gap: 22px; margin-bottom: 16px; }
.site-footer .social a { color: var(--ink-soft); }
.site-footer .social a:hover { color: var(--ink); }

/* ---------- Sayfalama ---------- */

.pagination { display: flex; justify-content: space-between; margin-top: 40px; font-size: .9rem; color: var(--ink-faint); }
.pagination a { color: var(--ink-soft); }
.pagination a:hover { color: var(--ink); }

/* ---------- Mobil ---------- */

@media (max-width: 640px) {
  .hero { padding: 70px 0 60px; }
  nav.main-nav { gap: 18px; font-size: .88rem; flex-wrap: wrap; }
  .site-header .inner { padding: 16px 20px; }
}
