/* =========================================================
   CAMİ AYDINLATMA — Tema
   Gece mavisi + altın ışık + Osmanlı geometrik desen
   ========================================================= */

:root {
  --night: #0a1222;
  --night-2: #0f1b33;
  --night-3: #162645;
  --gold: #c9a24a;
  --gold-2: #e3c578;
  --gold-glow: rgba(227, 197, 120, .35);
  --ivory: #f7f2e8;
  --ivory-2: #efe7d7;
  --ink: #18202f;
  --muted: #5f6676;
  --muted-light: #a9b2c5;
  --line: rgba(24, 32, 47, .1);
  --line-light: rgba(255, 255, 255, .1);

  --f-display: "Cormorant Garamond", Georgia, serif;
  --f-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --r: 18px;
  --r-sm: 10px;
  --shadow: 0 20px 50px -20px rgba(10, 18, 34, .35);
  --ease: cubic-bezier(.2, .7, .2, 1);

  /* 8 köşeli yıldız deseni */
  --pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23c9a24a' stroke-width='1'%3E%3Cpath d='M40 10 L48 32 L70 40 L48 48 L40 70 L32 48 L10 40 L32 32 Z'/%3E%3Cpath d='M19 19 L40 27 L61 19 L53 40 L61 61 L40 53 L19 61 L27 40 Z'/%3E%3Ccircle cx='40' cy='40' r='6'/%3E%3Cpath d='M0 0 L10 10 M80 0 L70 10 M0 80 L10 70 M80 80 L70 70'/%3E%3C/g%3E%3C/svg%3E");
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: min(1240px, 100% - 32px); margin-inline: auto; }

.ic { width: 22px; height: 22px; flex: none; }
.ic-sm { width: 16px; height: 16px; }

/* ---------------- Tipografi yardımcıları ---------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before {
  content: "";
  width: 9px; height: 9px;
  border: 1.5px solid currentColor;
  transform: rotate(45deg);
}

.h2 {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(34px, 4.4vw, 54px);
  letter-spacing: -.01em;
  margin: 14px 0 18px;
}
.h2 em { font-style: italic; color: var(--gold); }
.lead { font-size: 18px; color: var(--muted); }

.sec { padding: clamp(72px, 10vw, 128px) 0; position: relative; }
.sec--dark { background: var(--night); color: #e8ecf4; }
.sec--dark .lead, .sec--dark p { color: var(--muted-light); }
.sec--ivory2 { background: var(--ivory-2); }

.sec-head { max-width: 680px; margin-bottom: 56px; }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head--split {
  max-width: none;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 32px;
  flex-wrap: wrap;
}
.sec-head--split > div { max-width: 640px; }

.pattern-bg::before {
  content: "";
  position: absolute; inset: 0;
  background-image: var(--pattern);
  background-size: 80px;
  opacity: .06;
  pointer-events: none;
}

/* ---------------- Butonlar ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .02em;
  border: 1.5px solid transparent;
  transition: transform .25s var(--ease), background .25s, color .25s, box-shadow .25s, border-color .25s;
  cursor: pointer;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--gold { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: var(--night); box-shadow: 0 10px 30px -10px var(--gold-glow); }
.btn--gold:hover { box-shadow: 0 14px 36px -8px var(--gold-glow); }
.btn--ghost-light { border-color: rgba(255,255,255,.3); color: #fff; }
.btn--ghost-light:hover { border-color: var(--gold-2); color: var(--gold-2); }
.btn--line { border-color: var(--line); color: var(--ink); background: transparent; }
.btn--line:hover { border-color: var(--gold); color: var(--gold); }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------------- Header ---------------- */
#site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  transition: transform .35s var(--ease);
}
.topbar {
  background: rgba(5, 10, 20, .6);
  font-size: 13px;
  color: var(--muted-light);
  transition: margin .35s var(--ease);
}
.topbar__in { display: flex; gap: 28px; align-items: center; height: 40px; }
.topbar a, .topbar span { display: inline-flex; align-items: center; gap: 8px; }
.topbar a:hover { color: var(--gold-2); }
.topbar__addr { margin-left: auto; }
.topbar .ic { color: var(--gold); }

