/* =========================================================
   Uğur Becerikli: "Edebi klasik" tasarım sistemi
   Krem kâğıt zemin, mürekkep metin, bordo vurgu, serif başlıklar
   ========================================================= */
:root {
  --paper: #f7f2e8;
  --paper-2: #efe7d6;
  --paper-3: #e6dcc6;
  --ink: #1e1a15;
  --ink-2: #3b342b;
  --muted: #6e6457;
  --line: rgba(30, 26, 21, 0.12);
  --accent: #7b2d26;        /* bordo */
  --accent-2: #9a3b31;
  --gold: #b08d57;
  --night: #17130f;         /* koyu bölümler */
  --night-2: #221c16;

  --f-display: 'Cormorant Garamond', 'Times New Roman', serif;
  --f-read: 'Source Serif 4', Georgia, serif;
  --f-ui: 'Inter', system-ui, -apple-system, sans-serif;

  --r-lg: 2rem;
  --r-md: 1.25rem;
  --r-sm: 0.75rem;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --shadow-book: 0 1px 1px rgba(0,0,0,.08), 0 10px 20px -8px rgba(40,25,10,.35), 0 30px 40px -24px rgba(40,25,10,.35);
  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-ui);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: lining-nums;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* Kâğıt dokusu */
body::before {
  content: '';
  position: fixed; inset: 0;
  pointer-events: none; z-index: 100;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 1.5rem; }
@media (max-width: 640px) { .wrap { padding: 0 1rem; } }

.skip { position: absolute; left: -999px; top: 0; }
.skip:focus { left: 1rem; top: 1rem; z-index: 200; background: var(--ink); color: var(--paper); padding: .5rem 1rem; border-radius: 999px; }

/* ---------- tipografi ---------- */
.eyebrow {
  font-family: var(--f-ui);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex; align-items: center; gap: .6rem;
}
.eyebrow::before { content: ''; width: 28px; height: 1px; background: currentColor; }
.h-display {
  font-family: var(--f-display);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.01em;
  margin: 0;
}
.h-section {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  line-height: 1.05;
  margin: .6rem 0 0;
}
.h-section em { font-style: italic; color: var(--accent); }
.lead { font-family: var(--f-read); font-size: 1.15rem; color: var(--ink-2); line-height: 1.7; }
.muted { color: var(--muted); }

