/* ============================================================
   Yılmazlar Mermer — Mezar Taşı & Mermer İşçiliği
   Sade, saygın, responsive tasarım
   ============================================================ */

:root {
  --bg: #faf8f4;
  --bg-alt: #f1ece4;
  --surface: #ffffff;
  --text: #2b2823;
  --text-soft: #6b655c;
  --line: #e4ddd2;
  --accent: #3f5241;        /* koyu zeytin yeşili */
  --accent-dark: #2f3e31;
  --gold: #a98b5b;          /* sıcak vurgu */
  --shadow: 0 8px 30px rgba(43, 40, 35, 0.08);
  --radius: 14px;
  --maxw: 1160px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: clip; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 .4em;
  letter-spacing: .2px;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 22px;
}

/* ---------- Butonlar ---------- */
.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn-ghost:hover { background: rgba(255,255,255,.12); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
}
/* backdrop-filter doğrudan header'da olursa, içindeki position:fixed menü
   header'a göre konumlanır ve mobilde sağa taşma yaratır. Bu yüzden ayrı katmanda. */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(250, 248, 244, .9);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  font-size: 1.6rem;
  color: var(--gold);
  line-height: 1;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.35rem;
  font-weight: 600;
}
.brand-text small { color: var(--text-soft); font-size: .72rem; letter-spacing: .5px; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a { font-size: .95rem; font-weight: 500; color: var(--text-soft); transition: color .2s; }
.nav a:hover { color: var(--text); }
.nav .nav-cta {
  background: var(--accent);
  color: #fff;
  padding: 9px 20px;
  border-radius: 999px;
}
.nav .nav-cta:hover { background: var(--accent-dark); color: #fff; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--text);
  transition: transform .25s, opacity .25s;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 86vh;
  display: flex;
  align-items: center;
  color: #fff;
  background: #555049;
  overflow: hidden;
}
/* Slider görseli: bulanık arka plan + koyu katman */
.hero-overlay {
  position: absolute;
  inset: -20px; /* blur kenarlarında beyaz boşluk kalmasın */
  background:
    linear-gradient(180deg, rgba(20,24,20,.55), rgba(20,24,20,.75)),
    url("../images/slider.webp") center / cover no-repeat;
  filter: blur(4px);
  z-index: 0;
}
.hero-content { position: relative; max-width: 720px; padding-top: 40px; padding-bottom: 40px; }
.hero-kicker {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: .78rem;
  color: #e7d9bf;
  margin: 0 0 14px;
}
.hero h1 { font-size: clamp(2.3rem, 5vw, 4rem); margin-bottom: .3em; }
.hero-sub { font-size: 1.08rem; color: #ece8e0; max-width: 560px; margin: 0 0 28px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Bölüm başlıkları ---------- */
.section { padding: 86px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: .75rem;
  font-weight: 600;
  color: var(--gold);
  margin: 0 0 10px;
}
.section-head h2 { font-size: clamp(1.9rem, 3.5vw, 2.8rem); }
.section-lead { color: var(--text-soft); font-size: 1.05rem; margin: 0; }

/* ---------- Hizmetler ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 22px;
}
.service-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 26px;
  text-align: center;
  transition: transform .2s ease, box-shadow .2s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service-icon { font-size: 2.2rem; margin-bottom: 14px; }
.service-card h3 { font-size: 1.4rem; margin-bottom: .3em; }
.service-card p { color: var(--text-soft); font-size: .96rem; margin: 0; }

/* ---------- Galeri ---------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 34px;
}
.filter {
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--text-soft);
  padding: 9px 18px;
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all .2s ease;
}
.filter:hover { border-color: var(--accent); color: var(--text); }
.filter.is-active { background: var(--accent); border-color: var(--accent); color: #fff; }

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 16px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  aspect-ratio: 4 / 5;
  background: var(--bg-alt);
  cursor: pointer;
  border: 1px solid var(--line);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease, opacity .4s ease;
  opacity: 0;
}
.gallery-item img.loaded { opacity: 1; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item .cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 26px 14px 12px;
  color: #fff;
  font-size: .85rem;
  font-weight: 500;
  background: linear-gradient(transparent, rgba(0,0,0,.6));
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .25s, transform .25s;
}
.gallery-item:hover .cap { opacity: 1; transform: translateY(0); }
.gallery-item.hide { display: none; }
.gallery-count {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(20, 24, 20, .72);
  color: #fff;
  font-size: .78rem;
  font-weight: 600;
  padding: 4px 9px;
  border-radius: 999px;
  backdrop-filter: blur(2px);
  pointer-events: none;
}

.gallery-note {
  text-align: center;
  color: var(--text-soft);
  font-size: .85rem;
  margin-top: 26px;
}
.gallery-note code {
  background: var(--bg-alt);
  padding: 2px 6px;
  border-radius: 5px;
  font-size: .85em;
}

/* ---------- Hakkımızda ---------- */
/* Ofis fotoğrafı yatay/panoramik (≈2.6:1) olduğu için görsel üstte
   tam genişlikte, metin altında gösteriliyor. */
.about-grid {
  display: block;
  max-width: 900px;
  margin: 0 auto;
}
.about-media {
  margin-bottom: 40px;
}
.about-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 1000 / 385;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.about-text h2 { font-size: clamp(1.9rem, 3.5vw, 2.8rem); }
.about-text p { color: var(--text-soft); }
.about-points {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 30px;
}
.about-points li {
  position: relative;
  padding-left: 24px;
  font-size: .95rem;
}
.about-points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* ---------- Alt sayfa başlığı (page-hero) ---------- */
.page-hero {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
  padding: 54px 0 46px;
  text-align: center;
}
.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 12px 0 .3em;
}
.page-hero p {
  color: var(--text-soft);
  max-width: 600px;
  margin: 0 auto;
}
.breadcrumb {
  font-size: .85rem;
  color: var(--text-soft);
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
}
.breadcrumb a { color: var(--accent); }
.breadcrumb a:hover { text-decoration: underline; }

.faq-cta {
  text-align: center;
  margin-top: 40px;
}
.faq-cta p {
  color: var(--text-soft);
  margin-bottom: 14px;
}

/* ---------- SSS (Sıkça Sorulan Sorular) ---------- */
.faq {
  max-width: 760px;
  margin: 0 auto;
}
/* İki kolonlu SSS düzeni (çok soru olduğunda) */
.faq-2col {
  max-width: 1000px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 20px;
  align-items: start;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 54px 18px 22px;
  font-weight: 600;
  font-size: 1.02rem;
  position: relative;
  transition: color .2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--accent);
  transition: transform .25s ease;
  line-height: 1;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item summary:hover { color: var(--accent); }
.faq-body {
  padding: 0 22px 20px;
}
.faq-body p {
  margin: 0;
  color: var(--text-soft);
}

/* ---------- İletişim ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 640px;
  margin: 0 auto;
}
.contact-list { list-style: none; padding: 0; margin: 26px 0 0; }
.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
  color: var(--text-soft);
}
.contact-ic { font-size: 1.2rem; line-height: 1.4; }
.contact-list a:hover { color: var(--accent); }

.contact-addr { display: block; transition: color .2s; }
.contact-addr .addr-cta {
  display: inline-block;
  margin-top: 4px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--accent);
}
.contact-addr:hover { color: var(--accent); }
.contact-addr:hover .addr-cta { text-decoration: underline; }

.map-embed {
  margin-top: 26px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  aspect-ratio: 15 / 8;
  background: var(--bg-alt);
}
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--accent-dark);
  color: #d8ddd5;
  padding: 36px 0;
}
.footer-inner { text-align: center; }
.footer-inner p { margin: 4px 0; font-size: .9rem; }
.footer-sub { color: #9fb0a1; font-size: .82rem; }

/* ---------- WhatsApp sabit buton ---------- */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 80;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, .45);
  transition: transform .2s ease, box-shadow .2s ease;
}
.wa-float:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 26px rgba(37, 211, 102, .6);
  color: #fff;
}
.wa-float::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25d366;
  z-index: -1;
  animation: wa-pulse 2.2s ease-out infinite;
}
@keyframes wa-pulse {
  0%   { transform: scale(1); opacity: .6; }
  70%  { transform: scale(1.8); opacity: 0; }
  100% { transform: scale(1.8); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .wa-float::before { animation: none; }
}
@media (max-width: 480px) {
  .wa-float { width: 52px; height: 52px; right: 16px; bottom: 16px; }
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(15, 17, 15, .92);
  padding: 40px;
}
.lightbox.open { display: flex; }
.lb-figure { margin: 0; max-width: 90vw; max-height: 88vh; text-align: center; }
.lb-figure img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 8px;
  margin: 0 auto;
}
.lb-figure figcaption { color: #e7e2d8; margin-top: 14px; font-size: .95rem; }
.lb-close {
  position: absolute;
  top: 18px; right: 24px;
  background: none;
  border: 0;
  color: #fff;
  font-size: 2.4rem;
  line-height: 1;
  cursor: pointer;
}
.lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.1);
  border: 0;
  color: #fff;
  width: 50px; height: 50px;
  border-radius: 50%;
  font-size: 1.3rem;
  cursor: pointer;
  transition: background .2s;
}
.lb-nav:hover { background: rgba(255,255,255,.25); }
.lb-prev { left: 20px; }
.lb-next { right: 20px; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .nav {
    position: fixed;
    top: 72px; right: 0;
    width: min(78vw, 320px);
    height: calc(100vh - 72px);
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    background: var(--bg);
    border-left: 1px solid var(--line);
    padding: 26px 24px;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform .28s ease, visibility 0s linear .28s;
  }
  .nav.open { transform: translateX(0); visibility: visible; transition-delay: 0s; }
  .nav a { width: 100%; padding: 10px 0; font-size: 1.05rem; }
  .nav .nav-cta { width: 100%; text-align: center; margin-top: 8px; }
  .nav-toggle { display: flex; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .faq-2col { grid-template-columns: 1fr; max-width: 760px; }
  .section { padding: 64px 0; }
}

@media (max-width: 480px) {
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .hero { min-height: 78vh; }
  .lightbox { padding: 16px; }
  .lb-nav { width: 42px; height: 42px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}

/* ============================================================
   BLOG
   ============================================================ */
.nav a[aria-current="page"] { color: var(--accent); font-weight: 600; }

/* ---------- Makale ---------- */
.article-head { max-width: 780px; padding-top: 44px; padding-bottom: 8px; }
.article-head .breadcrumb { justify-content: flex-start; flex-wrap: wrap; margin-bottom: 18px; }
.article-cat { margin: 0 0 8px; font-size: .78rem; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; }
.article-cat a { color: var(--gold); }
.article-head h1 { font-size: clamp(2rem, 4.2vw, 3rem); margin-bottom: .35em; }
.article-meta { color: var(--text-soft); font-size: .88rem; margin: 0 0 14px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.tag-chip {
  display: inline-block; padding: 4px 11px; border-radius: 999px;
  background: var(--bg-alt); border: 1px solid var(--line);
  color: var(--text-soft); font-size: .8rem;
}
a.tag-chip:hover { border-color: var(--accent); color: var(--accent); }

.article { max-width: 780px; padding-top: 18px; padding-bottom: 30px; font-size: 1.04rem; }
.article h2 { font-size: 1.75rem; margin: 1.6em 0 .45em; }
.article h3 { font-size: 1.35rem; margin: 1.3em 0 .35em; }
.article p { margin: 0 0 1.05em; }
.article ul, .article ol { padding-left: 1.3em; margin: 0 0 1.15em; }
.article li { margin-bottom: .4em; }
.article a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.article a:hover { color: var(--accent-dark); }

.callout {
  background: #f6f1e6; border-left: 4px solid var(--gold);
  padding: 14px 18px; border-radius: 0 10px 10px 0; margin: 1.3em 0;
}
.callout p { margin: 0; }

.notice {
  background: var(--bg-alt); border: 1px solid var(--line); border-radius: 10px;
  padding: 14px 18px; margin: 2em 0 1.4em; font-size: .9rem; color: var(--text-soft);
}

/* ---------- Arapça / ayet blokları ---------- */
.ayah-block {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 8px 20px 20px; margin: 1.5em 0; box-shadow: var(--shadow);
}
.ayah-title { font-weight: 600; color: var(--gold); margin: 14px 0 0; font-size: .9rem; letter-spacing: .5px; }
.ayah-row { display: flex; gap: 14px; align-items: flex-start; padding: 16px 0; border-bottom: 1px dashed var(--line); }
.ayah-row:last-of-type { border-bottom: 0; }
.ayah-besmele { justify-content: center; text-align: center; }
.ayah-no {
  flex: 0 0 auto; min-width: 30px; height: 30px; border-radius: 50%;
  background: var(--accent); color: #fff; font-size: .78rem; font-weight: 600;
  display: inline-flex; align-items: center; justify-content: center; margin-top: 8px;
}
.ayah-text { flex: 1; min-width: 0; }
.ar {
  font-family: "Amiri", "Noto Naskh Arabic", "Traditional Arabic", serif;
  font-size: 1.85rem; line-height: 2.25; text-align: right; margin: 0 0 .15em; color: var(--text);
}
.ayah-besmele .ar { text-align: center; }
.ok { margin: 0; font-style: italic; color: var(--accent-dark); font-size: .98rem; }
.meal { margin: 1em 0 0; padding-top: 14px; border-top: 1px solid var(--line); color: var(--text-soft); font-size: .98rem; }

/* ---------- Yazı CTA, önceki/sonraki, ilgili ---------- */
.post-cta {
  background: var(--accent); color: #fff; border-radius: var(--radius);
  padding: 26px 28px; margin: 2em 0; text-align: center;
}
.post-cta h2 { color: #fff; margin: 0 0 .3em; font-size: 1.6rem; }
.post-cta p { margin: 0 0 14px; color: #e6ece6; }
.post-cta .btn { background: #fff; color: var(--accent-dark); }
.post-cta-soft { background: var(--bg-alt); color: var(--text-soft); text-align: left; padding: 18px 22px; }
.post-cta-soft p { margin: 0; color: var(--text-soft); }

.prevnext { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 1.6em; }
.prevnext a {
  display: block; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px;
  background: var(--surface); text-decoration: none; color: var(--text);
}
.prevnext a:hover { border-color: var(--accent); }
.prevnext small { display: block; color: var(--text-soft); margin-bottom: 4px; }
.prevnext .pn-next { text-align: right; }
.article .prevnext a { color: var(--text); text-decoration: none; }

.related { padding: 10px 0 70px; }
.related h2 { font-size: 1.7rem; margin-bottom: 18px; }

/* ---------- Kart ızgaraları ---------- */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.post-card {
  display: flex; flex-direction: column; gap: 6px; padding: 20px; background: var(--surface);
  border: 1px solid var(--line); border-radius: 14px; transition: transform .2s, box-shadow .2s;
}
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.post-card-cat { font-size: .72rem; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold); }
.post-card h3 { font-size: 1.3rem; margin: 0; }
.post-card p { margin: 0; color: var(--text-soft); font-size: .92rem; }

.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.cat-card {
  display: block; padding: 24px; background: var(--surface); border: 1px solid var(--line);
  border-radius: 14px; transition: transform .2s, box-shadow .2s;
}
.cat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.cat-icon { font-size: 1.9rem; }
.cat-card h3 { font-size: 1.45rem; margin: 8px 0 4px; }
.cat-card p { margin: 0 0 10px; color: var(--text-soft); font-size: .93rem; }
.cat-count { font-size: .82rem; font-weight: 600; color: var(--accent); }
.count-line { color: var(--text-soft); margin: 0 0 18px; font-size: .9rem; }
.more-link { text-align: center; margin-top: 30px; }

.all-posts h2 { font-size: 1.8rem; margin: 1.6em 0 .4em; }
.all-posts h2 small { font-size: .55em; color: var(--text-soft); font-family: "Inter", sans-serif; }
.all-posts ul { columns: 2 320px; column-gap: 40px; padding-left: 1.1em; margin: 0; }
.all-posts li { margin-bottom: 6px; break-inside: avoid; }
.all-posts a:hover { color: var(--accent); text-decoration: underline; }

/* ---------- Arama ---------- */
.blog-search-wrap { position: relative; max-width: 520px; margin: 22px auto 0; text-align: left; }
.blog-search {
  width: 100%; padding: 14px 18px; border-radius: 999px; border: 1px solid var(--line);
  font: inherit; background: var(--surface); box-shadow: var(--shadow);
}
.blog-search:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(63,82,65,.14); }
.search-results {
  position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 20; list-style: none;
  margin: 0; padding: 6px; background: var(--surface); border: 1px solid var(--line);
  border-radius: 14px; box-shadow: var(--shadow); max-height: 380px; overflow: auto;
}
.search-results li a { display: block; padding: 9px 12px; border-radius: 8px; font-size: .94rem; }
.search-results li a:hover { background: var(--bg-alt); }
.search-results small { color: var(--text-soft); display: block; font-size: .78rem; }
.search-results .empty { padding: 10px 12px; color: var(--text-soft); font-size: .9rem; }

/* ---------- Footer ızgarası ---------- */
.footer-grid {
  display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 34px; text-align: left;
  padding-bottom: 26px; margin-bottom: 18px; border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer-grid p { margin: 4px 0; font-size: .9rem; color: #c3cbc2; }
.footer-grid ul { list-style: none; margin: 8px 0 0; padding: 0; }
.footer-grid li { margin-bottom: 6px; font-size: .9rem; }
.footer-grid a { color: #d8ddd5; }
.footer-grid a:hover { color: #fff; text-decoration: underline; }
.footer-title { display: block; color: #fff; font-family: "Cormorant Garamond", serif; font-size: 1.25rem; }

@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr; gap: 22px; }
  .ar { font-size: 1.6rem; }
}
@media (max-width: 480px) {
  .prevnext { grid-template-columns: 1fr; }
  .ayah-block { padding: 6px 14px 16px; }
  .ayah-row { gap: 10px; }
}
