/*
 * İBRAHİM BEŞER DİJİTAL ARŞİVİ
 * © 2026 İbrahim Beşer eser arşivi. Eser sahibi / müellif: İbrahim Beşer (merhum).
 * Tasarım ve yayın: Osman Beşer · osmanbeser.com.tr
 * Kodlama, yazılım ve yapay zekâ teknolojileri: Teknoen AI · teknoenai.com
 * Alan adı, sunucu ve dijital altyapı: Teknoen.Net · teknoen.net
 * Yetkisiz ticari kullanım, kopyalama ve yeniden yayın yasaktır.
 */

:root {
  --green: #004b39;
  --green-dark: #05372d;
  --green-deep: #032f27;
  --green-soft: #e9f3ef;
  --gold: #db9e30;
  --gold-dark: #ad7415;
  --gold-soft: #f4e4bf;
  --ink: #18251f;
  --muted: #68746f;
  --paper: #fbfaf6;
  --white: #ffffff;
  --line: #e7e1d5;
  --shadow: 0 22px 55px rgba(7, 52, 42, 0.13);
  --shadow-soft: 0 12px 32px rgba(7, 52, 42, 0.08);
  --radius: 26px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  line-height: 1.7;
  overflow-x: hidden;
}

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

img {
  display: block;
  max-width: 100%;
}

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(var(--max), calc(100% - 36px));
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: -9999px;
}

.skip:focus {
  top: 12px;
  left: 16px;
  z-index: 999;
  padding: 10px 14px;
  border-radius: 8px;
  background: #fff;
}

/* Üst bilgi ve navigasyon */
.topbar {
  background: var(--green-deep);
  color: #e7f3ef;
  font-size: 0.88rem;
}

.topbar .container {
  display: flex;
  min-height: 38px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.topbar a {
  color: #fff;
}

.topbar .muted {
  opacity: 0.78;
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(93, 43, 0, 0.08);
  background: rgba(251, 250, 246, 0.94);
  backdrop-filter: blur(14px);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

.header.is-scrolled {
  background: rgba(251, 250, 246, 0.985);
  box-shadow: 0 9px 28px rgba(4, 45, 36, 0.08);
}

.nav {
  display: flex;
  height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: flex;
  min-width: max-content;
  align-items: center;
  gap: 13px;
}

.brand-mark {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(219, 158, 48, 0.72);
  border-radius: 50%;
  background: var(--green);
  box-shadow: inset 0 0 0 5px rgba(255, 255, 255, 0.08), 0 5px 18px rgba(0, 75, 57, 0.12);
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
}

.brand-text strong {
  display: block;
  color: #172820;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.24rem;
  letter-spacing: 0.02em;
}

.brand-text span {
  display: block;
  color: var(--muted);
  font-size: 0.7rem;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.menu {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 0.94rem;
  font-weight: 700;
}

.menu a {
  position: relative;
}

.menu a::after {
  position: absolute;
  right: 100%;
  bottom: -8px;
  left: 0;
  height: 2px;
  background: var(--gold);
  content: "";
  transition: right 0.25s ease;
}

.menu a:hover::after,
.menu a.active::after {
  right: 0;
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: var(--green);
  cursor: pointer;
  font-size: 1.7rem;
}

/* Tipografi */
h1,
h2,
h3 {
  margin-top: 0;
  color: #14372d;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.17;
}

h1 {
  margin: 0.2em 0 0.24em;
  font-size: clamp(3rem, 6vw, 5.2rem);
  letter-spacing: -0.035em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--green);
  font-size: 0.77rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 35px;
  height: 2px;
  background: var(--gold);
  content: "";
}

/* Düğmeler */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 760;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--green);
  box-shadow: 0 10px 26px rgba(0, 75, 57, 0.18);
  color: #fff;
}

.btn-primary:hover {
  background: var(--green-dark);
}

.btn-gold {
  background: var(--gold);
  color: #2e210a;
}

.btn-outline {
  border-color: rgba(0, 75, 57, 0.25);
  background: #fff;
  color: var(--green);
}

