/* ──────────────────────────────────────────────────────────────────
   Halkalı'da Aşure — stylesheet
   Tema: ağırbaşlı, koyu, sıcak altın aksanlı.
   Mobil önceliklendirilmiştir; QR ile açılma akışı için optimize.
   ────────────────────────────────────────────────────────────────── */

:root {
  --bg:            #0a0507;   /* warm near-black, red undertone */
  --bg-2:          #110709;
  --surface:       #1a0c10;
  --surface-2:     #210d13;
  --line:          rgba(165, 42, 48, 0.22);
  --line-strong:   rgba(193, 69, 79, 0.40);

  --text:          #ece1d2;   /* warm cream */
  --text-soft:     #d2b3ad;   /* rose cream */
  --text-mute:     #8c6864;   /* muted rose */
  --crimson:       #a52a30;   /* deep blood red */
  --crimson-deep:  #5a1318;   /* darker bordeaux */
  --crimson-bright:#c1454f;   /* brighter blood red */

  --font-serif:   "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --font-sans:    "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-arabic:  "Amiri", "Scheherazade New", serif;

  --shadow-soft:  0 30px 60px -30px rgba(0,0,0,0.7);
  --bar-h:        72px;

  --ease-out:     cubic-bezier(0.16, 0.84, 0.24, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;

  /* Page background — very subtle warm gradient */
  background-image:
    radial-gradient(1200px 700px at 50% -100px, rgba(165,42,48,0.06), transparent 70%),
    radial-gradient(800px 500px at 80% 110%, rgba(90,19,24,0.07), transparent 70%);
  background-attachment: fixed;

  /* Leave room for the sticky bottom bar */
  padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom));
}

::selection { background: rgba(165,42,48,0.35); color: var(--text); }

a { color: var(--crimson-bright); text-decoration: none; }
a:hover { color: var(--crimson); }

/* ── READ PROGRESS BAR ─────────────────────────────────────────── */
.read-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(to right, var(--crimson-deep), var(--crimson-bright));
  box-shadow: 0 0 12px rgba(193,69,79,0.45);
  z-index: 50;
  pointer-events: none;
  transition: width 80ms linear;
  will-change: width;
}
@media (prefers-reduced-motion: reduce) {
  .read-progress { transition: none; }
}

/* ── Layout helpers ─────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 22px;
}
.container.narrow { max-width: 680px; }

/* ── HERO ───────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 22px 100px;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute; inset: 0;
  z-index: -1;
  background: var(--bg);
  overflow: hidden;
}
.hero-photo {
  position: absolute; inset: -4%;
  background:
    url("asura-gorsel-1.jpeg") center 30% / cover no-repeat;
  /* Kapsamlı renk dengesi: hafif kırmızı tonda, biraz solgun */
  filter: saturate(0.85) brightness(0.78) contrast(1.05);
  transform-origin: 52% 42%;
  will-change: transform;
  animation: kenBurns 28s ease-in-out infinite alternate;
}
@keyframes kenBurns {
  0%   { transform: scale(1.00) translate(0, 0); }
  100% { transform: scale(1.10) translate(-1.4%, -0.8%); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-photo { animation: none; }
}
.hero-tint {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg,
      rgba(10,5,7,0.72) 0%,
      rgba(10,5,7,0.50) 35%,
      rgba(10,5,7,0.86) 100%),
    linear-gradient(180deg,
      rgba(90,19,24,0.22) 0%,
      rgba(90,19,24,0.06) 100%);
  pointer-events: none;
}
.hero-vignette {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 38%, rgba(193,69,79,0.18) 0%, rgba(193,69,79,0) 45%),
    radial-gradient(ellipse at center, transparent 40%, rgba(0,0,0,0.7) 100%);
  pointer-events: none;
}
/* İnce film grain — SVG fractal noise, %4 opaklıkta, animasyonsuz statik doku */
.hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  opacity: 0.06;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.6 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  background-size: 160px 160px;
}

.hero-content {
  position: relative;
  max-width: 720px;
  animation: heroIn 1.6s var(--ease-out) both;
}

@keyframes heroIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

