/* =============================================================
   Burak Mezar Bakım Hizmetleri
   Tasarım sistemi

   PALET KİLİDİ (iki jetonlu, belgeli kural)
     --blue  : yapısal renk. Butonlar, başlıklar, bağlantılar, ikon gövdeleri.
     --gold  : yalnızca vurgu. Motifler, ayraçlar, küçük işaretler, rakamlar.
               Beyaz zeminde asla gövde metni olarak kullanılmaz (kontrast yetersiz).

   BİÇİM KİLİDİ
     Butonlar : tam hap (999px)
     Kartlar  : dış kabuk 24px / iç çekirdek 18px (eşmerkezli)
     Alanlar  : 14px
     Görseller: sivri kemer maskesi (#arch)

   MOTION
     Tek eğri ailesi. ease-out girişte, ease-in-out yer değiştirmede.
     Yalnız transform ve opacity animasyonlanır.
   ============================================================= */

/* ---------- 1. Jetonlar ---------- */
:root {
  color-scheme: light dark;

  --bg:          #ffffff;
  --bg-2:        #f5f8fc;
  --surface:     #ffffff;
  --surface-2:   #fbfcfe;

  --ink:         #0f1e33;
  --ink-2:       #33465f;
  --muted:       #5a6b82;

  --blue:        #17457a;
  --blue-deep:   #0e2e55;
  --blue-soft:   rgba(23, 69, 122, 0.07);
  --blue-line:   rgba(23, 69, 122, 0.16);
  --on-blue:     #ffffff;

  --gold:        #c9a227;
  --gold-bright: #e3c35b;
  --gold-soft:   rgba(201, 162, 39, 0.12);

  --line:        rgba(15, 30, 51, 0.10);
  --line-strong: rgba(15, 30, 51, 0.18);

  --motif:       rgba(201, 162, 39, 0.55);
  --motif-alt:   rgba(227, 195, 91, 0.42);

  --shadow-sm:  0 1px 2px rgba(14, 46, 85, 0.05), 0 4px 14px rgba(14, 46, 85, 0.05);
  --shadow-md:  0 2px 6px rgba(14, 46, 85, 0.06), 0 18px 44px rgba(14, 46, 85, 0.08);
  --shadow-lg:  0 4px 10px rgba(14, 46, 85, 0.07), 0 34px 80px rgba(14, 46, 85, 0.12);

  --r-pill: 999px;
  --r-shell: 24px;
  --r-core: 18px;
  --r-field: 14px;

  --ease-out:    cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);

  --wrap: 1240px;
  --gut: clamp(1.25rem, 4vw, 3rem);

  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Schibsted Grotesk", ui-sans-serif, system-ui, "Segoe UI", sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg:          #0b1421;
    --bg-2:        #0f1b2c;
    --surface:     #132133;
    --surface-2:   #16263a;

    --ink:         #e8eef6;
    --ink-2:       #c2d0e0;
    --muted:       #93a6be;

    --blue:        #7fb0e6;
    --blue-deep:   #a8ccf3;
    --blue-soft:   rgba(127, 176, 230, 0.10);
    --blue-line:   rgba(127, 176, 230, 0.22);
    --on-blue:     #08111d;

    --gold:        #e3c35b;
    --gold-bright: #efd888;
    --gold-soft:   rgba(227, 195, 91, 0.14);

    --line:        rgba(232, 238, 246, 0.12);
    --line-strong: rgba(232, 238, 246, 0.22);

    --motif:       rgba(227, 195, 91, 0.30);
    --motif-alt:   rgba(227, 195, 91, 0.34);

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 2px 8px rgba(0, 0, 0, 0.42), 0 18px 44px rgba(0, 0, 0, 0.36);
    --shadow-lg: 0 4px 12px rgba(0, 0, 0, 0.46), 0 34px 80px rgba(0, 0, 0, 0.46);
  }
}

/* ---------- 2. Temel ---------- */
*, *::before, *::after { box-sizing: border-box; }