.btn-light {
  background: #fff;
  color: var(--green);
}

/* Ana kahraman alanı - orijinal temadaki cami silueti ve motif yapısı */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(219, 158, 48, 0.32);
  background:
    radial-gradient(circle at 72% 24%, rgba(219, 158, 48, 0.16), transparent 27%),
    linear-gradient(120deg, #043f33 0%, #004b39 52%, #06392f 100%);
}

.hero::before {
  position: absolute;
  inset: 0;
  background: url("../img/ibrahim-beser-theme/ibrahim-beser-cami-siluet-bg.jpg") center bottom / cover no-repeat;
  content: "";
  filter: invert(1);
  mix-blend-mode: screen;
  opacity: 0.12;
  pointer-events: none;
}

.hero::after {
  position: absolute;
  top: 70px;
  right: -60px;
  width: 330px;
  height: 330px;
  background: url("../img/ibrahim-beser-theme/ibrahim-beser-amblem-motif.png") center / contain no-repeat;
  content: "";
  filter: brightness(0) invert(1);
  opacity: 0.055;
  pointer-events: none;
  animation: ibrahimFloat 9s ease-in-out infinite;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: 650px;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 68px;
  padding: 72px 0 86px;
}

.hero .eyebrow,
.hero h1,
.hero .lead,
.hero .hero-quote {
  color: #fff;
}

.hero .eyebrow {
  color: #f1ce82;
}

.hero h1 span {
  color: #efbd55;
}

.lead {
  max-width: 680px;
  margin: 0 0 28px;
  color: #52605b;
  font-size: 1.17rem;
}

.hero .lead {
  color: rgba(255, 255, 255, 0.83);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero .btn-primary {
  background: var(--gold);
  color: #1f2d27;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.hero .btn-primary:hover {
  background: #edb94d;
}

.hero .btn-outline {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  backdrop-filter: blur(5px);
}

.hero-quote {
  max-width: 640px;
  margin-top: 34px;
  padding: 10px 0 10px 18px;
  border-left: 3px solid var(--gold);
  color: #4a5651;
  font-family: Georgia, serif;
  font-size: 1.05rem;
}

.hero-quote cite {
  display: block;
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.63);
  font-family: Inter, system-ui, sans-serif;
  font-size: 0.76rem;
  font-style: normal;
  letter-spacing: 0.06em;
}

.portrait-wrap {
  position: relative;
  width: min(390px, 100%);
  aspect-ratio: 2 / 3;
  margin-left: auto;
  padding: 13px;
  border-radius: 205px 205px 30px 30px;
  background: linear-gradient(145deg, #efb74d, #f5e7c4 43%, var(--green));
  box-shadow: 0 28px 65px rgba(0, 0, 0, 0.26);
}

.portrait-wrap::before {
  position: absolute;
  inset: 27px;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: 185px 185px 20px 20px;
  content: "";
  pointer-events: none;
}

.portrait-wrap::after {
  position: absolute;
  z-index: -1;
  top: 7%;
  right: -20%;
  width: 48%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--gold);
  content: "";
  filter: blur(2px);
  opacity: 0.15;
}

.portrait-wrap img {
  width: 100%;
  height: 100%;
  border-radius: 195px 195px 22px 22px;
  object-fit: cover;
  object-position: center 24%;
}

.memorial-badge {
  position: absolute;
  bottom: 42px;
  left: -40px;
  max-width: 225px;
  padding: 16px 18px;
  border: 1px solid #eee7d8;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(8px);
}

.memorial-badge strong {
  display: block;
  color: var(--green);
  font-family: Georgia, serif;
  font-size: 1.08rem;
}

.memorial-badge span {
  color: var(--muted);
  font-size: 0.82rem;
}

/* Bölümler ve özgün tema desenleri */
.section {
  position: relative;
  padding: 94px 0;
}

.section.alt {
  overflow: hidden;
  background: #fff url("../img/ibrahim-beser-theme/ibrahim-beser-desen-bg.jpg") center / cover fixed;
}

.section.alt::before {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.78);
  content: "";
  pointer-events: none;
}

