/* ─────────────────────────────────────────────────────────────
   İskandil Yayınları — Site CSS
   Tema: Modern Editoryal — kitap kapağı paleti
   (krem kâğıt · mürekkep · kapak kırmızısı · deniz mavisi · ahşap)
───────────────────────────────────────────────────────────── */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300..900;1,9..144,300..900&family=Inter:wght@300;400;500;600;700&family=Kelly+Slab&display=swap');

/* ── Değişkenler ── */
:root {
  --paper:      #F8F0DD;
  --paper-2:    #F2E7CD;
  --paper-3:    #EADCBC;
  --ink:        #1C1914;
  --ink-soft:   #454034;
  --muted:      #6B6252;
  --red:        #D6372E;
  --red-deep:   #A8271F;
  --red-deeper: #8F2119;
  --sea-900:    #0C1F29;
  --sea-800:    #12303E;
  --sea-700:    #1A4254;
  --sea-tint:   #B9CFD7;
  --wood:       #7A4A26;
  --line:       rgba(28, 25, 20, 0.14);
  --line-light: rgba(248, 240, 221, 0.14);

  --serif:   'Fraunces', Georgia, serif;
  --sans:    'Inter', system-ui, sans-serif;
  --display: 'Kelly Slab', 'Fraunces', Georgia, serif;  /* yalnizca hero + bolum basliklari */

  --ease:   cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --shadow-cover:
    0 1px 3px rgba(28, 25, 20, 0.07),
    0 14px 34px -18px rgba(28, 25, 20, 0.20);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 16px;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

::selection { background: var(--red); color: var(--paper); }

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Kâğıt dokusu */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 2000;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ── Genel ── */
.container {
  width: min(1180px, 92%);
  margin-inline: auto;
}

section { scroll-margin-top: 88px; }

.skip-link {
  position: fixed;
  top: -60px;
  left: 1rem;
  z-index: 3000;
  background: var(--ink);
  color: var(--paper);
  padding: 0.6rem 1.2rem;
  font-size: 0.85rem;
  border-radius: 4px;
  transition: top 0.25s var(--ease);
}
.skip-link:focus { top: 1rem; }

#progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: var(--red);
  z-index: 1200;
}

/* Bölüm başlıkları */
.sec-head {
  display: flex;
  align-items: baseline;
  gap: 1.4rem;
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
}
.sec-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--red-deep);
}
.sec-title {
  font-family: var(--display);
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  font-weight: 400;
  line-height: 1.14;
  letter-spacing: 0;
  white-space: nowrap;
}
.sec-line {
  flex: 1;
  height: 1px;
  background: var(--line);
  transform: translateY(-0.35em);
}

.body-text {
  font-size: 0.98rem;
  font-weight: 380;
  color: var(--ink-soft);
  line-height: 1.85;
  max-width: 58ch;
  margin-bottom: 1.2rem;
}
.body-text em { font-family: var(--serif); font-size: 1.04em; }

/* ── Butonlar ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.95rem 1.9rem;
  border: 1px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease),
              border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.btn svg { transition: transform 0.3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-red svg { transform: none; }

.btn-red {
  background: var(--red-deep);
  color: var(--paper);
}
.btn-red:hover { background: var(--red-deeper); }

.btn-ghost {
  border-color: var(--ink);
  color: var(--ink);
  background: transparent;
}
.btn-ghost:hover {
  background: var(--ink);
  color: var(--paper);
}

.btn-sm { padding: 0.6rem 1.3rem; font-size: 0.72rem; }

/* ══════════════════════════════════════════════
   NAVİGASYON
══════════════════════════════════════════════ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1100;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease),
              border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
#navbar.scrolled {
  background: rgba(248, 240, 221, 0.88);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom-color: var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-block: 1.1rem;
  transition: padding 0.4s var(--ease);
}
#navbar.scrolled .nav-inner { padding-block: 0.7rem; }

.brand { flex-shrink: 0; }
.brand-logo {
  height: 40px;
  width: auto;
  transition: height 0.4s var(--ease);
}
#navbar.scrolled .brand-logo { height: 33px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.nav-links a {
  position: relative;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding: 0.45rem 0.85rem;
  transition: color 0.25s var(--ease);
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0.85rem; right: 0.85rem;
  bottom: 0.15rem;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--ink); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 42px;
  height: 42px;
  padding: 0 9px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
}
.hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
}
.hamburger.open span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.hamburger.open span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

/* Mobil menü */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 1050;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s var(--ease);
}
.mobile-menu.open { opacity: 1; visibility: visible; }