.arabic-mark {
  font-family: var(--font-arabic);
  font-size: clamp(72px, 18vw, 168px);
  line-height: 1;
  color: var(--crimson);
  opacity: 0.22;
  letter-spacing: 0.02em;
  margin-bottom: -32px;
  user-select: none;
  text-shadow: 0 0 60px rgba(165,42,48,0.25);
}

.hero-eyebrow {
  margin: 0 0 18px;
  font-family: var(--font-sans);
  font-size: 12.5px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--crimson);
  opacity: 0.85;
}

.hero-title {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(46px, 11vw, 88px);
  line-height: 1.02;
  letter-spacing: -0.005em;
  color: var(--text);
  text-shadow: 0 1px 30px rgba(0,0,0,0.6);
}

.hero-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 22px auto 18px;
  max-width: 240px;
  opacity: 0.85;
}
.hero-divider span:not(.diamond) {
  height: 1px;
  flex: 1;
  background: linear-gradient(to right, transparent, var(--crimson-deep), transparent);
}
.hero-divider .diamond {
  width: 8px; height: 8px;
  transform: rotate(45deg);
  background: var(--crimson);
  box-shadow: 0 0 12px rgba(165,42,48,0.6);
}

.hero-subtitle {
  margin: 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(18px, 4.5vw, 24px);
  color: var(--text-soft);
  letter-spacing: 0.02em;
}

.hero-meta {
  margin-top: 36px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 10px 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(0,0,0,0.25);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-soft);
}
.hero-meta .dot {
  color: var(--crimson);
  font-size: 8px;
}

.hero-scroll {
  position: absolute;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--text-mute);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  animation: scrollNudge 2.4s ease-in-out infinite;
}
.hero-scroll .scroll-line {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, transparent, var(--crimson-deep));
}
@keyframes scrollNudge {
  0%, 100% { transform: translate(-50%, 0); opacity: 0.7; }
  50%      { transform: translate(-50%, 6px); opacity: 1; }
}

/* ── VERSE / MERSİYE ────────────────────────────────────────────── */
.verse {
  padding: 96px 0 72px;
  text-align: center;
  position: relative;
}
.verse::before,
.verse::after {
  content: "";
  position: absolute; left: 50%;
  transform: translateX(-50%);
  width: 120px; height: 1px;
  background: linear-gradient(to right, transparent, var(--crimson-deep), transparent);
}
.verse::before { top: 0; }
.verse::after  { bottom: 0; }
.verse-mark {
  font-size: 22px;
  color: var(--crimson-bright);
  opacity: 0.85;
  margin-bottom: 22px;
  letter-spacing: 0.1em;
}
.verse-text {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(21px, 4.6vw, 30px);
  line-height: 1.6;
  color: var(--text);
  margin: 0;
  letter-spacing: 0.01em;
}
.verse-text br { line-height: 0; }
.verse-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}
.verse-text.in .verse-word { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .verse-word { opacity: 1; transform: none; transition: none; }
}

/* ── ORNAMENT DIVIDER ──────────────────────────────────────────── */
.ornament-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  max-width: 320px;
  margin: 0 auto;
  padding: 22px 24px;
  color: var(--crimson-bright);
}
.ornament-divider::before,
.ornament-divider::after {
  content: "";
  height: 1px;
  flex: 1;
  opacity: 0.55;
}
.ornament-divider::before {
  background: linear-gradient(to right, transparent, var(--crimson-deep));
}
.ornament-divider::after {
  background: linear-gradient(to right, var(--crimson-deep), transparent);
}
.ornament-divider svg {
  flex: none;
  width: 28px;
  height: 28px;
  opacity: 0.9;
  transition: transform 1.4s var(--ease-out), opacity 1.2s var(--ease-out);
}
.ornament-divider.reveal svg {
  transform: rotate(-12deg) scale(0.85);
  opacity: 0;
}
.ornament-divider.reveal.in svg {
  transform: rotate(0) scale(1);
  opacity: 0.9;
}