.section.alt > .container {
  position: relative;
  z-index: 1;
}

.section.green {
  background: var(--green);
  color: #e9f4f0;
}

.section.green h2,
.section.green h3 {
  color: #fff;
}

.section.green .section-intro {
  color: #c5d8d1;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 38px;
}

.section-head > div {
  max-width: 760px;
}

.section-title {
  margin: 0.16em 0 0.18em;
  font-size: clamp(2.2rem, 4vw, 3.6rem);
}

.section-intro {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

/* Kitap kartları */
.books {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.book-card {
  position: relative;
  display: flex;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid rgba(219, 158, 48, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-soft);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.book-card::before {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--gold), var(--green));
  content: "";
  opacity: 0.82;
}

.book-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}

.book-cover {
  position: relative;
  display: grid;
  min-height: 430px;
  place-items: center;
  padding: 28px;
  background:
    linear-gradient(rgba(247, 244, 235, 0.86), rgba(247, 244, 235, 0.86)),
    url("../img/ibrahim-beser-theme/ibrahim-beser-desen-bg.jpg") center / cover;
}

.book-cover::after {
  position: absolute;
  right: 15px;
  bottom: 10px;
  width: 72px;
  height: 72px;
  background: url("../img/ibrahim-beser-theme/ibrahim-beser-amblem-motif.png") center / contain no-repeat;
  content: "";
  opacity: 0.075;
}

.book-cover img {
  width: auto;
  height: 365px;
  border-radius: 3px;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.21);
  object-fit: contain;
  transition: transform 0.35s ease;
}

.book-card:hover .book-cover img {
  transform: translateY(-4px) scale(1.012);
}

.book-no {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 3;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 4px solid rgba(255, 255, 255, 0.82);
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-weight: 800;
}

.book-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 26px;
}

.book-kicker {
  color: var(--gold-dark);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.book-card h3 {
  margin: 8px 0 10px;
  font-size: 1.55rem;
}

.book-card p {
  margin: 0 0 22px;
  color: var(--muted);
}

.book-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
}

/* Hatıra alanı */
.about-grid {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  align-items: center;
  gap: 70px;
}

.about-photo {
  position: relative;
}