.mobile-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}
.mobile-links a {
  font-family: var(--serif);
  font-size: clamp(2rem, 8vw, 2.9rem);
  font-weight: 500;
  padding: 0.35rem 1rem;
  transform: translateY(16px);
  opacity: 0;
  transition: transform 0.4s var(--ease), opacity 0.4s var(--ease), color 0.25s;
}
.mobile-menu.open .mobile-links a { transform: translateY(0); opacity: 1; }
.mobile-links a:nth-child(1) { transition-delay: 0.06s; }
.mobile-links a:nth-child(2) { transition-delay: 0.11s; }
.mobile-links a:nth-child(3) { transition-delay: 0.16s; }
.mobile-links a:nth-child(4) { transition-delay: 0.21s; }
.mobile-links a:hover { color: var(--red); font-style: italic; }

.mobile-cta { margin-top: 0.5rem; }
.mobile-foot {
  position: absolute;
  bottom: 2rem;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ══════════════════════════════════════════════
   HERO
══════════════════════════════════════════════ */
#hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 7.5rem 0 4rem;
  overflow: hidden;
}

/* iskandil derinlik halkaları */
.hero-rings {
  position: absolute;
  top: -22%;
  right: -14%;
  width: 62vw;
  height: 62vw;
  min-width: 520px;
  min-height: 520px;
  background: repeating-radial-gradient(
    circle at center,
    transparent 0 72px,
    rgba(28, 25, 20, 0.055) 72px 73px
  );
  -webkit-mask-image: radial-gradient(circle at center, #000 30%, transparent 72%);
  mask-image: radial-gradient(circle at center, #000 30%, transparent 72%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--red-deep);
  margin-bottom: 1.6rem;
}
.eyebrow::before {
  content: '';
  width: 38px;
  height: 1px;
  background: var(--red);
}

.hero-title {
  font-family: var(--display);
  font-size: clamp(2.7rem, 6.4vw, 5.4rem);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.005em;
  margin-bottom: 1.4rem;
}
.hero-title em {
  /* Kelly Slab'in italigi yok; vurgu Fraunces italik kalsin (kasitli kontrast) */
  font-family: var(--serif);
  font-style: italic;
  font-weight: 480;
  font-size: 0.94em;
  color: var(--red);
}

.hero-byline {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--ink-soft);
  margin-bottom: 1.1rem;
}
.hero-byline strong { font-weight: 640; color: var(--ink); }
.sep-dot {
  width: 5px; height: 5px;
  background: var(--red);
  border-radius: 50%;
  flex-shrink: 0;
}

.hero-desc {
  font-size: 1rem;
  font-weight: 380;
  color: var(--ink-soft);
  line-height: 1.8;
  max-width: 46ch;
  margin-bottom: 2.3rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.8rem;
}

.hero-awards {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.8rem;
  color: var(--muted);
  max-width: 42ch;
  line-height: 1.6;
}
.hero-awards::before {
  content: '✳';
  color: var(--red);
  font-size: 0.9rem;
  flex-shrink: 0;
}

/* Kitap kapağı sahnesi */
.hero-book { display: flex; justify-content: center; }

.cover-stage {
  position: relative;
  /* 44svh: kısa ekranlarda kapak hero'yu taşırmasın */
  width: min(410px, 80vw, 44svh);
}

/* kırmızı ofset çerçeve */
.cover-stage::before {
  content: '';
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 2px solid var(--red);
  border-radius: 3px;
  z-index: 0;
}

.cover {
  position: relative;
  width: 100%;
  aspect-ratio: 1504 / 2257;
  container-type: inline-size;
  background: #F7EDD6;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: var(--shadow-cover);
  z-index: 1;
}
.cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
}
.cover.no-img img { display: none; }

/* Sırt payı: kapağa fiziksel kalınlık hissi verir */
.cover::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3.6%;
  min-width: 9px;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(28, 25, 20, 0.30) 0%,
    rgba(28, 25, 20, 0.10) 30%,
    rgba(255, 250, 236, 0.42) 58%,
    rgba(28, 25, 20, 0.10) 82%,
    rgba(28, 25, 20, 0.03) 100%
  );
}