/* hidden HER ZAMAN kazanır.
   Bir kurala display: grid/flex yazdığınız anda tarayıcının [hidden] için
   verdiği display: none eziliyor. Mobil menüde bu olmuştu: görünmez katman
   sayfanın üstünde durup bütün fare tıklamalarını yutuyordu, hiçbir buton
   çalışmıyordu. Bu satır o hata sınıfını topluca kapatır. */
[hidden] { display: none !important; }

/* scroll-behavior: smooth BİLEREK yok. Bazı tarayıcı ortamlarında hiç yürümüyor
   ve bölüm bağlantılarını sessizce öldürüyor. Kaydırma main.js içinde
   requestAnimationFrame ile canlandırılıyor; her yerde çalışır.
   scroll-padding-top kalıyor: klavyeyle gezinirken hedef sabit menünün altına girmesin. */
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 7rem; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-2);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  /* DİKKAT: burada 'hidden' kullanmayın.
     overflow-x: hidden, tarayıcıyı overflow-y'yi 'auto' yapmaya zorlar; body bir
     kaydırma kabına dönüşür ve #bolum bağlantıları ile scroll-behavior: smooth
     çalışmaz olur. "Bize ulaşın" butonunun ölü kalmasının sebebi buydu.
     'clip' aynı taşmayı keser ama kaydırma kabı yaratmaz. */
  overflow-x: clip;
}

body.is-locked { overflow: hidden; }

img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }

.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

/* Tekil SVG ikonlar (bkz. sprite, body başında).
   İkon yazı tipinin davrandığı gibi davranır: boyutu font-size'dan gelir,
   rengi currentColor ile ebeveynden miras alır. */
.icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  flex-shrink: 0;
  fill: currentColor;
}

a { color: var(--blue); text-decoration-color: var(--blue-line); text-underline-offset: 0.22em; }
a:hover { text-decoration-color: currentColor; }

:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 50%;
  z-index: 200;
  padding: 0.7rem 1.25rem;
  background: var(--blue);
  color: var(--on-blue);
  border-radius: var(--r-pill);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transform: translate(-50%, -160%);
  transition: transform 220ms var(--ease-out);
}
.skip-link:focus-visible { transform: translate(-50%, 0); }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gut);
}

/* ---------- 3. Tipografi ---------- */
.display, .h2, .h3, h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
  margin: 0;
}

/* Ölçek, başlığın masaüstünde iki satırı geçmeyeceği ölçüde sınırlı.
   Büyüdükçe harf arası daralır: optik denge. */
.display {
  font-size: clamp(2.6rem, 5.4vw, 4.5rem);
  line-height: 1.04;
  letter-spacing: -0.022em;
}
.display em {
  font-style: italic;
  font-weight: 500;
  color: var(--blue);
  line-height: 1.12;
  padding-bottom: 0.06em;
  display: inline-block;
}

.h2 {
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.016em;
}

.lede {
  font-size: clamp(1.05rem, 1.45vw, 1.2rem);
  line-height: 1.62;
  color: var(--ink-2);
  max-width: 54ch;
  margin: 0;
}

p { margin: 0 0 1rem; max-width: 62ch; }
p:last-child { margin-bottom: 0; }

/* Altın, beyaz zeminde küçük metin olarak WCAG AA'yı geçmez.
   Bu yüzden taban renk mavi; altın yalnız baklava işaretinde yaşar. */
.eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 0.9rem;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-inline-end: 0.6em;
  background: var(--gold);
  transform: rotate(45deg) translateY(-1px);
}

.section { padding-block: clamp(5rem, 9vw, 8.5rem); }
.section--alt { background: var(--bg-2); }
.section__title { margin-bottom: 0.9rem; }
.section__sub { color: var(--muted); max-width: 58ch; margin-bottom: clamp(2.5rem, 4vw, 3.5rem); }
.section__title + .cem-grid,
.section__title + .bento { margin-top: clamp(2.5rem, 4vw, 3.5rem); }

.note {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 62ch;
}

/* ---------- 4. Motif bileşenleri ---------- */