.about-photo .frame {
  position: relative;
  overflow: hidden;
  padding: 18px;
  border: 1px solid rgba(219, 158, 48, 0.2);
  border-radius: var(--radius);
  background: linear-gradient(145deg, #f3e7ca, #fff, #e8f2ee);
  box-shadow: var(--shadow);
}

.about-photo .frame::before {
  position: absolute;
  inset: 0;
  background: url("../img/ibrahim-beser-theme/ibrahim-beser-desen-bg.jpg") center / cover;
  content: "";
  opacity: 0.2;
}

.about-photo .frame img {
  position: relative;
  width: 100%;
  aspect-ratio: 1285 / 519;
  border-radius: 18px;
  object-fit: cover;
}

.about-photo .stamp {
  position: absolute;
  right: -18px;
  bottom: -18px;
  display: grid;
  width: 124px;
  height: 124px;
  place-items: center;
  padding: 16px;
  border: 8px solid #fff;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
  color: #fff;
  font-family: Georgia, serif;
  text-align: center;
}

.memorial-copy {
  color: #37433f;
  font-family: Georgia, serif;
  font-size: 1.13rem;
}

.memorial-copy p:first-child:first-letter {
  float: left;
  padding: 8px 10px 0 0;
  color: var(--gold);
  font-size: 4.2rem;
  line-height: 0.82;
}

.signature {
  margin-top: 28px;
  color: var(--green);
  font-weight: 750;
}

.signature small {
  display: block;
  color: var(--muted);
  font-weight: 500;
}

/* Alıntı / hatıra bandı */
.quote-band {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(rgba(0, 75, 57, 0.94), rgba(0, 75, 57, 0.94)),
    url("../img/ibrahim-beser-theme/ibrahim-beser-kemer-bg.png") center / cover no-repeat;
}

.quote-band::before {
  position: absolute;
  inset: 0;
  background: url("../img/ibrahim-beser-theme/ibrahim-beser-cami-siluet-bg.jpg") center bottom / cover no-repeat;
  content: "";
  filter: invert(1);
  mix-blend-mode: screen;
  opacity: 0.09;
}

.quote-band::after {
  position: absolute;
  top: -44px;
  left: 50%;
  width: 110px;
  height: 110px;
  background: url("../img/ibrahim-beser-theme/ibrahim-beser-amblem-motif.png") center / contain no-repeat;
  content: "";
  filter: brightness(0) invert(1);
  opacity: 0.07;
  transform: translateX(-50%);
}

.quote-band .container {
  position: relative;
  z-index: 2;
}

.big-quote {
  max-width: 920px;
  margin: auto;
  font-family: Georgia, serif;
  font-size: clamp(1.75rem, 3.5vw, 3.05rem);
  line-height: 1.35;
  text-align: center;
}

.big-quote::before {
  display: block;
  margin-bottom: 20px;
  color: var(--gold);
  content: "“";
  font-size: 5rem;
  line-height: 0.6;
}

.big-quote.memorial::before {
  margin-bottom: 22px;
  content: "✦";
  font-size: 2.7rem;
  line-height: 1;
}

.big-quote cite {
  display: block;
  margin-top: 22px;
  color: #c9ddd6;
  font-family: Inter, system-ui, sans-serif;
  font-size: 0.86rem;
  font-style: normal;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Dijital arşiv özellikleri */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.feature {
  position: relative;
  overflow: hidden;
  padding: 30px 28px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 28px rgba(8, 50, 41, 0.05);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.feature::after {
  position: absolute;
  right: -32px;
  bottom: -32px;
  width: 105px;
  height: 105px;
  background: url("../img/ibrahim-beser-theme/ibrahim-beser-amblem-motif.png") center / contain no-repeat;
  content: "";
  opacity: 0.035;
}

.feature:hover {
  border-color: rgba(219, 158, 48, 0.38);
  transform: translateY(-4px);
}

.feature .icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 14px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 1.4rem;
}

.feature h3 {
  margin: 0 0 8px;
  font-size: 1.28rem;
}

.feature p {
  margin: 0;
  color: var(--muted);
}

.cta {
  position: relative;
  display: flex;
  overflow: hidden;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  padding: 44px;
  border: 1px solid #e8d4a7;
  border-radius: 32px;
  background:
    linear-gradient(115deg, rgba(244, 234, 208, 0.95), rgba(255, 248, 234, 0.96)),
    url("../img/ibrahim-beser-theme/ibrahim-beser-desen-bg.jpg") center / cover;
}

.cta::after {
  position: absolute;
  top: -80px;
  right: -40px;
  width: 240px;
  height: 240px;
  border: 1px solid rgba(219, 158, 48, 0.18);
  border-radius: 50%;
  content: "";
}

.cta > * {
  position: relative;
  z-index: 1;
}

.cta h2 {
  margin: 0 0 8px;
  font-size: 2.35rem;
}

.cta p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
}

/* İç sayfa başlığı */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 84px 0 68px;
  border-bottom: 1px solid rgba(219, 158, 48, 0.26);
  background:
    radial-gradient(circle at 84% 20%, rgba(219, 158, 48, 0.14), transparent 24%),
    linear-gradient(120deg, #063d32, #004b39);
}

.page-hero::before {
  position: absolute;
  inset: 0;
  background: url("../img/ibrahim-beser-theme/ibrahim-beser-cami-siluet-bg.jpg") center bottom / cover no-repeat;
  content: "";
  filter: invert(1);
  mix-blend-mode: screen;
  opacity: 0.085;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1,
.page-hero .eyebrow {
  color: #fff;
}

.page-hero .eyebrow {
  color: #f0cb7a;
}

.page-hero h1 {
  margin: 0.12em 0;
  font-size: clamp(2.8rem, 5vw, 4.7rem);
}

.breadcrumbs {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}

.breadcrumbs a {
  color: #fff;
  font-weight: 700;
}

/* Kitap detay sayfaları */
.book-detail {
  display: grid;
  grid-template-columns: 360px 1fr;
  align-items: start;
  gap: 62px;
}

.book-detail-cover {
  position: sticky;
  top: 118px;
  padding: 26px;
  border: 1px solid rgba(219, 158, 48, 0.18);
  border-radius: 24px;
  background:
    linear-gradient(rgba(244, 239, 225, 0.88), rgba(244, 239, 225, 0.88)),
    url("../img/ibrahim-beser-theme/ibrahim-beser-desen-bg.jpg") center / cover;
  box-shadow: var(--shadow);
}

.book-detail-cover img {
  width: 100%;
  box-shadow: 0 20px 38px rgba(0, 0, 0, 0.18);
}

.book-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0;
}

.meta-item {
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
}

.meta-item span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.meta-item strong {
  color: var(--green);
}

.book-detail-content h2 {
  margin-bottom: 14px;
  font-size: 2.5rem;
}

.book-detail-content h3 {
  margin-top: 36px;
  margin-bottom: 12px;
  font-size: 1.55rem;
}

.highlight {
  margin: 26px 0;
  padding: 22px 24px;
  border-left: 4px solid var(--gold);
  border-radius: 0 18px 18px 0;
  background: #f6f1e5;
  color: #4e4330;
  font-family: Georgia, serif;
}

.topic-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.topic-list span {
  padding: 7px 12px;
  border: 1px solid #dbe6e1;
  border-radius: 999px;
  background: #f6fbf9;
  color: #31594d;
  font-size: 0.86rem;
  font-weight: 650;
}

.resource-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0;
}