.cover-stage .cover {
  transform: rotate(-2.5deg);
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
  box-shadow:
    0 2px 5px rgba(28, 25, 20, 0.10),
    0 26px 50px -26px rgba(28, 25, 20, 0.32);
}
.cover-stage:hover .cover {
  transform: rotate(0deg) translateY(-10px) scale(1.02);
  box-shadow:
    0 3px 8px rgba(28, 25, 20, 0.12),
    0 40px 66px -30px rgba(28, 25, 20, 0.38);
}

/* Kapağın üzerinden ağır ağır geçen ışık */
.cover-stage .cover::before {
  content: '';
  position: absolute;
  top: -30%;
  left: -55%;
  width: 42%;
  height: 165%;
  z-index: 4;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.55) 50%,
    transparent 100%
  );
  transform: rotate(18deg) translateX(0);
  opacity: 0;
  animation: coverSheen 7s ease-in-out infinite;
}
@keyframes coverSheen {
  0%, 58%   { transform: rotate(18deg) translateX(0);    opacity: 0; }
  63%       { opacity: 0.95; }
  93%, 100% { transform: rotate(18deg) translateX(420%); opacity: 0; }
}

/* Kapak yeniden çizimi (görsel yokken) */
.cover-art {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 12% 9% 9%;
}
.cover-frame {
  position: absolute;
  inset: 3.5%;
  border: 2.5px solid var(--red);
  pointer-events: none;
}
.cover-author {
  font-family: var(--serif);
  font-size: 0.85rem;
  font-size: clamp(0.7rem, 4.5cqw, 0.95rem);
  font-weight: 560;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 6%;
}
.cover-title {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-size: clamp(1.25rem, 8.9cqw, 1.9rem);
  font-weight: 780;
  line-height: 1.14;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.cover-illust {
  width: 68%;
  margin-top: auto;
  margin-bottom: auto;
}
.cover-logo {
  width: 42%;
  opacity: 0.92;
}

/* "Yeni Çıktı" rozeti */
.cover-badge {
  position: absolute;
  top: -26px;
  right: -30px;
  z-index: 3;
  width: 94px;
  height: 94px;
  background: var(--red);
  color: var(--paper);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.92rem;
  line-height: 1.15;
  transform: rotate(8deg);
  box-shadow: 0 10px 24px -8px rgba(214, 55, 46, 0.55);
  animation: badgeFloat 5s ease-in-out infinite;
}
@keyframes badgeFloat {
  0%, 100% { transform: rotate(8deg) translateY(0); }
  50%      { transform: rotate(5deg) translateY(-7px); }
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero-scroll-line {
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, var(--muted), transparent);
  animation: scrollPulse 2.2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.35; }
  50%      { opacity: 1; }
}

/* ══════════════════════════════════════════════
   MARQUEE
══════════════════════════════════════════════ */
.marquee {
  background: var(--red-deep);
  color: var(--paper);
  overflow: hidden;
  padding: 0.95rem 0;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 26s linear infinite;
}
.marquee-group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  padding-right: 3rem;
}
.marquee-group span {
  font-family: var(--serif);
  font-size: 1.02rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.marquee .sep {
  width: 7px; height: 7px;
  background: currentColor;
  border-radius: 1px;
  transform: rotate(45deg);
  margin-inline: 3rem;
  flex-shrink: 0;
  opacity: 0.85;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ══════════════════════════════════════════════
   KİTAP
══════════════════════════════════════════════ */
#kitap { padding: clamp(5rem, 10vw, 8rem) 0; }

.book-grid {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: start;
}

.book-side {
  position: sticky;
  top: 110px;
}
.book-side .cover { width: min(340px, 100%); }

.book-quote {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.4vw, 1.65rem);
  font-style: italic;
  font-weight: 440;
  line-height: 1.55;
  color: var(--ink);
  border-left: 3px solid var(--red);
  padding-left: 1.6rem;
  margin-bottom: 2rem;
  max-width: 34em;
}
.book-quote cite {
  display: block;
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red-deep);
  margin-top: 1rem;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1.8rem 0 2.4rem;
}
.tag {
  font-size: 0.72rem;
  font-weight: 550;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.42rem 0.95rem;
  transition: border-color 0.25s, color 0.25s;
}
.tag:hover { border-color: var(--red-deep); color: var(--red-deep); }

.book-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 2.5rem;
  margin-bottom: 2.6rem;
  max-width: 560px;
}
.detail {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  border-top: 1px solid var(--line);
  padding: 0.72rem 0.1rem;
}
.detail dt {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
}
.detail dd {
  font-family: var(--serif);
  font-size: 0.98rem;
  font-weight: 540;
  text-align: right;
}