.nav { transition: background .35s, box-shadow .35s; }
.nav__in { display: flex; align-items: center; gap: 28px; height: 84px; transition: height .35s var(--ease); }
#site-header.is-scrolled .topbar { margin-top: -40px; }
#site-header.is-scrolled .nav { background: rgba(10, 18, 34, .92); backdrop-filter: blur(14px); box-shadow: 0 10px 30px -10px rgba(0,0,0,.4); }
#site-header.is-scrolled .nav__in { height: 70px; }

.brand { display: flex; align-items: center; gap: 12px; color: #fff; }
.brand__mark {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 12px;
  border: 1px solid rgba(227,197,120,.4);
  color: var(--gold-2);
  background: radial-gradient(circle at 50% 30%, rgba(227,197,120,.18), transparent 70%);
}
.brand__mark .ic { width: 26px; height: 26px; }
.brand__txt { font-family: var(--f-display); font-size: 25px; line-height: 1; font-weight: 500; }
.brand__txt strong { font-weight: 700; color: var(--gold-2); }
.brand__txt small {
  display: block;
  font-family: var(--f-body);
  font-size: 10.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted-light);
  margin-top: 5px;
}

.nav__menu { display: flex; gap: 4px; margin-left: auto; }
.nav__menu > li { position: relative; }
.nav__menu > li > a {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 14px;
  font-size: 14px; font-weight: 600;
  color: rgba(255,255,255,.85);
  border-radius: 999px;
  transition: color .2s, background .2s;
}
.nav__menu > li > a:hover,
.nav__menu > li.is-active > a { color: var(--gold-2); }
.nav__menu > li.is-active > a { background: rgba(227,197,120,.08); }
.nav-ext > a .ic { opacity: .6; }

.sub {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  width: 300px;
  padding: 10px;
  background: var(--night-2);
  border: 1px solid var(--line-light);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  transition: .25s var(--ease);
}
.sub::before { content: ""; position: absolute; inset: -14px 0 auto; height: 14px; }
.has-sub:hover .sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.sub a {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px;
  border-radius: var(--r-sm);
  font-size: 14px;
  color: rgba(255,255,255,.82);
}
.sub a .ic { color: var(--gold); width: 20px; height: 20px; }
.sub a:hover { background: rgba(227,197,120,.08); color: var(--gold-2); }

.nav__toggle {
  display: none;
  margin-left: auto;
  width: 46px; height: 46px;
  border-radius: 12px;
  border: 1px solid var(--line-light);
  background: transparent;
  color: #fff;
  cursor: pointer;
  place-items: center;
}