/* ── DAVET ──────────────────────────────────────────────────────── */
.davet {
  padding: 56px 0 64px;
  text-align: center;
}
.davet .lead {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(20px, 4.4vw, 26px);
  line-height: 1.6;
  color: var(--text);
  margin: 0 0 28px;
}
.davet .lead-soft {
  font-size: 15px;
  color: var(--text-mute);
  letter-spacing: 0.02em;
  margin: 0;
}

/* ── EVENT INFO ─────────────────────────────────────────────────── */
.event-info {
  padding: 24px 0 80px;
}
.info-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  padding: 8px 0;
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line);
  border-radius: 4px;
  box-shadow: var(--shadow-soft);
  position: relative;
}
.info-card::before, .info-card::after {
  content: "";
  position: absolute; left: 12px; right: 12px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--crimson-deep), transparent);
  opacity: 0.45;
}
.info-card::before { top: 4px; }
.info-card::after  { bottom: 4px; }

.info-item {
  padding: 32px 28px;
  text-align: center;
}
.info-icon {
  width: 36px; height: 36px;
  margin: 0 auto 14px;
  color: var(--crimson);
  opacity: 0.85;
}
.info-icon svg { width: 100%; height: 100%; }

.info-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  color: var(--crimson);
  margin-bottom: 12px;
}
.info-value {
  font-family: var(--font-serif);
  font-size: 28px;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 6px;
  font-weight: 400;
}
.info-sub {
  font-size: 13px;
  color: var(--text-mute);
  letter-spacing: 0.02em;
}

.info-divider {
  height: 1px;
  margin: 0 28px;
  background: linear-gradient(to right, transparent, var(--line-strong), transparent);
}

@media (min-width: 720px) {
  .info-card {
    grid-template-columns: 1fr 1px 1fr 1px 1fr;
    padding: 0;
  }
  .info-divider {
    height: auto;
    width: 1px;
    margin: 32px 0;
    background: linear-gradient(to bottom, transparent, var(--line-strong), transparent);
  }
}

/* ── SECTION HEAD ───────────────────────────────────────────────── */
.section-head {
  text-align: center;
  margin-bottom: 56px;
}
.kicker {
  font-size: 11px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--crimson);
  margin: 0 0 14px;
}
.section-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(34px, 7vw, 52px);
  line-height: 1.1;
  margin: 0;
  color: var(--text);
  letter-spacing: -0.005em;
}
.title-rule {
  width: 60px; height: 1px;
  background: var(--crimson-deep);
  margin: 22px auto 0;
}

/* ── Q&A ────────────────────────────────────────────────────────── */
.qa {
  padding: 80px 0 96px;
  position: relative;
}
.qa::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 120px; height: 1px;
  background: linear-gradient(to right, transparent, var(--crimson-deep), transparent);
}

.qa-card {
  padding: 40px 0;
}

.qa-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}
.qa-num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 22px;
  color: var(--crimson);
  letter-spacing: 0.04em;
}
.qa-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, var(--crimson-deep), transparent);
  opacity: 0.6;
}