.notice {
  display: none;
}

/* Sesli içerik */
.audio-box {
  overflow: hidden;
  margin-top: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 9px 24px rgba(4, 50, 40, 0.05);
}

.audio-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(120deg, #f0f7f4, #fbf7ec);
}

.audio-head strong {
  color: var(--green);
  font-family: Georgia, serif;
  font-size: 1.2rem;
}

.audio-list {
  padding: 14px 18px;
}

.audio-empty {
  padding: 16px 4px;
  color: var(--muted);
}

.track {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 11px 6px;
  border-bottom: 1px solid #eee;
}

.track:last-child {
  border-bottom: 0;
}

.track button {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  cursor: pointer;
}

.track-title {
  font-weight: 700;
}

.track-file,
.now-playing {
  color: var(--muted);
  font-size: 0.8rem;
}

.audio-native {
  width: calc(100% - 40px);
  margin: 0 20px 20px;
}

/* PDF okuyucu */
.reader-wrap {
  min-height: 620px;
  height: calc(100vh - 118px);
  background: #252b29;
}

.reader-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.reader-frame {
  width: 100%;
  height: calc(100% - 68px);
  border: 0;
  background: #ddd;
}

.reader-message {
  display: none;
  padding: 24px;
  color: #fff;
}

/* İletişim */
.contact-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 50px;
}

.contact-card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-soft);
}

.contact-list {
  display: grid;
  gap: 14px;
}

.contact-item {
  display: flex;
  gap: 14px;
  padding: 16px;
  border-radius: 16px;
  background: #f7f7f2;
}

.contact-item strong {
  display: block;
  color: var(--green);
}

.contact-item span {
  color: var(--muted);
  font-size: 0.92rem;
}

.legal-card {
  position: relative;
  overflow: hidden;
  padding: 32px;
  border-radius: 24px;
  background: var(--green);
  color: #dcebe6;
}

.legal-card::after {
  position: absolute;
  right: -60px;
  bottom: -60px;
  width: 210px;
  height: 210px;
  background: url("../img/ibrahim-beser-theme/ibrahim-beser-amblem-motif.png") center / contain no-repeat;
  content: "";
  filter: brightness(0) invert(1);
  opacity: 0.05;
}

.legal-card h3,
.legal-card a {
  color: #fff;
}

.legal-card a {
  text-decoration: underline;
}

/* Footer */
.footer {
  position: relative;
  overflow: hidden;
  padding: 62px 0 24px;
  background: #082f28;
  color: #c8ddd5;
}