/* Sivri kemer çerçevesi: dış kabuk + maskelenmiş görsel */
.arch-frame {
  position: relative;
  padding: 8px;
  border-radius: 999px 999px var(--r-shell) var(--r-shell);
  background: var(--blue-soft);
  box-shadow: inset 0 0 0 1px var(--blue-line);
  overflow: hidden;
  isolation: isolate;
}
.arch-frame::after {
  content: "";
  position: absolute;
  inset: 8px;
  clip-path: url(#arch);
  background: linear-gradient(100deg, var(--blue-soft) 30%, var(--gold-soft) 50%, var(--blue-soft) 70%);
  background-size: 300% 100%;
  animation: skel 1.6s var(--ease-in-out) infinite;
  z-index: 1;
  opacity: 1;
  transition: opacity 400ms var(--ease-out);
}
.arch-frame.is-loaded::after { opacity: 0; animation: none; }

@keyframes skel {
  0%   { background-position: 120% 0; }
  100% { background-position: -20% 0; }
}

.arch-img {
  width: 100%;
  aspect-ratio: 7 / 9;
  object-fit: cover;
  clip-path: url(#arch);
  position: relative;
  z-index: 2;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 600ms var(--ease-out), transform 900ms var(--ease-out);
  /* Sakin, hafif doygunluğu alınmış ton. Gerçek fotoğraflarda da doğru durur. */
  filter: saturate(0.88) contrast(1.02);
}
.arch-frame.is-loaded .arch-img { opacity: 1; transform: none; }

.arch-frame__glow {
  position: absolute;
  inset: 8px;
  z-index: 3;
  clip-path: url(#arch);
  background: linear-gradient(180deg, rgba(23, 69, 122, 0.28) 0%, rgba(23, 69, 122, 0.02) 38%, rgba(14, 46, 85, 0.42) 100%);
  pointer-events: none;
}

/* Bölüm ayracı: dantel bant.
   Yükseklik motif yüksekliğiyle birebir (24px) ki desen yarıda kesilmesin.
   Kenarlara doğru sönümlenir: bant değil, ince bir işaret olarak okunur. */
.lace {
  height: 24px;
  background: var(--bg);
  opacity: 0.55;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 24%, #000 76%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 24%, #000 76%, transparent);
}
.lace svg { width: 100%; height: 24px; }

/* Kart mimarisi: dış kabuk + iç çekirdek (eşmerkezli yarıçap) */
.card {
  padding: 6px;
  border-radius: var(--r-shell);
  background: var(--blue-soft);
  box-shadow: inset 0 0 0 1px var(--blue-line);
}
.card__core {
  border-radius: var(--r-core);
  background: var(--surface);
  box-shadow: var(--shadow-md);
}

/* ---------- 5. Butonlar ---------- */
.btn {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding: 0.9rem 1rem 0.9rem 1.6rem;
  min-height: 52px;
  border: 0;
  border-radius: var(--r-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms var(--ease-out), background-color 220ms var(--ease-out), box-shadow 220ms var(--ease-out);
}
.btn:active { transform: scale(0.975); }

.btn--primary {
  --btn-bg: var(--blue);
  --btn-fg: var(--on-blue);
  box-shadow: var(--shadow-sm);
}
.btn--ghost {
  --btn-fg: var(--ink);
  padding-inline: 1.6rem;
  box-shadow: inset 0 0 0 1px var(--line-strong);
}
.btn--sm { min-height: 44px; padding: 0.6rem 0.6rem 0.6rem 1.15rem; font-size: 0.9rem; }
.btn--block { width: 100%; }

/* Butonun başındaki kanal ikonu (WhatsApp gibi): sondaki ok yuvarlağından farklı,
   düz durur, metnin bir parçası gibi okunur. */
.btn__lead { font-size: 1.25rem; line-height: 1; margin-inline-end: -0.15rem; }

.btn__icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.16);
  font-size: 1.05rem;
  transition: transform 260ms var(--ease-out);
}
.btn--sm .btn__icon { width: 28px; height: 28px; font-size: 0.95rem; }
.btn--ghost .btn__icon { background: var(--blue-soft); }

@media (hover: hover) and (pointer: fine) {
  .btn--primary:hover { background: var(--blue-deep); box-shadow: var(--shadow-md); }
  .btn--ghost:hover { box-shadow: inset 0 0 0 1px var(--blue); }
  .btn:hover .btn__icon { transform: translate(2px, -2px) scale(1.06); }
}

@media (prefers-color-scheme: dark) {
  .btn__icon { background: rgba(8, 17, 29, 0.18); }
  .btn--primary:hover { background: var(--blue-deep); }
}

/* ---------- 6. Navigasyon ---------- */
.nav {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  padding: 1.1rem var(--gut) 0;
  pointer-events: none;
}
.nav__pill {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 2vw, 1.75rem);
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  min-height: 64px;
  padding: 0.5rem 0.5rem 0.5rem 1.1rem;
  border-radius: var(--r-pill);
  background: var(--bg); /* color-mix desteklenmiyorsa opak zemin */
  background: color-mix(in srgb, var(--bg) 76%, transparent);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 0 0 1px var(--line), var(--shadow-sm);
  transition: box-shadow 300ms var(--ease-out), background-color 300ms var(--ease-out);
}
.nav.is-stuck .nav__pill { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 0 0 1px var(--line), var(--shadow-md); }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
  flex: 0 0 auto;
}
.brand__mark {
  display: block;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--blue-soft);
  box-shadow: inset 0 0 0 1px var(--blue-line);
}
.brand__mark img { display: block; width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.brand__mark--lg { width: 52px; height: 52px; border-radius: 14px; background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px rgba(227, 195, 91, 0.28); }

.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__text strong {
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.brand__text span { font-size: 0.7rem; letter-spacing: 0.09em; text-transform: uppercase; color: var(--muted); }

.nav__links { display: none; align-items: center; gap: clamp(0.65rem, 1.5vw, 1.4rem); margin-inline-start: auto; }
.nav__links a {
  position: relative;
  padding-block: 0.45rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-2);
  text-decoration: none;
  white-space: nowrap;
  transition: color 200ms var(--ease-out);
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1.5px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 320ms var(--ease-out);
}
.nav__links a.is-current::after { transform: scaleX(1); }
@media (hover: hover) and (pointer: fine) {
  .nav__links a:hover { color: var(--ink); }
  .nav__links a:hover::after { transform: scaleX(1); }
}

.nav__cta { display: none; flex: 0 0 auto; }

.burger {
  margin-inline-start: auto;
  display: grid;
  place-content: center;
  gap: 6px;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 0;
  border-radius: var(--r-pill);
  background: var(--blue-soft);
  cursor: pointer;
}
.burger span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 380ms var(--ease-drawer), opacity 200ms var(--ease-out);
}
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