/* ---------------- HERO ---------------- */
.hero {
  position: relative;
  min-height: clamp(640px, 100vh, 980px);
  min-height: clamp(640px, 100svh, 980px);
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(ellipse 60% 50% at 70% 85%, rgba(201,162,74,.22), transparent 70%),
    radial-gradient(ellipse 80% 60% at 20% 0%, rgba(40,70,130,.45), transparent 70%),
    linear-gradient(180deg, #060c18 0%, var(--night) 55%, #111f3b 100%);
}
.stars { position: absolute; inset: 0; pointer-events: none; }
.stars i {
  position: absolute;
  width: 2px; height: 2px;
  border-radius: 50%;
  background: #fff;
  opacity: .5;
  animation: twinkle 4s infinite ease-in-out;
}
@keyframes twinkle { 50% { opacity: .1; } }

.hero__in {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 150px 0 80px;
}
.hero h1 {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(44px, 6.4vw, 86px);
  line-height: 1.02;
  letter-spacing: -.015em;
  margin: 22px 0 24px;
}
.hero h1 em { font-style: italic; color: var(--gold-2); text-shadow: 0 0 40px var(--gold-glow); }

.rotator { position: relative; height: 3.4em; max-width: 520px; color: var(--muted-light); font-size: 18px; }
.rotator span {
  position: absolute; inset: 0;
  opacity: 0;
  transform: translateY(10px);
  transition: .6s var(--ease);
}
.rotator span.is-on { opacity: 1; transform: none; }

.hero .btn-row { margin-top: 30px; }

.hero__stats {
  display: flex;
  gap: 36px;
  margin-top: 54px;
  padding-top: 28px;
  border-top: 1px solid var(--line-light);
  flex-wrap: wrap;
}
.hero__stats b {
  display: block;
  font-family: var(--f-display);
  font-size: 40px;
  font-weight: 600;
  color: var(--gold-2);
  line-height: 1;
}
.hero__stats div > span { font-size: 13px; color: var(--muted-light); }

.hero__art { position: relative; }
.hero__art svg { width: 100%; height: auto; overflow: visible; }
.mahya-text { animation: mahyaGlow 3.5s infinite ease-in-out; }
@keyframes mahyaGlow { 50% { opacity: .7; } }
.minaret-light { animation: beam 5s infinite ease-in-out; transform-origin: bottom; }
@keyframes beam { 50% { opacity: .55; } }

.hero__scroll {
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 26px; height: 42px;
  border: 1.5px solid rgba(255,255,255,.3);
  border-radius: 20px;
}
.hero__scroll::after {
  content: "";
  position: absolute;
  top: 8px; left: 50%;
  width: 3px; height: 8px;
  margin-left: -1.5px;
  border-radius: 2px;
  background: var(--gold-2);
  animation: scrollDot 1.8s infinite;
}
@keyframes scrollDot { 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* ---------------- Değer şeridi ---------------- */
.values {
  position: relative;
  z-index: 3;
  margin-top: -54px;
}
.values__in {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #fff;
  border-radius: var(--r);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.value { display: flex; gap: 16px; padding: 28px; border-right: 1px solid var(--line); }
.value:last-child { border-right: 0; }
.value .ic { width: 34px; height: 34px; color: var(--gold); }
.value h4 { font-size: 15px; margin-bottom: 4px; }
.value p { font-size: 13.5px; color: var(--muted); margin: 0; line-height: 1.5; }

/* ---------------- Yer tutucu ---------------- */
.ph {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 180px;
  display: grid;
  place-items: center;
  border-radius: inherit;
  background-color: var(--night-2);
  background-image:
    radial-gradient(circle at 50% 50%, rgba(201,162,74,.18), transparent 65%),
    var(--pattern);
  background-size: auto, 64px;
  color: rgba(227,197,120,.75);
  overflow: hidden;
}
.ph span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(10,18,34,.75);
  border: 1px solid rgba(227,197,120,.25);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
}
.ph--light { background-color: var(--ivory-2); background-image: var(--pattern); background-size: 64px; color: var(--gold); }
.ph--light span { background: rgba(255,255,255,.85); }

/* ---------------- Hakkımızda ---------------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.about__media { position: relative; }
.about__frame {
  border-radius: 200px 200px var(--r) var(--r); /* kemer form */
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow);
}
.about__frame img { width: 100%; height: 100%; object-fit: cover; }
.about__badge {
  position: absolute;
  right: -20px; bottom: 40px;
  width: 150px; height: 150px;
  display: grid;
  place-content: center;
  text-align: center;
  background: var(--night);
  color: #fff;
  border-radius: 50%;
  border: 6px solid var(--ivory);
  box-shadow: var(--shadow);
}
.about__badge b { font-family: var(--f-display); font-size: 46px; color: var(--gold-2); line-height: 1; }
.about__badge > span { font-size: 12px; letter-spacing: .08em; color: var(--muted-light); }
.about__list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; margin: 26px 0 34px; }
.about__list li { display: flex; gap: 10px; align-items: center; font-weight: 600; font-size: 15px; }
.about__list li::before {
  content: "";
  width: 8px; height: 8px;
  flex: none;
  background: var(--gold);
  transform: rotate(45deg);
}