/* ---------- butonlar ---------- */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .9rem 1.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: .95rem; font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: transform .35s var(--ease), background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--ink); color: var(--paper); isolation: isolate; }
.btn-primary::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: var(--accent);
  transform: translateY(101%);
  transition: transform .45s var(--ease);
}
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-light { background: var(--paper); color: var(--ink); }
@media (hover: hover) {
  .btn:hover { transform: scale(1.03); }
  .btn-primary:hover::before { transform: translateY(0); }
  .btn-ghost:hover { border-color: var(--ink); }
  .btn-light:hover { background: #fff; }
}

/* ---------- navbar ---------- */
.nav {
  position: fixed; top: 1rem; left: 50%; transform: translateX(-50%);
  z-index: 50;
  width: min(calc(100% - 2rem), 1100px);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .6rem .6rem .6rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background-color .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease), backdrop-filter .4s;
}
.nav.is-scrolled, .nav.is-solid, .nav.is-open {
  background: rgba(247, 242, 232, 0.82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-color: var(--line);
  box-shadow: 0 10px 30px -18px rgba(40, 25, 10, .35);
}
.nav-brand {
  font-family: var(--f-display); font-size: 1.45rem; font-weight: 600;
  text-decoration: none; letter-spacing: .01em; white-space: nowrap;
}
.nav-links { display: flex; align-items: center; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: inline-block; padding: .55rem .9rem; border-radius: 999px;
  font-size: .9rem; text-decoration: none; color: var(--ink-2);
  transition: background-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
@media (hover: hover) { .nav-links a:hover { background: var(--paper-2); color: var(--ink); transform: translateY(-1px); } }
.nav-links .btn { padding: .6rem 1.1rem; color: var(--paper); }
.nav-toggle { display: none; background: none; border: 0; padding: .5rem; cursor: pointer; color: var(--ink); }
@media (max-width: 820px) {
  .nav { flex-wrap: wrap; border-radius: 1.6rem; }
  .nav-toggle { display: inline-flex; }
  .nav-links {
    display: none; width: 100%; flex-direction: column; align-items: stretch;
    padding: .5rem 0 .4rem; gap: .1rem;
  }
  .nav.is-open .nav-links { display: flex; }
  .nav-links a { padding: .8rem 1rem; font-size: 1rem; }
  .nav-links .btn { justify-content: center; margin-top: .4rem; }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: min(100svh, 980px);
  display: flex; align-items: center;
  padding: 8rem 0 5rem;
  background:
    radial-gradient(1200px 600px at 85% 20%, rgba(176, 141, 87, .18), transparent 60%),
    radial-gradient(900px 500px at 0% 100%, rgba(123, 45, 38, .08), transparent 60%),
    var(--paper);
}
.hero-grid {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; align-items: center;
}
.hero-title { font-size: clamp(3.4rem, 8.5vw, 7.4rem); margin-top: 1.2rem; }
.hero-title span { display: block; }
.hero-title .it { font-style: italic; color: var(--accent); }
.hero-intro { display: flex; align-items: center; gap: 1.4rem; max-width: 38rem; margin: 1.6rem 0 2.2rem; }
.hero-sub { margin: 0; }
.hero-avatar {
  flex: none; width: 104px; height: 104px; border-radius: 50%;
  object-fit: cover; object-position: 50% 20%;
  border: 3px solid var(--paper); box-shadow: 0 0 0 1px var(--gold), 0 14px 30px -14px rgba(40,25,10,.45);
  filter: saturate(.85) contrast(1.02);
}
@media (max-width: 560px) {
  .hero-intro { gap: 1rem; align-items: flex-start; }
  .hero-avatar { width: 72px; height: 72px; margin-top: .3rem; }
}
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero-meta {
  display: flex; flex-wrap: wrap; gap: 2rem; margin-top: 3rem; padding-top: 1.6rem;
  border-top: 1px solid var(--line);
}
.hero-meta b { display: block; font-family: var(--f-display); font-size: 2.2rem; font-weight: 600; line-height: 1; }
.hero-meta span { font-size: .8rem; color: var(--muted); letter-spacing: .04em; }

.stack {
  position: relative; height: clamp(360px, 46vw, 560px);
  perspective: 1600px;
}
.stack-book {
  position: absolute; top: 50%; left: 50%;
  width: clamp(170px, 20vw, 260px);
  aspect-ratio: 2 / 3;
  border: 0; padding: 0; background: var(--paper-3);
  border-radius: 4px 10px 10px 4px;
  box-shadow: var(--shadow-book);
  cursor: pointer; overflow: hidden;
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.stack-book img { width: 100%; height: 100%; object-fit: cover; }
.stack-book::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.28) 0, rgba(255,255,255,.18) 3%, rgba(0,0,0,0) 7%, rgba(0,0,0,0) 94%, rgba(0,0,0,.12) 100%);
}
.stack-book:nth-child(1) { transform: translate(-115%, -46%) rotate(-9deg); z-index: 1; }
.stack-book:nth-child(2) { transform: translate(-15%, -54%) rotate(7deg); z-index: 2; }
.stack-book:nth-child(3) { transform: translate(-62%, -48%) rotate(-1deg) translateZ(40px); z-index: 3; }
@media (hover: hover) {
  .stack-book:hover { box-shadow: 0 40px 60px -20px rgba(40,25,10,.5); z-index: 5; }
  .stack-book:nth-child(1):hover { transform: translate(-118%, -52%) rotate(-11deg) scale(1.04); }
  .stack-book:nth-child(2):hover { transform: translate(-12%, -60%) rotate(9deg) scale(1.04); }
  .stack-book:nth-child(3):hover { transform: translate(-62%, -54%) rotate(0deg) scale(1.04); }
}
.stack-note {
  position: absolute; bottom: 0; right: 0;
  font-family: var(--f-display); font-style: italic; font-size: 1.05rem; color: var(--muted);
}
@media (max-width: 900px) {
  .hero { padding-top: 7rem; min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .stack { height: 340px; order: -1; }
  .stack-book { width: 150px; }
  .stack-note { display: none; }
}

/* ---------- bölümler ---------- */
.section { padding: clamp(5rem, 10vw, 8rem) 0; position: relative; }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1.5rem; margin-bottom: 3rem; }
.section-head p { max-width: 30rem; margin: 0; }
.alt { background: var(--paper-2); }
.dark { background: var(--night); color: #efe6d6; }
.dark .eyebrow { color: var(--gold); }
.dark .muted { color: #b3a690; }

/* ---------- son kitap vitrini ---------- */
.spotlight {
  display: grid; grid-template-columns: minmax(220px, 360px) 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center;
}
.spotlight-cover {
  position: relative; border-radius: 4px 12px 12px 4px; overflow: hidden;
  box-shadow: 0 50px 80px -30px rgba(0,0,0,.7);
  aspect-ratio: 2 / 3; background: var(--night-2);
}
.spotlight-cover img { width: 100%; height: 100%; object-fit: cover; }
.spotlight-cover::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.35) 0, rgba(255,255,255,.15) 2.5%, transparent 7%);
}
.spotlight h3 { font-family: var(--f-display); font-weight: 500; font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 1; margin: 1rem 0 .6rem; }
.spotlight .note { font-size: .9rem; color: var(--gold); letter-spacing: .02em; margin: 0 0 1.4rem; }
.spotlight .desc { font-family: var(--f-read); font-size: 1.12rem; line-height: 1.75; color: #d9cfbd; max-width: 38rem; }
.spotlight .desc p { margin: 0 0 1rem; }
.spotlight-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.dark .btn-ghost { color: #efe6d6; border-color: rgba(239,230,214,.25); }
@media (hover: hover) { .dark .btn-ghost:hover { border-color: #efe6d6; } }
@media (max-width: 760px) {
  .spotlight { grid-template-columns: 1fr; }
  .spotlight-cover { max-width: 240px; }
}

/* ---------- kitaplık ---------- */
.lib-tools {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
  margin-bottom: 2.5rem;
}
.tabs { display: flex; flex-wrap: wrap; gap: .4rem; }
.tab {
  border: 1px solid var(--line); background: transparent; color: var(--ink-2);
  padding: .55rem 1rem; border-radius: 999px; cursor: pointer; font-size: .88rem;
  transition: all .3s var(--ease);
}
.tab .count { color: var(--muted); font-size: .78rem; margin-left: .3rem; }
.tab[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.tab[aria-pressed="true"] .count { color: rgba(247,242,232,.6); }
@media (hover: hover) { .tab:hover { border-color: var(--ink); transform: translateY(-1px); } }
.search {
  display: flex; align-items: center; gap: .5rem;
  border: 1px solid var(--line); border-radius: 999px; padding: .5rem 1rem;
  background: rgba(255,255,255,.4); min-width: 240px;
}
.search svg { width: 18px; height: 18px; color: var(--muted); flex: none; }
.search input { border: 0; background: transparent; outline: none; font: inherit; font-size: .92rem; width: 100%; color: var(--ink); }
@media (max-width: 640px) {
  .search { min-width: 0; width: 100%; }
  .tabs { flex-wrap: nowrap; overflow-x: auto; width: 100%; padding-bottom: .3rem; scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { flex: none; }
}

.shelf {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 3rem 2rem;
}
@media (max-width: 640px) { .shelf { grid-template-columns: repeat(2, 1fr); gap: 2rem 1rem; } }
.book {
  border: 0; background: none; padding: 0; text-align: left; cursor: pointer; color: inherit;
  display: flex; flex-direction: column; gap: .9rem;
}
.book-cover {
  position: relative; aspect-ratio: 2 / 3; width: 100%;
  border-radius: 3px 9px 9px 3px; overflow: hidden;
  background: var(--paper-3);
  box-shadow: var(--shadow-book);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.book-cover img { width: 100%; height: 100%; object-fit: cover; }
.book-cover::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.25) 0, rgba(255,255,255,.2) 3%, transparent 8%, transparent 95%, rgba(0,0,0,.1) 100%);
}
@media (hover: hover) {
  .book:hover .book-cover { transform: translateY(-8px) rotate(-1.2deg); box-shadow: 0 30px 40px -18px rgba(40,25,10,.5); }
}
.book-title { font-family: var(--f-display); font-size: 1.3rem; font-weight: 600; line-height: 1.15; }
.book-tag { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.shelf-empty { grid-column: 1 / -1; text-align: center; padding: 3rem 0; color: var(--muted); font-family: var(--f-read); font-style: italic; }

/* yükleniyor iskeleti */
.skel { background: linear-gradient(100deg, var(--paper-2) 30%, var(--paper-3) 50%, var(--paper-2) 70%); background-size: 300% 100%; animation: shimmer 1.6s linear infinite; border-radius: 6px; }
.dark .skel { background: linear-gradient(100deg, var(--night-2) 30%, #2d251d 50%, var(--night-2) 70%); background-size: 300% 100%; }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }

/* ---------- kitap penceresi ---------- */
dialog.modal {
  border: 0; padding: 0; margin: auto;
  width: min(960px, calc(100% - 2rem)); max-height: calc(100svh - 2rem);
  border-radius: var(--r-lg);
  background: var(--paper); color: var(--ink);
  box-shadow: 0 60px 120px -30px rgba(0,0,0,.6);
  overflow: hidden;
}
dialog.modal::backdrop { background: rgba(23, 19, 15, .6); backdrop-filter: blur(6px); }
dialog.modal[open] { animation: pop .45s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(18px) scale(.98); } }
.modal-body { display: grid; grid-template-columns: 320px 1fr; max-height: calc(100svh - 2rem); }
.modal-side { background: var(--paper-2); padding: 2.5rem; display: flex; align-items: center; justify-content: center; }
.modal-side .book-cover { max-width: 240px; }
.modal-main { padding: 3rem 2.6rem 2.6rem; overflow-y: auto; }
.modal-main h3 { font-family: var(--f-display); font-weight: 500; font-size: clamp(2.2rem, 4vw, 3.2rem); line-height: 1.02; margin: .8rem 0 .4rem; }
.modal-main .note { color: var(--muted); font-size: .9rem; margin: 0 0 1.4rem; }
.modal-main .desc { font-family: var(--f-read); font-size: 1.06rem; line-height: 1.75; color: var(--ink-2); }
.modal-main .desc p { margin: 0 0 1rem; }
.modal-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.8rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.modal-close {
  position: absolute; top: 1rem; right: 1rem; z-index: 2;
  width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line);
  background: rgba(247,242,232,.9); cursor: pointer; display: grid; place-items: center; color: var(--ink);
  transition: transform .3s var(--ease);
}
@media (hover: hover) { .modal-close:hover { transform: rotate(90deg); } }
@media (max-width: 720px) {
  .modal-body { grid-template-columns: 1fr; overflow-y: auto; }
  .modal-side { padding: 2rem 2rem 1.5rem; }
  .modal-side .book-cover { max-width: 170px; }
  .modal-main { padding: 1.5rem 1.4rem 2rem; overflow: visible; }
}

/* ---------- hakkında ---------- */
.about { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2.5rem, 6vw, 5.5rem); align-items: start; }
.portrait { position: relative; }
.portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; border-radius: var(--r-lg); filter: saturate(.85) contrast(1.02); }
.portrait figcaption {
  position: absolute; left: 1.2rem; bottom: 1.2rem;
  background: rgba(247,242,232,.92); backdrop-filter: blur(8px);
  padding: .7rem 1.1rem; border-radius: 999px; font-size: .82rem; color: var(--ink-2);
}
.about-text p { font-family: var(--f-read); font-size: 1.1rem; line-height: 1.8; color: var(--ink-2); margin: 0 0 1.2rem; }
.about-text .first::first-letter {
  font-family: var(--f-display); float: left; font-size: 4.6rem; line-height: .8; padding: .35rem .6rem 0 0; color: var(--accent);
}
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 2.4rem 0; }
.stat { border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.2rem 1.3rem; background: rgba(255,255,255,.35); }
.stat b { display: block; font-family: var(--f-display); font-size: 2.6rem; font-weight: 600; line-height: 1; color: var(--accent); }
.stat span { font-size: .82rem; color: var(--muted); }
.timeline { list-style: none; margin: 2rem 0 0; padding: 0; border-left: 1px solid var(--line); }
.timeline li { position: relative; padding: 0 0 1.3rem 1.6rem; }
.timeline li::before { content: ''; position: absolute; left: -5px; top: .55rem; width: 9px; height: 9px; border-radius: 50%; background: var(--paper); border: 2px solid var(--accent); }
.timeline b { font-family: var(--f-display); font-size: 1.25rem; font-weight: 600; margin-right: .5rem; }
.timeline span { color: var(--ink-2); }
@media (max-width: 860px) {
  .about { grid-template-columns: 1fr; }
  .portrait { max-width: 420px; }
  .stats { grid-template-columns: repeat(3, 1fr); gap: .6rem; }
  .stat { padding: 1rem; }
  .stat b { font-size: 2rem; }
}

/* ---------- haberler ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
@media (max-width: 960px) { .news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .news-grid { grid-template-columns: 1fr; } }
.news {
  display: flex; flex-direction: column;
  text-decoration: none; color: inherit;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md);
  overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.alt .news { background: rgba(255,255,255,.5); }
.news-img { aspect-ratio: 16 / 10; background: var(--paper-3); overflow: hidden; }
.news-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.news-body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: .7rem; flex: 1; }
.news-meta { display: flex; align-items: center; justify-content: space-between; gap: .5rem; font-size: .78rem; color: var(--muted); }
.news-src { display: inline-flex; align-items: center; gap: .3rem; color: var(--accent); font-weight: 600; letter-spacing: .03em; }
.news-src svg { width: 14px; height: 14px; }
.news h3 { font-family: var(--f-display); font-size: 1.45rem; font-weight: 600; line-height: 1.15; margin: 0; }
@media (hover: hover) {
  .news:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -24px rgba(40,25,10,.4); border-color: rgba(30,26,21,.22); }
  .news:hover .news-img img { transform: scale(1.04); }
}
.news-more { display: flex; justify-content: center; margin-top: 3rem; }

/* ---------- satın alma ---------- */
.buy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
@media (max-width: 860px) { .buy-grid { grid-template-columns: 1fr; } }
.buy {
  display: flex; flex-direction: column; gap: .6rem;
  padding: 1.8rem; border-radius: var(--r-md);
  border: 1px solid rgba(239,230,214,.14); background: var(--night-2);
  text-decoration: none; color: inherit;
  transition: transform .4s var(--ease), border-color .4s var(--ease), background-color .4s var(--ease);
}
.buy svg { width: 26px; height: 26px; color: var(--gold); }
.buy h3 { font-family: var(--f-display); font-size: 1.7rem; font-weight: 600; margin: .4rem 0 0; }
.buy p { margin: 0; color: #b3a690; font-size: .92rem; }
.buy .go { margin-top: auto; padding-top: .8rem; display: inline-flex; align-items: center; gap: .4rem; font-size: .88rem; color: #efe6d6; }
.buy .go svg { width: 16px; height: 16px; color: inherit; transition: transform .3s var(--ease); }
@media (hover: hover) {
  .buy:hover { transform: translateY(-4px); border-color: rgba(176,141,87,.6); background: #2a221a; }
  .buy:hover .go svg { transform: translate(3px, -3px); }
}

/* ---------- footer ---------- */
.footer { background: var(--night); color: #b3a690; padding: 4rem 0 2.5rem; border-top: 1px solid rgba(239,230,214,.08); }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2rem; align-items: end; }
.footer .brand { font-family: var(--f-display); font-size: 2.4rem; color: #efe6d6; line-height: 1; }
.footer nav { display: flex; flex-wrap: wrap; gap: 1.4rem; }
.footer a { text-decoration: none; transition: color .3s; }
@media (hover: hover) { .footer a:hover { color: #efe6d6; } }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(239,230,214,.08); font-size: .82rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; }

/* ---------- sosyal medya ---------- */
.social { display: flex; flex-wrap: wrap; gap: .6rem; }
.social a {
  width: 44px; height: 44px; border-radius: 999px; display: grid; place-items: center;
  border: 1px solid rgba(239,230,214,.18); color: #efe6d6;
  transition: transform .3s var(--ease), background-color .3s var(--ease), border-color .3s var(--ease);
}
.social svg { width: 19px; height: 19px; }
@media (hover: hover) { .social a:hover { transform: translateY(-2px); background: var(--accent); border-color: var(--accent); } }
.follow { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem; margin-top: 1.6rem; }
.follow .muted { font-size: .85rem; margin-right: .3rem; }
.social-light a { color: var(--ink); border-color: var(--line); background: rgba(255,255,255,.35); }
@media (hover: hover) { .social-light a:hover { color: #fff; } }

/* ---------- arşiv ve okuma sayfaları ---------- */
.page-head { padding: 9rem 0 3rem; }
.page-head .h-display { font-size: clamp(3rem, 7vw, 5.6rem); margin-top: 1rem; }
.page-head p { max-width: 36rem; }
.pager { display: flex; align-items: center; justify-content: center; gap: .5rem; margin-top: 3.5rem; flex-wrap: wrap; }
.pager button {
  min-width: 44px; height: 44px; padding: 0 .9rem; border-radius: 999px;
  border: 1px solid var(--line); background: transparent; cursor: pointer; color: var(--ink-2);
  transition: all .3s var(--ease);
}
.pager button[aria-current="page"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.pager button:disabled { opacity: .35; cursor: default; }
@media (hover: hover) { .pager button:not(:disabled):hover { border-color: var(--ink); } }
.pager .gap { color: var(--muted); padding: 0 .2rem; }
.result-info { color: var(--muted); font-size: .9rem; margin: 0 0 1.6rem; min-height: 1.4em; }

.article { max-width: 720px; margin: 0 auto; padding: 9rem 1.5rem 4rem; }
.article .back { display: flex; width: fit-content; align-items: center; gap: .4rem; font-size: .9rem; color: var(--muted); text-decoration: none; margin-bottom: 2rem; }
.article .back svg { width: 16px; height: 16px; }
.article h1 { font-family: var(--f-display); font-weight: 500; font-size: clamp(2.4rem, 6vw, 4rem); line-height: 1.04; margin: 1rem 0; }
.article .date { color: var(--muted); font-size: .9rem; }
.article .hero-img { margin: 2.4rem 0; border-radius: var(--r-md); overflow: hidden; }
.prose { font-family: var(--f-read); font-size: 1.15rem; line-height: 1.85; color: var(--ink-2); }
.prose p { margin: 0 0 1.4rem; }
.prose h2, .prose h3, .prose h4 { font-family: var(--f-display); color: var(--ink); line-height: 1.15; margin: 2.4rem 0 1rem; }
.prose h2 { font-size: 2rem; } .prose h3 { font-size: 1.6rem; }
.prose a { color: var(--accent); text-underline-offset: 3px; }
.prose img { border-radius: var(--r-sm); margin: 2rem auto; height: auto; width: auto; max-height: 560px; box-shadow: var(--shadow-book); }
.prose figure { margin: 2rem 0; }
.prose figcaption { font-family: var(--f-ui); font-size: .85rem; color: var(--muted); text-align: center; margin-top: -1.2rem; }
.prose blockquote { margin: 2rem 0; padding: .4rem 0 .4rem 1.4rem; border-left: 3px solid var(--accent); font-style: italic; }
.share { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line); }

.error-box { text-align: center; padding: 3rem 1rem; color: var(--muted); font-family: var(--f-read); }
.error-box p { margin: 0 0 1rem; }

/* ---------- belirme animasyonu ---------- */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------- WordPress uyumu ---------- */
/* Yazar giriş yapmışken üstteki yönetici çubuğu menüyü örtmesin */
.admin-bar .nav { top: calc(32px + 1rem); }
@media (max-width: 782px) { .admin-bar .nav { top: calc(46px + 1rem); } }
/* Haber yazılarındaki WordPress düğmesi ("BURADAN OKUYUN") site butonu gibi görünsün */
.prose .wp-block-buttons { display: flex; flex-wrap: wrap; gap: .8rem; margin: 2rem 0; }
.prose .wp-block-button__link {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .95rem 1.6rem; border-radius: 999px;
  background: var(--ink); color: var(--paper); text-decoration: none;
  font-family: var(--f-ui); font-size: .95rem; font-weight: 500; letter-spacing: .02em;
  transition: background-color .35s var(--ease), transform .35s var(--ease);
}
@media (hover: hover) { .prose .wp-block-button__link:hover { background: var(--accent); transform: scale(1.03); } }
.prose .wp-block-image img, .prose .wp-post-image { margin-left: auto; margin-right: auto; }
.prose .aligncenter { text-align: center; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