@media (min-width: 1240px) {
  .nav__links, .nav__cta { display: flex; }
  .burger { display: none; }
}

/* Mobil tam ekran menü */
.menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  display: grid;
  place-items: center;
  background: var(--bg); /* color-mix desteklenmiyorsa opak zemin */
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  opacity: 0;
  transition: opacity 320ms var(--ease-out);
}
.menu.is-open { opacity: 1; }
.menu__inner { display: flex; flex-direction: column; align-items: center; gap: 0.35rem; text-align: center; }
.menu__inner a {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 6.4vw, 2.5rem);
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  padding-block: 0.35rem;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 420ms var(--ease-out), transform 420ms var(--ease-out);
  transition-delay: calc(var(--i) * 45ms);
}
.menu.is-open .menu__inner a { opacity: 1; transform: none; }
.menu__cta {
  margin-top: 1.5rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--on-blue);
}

/* ---------- 7. Hero ---------- */
/* Üst dolgu, sabit gezinme hapını (yaklaşık 5rem) temizleyecek kadar.
   Görünür boşluk bu yüzden 6rem sınırının altında kalır. */
.hero {
  position: relative;
  padding-block: clamp(6.5rem, 10vh, 8rem) clamp(3.5rem, 6vw, 5.5rem);
  overflow: hidden;
}
.hero__pattern {
  position: absolute;
  inset-inline-end: -6%;
  top: -10%;
  width: min(58%, 720px);
  aspect-ratio: 1;
  opacity: 0.5;
  -webkit-mask-image: radial-gradient(closest-side, #000 20%, transparent 78%);
  mask-image: radial-gradient(closest-side, #000 20%, transparent 78%);
  pointer-events: none;
}
.hero__pattern svg { width: 100%; height: 100%; }

.hero__grid {
  position: relative;
  display: grid;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}
.hero__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 1.6rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.hero__figure { margin: 0; }
.hero__figure .arch-img { aspect-ratio: 3 / 4; }

@media (min-width: 900px) {
  .hero__grid { grid-template-columns: 1.15fr 0.85fr; }
  .hero__figure { max-width: 440px; margin-inline-start: auto; }
}

/* ---------- 8. Ankara geneli şeridi ---------- */
.ankara { padding-block: clamp(2.5rem, 4vw, 3.5rem); background: var(--bg); }
.ankara__inner {
  display: grid;
  gap: 1.75rem;
  padding-block: clamp(1.75rem, 3vw, 2.5rem);
  border-block: 1px solid var(--line);
}
.ankara__lead {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  font-size: clamp(1.02rem, 1.4vw, 1.15rem);
  color: var(--ink-2);
  max-width: 60ch;
  margin: 0;
}
.ankara__lead .icon { color: var(--gold); font-size: 1.35rem; transform: translateY(3px); }
.ankara__lead strong { color: var(--ink); font-weight: 600; }

.ankara__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.92rem;
  color: var(--muted);
}
.ankara__facts li { display: flex; flex-direction: column; gap: 0.15rem; }
.ankara__facts span {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1.1;
  color: var(--ink);
  letter-spacing: -0.01em;
}

@media (min-width: 780px) {
  .ankara__inner { grid-template-columns: 1fr auto; align-items: center; gap: 3rem; }
  .ankara__facts { grid-template-columns: repeat(4, auto); }
}

/* ---------- 9. Hakkımızda ---------- */
.editorial { display: grid; gap: clamp(2rem, 4vw, 3.5rem); }
/* Başlık uzadı: 26ch'lik kapak onu beş satıra bölüyordu.
   Geniş ekranda ızgara sütunu zaten sınırlıyor, ek kapağa gerek yok. */
.editorial__head { max-width: 34ch; }
.editorial__body { display: flex; flex-direction: column; gap: 1.25rem; }

.values {
  display: grid;
  gap: 1.5rem 2.5rem;
  margin: 1.5rem 0 0;
  padding: 1.75rem 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}
.values li { display: flex; gap: 0.9rem; align-items: flex-start; }
.values .icon { color: var(--gold); font-size: 1.5rem; transform: translateY(2px); }
.values strong { display: block; color: var(--ink); font-weight: 600; margin-bottom: 0.15rem; }
.values p { font-size: 0.93rem; color: var(--muted); margin: 0; }

/* 3 madde var: 2 sütunlu ızgara üçüncüyü yalnız bırakıp boş hücre açardı.
   .contact__channels ile aynı desen: tek sütun, her genişlikte güvenli. */
@media (min-width: 1000px) {
  .editorial { grid-template-columns: 0.9fr 1.1fr; }
  .editorial__head { max-width: none; }
}

/* ---------- 10. Hizmetler (bento) ---------- */
.bento { display: grid; gap: 1.25rem; }

.tile {
  padding: 6px;
  border-radius: var(--r-shell);
  background: var(--blue-soft);
  box-shadow: inset 0 0 0 1px var(--blue-line);
  transition: transform 420ms var(--ease-out);
}
.tile__core {
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: clamp(1.5rem, 2.4vw, 2rem);
  border-radius: var(--r-core);
  background: var(--surface);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), var(--shadow-sm);
}
.tile__icon { font-size: 1.85rem; color: var(--blue); line-height: 1; margin-bottom: 0.35rem; }
.tile h3 { font-size: 1.42rem; line-height: 1.2; }
.tile p { font-size: 0.95rem; color: var(--muted); margin: 0; }