.qa-card h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(26px, 5.4vw, 34px);
  line-height: 1.2;
  margin: 0 0 22px;
  color: var(--text);
  letter-spacing: -0.005em;
  position: relative;
}
.qa-card h3::after {
  content: "";
  display: block;
  width: 56px;
  height: 1px;
  margin-top: 14px;
  background: linear-gradient(to right, var(--crimson-deep), transparent);
  opacity: 0.7;
}
.qa-card p {
  margin: 0;
  font-size: 17px;
  line-height: 1.78;
  color: var(--text-soft);
}
.qa-card p + p { margin-top: 1.15em; }
.qa-card p em {
  font-style: italic;
  color: var(--crimson-bright);
  font-family: var(--font-serif);
  font-size: 1.04em;
}
.qa-slogan {
  margin: 28px 0 0 !important;
  padding: 18px 0 4px;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(18px, 3.2vw, 22px);
  line-height: 1.5;
  color: var(--crimson-bright) !important;
  text-align: center;
  letter-spacing: 0.02em;
  position: relative;
}
.qa-slogan::before {
  content: "";
  display: block;
  width: 80px;
  height: 1px;
  margin: 0 auto 18px;
  background: linear-gradient(to right, transparent, var(--crimson-deep), transparent);
  opacity: 0.7;
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.reveal.in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ── PULL QUOTE ─────────────────────────────────────────────────── */
.pullquote {
  padding: 88px 22px;
  text-align: center;
}
.pullquote-frame {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  padding: 24px 22px;
}
.pullquote-mark {
  display: block;
  font-family: var(--font-arabic);
  font-size: 26px;
  color: var(--crimson-bright);
  opacity: 0.55;
  letter-spacing: 0.12em;
  line-height: 1;
}
.pullquote-mark--top { margin-bottom: 26px; }
.pullquote-mark--bot { margin-top: 28px; opacity: 0.4; }
.pullquote-text {
  margin: 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(30px, 6.8vw, 54px);
  line-height: 1.18;
  letter-spacing: -0.005em;
  color: var(--text);
  text-shadow: 0 0 50px rgba(193,69,79,0.18);
}
.pullquote-text--couplet {
  font-size: clamp(22px, 4.4vw, 36px);
  line-height: 1.5;
  letter-spacing: 0.005em;
}
.pullquote-text--couplet br { line-height: 0; }

/* ── GALLERY ────────────────────────────────────────────────────── */
.gallery {
  padding: 80px 0 96px;
  background:
    radial-gradient(800px 400px at 50% 0%, rgba(165,42,48,0.04), transparent 70%);
}

.gallery-viewport {
  position: relative;
  margin: 0 0 40px;
  overflow: hidden;
}
.gallery-viewport::before,
.gallery-viewport::after {
  content: "";
  position: absolute; top: 0; bottom: 0;
  width: 56px;
  z-index: 2;
  pointer-events: none;
}
.gallery-viewport::before {
  left: 0;
  background: linear-gradient(to right, var(--bg) 0%, transparent 100%);
}
.gallery-viewport::after {
  right: 0;
  background: linear-gradient(to left, var(--bg) 0%, transparent 100%);
}

.gallery-track {
  display: flex;
  gap: 16px;
  padding: 6px 22px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: auto;
}
.gallery-track::-webkit-scrollbar { display: none; }

.gallery-item {
  flex: 0 0 78vw;
  max-width: 460px;
  aspect-ratio: 3 / 2;
  appearance: none;
  background: var(--surface-2);
  border: 1px solid var(--line);
  padding: 0;
  margin: 0;
  cursor: zoom-in;
  position: relative;
  overflow: hidden;
  transition: border-color 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}
.gallery-item::before {
  content: "";
  position: absolute; inset: 6px;
  border: 1px solid rgba(255,255,255,0.04);
  z-index: 2;
  pointer-events: none;
  transition: border-color 0.4s var(--ease-out);
}
.gallery-item:hover,
.gallery-item:focus-visible {
  border-color: var(--line-strong);
  outline: none;
}
.gallery-item:hover::before {
  border-color: rgba(193,69,79,0.30);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  transition: transform 0.8s var(--ease-out);
}
.gallery-item:hover img {
  transform: scale(1.05);
}

@media (min-width: 720px) {
  .gallery-item { flex-basis: 46%; max-width: 520px; }
  .gallery-viewport::before,
  .gallery-viewport::after { width: 80px; }
}
@media (min-width: 1024px) {
  .gallery-item { flex-basis: 32%; max-width: 540px; }
}

.gallery-note {
  text-align: center;
  margin: 40px auto 0;
  max-width: 540px;
  color: var(--text-mute);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 17px;
}

/* ── LIGHTBOX ───────────────────────────────────────────────────── */
.lightbox {
  position: fixed; inset: 0;
  z-index: 300;
  background: rgba(0,0,0,0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  cursor: zoom-out;
  animation: fadeIn 0.25s ease;
}
.lightbox.closing { animation: lbFadeOut 0.2s ease forwards; }
@keyframes lbFadeOut { to { opacity: 0; } }
.lightbox img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  box-shadow: 0 30px 80px rgba(0,0,0,0.85);
  border: 1px solid var(--line-strong);
  user-select: none;
  pointer-events: none;
}
.lightbox-close {
  position: absolute;
  top: max(20px, env(safe-area-inset-top));
  right: 20px;
  background: rgba(20,5,8,0.65);
  border: 1px solid var(--line-strong);
  color: var(--text);
  width: 44px; height: 44px;
  border-radius: 50%;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 2;
  font-family: inherit;
}
.lightbox-close:hover { background: rgba(50,12,18,0.85); }

/* ── QUOTE SECTION ──────────────────────────────────────────────── */
.quote-section {
  padding: 96px 0 100px;
  text-align: center;
  position: relative;
}
.quote-section::before,
.quote-section::after {
  content: "";
  position: absolute; left: 50%;
  transform: translateX(-50%);
  width: 120px; height: 1px;
  background: linear-gradient(to right, transparent, var(--crimson-deep), transparent);
}
.quote-section::before { top: 0; }
.quote-section::after  { bottom: 0; }

.quote-mark {
  font-family: var(--font-serif);
  font-size: 80px;
  line-height: 0.4;
  color: var(--crimson);
  opacity: 0.45;
  margin-bottom: 6px;
}
.quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(28px, 6vw, 42px);
  line-height: 1.3;
  color: var(--text);
  margin: 0;
  letter-spacing: 0.005em;
}
.quote-source {
  display: block;
  margin-top: 24px;
  font-size: 13px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--crimson);
  font-style: normal;
}