/* ---------------- Hizmet kartları ---------------- */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.svc {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 28px 28px;
  border-radius: var(--r);
  background: var(--night-2);
  border: 1px solid var(--line-light);
  overflow: hidden;
  transition: transform .35s var(--ease), border-color .35s, background .35s;
  isolation: isolate;
}
.svc::after {
  content: "";
  position: absolute;
  inset: auto -30% -60% -30%;
  height: 80%;
  background: radial-gradient(ellipse at center, rgba(227,197,120,.25), transparent 70%);
  opacity: 0;
  transition: opacity .4s;
  z-index: -1;
}
.svc:hover { transform: translateY(-6px); border-color: rgba(227,197,120,.45); }
.svc:hover::after { opacity: 1; }
.svc__num {
  position: absolute;
  top: 20px; right: 24px;
  font-family: var(--f-display);
  font-size: 44px;
  font-weight: 600;
  color: rgba(255,255,255,.06);
  line-height: 1;
}
.svc__icon {
  width: 60px; height: 60px;
  display: grid; place-items: center;
  border-radius: 50% 50% 14px 14px; /* kemer */
  background: rgba(227,197,120,.1);
  color: var(--gold-2);
  margin-bottom: 26px;
}
.svc__icon .ic { width: 30px; height: 30px; }
.svc h3 { font-family: var(--f-display); font-size: 26px; font-weight: 600; color: #fff; margin-bottom: 10px; }
.svc p { font-size: 14.5px; color: var(--muted-light); line-height: 1.6; flex: 1; }
.svc__more {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 10px;
  font-size: 13px; font-weight: 700;
  letter-spacing: .04em;
  color: var(--gold-2);
}
.svc:hover .svc__more .ic { transform: translateX(4px); }
.svc__more .ic { transition: transform .3s var(--ease); }

/* Mahya kartı: iki sütun kaplar, görselli */
.svc--mahya {
  grid-column: span 2;
  background:
    linear-gradient(90deg, rgba(10,18,34,.96) 35%, rgba(10,18,34,.35)),
    var(--bg, url("../img/mahya/pendik-yenisehir-ulu-cami-mahya.png")) center / cover;
  border-color: rgba(227,197,120,.35);
}
.svc--mahya p { max-width: 340px; }

/* ---------------- Osmanlı Mahya bandı ---------------- */
.mahya-band {
  position: relative;
  overflow: hidden;
  background: var(--night);
  color: #fff;
}
.mahya-band__in {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  min-height: 620px;
}
.mahya-band__copy { padding: clamp(64px, 8vw, 110px) clamp(16px, 5vw, 80px) clamp(64px, 8vw, 110px) 0; position: relative; z-index: 2; }
.mahya-band__copy p { color: var(--muted-light); }
.mahya-band__logo { height: 64px; width: auto; margin-bottom: 26px; padding: 6px 14px; background: var(--ivory); border-radius: 12px; }
.mahya-band__media { position: relative; }
.mahya-band__media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.mahya-band__media::before {
  content: "";
  position: absolute; inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, var(--night), transparent 45%);
}
.mahya-feats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 28px 0 36px; }
.mahya-feats li {
  display: flex; gap: 12px; align-items: center;
  padding: 14px 16px;
  border: 1px solid var(--line-light);
  border-radius: var(--r-sm);
  font-size: 14px; font-weight: 600;
  background: rgba(255,255,255,.02);
}
.mahya-feats .ic { color: var(--gold-2); }

/* ---------------- Süreç ---------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding-top: 28px; border-top: 1px solid var(--line); }
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  top: -14px; left: 0;
  padding-right: 14px;
  background: var(--ivory);
  font-family: var(--f-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.sec--ivory2 .step::before { background: var(--ivory-2); }
.step .ic { width: 34px; height: 34px; color: var(--night-3); margin-bottom: 16px; }
.step h4 { font-family: var(--f-display); font-size: 24px; font-weight: 600; margin-bottom: 8px; }
.step p { font-size: 14.5px; color: var(--muted); margin: 0; }

/* ---------------- Proje / galeri önizleme ---------------- */
.works {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 240px;
  gap: 16px;
}
.work {
  position: relative;
  border-radius: var(--r);
  overflow: hidden;
  background: var(--night-2);
}
.work--tall { grid-row: span 2; }
.work--wide { grid-column: span 2; }
.work img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.work:hover img { transform: scale(1.05); }
.work__cap {
  position: absolute;
  inset: auto 0 0;
  padding: 50px 20px 18px;
  background: linear-gradient(transparent, rgba(6,12,24,.92));
  color: #fff;
}
.work__cap b { display: block; font-family: var(--f-display); font-size: 21px; font-weight: 600; }
.work__cap span { font-size: 12.5px; color: var(--gold-2); letter-spacing: .06em; }