.cta-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ══════════════════════════════════════════════
   ALINTI — koyu deniz
══════════════════════════════════════════════ */
#alinti {
  position: relative;
  background:
    radial-gradient(ellipse 90% 70% at 70% 30%, rgba(26, 66, 84, 0.55) 0%, transparent 60%),
    var(--sea-900);
  color: var(--paper);
  padding: clamp(5rem, 10vw, 7.5rem) 0;
  overflow: hidden;
}

.alinti-ship {
  position: absolute;
  right: -6%;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(280px, 34vw, 480px);
  opacity: 0.1;
  pointer-events: none;
}

.alinti-inner {
  max-width: 780px;
  position: relative;
  z-index: 1;
}
.alinti-mark {
  display: block;
  font-family: var(--serif);
  font-size: 6.5rem;
  line-height: 0.75;
  color: var(--red);
  opacity: 0.85;
  margin-bottom: 1.4rem;
}
.alinti-text {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3.4vw, 2.5rem);
  font-style: italic;
  font-weight: 380;
  line-height: 1.5;
  margin-bottom: 1.8rem;
}
.alinti-line {
  width: 56px;
  height: 1px;
  background: var(--red);
  margin-bottom: 1rem;
}
.alinti-source {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sea-tint);
}

/* ══════════════════════════════════════════════
   YAZAR
══════════════════════════════════════════════ */
#yazar { padding: clamp(5rem, 10vw, 8rem) 0; }

.author-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}

.author-visual {
  position: relative;
  width: min(400px, 100%);
}
.portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 3px;
  background: linear-gradient(155deg, var(--sea-700) 0%, var(--sea-800) 55%, var(--sea-900) 100%);
  box-shadow: var(--shadow-cover);
  z-index: 1;
}
.portrait img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
}
.portrait.no-photo img { display: none; }

.portrait-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  z-index: 1;
}
.portrait-mono {
  font-family: var(--serif);
  font-style: italic;
  font-size: 5.2rem;
  font-weight: 380;
  color: var(--paper);
  opacity: 0.9;
  line-height: 1;
}
.portrait-name {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--paper);
  margin-top: 0.8rem;
}
.portrait-role {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--sea-tint);
}
.portrait-frame {
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 2px solid var(--red);
  border-radius: 3px;
  z-index: 0;
}

.author-name {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 1.1rem;
}
.author-lead {
  font-family: var(--serif);
  font-size: 1.28rem;
  font-style: italic;
  font-weight: 420;
  color: var(--ink-soft);
  line-height: 1.6;
  margin-bottom: 1.4rem;
  max-width: 32em;
}

.awards {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-top: 2.2rem;
}
.award {
  flex: 1;
  min-width: 200px;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1.4rem 1.5rem 1.3rem;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.award::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 40px;
  height: 3px;
  background: var(--red);
}
.award:hover { border-color: var(--red); transform: translateY(-3px); }
.award-year {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-size: 2.3rem;
  font-weight: 480;
  color: var(--red);
  line-height: 1;
  margin-bottom: 0.6rem;
}
.award-name {
  font-size: 0.82rem;
  font-weight: 550;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.5;
  color: var(--ink-soft);
}

/* ══════════════════════════════════════════════
   YAYINEVİ
══════════════════════════════════════════════ */
#yayinevi {
  background: var(--paper-2);
  padding: clamp(5rem, 10vw, 8rem) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.pub-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}

.pub-brand {
  display: flex;
  flex-direction: column;
  gap: 2.2rem;
}
.pub-logo {
  width: min(340px, 80%);
}

.dict-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 3px solid var(--red);
  border-radius: 4px;
  padding: 1.5rem 1.7rem;
  max-width: 380px;
}
.dict-word {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 620;
  letter-spacing: 0.02em;
}
.dict-type {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.85rem;
  color: var(--red-deep);
  margin: 0.15rem 0 0.6rem;
}
.dict-def {
  font-size: 0.9rem;
  font-weight: 380;
  color: var(--ink-soft);
  line-height: 1.7;
}

.pub-heading {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  font-weight: 560;
  line-height: 1.18;
  letter-spacing: -0.01em;
  margin-bottom: 1.6rem;
  max-width: 15em;
}
.pub-heading em {
  font-style: italic;
  font-weight: 440;
  color: var(--red);
}

.pub-values {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 2rem;
  margin-top: 1.8rem;
}
.pub-values li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8rem;
  font-weight: 550;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.pub-values li::before {
  content: '';
  width: 16px;
  height: 1px;
  background: var(--red);
}