/* ── FOOTER ─────────────────────────────────────────────────────── */
.footer {
  padding: 60px 0 80px;
  text-align: center;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.4));
}
.footer-mark {
  font-size: 28px;
  color: var(--crimson);
  opacity: 0.65;
  margin-bottom: 14px;
}
.footer-title {
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--text);
  margin: 0 0 6px;
  letter-spacing: 0.02em;
}
.footer-sub {
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin: 0 0 22px;
}
.footer-fine {
  font-size: 12.5px;
  color: var(--text-mute);
  font-style: italic;
  margin: 0;
  opacity: 0.8;
}

/* ── BOTTOM BAR ─────────────────────────────────────────────────── */
.bottom-bar {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
  padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
  background:
    linear-gradient(180deg, rgba(15, 12, 18, 0.6), rgba(10, 8, 12, 0.92));
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-top: 1px solid var(--line-strong);
  min-height: var(--bar-h);
}
.bottom-bar::before {
  content: "";
  position: absolute;
  top: -1px; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--crimson), transparent);
  opacity: 0.5;
}

.bb-btn {
  appearance: none;
  background: transparent;
  border: 0;
  color: var(--text-soft);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 8px 4px;
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 8px;
  transition: color 0.25s ease, background 0.25s ease, transform 0.25s ease;
  position: relative;
}
.bb-btn:active { transform: scale(0.96); }
.bb-btn:hover, .bb-btn:focus-visible {
  color: var(--text);
  background: rgba(165,42,48,0.06);
  outline: none;
}

.bb-icon {
  display: block;
  width: 22px; height: 22px;
  color: var(--crimson);
}
.bb-icon svg { width: 100%; height: 100%; }
.bb-label { font-weight: 400; }

.bb-btn--primary .bb-icon { color: var(--crimson-bright); }
.bb-btn--primary {
  color: var(--text);
}
.bb-btn--primary::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 6px;
  background: radial-gradient(circle at center, rgba(165,42,48,0.10), transparent 70%);
  pointer-events: none;
}

/* ── CONTACT SHEET ──────────────────────────────────────────────── */
.sheet {
  position: fixed; inset: 0;
  z-index: 200;
  display: none;
}
.sheet.open { display: block; }
.sheet-backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: fadeIn 0.3s ease both;
}
.sheet-panel {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line-strong);
  border-bottom: none;
  border-radius: 18px 18px 0 0;
  padding: 36px 26px calc(40px + env(safe-area-inset-bottom));
  text-align: center;
  box-shadow: 0 -30px 80px -20px rgba(0,0,0,0.8);
  animation: slideUp 0.45s var(--ease-out) both;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp {
  from { transform: translate(-50%, 30px); opacity: 0; }
  to   { transform: translate(-50%, 0);     opacity: 1; }
}
.sheet-close {
  position: absolute;
  top: 12px; right: 14px;
  background: transparent;
  border: 0;
  color: var(--text-mute);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  padding: 6px 10px;
}
.sheet-close:hover { color: var(--text); }