/* ---------------- CTA ---------------- */
.cta {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  padding: clamp(44px, 7vw, 80px);
  background:
    radial-gradient(ellipse 60% 80% at 100% 100%, rgba(201,162,74,.3), transparent 70%),
    var(--night);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta::before {
  content: "";
  position: absolute; inset: 0;
  background-image: var(--pattern);
  background-size: 80px;
  opacity: .07;
}
.cta > * { position: relative; }
.cta h2 { font-family: var(--f-display); font-weight: 500; font-size: clamp(32px, 4vw, 50px); max-width: 620px; }
.cta h2 em { color: var(--gold-2); }
.cta p { color: var(--muted-light); margin: 12px 0 0; }

/* ---------------- Sayfa başlığı (iç sayfalar) ---------------- */
.page-hero {
  position: relative;
  padding: 200px 0 90px;
  color: #fff;
  overflow: hidden;
  background:
    radial-gradient(ellipse 50% 70% at 85% 100%, rgba(201,162,74,.22), transparent 70%),
    linear-gradient(180deg, #060c18, var(--night-2));
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: var(--pattern);
  background-size: 90px;
  opacity: .05;
}
.page-hero .container { position: relative; }
.page-hero h1 { font-family: var(--f-display); font-weight: 500; font-size: clamp(44px, 6vw, 76px); margin-top: 14px; }
.crumbs { display: flex; gap: 10px; font-size: 13.5px; color: var(--muted-light); margin-top: 18px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--gold-2); }
.crumbs span::before { content: "/"; margin-right: 10px; opacity: .4; }

/* ---------------- Hizmet detay ---------------- */
.detail { display: grid; grid-template-columns: 1fr 360px; gap: 56px; align-items: start; }
.detail__media { aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; margin-bottom: 40px; box-shadow: var(--shadow); }
.detail__media img { width: 100%; height: 100%; object-fit: cover; }
.detail__main > p { color: #3b4252; }
.detail__main .lead { color: var(--muted); }
.detail__gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 40px; }
.detail__gallery .ph { aspect-ratio: 1; min-height: 0; border-radius: var(--r-sm); }
.detail__side { position: sticky; top: 100px; display: grid; gap: 20px; }
.side-card { background: #fff; border-radius: var(--r); padding: 26px; box-shadow: 0 10px 30px -18px rgba(10,18,34,.3); }
.side-card h4 { font-family: var(--f-display); font-size: 24px; font-weight: 600; margin-bottom: 16px; }
.side-list a {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px;
  border-radius: var(--r-sm);
  font-size: 14.5px; font-weight: 600;
  transition: background .2s, color .2s;
}
.side-list a span { flex: 1; }
.side-list a .ic:first-child { color: var(--gold); }
.side-list a .ic-sm { opacity: 0; transform: translateX(-6px); transition: .25s var(--ease); }
.side-list a:hover, .side-list a.is-active { background: var(--ivory-2); }
.side-list a:hover .ic-sm, .side-list a.is-active .ic-sm { opacity: 1; transform: none; }
.side-card--dark { background: var(--night); color: #fff; }
.side-card--dark h4 { margin: 10px 0 18px; }
.side-phone { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 700; color: var(--gold-2); margin-bottom: 20px; }

.mahya-callout {
  margin-top: 34px;
  padding: 28px;
  border-radius: var(--r);
  background: var(--night);
  color: #fff;
}
.mahya-callout img { height: 56px; width: auto; margin-bottom: 16px; padding: 6px 12px; background: var(--ivory); border-radius: 10px; }
.mahya-callout p { color: var(--muted-light); }
.mahya-callout .btn--line { color: #fff; border-color: rgba(255,255,255,.25); }

/* ---------------- Galeri ---------------- */
.tabs { display: inline-flex; gap: 6px; padding: 6px; background: #fff; border-radius: 999px; box-shadow: 0 8px 24px -14px rgba(10,18,34,.3); margin-bottom: 40px; }
.tabs button {
  border: 0;
  background: transparent;
  padding: 11px 22px;
  border-radius: 999px;
  font: 700 14px var(--f-body);
  color: var(--muted);
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
}
.tabs button.is-active { background: var(--night); color: var(--gold-2); }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery > * { aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.video-ph { position: relative; }
.video-ph .ph span .ic { width: 18px; height: 18px; }

/* ---------------- İletişim ---------------- */
.contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: start; }
.contact-cards { display: grid; gap: 16px; }
.c-card {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 24px;
  background: #fff;
  border-radius: var(--r);
  box-shadow: 0 10px 30px -20px rgba(10,18,34,.3);
  transition: transform .25s var(--ease);
}
a.c-card:hover { transform: translateY(-3px); }
.c-card__ic { width: 52px; height: 52px; flex: none; display: grid; place-items: center; border-radius: 14px; background: var(--night); color: var(--gold-2); }
.c-card small { display: block; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; }
.c-card b { font-size: 16.5px; font-weight: 700; }
.form { background: #fff; border-radius: var(--r); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); }
.form h3 { font-family: var(--f-display); font-size: 32px; font-weight: 600; margin-bottom: 6px; }
.form > p { color: var(--muted); }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 24px 0; }
.form__grid .full { grid-column: 1 / -1; }
.form label { display: grid; gap: 6px; font-size: 13px; font-weight: 700; }
.form input, .form select, .form textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  font: 15px var(--f-body);
  background: var(--ivory);
  color: var(--ink);
  transition: border-color .2s, background .2s;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: 0; border-color: var(--gold); background: #fff; }
.form textarea { min-height: 130px; resize: vertical; }
.map { margin-top: 56px; border-radius: var(--r); overflow: hidden; height: 420px; box-shadow: var(--shadow); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.4) contrast(1.05); }

/* ---------------- Kurumsal ---------------- */
.certs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cert {
  padding: 28px 24px;
  border-radius: var(--r);
  border: 1px solid var(--line-light);
  background: rgba(255,255,255,.03);
}
.cert .ic { width: 36px; height: 36px; color: var(--gold-2); margin-bottom: 18px; }
.cert h4 { font-family: var(--f-display); font-size: 22px; font-weight: 600; color: #fff; margin-bottom: 6px; }
.cert p { font-size: 14px; margin: 0; }

/* ---------------- Footer ---------------- */
#site-footer { background: #060c18; color: var(--muted-light); font-size: 14.5px; position: relative; }
.footer__mahya { border-bottom: 1px solid var(--line-light); background: linear-gradient(90deg, rgba(201,162,74,.12), transparent 60%); }
.footer__mahya-in { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 36px 0; flex-wrap: wrap; }
.footer__mahya h3 { font-family: var(--f-display); font-weight: 500; font-size: 30px; color: #fff; margin-top: 8px; }
.footer__mahya em { color: var(--gold-2); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding: 72px 0 56px; }
.footer__about p { margin: 22px 0; max-width: 340px; }
.footer__col h4 { font-family: var(--f-display); color: #fff; font-size: 22px; font-weight: 600; margin-bottom: 20px; }
.footer__col ul li { margin-bottom: 10px; }
.footer__col ul a:hover { color: var(--gold-2); }
.footer__contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer__contact .ic { color: var(--gold); margin-top: 2px; }
.social { display: flex; gap: 10px; }
.social a {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-light);
  transition: .25s;
}
.social a:hover { border-color: var(--gold); color: var(--gold-2); }
.social .ic { width: 18px; height: 18px; }
.footer__bottom { border-top: 1px solid var(--line-light); font-size: 13px; }
.footer__bottom-in { display: flex; justify-content: space-between; gap: 16px; padding: 22px 0; flex-wrap: wrap; }

.floaters { position: fixed; right: 20px; bottom: 20px; z-index: 90; display: grid; gap: 10px; }
.floater {
  width: 54px; height: 54px;
  display: grid; place-items: center;
  border-radius: 50%;
  color: #fff;
  box-shadow: 0 10px 24px -8px rgba(0,0,0,.45);
  transition: transform .25s var(--ease);
}
.floater:hover { transform: scale(1.08); }
.floater .ic { width: 26px; height: 26px; }
.floater--wa { background: #25d366; }
.floater--tel { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: var(--night); }

/* ---------------- Animasyon ---------------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------------- Responsive ---------------- */
@media (max-width: 1180px) {
  .svc-grid { grid-template-columns: repeat(3, 1fr); }
  .svc--mahya { grid-column: span 3; }
  .topbar__addr { display: none; }
  .nav__cta { display: none; }
}

@media (max-width: 1024px) {
  .nav__toggle { display: grid; }
  .nav__menu {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(360px, 88vw);
    flex-direction: column;
    gap: 2px;
    padding: 100px 20px 30px;
    background: var(--night);
    border-left: 1px solid var(--line-light);
    transform: translateX(100%);
    transition: transform .4s var(--ease);
    overflow-y: auto;
    z-index: -1;
  }
  body.nav-open .nav__menu { transform: none; }
  body.nav-open { overflow: hidden; }
  .nav__menu > li > a { padding: 14px 16px; font-size: 16px; justify-content: space-between; }
  .sub {
    position: static;
    width: auto;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    box-shadow: none;
    margin: 4px 0 8px;
  }
  .has-sub.sub-open .sub { display: block; }
  .has-sub:hover .sub { transform: none; }

  .hero__in { grid-template-columns: 1fr; padding-top: 140px; }
  .hero__art { max-width: 560px; margin: 0 auto; width: 100%; }
  .values__in { grid-template-columns: 1fr 1fr; }
  .value:nth-child(2) { border-right: 0; }
  .value:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .about, .contact { grid-template-columns: 1fr; }
  .about__media { max-width: 480px; }
  .mahya-band__in { grid-template-columns: 1fr; }
  .mahya-band__media { min-height: 360px; order: -1; }
  .mahya-band__media::before { background: linear-gradient(0deg, var(--night), transparent 50%); }
  .mahya-band__copy { padding: 40px 0 72px; }
  .steps, .certs { grid-template-columns: 1fr 1fr; row-gap: 44px; }
  .detail { grid-template-columns: 1fr; }
  .detail__side { position: static; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .works { grid-template-columns: 1fr 1fr; }
  .work--wide { grid-column: span 2; }
}

@media (max-width: 720px) {
  body { font-size: 15.5px; }
  .topbar { display: none; }
  #site-header.is-scrolled .topbar { margin-top: 0; }
  .nav__in { height: 72px; }
  .brand__txt { font-size: 21px; }
  .brand__txt small { display: none; }
  .brand__mark { width: 40px; height: 40px; }
  .hero__in { padding-top: 110px; }
  .hero__stats { gap: 24px; }
  .rotator { height: 5.2em; font-size: 16.5px; }
  .hero__stats b { font-size: 32px; }
  .values { margin-top: -30px; }
  .values__in, .svc-grid, .steps, .certs, .gallery, .about__list, .mahya-feats, .form__grid { grid-template-columns: 1fr; }
  .value { border-right: 0 !important; border-bottom: 1px solid var(--line); }
  .value:last-child { border-bottom: 0; }
  .svc--mahya { grid-column: auto; background: linear-gradient(180deg, rgba(10,18,34,.55), rgba(10,18,34,.97) 55%), var(--bg, url("../img/mahya/pendik-yenisehir-ulu-cami-mahya.png")) center top / cover; padding-top: 140px; }
  .about__badge { right: 10px; width: 120px; height: 120px; }
  .about__badge b { font-size: 36px; }
  .works { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .work--wide, .work--tall { grid-column: auto; grid-row: auto; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .detail__gallery { grid-template-columns: 1fr 1fr; }
  .page-hero { padding: 140px 0 64px; }
  .tabs { display: flex; }
  .tabs button { flex: 1; justify-content: center; padding: 11px 12px; }
}

/* =========================================================
   Osmanlı Mahya bilgileri: referanslar, teknik, SSS, video
   ========================================================= */
.refs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ref {
  background: #fff;
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: 0 14px 34px -22px rgba(10,18,34,.35);
  transition: transform .35s var(--ease);
}
.ref:hover { transform: translateY(-5px); }
.ref__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--night-2); }
.ref__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.ref:hover .ref__media img { transform: scale(1.05); }
.ref__media .ph { min-height: 0; border-radius: 0; }
.ref__body { padding: 22px 24px 26px; }
.ref__place { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; letter-spacing: .06em; color: var(--gold); }
.ref h3 { font-family: var(--f-display); font-size: 25px; font-weight: 600; margin: 8px 0 6px; }
.ref p { font-size: 14.5px; color: var(--muted); margin: 0; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

.specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 14px 0 24px; background: var(--line-light); border: 1px solid var(--line-light); border-radius: var(--r-sm); overflow: hidden; }
.specs div { background: var(--night); padding: 16px 18px; }
.specs dt { font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-light); }
.specs dd { margin: 4px 0 0; font-family: var(--f-display); font-size: 24px; font-weight: 600; color: var(--gold-2); }
.mahya-band .specs { margin-bottom: 34px; }

.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq__head { position: sticky; top: 110px; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 0;
  font-family: var(--f-display);
  font-size: 23px;
  font-weight: 600;
  cursor: pointer;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__ic { color: var(--gold); transition: transform .3s var(--ease); }
.faq__item[open] .faq__ic { transform: rotate(45deg); }
.faq__item p { color: var(--muted); margin: -6px 0 22px; max-width: 640px; }

.gallery figure { margin: 0; }
.gallery figure a { display: block; height: 100%; }
.gallery img { transition: transform .6s var(--ease); }
.gallery figure:hover img { transform: scale(1.04); }
.video { aspect-ratio: 16 / 9 !important; background: var(--night); }
.video iframe { width: 100%; height: 100%; border: 0; }
.detail__gallery img { aspect-ratio: 1; object-fit: cover; border-radius: var(--r-sm); width: 100%; }

@media (max-width: 1024px) {
  .refs, .features { grid-template-columns: 1fr 1fr; }
  .faq { grid-template-columns: 1fr; }
  .faq__head { position: static; }
}
@media (max-width: 720px) {
  .refs, .features { grid-template-columns: 1fr; }
  .specs { grid-template-columns: 1fr 1fr; }
  .faq__item summary { font-size: 20px; }
}

[hidden] { display: none !important; }
#video-grid { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 720px) { #video-grid { grid-template-columns: 1fr; } }
.specs dd { font-size: clamp(19px, 1.7vw, 23px); }
.mahya-band .specs, .mahya-callout .specs { grid-template-columns: repeat(2, 1fr); }
.contact--cards-only { display: block; }
.contact--cards-only .contact-cards { grid-template-columns: repeat(3, 1fr); }
.contact--cards-only .c-card--wide { grid-column: span 2; }
.c-card b { overflow-wrap: anywhere; }
@media (max-width: 1024px) { .contact--cards-only .contact-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px) { .contact--cards-only .contact-cards { grid-template-columns: 1fr; } .contact--cards-only .c-card--wide { grid-column: auto; } }

/* =========================================================
   Görselsiz alanlar: boş kutu yerine kendi tasarımı olan varyantlar
   ========================================================= */
.detail__tag { display: flex; align-items: center; gap: 16px; }
.detail__tag .svc__icon {
  width: 56px; height: 56px;
  margin: 0;
  background: rgba(201,162,74,.12);
  color: var(--gold);
}
.detail__tag .svc__icon .ic { width: 28px; height: 28px; }

/* Görselsiz referans: koyu desenli yazı kartı */
.ref--plain {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 28px 4px 4px;
  background: var(--night-2);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.ref--plain::before {
  content: "";
  position: absolute; inset: 0;
  z-index: -1;
  background-image: var(--pattern);
  background-size: 64px;
  opacity: .07;
}
.ref--plain::after {
  content: "";
  position: absolute;
  inset: auto -20% -50% -20%;
  height: 70%;
  z-index: -1;
  background: radial-gradient(ellipse at center, rgba(201,162,74,.2), transparent 70%);
}
.ref__mark {
  width: 56px; height: 56px;
  margin: 0 24px 6px;
  display: grid; place-items: center;
  border-radius: 50% 50% 14px 14px;
  background: rgba(227,197,120,.1);
  color: var(--gold-2);
}
.ref__mark .ic { width: 28px; height: 28px; }
.ref--plain .ref__body { padding-top: 14px; }
.ref--plain h3 { color: #fff; }
.ref--plain p { color: var(--muted-light); }
.ref--plain .ref__place { color: var(--gold-2); }

/* Hizmet sayfası: Neden Biz? bloğu */
.detail__why { margin-top: 48px; padding-top: 40px; border-top: 1px solid var(--line); }
.why { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 18px; }
.why > div { background: #fff; border-radius: var(--r); padding: 22px; box-shadow: 0 10px 30px -22px rgba(10,18,34,.35); }
.why .ic { width: 30px; height: 30px; color: var(--gold); margin-bottom: 12px; }
.why h4 { font-family: var(--f-display); font-size: 21px; font-weight: 600; margin-bottom: 6px; }
.why p { font-size: 14px; color: var(--muted); margin: 0; line-height: 1.6; }
@media (max-width: 720px) { .why { grid-template-columns: 1fr; } }