.tile__media {
  margin-top: auto;
  padding-top: 1.5rem;
}
.tile__media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 12px;
  filter: saturate(0.88) contrast(1.02);
}

/* Altın hücre: bento içinde görsel çeşitlilik.
   Zemin bilerek sabit lacivert. Jetonlarla değişseydi koyu temada açılıp
   üstündeki beyaz metni okunmaz hale getirirdi. */
.tile--gold { background: var(--gold-soft); box-shadow: inset 0 0 0 1px rgba(201, 162, 39, 0.32); }
.tile--gold .tile__core {
  background: linear-gradient(155deg, #0e2e55, #17457a);
  color: rgba(255, 255, 255, 0.82);
  box-shadow: none;
}
.tile--gold h3 { color: #fff; }
.tile--gold p { color: rgba(255, 255, 255, 0.78); }
.tile--gold .tile__icon { color: var(--gold-bright); }

@media (min-width: 720px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1000px) {
  .bento { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tile--lead { grid-column: span 2; grid-row: span 2; }
}
@media (hover: hover) and (pointer: fine) {
  .tile:hover { transform: translateY(-4px); }
}

/* ---------- 11. Mezarlıklar ---------- */
.cem-grid { display: grid; gap: clamp(1.75rem, 3vw, 2.75rem); }
.cem h3 { font-size: 1.5rem; margin-top: 1.25rem; }
.cem p { font-size: 0.95rem; color: var(--muted); margin: 0.5rem 0 0; }
.cem__meta {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem !important;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--blue) !important;
  margin-top: 0.35rem !important;
}
.cem__meta .icon { color: var(--gold); font-size: 1rem; }
/* Mezarlık kartlarında kemer maskesi kullanılmaz: uydu karesi düz dikdörtgen
   durduğunda okunaklı oluyor. Kemer yalnız hero görselinde kaldı. */

@media (min-width: 640px) { .cem-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .cem-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- 12. Galeri ---------- */
/* 16 fotoğraf. Izgara (sütun akışı değil): satırlar hizalı, mobilde kesin
   ikişerli. 16 hem 2'ye hem 4'e tam bölünür, boş hücre çıkmaz.
   3 sütunlu ara adım bilerek yok: 16 üçe bölünmeyip tek kare artık bırakırdı. */
.shots {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.6rem, 1.2vw, 1rem);
}
.shots figure {
  margin: 0;
  aspect-ratio: 1;
  border-radius: var(--r-core);
  overflow: hidden;
  background: var(--blue-soft);
  box-shadow: inset 0 0 0 1px var(--blue-line);
}
.shots img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.88) contrast(1.02);
  transition: transform 700ms var(--ease-out);
}