.sheet-mark {
  font-size: 26px;
  color: var(--crimson);
  opacity: 0.8;
  margin-bottom: 8px;
}
.sheet h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 26px;
  margin: 0 0 8px;
  color: var(--text);
}
.sheet-lead {
  font-size: 14px;
  color: var(--text-mute);
  margin: 0 0 22px;
}

.sheet-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 14px;
  margin: 8px 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  text-align: start;
  color: var(--text);
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}
.sheet-row:hover {
  border-color: var(--line-strong);
  background: rgba(165,42,48,0.04);
  color: var(--text);
}
.sheet-row:active { transform: scale(0.98); }

.sheet-icon {
  width: 22px; height: 22px;
  color: var(--crimson);
  flex-shrink: 0;
}
.sheet-icon svg { width: 100%; height: 100%; }
.sheet-text { display: flex; flex-direction: column; }
.sheet-label {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.sheet-value {
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--text);
  margin-top: 2px;
}

/* ── Toast (calendar feedback) ──────────────────────────────────── */
.toast {
  position: fixed;
  bottom: calc(var(--bar-h) + 24px + env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 13px;
  color: var(--text);
  letter-spacing: 0.04em;
  z-index: 150;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s var(--ease-out);
  box-shadow: 0 10px 30px -10px rgba(0,0,0,0.7);
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

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

/* ── Small screens fine-tune ────────────────────────────────────── */
@media (max-width: 380px) {
  .bb-label { font-size: 10px; }
  .info-value { font-size: 24px; }
  .hero-meta { font-size: 11px; padding: 8px 14px; gap: 10px; }
}

/* ── LANGUAGE SWITCHER ─────────────────────────────────────────── */
.lang-switcher {
  position: fixed;
  top: max(14px, env(safe-area-inset-top));
  right: 16px;
  z-index: 70;
  font-family: var(--font-sans);
}
.lang-current {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  background: rgba(10, 5, 7, 0.55);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--text);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  cursor: pointer;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: border-color 0.25s ease, background 0.25s ease;
}
.lang-current:hover {
  border-color: var(--crimson-bright);
  background: rgba(33, 13, 19, 0.75);
}
.lang-current svg { width: 15px; height: 15px; opacity: 0.8; }
.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  margin: 0;
  padding: 6px;
  list-style: none;
  min-width: 168px;
  background: rgba(20, 8, 12, 0.92);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.lang-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--text-soft);
  font-size: 13.5px;
  transition: background 0.2s ease, color 0.2s ease;
}
.lang-menu a:hover { background: rgba(165, 42, 48, 0.14); color: var(--text); }
.lang-menu a[aria-current="page"] {
  color: var(--crimson-bright);
  background: rgba(165, 42, 48, 0.10);
}

/* ── RTL (Arapça / Farsça) ─────────────────────────────────────── */
/* Galeri şeridi içerik açısından yönsüzdür; scrollLeft tabanlı sonsuz
   döngü RTL'de bozulduğu için her sayfada LTR sabitlenir. */
.gallery-viewport,
.gallery-track { direction: ltr; }

[dir="rtl"] body,
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3 {
  font-family: var(--font-arabic);
}
/* Türkçe bırakılan beyitler RTL sayfada da serif kalsın */
[dir="rtl"] [lang="tr"] { font-family: var(--font-serif); }

/* Arap alfabesinde harf aralığı harf bitişmesini bozar */
[dir="rtl"] * { letter-spacing: 0 !important; }

/* Arap yazısında italik yoktur; em vurgusu düz kalsın */
[dir="rtl"] em { font-style: normal; }

[dir="rtl"] .read-progress { left: auto; right: 0; }
[dir="rtl"] .lang-switcher { right: auto; left: 16px; }
[dir="rtl"] .lang-menu { right: auto; left: 0; }
[dir="rtl"] .lightbox-close { right: auto; left: 20px; }
[dir="rtl"] .sheet-close { right: auto; left: 14px; }