.footer::before {
  position: absolute;
  inset: auto 0 0;
  height: 58%;
  background: url("../img/ibrahim-beser-theme/ibrahim-beser-cami-siluet-bg.jpg") center bottom / cover no-repeat;
  content: "";
  filter: invert(1);
  mix-blend-mode: screen;
  opacity: 0.035;
  pointer-events: none;
}

.footer .container {
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr 0.8fr;
  gap: 44px;
}

.footer h3 {
  margin-bottom: 14px;
  color: #fff;
}

.footer a {
  color: #d9e9e4;
}

.footer .brand-text strong {
  color: #fff;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-legal {
  margin-top: 38px;
  padding: 22px 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
  color: #b9d0c8;
  font-size: 0.86rem;
  line-height: 1.65;
}

.footer-legal strong {
  display: block;
  margin-bottom: 6px;
  color: #fff;
  font-family: Georgia, serif;
  font-size: 1rem;
}

.footer-legal p {
  margin: 0;
}

.footer-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 18px;
  color: #a7c0b7;
  font-size: 0.82rem;
}

.footer-tech span {
  position: relative;
}

.footer-tech span + span::before {
  position: absolute;
  left: -15px;
  color: var(--gold);
  content: "•";
}

.footer-tech a {
  font-weight: 700;
}

.footer-tech a:hover {
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 42px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #93aea5;
  font-size: 0.82rem;
}

.footer-bottom a {
  color: #fff;
}

/* Görsel hareketler */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.72s ease, transform 0.72s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@keyframes ibrahimFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  50% {
    transform: translate3d(-8px, 12px, 0) rotate(2deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

@media (max-width: 980px) {
  .menu {
    position: fixed;
    inset: 118px 18px auto;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--shadow);
  }

  .menu.open {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .hero-grid {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 46px;
    padding: 62px 0 72px;
  }

  .portrait-wrap {
    width: min(370px, 90%);
    margin: auto;
  }

  .books {
    grid-template-columns: 1fr 1fr;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .about-photo {
    max-width: 760px;
  }

  .book-detail {
    grid-template-columns: 300px 1fr;
    gap: 36px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid > div:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 700px) {
  .topbar .muted {
    display: none;
  }

  .nav {
    height: 72px;
  }

  .brand-text span {
    display: none;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .menu {
    inset: 110px 18px auto;
  }

  .hero-grid {
    padding: 48px 0 60px;
  }

  .hero::after {
    width: 220px;
    height: 220px;
  }

  .portrait-wrap {
    width: min(330px, 88%);
  }

  .memorial-badge {
    bottom: 18px;
    left: -8px;
  }

  .section {
    padding: 72px 0;
  }

  .section.alt {
    background-attachment: scroll;
  }

  .section-head {
    display: block;
  }

  .section-head .btn {
    margin-top: 18px;
  }

  .books,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .book-cover {
    min-height: 360px;
  }

  .book-cover img {
    height: 320px;
  }

  .about-grid {
    gap: 40px;
  }

  .about-photo .stamp {
    right: 8px;
  }

  .cta {
    display: block;
    padding: 30px;
  }

  .cta .btn {
    margin-top: 20px;
  }

  .book-detail {
    grid-template-columns: 1fr;
  }

  .book-detail-cover {
    position: relative;
    top: 0;
    max-width: 390px;
    margin: auto;
  }

  .book-meta {
    grid-template-columns: 1fr;
  }

  .audio-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid > div:first-child {
    grid-column: auto;
  }

  .footer-tech {
    display: grid;
    gap: 8px;
  }

  .footer-tech span + span::before {
    display: none;
  }

  .footer-legal {
    padding: 18px;
  }

  .footer-bottom {
    display: block;
  }

  .footer-bottom div + div {
    margin-top: 8px;
  }

  .reader-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .reader-wrap {
    height: calc(100vh - 72px);
  }
}

/* Sesli içerik, dosyalar eklendiğinde otomatik görünür. */
.audio-section {
  display: none;
}