@media (min-width: 1080px) { .shots { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (hover: hover) and (pointer: fine) { .shots figure:hover img { transform: scale(1.04); } }

/* Uydu görüntüsü çerçevesi.
   iframe pointer-events: none ile sabitlendi; aksi halde sayfayı kaydırırken
   fare haritanın üstüne geldiğinde harita yakınlaşır, ziyaretçi sayfada sıkışır.
   Tıklama, saran bağlantı üzerinden Google Haritalar'ı yeni sekmede açar. */
.sat {
  position: relative;
  display: block;
  padding: 6px;
  border-radius: var(--r-shell);
  background: var(--blue-soft);
  box-shadow: inset 0 0 0 1px var(--blue-line);
  overflow: hidden;
  isolation: isolate;
  text-decoration: none;
}
.sat iframe {
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 0;
  border-radius: var(--r-core);
  pointer-events: none;
  /* Uydu karesini paletle uyumlu ve biraz daha canlı hale getirir. */
  filter: saturate(1.18) contrast(1.04) brightness(1.02);
}
.cem__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.9rem;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 240ms var(--ease-out);
}
.cem__link .icon { color: var(--gold); }
@media (hover: hover) and (pointer: fine) { .cem__link:hover { transform: translateX(3px); } }

.sat__hint {
  position: absolute;
  inset-inline: 14px;
  bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.55rem 1rem;
  border-radius: var(--r-pill);
  background: rgba(14, 46, 85, 0.82);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 260ms var(--ease-out), transform 260ms var(--ease-out);
}
.sat:focus-visible .sat__hint { opacity: 1; transform: none; }
@media (hover: hover) and (pointer: fine) {
  .sat:hover .sat__hint { opacity: 1; transform: none; }
}
/* Dokunmatikte hover yok: ipucu hep görünsün. */
@media (hover: none) {
  .sat__hint { opacity: 1; transform: none; }
}

/* ---------- 13. Yorumlar ---------- */
.quotes { display: grid; gap: 1.25rem; }
.quote {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin: 0;
  padding: clamp(1.75rem, 2.6vw, 2.25rem);
  border-radius: var(--r-shell);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm);
}
.quote p {
  font-family: var(--font-display);
  font-size: 1.32rem;
  line-height: 1.42;
  color: var(--ink);
  margin: 0;
}
.quote footer { display: flex; flex-direction: column; gap: 0.1rem; margin-top: auto; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.quote__name { font-weight: 600; font-size: 0.95rem; color: var(--ink); }
.quote__where { font-size: 0.85rem; color: var(--muted); }

@media (min-width: 820px) { .quotes { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.quotes__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-top: 2.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}
.quotes__cta p { color: var(--muted); font-size: 0.95rem; margin: 0; max-width: 52ch; }

/* ---------- 15. İletişim ---------- */
.contact { display: grid; gap: clamp(2.5rem, 4vw, 4rem); align-items: start; }
.contact__aside { display: flex; flex-direction: column; gap: 1.25rem; }

.contact__channels { display: grid; gap: 1.25rem; margin: 1rem 0 0; padding: 1.75rem 0 0; border-top: 1px solid var(--line); list-style: none; }
.contact__channels li { display: flex; gap: 0.9rem; align-items: flex-start; }
.contact__channels .icon { color: var(--gold); font-size: 1.4rem; transform: translateY(2px); }
.contact__channels span { display: block; font-size: 0.78rem; letter-spacing: 0.09em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.15rem; }
.contact__channels a { font-size: 1.05rem; font-weight: 600; text-decoration: none; }
.contact__channels p { font-size: 1.02rem; color: var(--ink-2); margin: 0; }

.form-card .card__core { padding: clamp(1.5rem, 3vw, 2.25rem); }
.form { display: grid; gap: 1.25rem; }

.field { display: grid; gap: 0.5rem; }
.field label { font-size: 0.88rem; font-weight: 600; color: var(--ink); }
.field input, .field textarea, .select select {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-field);
  background: var(--surface-2);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.5;
  transition: border-color 200ms var(--ease-out), box-shadow 200ms var(--ease-out);
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field textarea:focus, .select select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-soft);
}
.field input:focus-visible, .field textarea:focus-visible, .select select:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