/* ══════════════════════════════════════════════
   İLETİŞİM
══════════════════════════════════════════════ */
#iletisim { padding: clamp(5rem, 10vw, 8rem) 0; }

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}

.contact-lead {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-style: italic;
  font-weight: 420;
  color: var(--ink-soft);
  line-height: 1.65;
  max-width: 24em;
  margin-bottom: 2.2rem;
}

.contact-items {
  display: flex;
  flex-direction: column;
}
.contact-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  border-top: 1px solid var(--line);
  padding: 1.1rem 0.1rem;
}
.contact-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-val {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 500;
  width: fit-content;
}
a.contact-val {
  background-image: linear-gradient(var(--red), var(--red));
  background-size: 0% 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size 0.35s var(--ease), color 0.25s;
}
a.contact-val:hover { color: var(--red-deep); background-size: 100% 1px; }

.contact-form {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: clamp(1.6rem, 4vw, 2.6rem);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}
.form-group { margin-bottom: 1.1rem; }
.form-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.45rem;
}
.form-input,
.form-textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: 0.94rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0.85rem 1rem;
  outline: none;
  resize: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.form-input:focus,
.form-textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(214, 55, 46, 0.12);
}
.form-textarea { min-height: 130px; }

.form-submit {
  width: 100%;
  justify-content: center;
}
.form-note {
  font-size: 0.74rem;
  color: var(--muted);
  text-align: center;
  margin-top: 0.8rem;
}

/* ══════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════ */
footer {
  background: var(--sea-900);
  color: var(--paper);
  padding: 3.5rem 0 1.8rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.6rem;
}
.footer-logo {
  height: 46px;
  width: auto;
  opacity: 0.95;
}
.footer-tag {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--sea-tint);
  margin-top: -0.6rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.8rem;
}
.footer-nav a {
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(248, 240, 221, 0.55);
  transition: color 0.25s;
}
.footer-nav a:hover { color: var(--paper); }

.footer-line {
  width: 100%;
  height: 1px;
  background: var(--line-light);
}
.footer-bottom {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  font-size: 0.72rem;
  color: rgba(248, 240, 221, 0.6);
  letter-spacing: 0.04em;
}

/* ══════════════════════════════════════════════
   ANİMASYONLAR
══════════════════════════════════════════════ */
/* JS yoksa içerik varsayılan olarak görünür kalır (html.js kapısı) */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}
html.js [data-reveal].in {
  opacity: 1;
  transform: translateY(0);
}
[data-reveal][data-delay="1"] { transition-delay: 0.08s; }
[data-reveal][data-delay="2"] { transition-delay: 0.16s; }
[data-reveal][data-delay="3"] { transition-delay: 0.24s; }
[data-reveal][data-delay="4"] { transition-delay: 0.32s; }
[data-reveal][data-delay="5"] { transition-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; flex-wrap: wrap; }
  .cover-badge { animation: none; }
  .cover-stage .cover::before { animation: none; opacity: 0; }
  .hero-scroll-line { animation: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}

/* Ekran görüntüsü modu (?shot): hero'yu içerik yüksekliğine indir */
html.shot #hero { min-height: 0; padding-top: 9.5rem; }
html.shot .hero-scroll { display: none; }
html.shot .cover-stage .cover::before { animation: none; opacity: 0; }

/* ══════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════ */
@media (max-width: 1024px) {
  #hero { padding-top: 6rem; }
  .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 2.5rem; }
  .hero-book { margin-top: 0; }
  .eyebrow, .hero-byline, .hero-actions, .hero-awards { justify-content: center; }
  .hero-desc { margin-inline: auto; }
  .hero-scroll { display: none; }
  .cover-stage { width: min(280px, 66vw); }

  .book-grid { grid-template-columns: 1fr; }
  .book-side { position: static; display: flex; justify-content: center; }
  .book-quote { max-width: none; }

  .author-grid { grid-template-columns: 1fr; }
  .author-visual { margin-inline: auto; }

  .pub-grid { grid-template-columns: 1fr; }
  .pub-brand { align-items: center; text-align: center; }
  .dict-card { text-align: left; }

  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .hamburger { display: flex; }

  .sec-head { gap: 0.9rem; }
  .sec-title { white-space: normal; }

  .book-details { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  .cover-badge {
    width: 72px; height: 72px;
    font-size: 0.8rem;
    top: -16px; right: -10px;
  }

  .footer-bottom { flex-direction: column; text-align: center; }
}