.select { position: relative; }
.select select { appearance: none; -webkit-appearance: none; padding-inline-end: 2.75rem; cursor: pointer; }
.select .icon {
  position: absolute;
  top: 50%;
  inset-inline-end: 1rem;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}

.field__help { font-size: 0.83rem; color: var(--muted); margin: 0; }
.field__error { display: flex; align-items: center; gap: 0.35rem; font-size: 0.83rem; font-weight: 500; color: #b3261e; margin: 0; }
.field.has-error input, .field.has-error select { border-color: #b3261e; }
@media (prefers-color-scheme: dark) {
  .field__error { color: #ffb4ab; }
  .field.has-error input, .field.has-error select { border-color: #ffb4ab; }
}

.btn.is-busy { pointer-events: none; opacity: 0.72; }
.form__note { font-size: 0.83rem; color: var(--muted); text-align: center; margin: 0; }
/* hidden özniteliği kazanmalı: yoksa boş bir kutu formun altında asılı kalır. */
.form__status[hidden] { display: none; }
.form__status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1rem;
  border-radius: var(--r-field);
  background: var(--blue-soft);
  box-shadow: inset 0 0 0 1px var(--blue-line);
  font-size: 0.92rem;
  color: var(--ink);
  margin: 0;
}

@media (min-width: 940px) { .contact { grid-template-columns: 0.9fr 1.1fr; } }

/* ---------- 16. Alt bilgi ---------- */
.footer {
  position: relative;
  background: var(--blue-deep);
  color: rgba(255, 255, 255, 0.72);
  overflow: hidden;
}
@media (prefers-color-scheme: dark) { .footer { background: #08111d; } }

.footer__pattern {
  position: absolute;
  inset-inline-start: -4%;
  bottom: -30%;
  width: min(46%, 520px);
  aspect-ratio: 1;
  opacity: 0.7;
  -webkit-mask-image: radial-gradient(closest-side, #000 20%, transparent 76%);
  mask-image: radial-gradient(closest-side, #000 20%, transparent 76%);
  pointer-events: none;
}
.footer__pattern svg { width: 100%; height: 100%; }

.footer__inner {
  position: relative;
  display: grid;
  gap: 2.5rem;
  padding-block: clamp(3.5rem, 6vw, 5rem);
}
.footer__brand { display: flex; flex-direction: column; gap: 0.75rem; max-width: 34ch; }
.footer__name { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; color: #fff; margin: 0; }
.footer__desc { font-size: 0.95rem; margin: 0; color: rgba(255, 255, 255, 0.66); }

.footer__nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem 1.5rem; align-content: start; }
.footer__nav a, .footer__contact a {
  font-size: 0.93rem;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  transition: color 200ms var(--ease-out);
}
.footer__contact { display: flex; flex-direction: column; gap: 0.6rem; align-items: flex-start; }
.footer__contact a { font-size: 1.05rem; font-weight: 600; color: var(--gold-bright); }
@media (hover: hover) and (pointer: fine) {
  .footer__nav a:hover { color: #fff; }
  .footer__contact a:hover { color: #fff; }
}

.footer__base {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  padding-block: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}
.footer__base p { margin: 0; }

@media (min-width: 860px) { .footer__inner { grid-template-columns: 1.2fr 1fr 0.8fr; gap: 3rem; } }

/* ---------- 17. WhatsApp düğmesi ---------- */
.wa-fab {
  position: fixed;
  inset-block-end: 1.25rem;
  inset-inline-end: 1.25rem;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.15rem;
  border-radius: var(--r-pill);
  background: var(--surface); /* color-mix desteklenmiyorsa opak zemin */
  background: color-mix(in srgb, var(--surface) 84%, transparent);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  box-shadow: inset 0 0 0 1px var(--line-strong), var(--shadow-md);
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 200ms var(--ease-out);
}
.wa-fab .icon { font-size: 1.35rem; color: var(--blue); }
.wa-fab:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) { .wa-fab:hover { transform: translateY(-2px); } }

/* ---------- 18. Kaydırma girişleri ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
  transition-delay: calc(var(--i, 0) * 60ms);
}
[data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- 19. Erişilebilirlik tercihleri ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .arch-img { opacity: 1; transform: none; }
  .menu__inner a { opacity: 1; transform: none; }
}

@media (prefers-reduced-transparency: reduce) {
  .nav__pill { background: var(--bg); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .menu { background: var(--bg); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .wa-fab { background: var(--surface); backdrop-filter: none; -webkit-backdrop-filter: none; }
}

@media (prefers-contrast: more) {
  :root { --muted: #3d4d63; --line: rgba(15, 30, 51, 0.28); --line-strong: rgba(15, 30, 51, 0.44); }
  .nav__pill, .quote, .tile__core, .card { box-shadow: inset 0 0 0 1px var(--ink); }
}

@media print {
  .nav, .menu, .wa-fab, .lace, .hero__pattern, .footer__pattern { display: none !important; }
  body { background: #fff; color: #000; }
}
