/* Alt bilgi stilleri bölümü başlangıcı */
:root {
  --teal: #087f7a;
  --teal-dark: #075b5a;
  --teal-deep: #063f40;
  --mint: #29c8ae;
  --gold: #d8a83e;
  --gold-light: #f5dd97;
  --ivory: #fbf9f4;
  --paper: #fff;
  --ink: #182625;
  --muted: #6d7b79;
  --line: #dde6e3;
  --shadow: 0 18px 50px rgba(20, 55, 52, 0.11);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: auto;
  overflow-x: hidden;
}
body {
  /* mockup'tan miras "direction: rtl" kaldırıldı — kalıtımlı bir özellik olduğu için
     footer'da yüklenen bu kural tüm sayfayı (ör. hızlı bağış dropdown'ını) etkiliyordu.
     Gerçek yön zaten .site-header'da $dil'e göre ayrıca ayarlanıyor. */
  display: block;
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  /* bkz. css/navbar-yeni.css — AR yazı tipi "Cairo"dan "Noto Kufi Arabic"ye
     düzeltildi (mockup'ın gerçek font seçimi). */
  font-family: Poppins, "Noto Kufi Arabic", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.75;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input {
  font: inherit;
}
button {
  cursor: pointer;
  border: 0;
  background: none;
}
.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
.shell {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}
h2 {
  margin: 6px 0 0;
  font-size: clamp(1.8rem, 3vw, 2.65rem);
  line-height: 1.38;
  letter-spacing: -0.035em;
}
.eyebrow {
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 700;
}
.eyebrow.light {
  color: var(--gold-light);
}
.button {
  min-height: 48px;
  padding: 10px 26px;
  border: 0;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-weight: 700;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.button:hover {
  transform: translateY(-2px);
}
.amounts {
  display: flex;
  gap: 10px;
}
.amounts button {
  min-width: 86px;
  padding: 10px 14px;
  border: 1px solid #d6dfdd;
  border-radius: 9px;
  color: var(--ink);
  background: #fff;
  transition: 0.2s ease;
}
.amounts button:hover,
.amounts button:focus-visible {
  color: #fff;
  border-color: var(--teal);
  background: var(--teal);
  outline: none;
}
.donate-input {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: stretch;
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.donate-input span {
  display: grid;
  place-items: center;
  padding: 0 12px;
  color: var(--muted);
  font-weight: 700;
  background: var(--ivory);
  border-inline-end: 1px solid var(--line);
}
.donate-input input {
  flex: 1;
  min-width: 0;
  border: 0;
  padding: 11px 12px;
  font-size: 0.82rem;
  color: var(--ink);
  text-align: right;
  background: #fff;
  outline: none;
}
.donate-input input:focus {
  background: #f7faf9;
}
.donate-input input::placeholder {
  color: var(--muted);
}
.donate-input input::-webkit-outer-spin-button,
.donate-input input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.donate-input input[type="number"] {
  -moz-appearance: textfield;
  appearance: textfield;
}
.donation-cta {
  /* 2026-09-29: eski iskelet2.css float'ları (#faaliyetrapor float:left — 4 dil;
     ar/iskelet2.css 300–1450px'te main float:left) bu bölümün ÜSTÜNDEKİ içeriği
     akıştan çıkarıyordu → bölüm önceki içeriğin arkasından başlıyor, kutu kayıyordu
     (TR ana sayfa 853px, AR 4577px ölçüldü; olması gereken 316px). clear ile bölüm
     her zaman önceki float'ların altından başlar. */
  clear: both;
  padding: 64px 0;
  color: #fff;
  /* Mockup'ın kendi görseli (webrev2/footer/assets/mescidi aksa.png) 47MB idi
     (8244x3083, sıkıştırılmamış) — websitede kullanılamayacak kadar büyük.
     JPG kaynağından (5MB) 1920px genişliğe küçültülüp yeniden sıkıştırılmış
     hali (~260KB) buraya kondu. CSS'te dosya hiç yoktu, arka plan resmi
     sessizce hiç görünmüyordu — müşteri "bu bölümde bir resim eksik" diye
     bildirdi. */
  background:
    linear-gradient(90deg, rgba(15, 24, 28, 0.95), rgba(24, 38, 37, 0.72)),
    url("assets/mescidi-aksa.jpg") center/cover no-repeat;
}
.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: center;
  gap: 70px;
}
.donation-cta h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.5rem);
}
.donation-cta p {
  color: rgba(255, 255, 255, 0.72);
}
.cta-box {
  padding: 23px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.12);
}
.cta-box .amounts button {
  flex: 1;
  min-width: 0;
  background: #fff;
}
.cta-box .amounts button:hover,
.cta-box .amounts button:focus-visible {
  color: #fff;
  background: var(--teal);
}
.cta-action-row {
  display: flex;
  align-items: stretch;
  gap: 10px;
  margin-top: 12px;
}
.button-gold {
  flex: 1;
  min-width: 0;
  color: #282006;
  background: var(--gold-light);
}
.cta-action-row .donate-input {
  flex: 1;
  min-width: 0;
  margin-top: 0;
}
.cta-box small {
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.68rem;
}
.cta-box small svg {
  width: 15px;
}
@media (max-width: 760px) {
  .cta-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
}
@media (max-width: 430px) {
  .cta-box .amounts {
    flex-wrap: wrap;
  }
  .cta-box .amounts button {
    flex: 1 0 calc(50% - 6px);
  }
  .cta-action-row {
    flex-direction: column;
  }
}
.site-footer {
  padding: 64px 0 24px;
  color: rgba(255, 255, 255, 0.72);
  background: #152423;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) minmax(0, 0.8fr) minmax(0, 1.45fr);
  gap: 40px;
}
.footer-grid h3 {
  margin: 0 0 15px;
  color: #fff;
  font-size: 0.86rem;
}
.footer-grid p,
.footer-grid a {
  margin: 0 0 8px;
  display: block;
  font-size: 0.72rem;
}
.footer-grid a:hover {
  color: var(--mint);
}
.logo-mark {
  display: grid;
}
.logo-mark img {
  width: 78px;
  height: auto;
}
.footer-brand > p {
  margin-top: 17px;
  max-width: 260px;
}
.socials {
  display: flex;
  gap: 8px;
  margin-top: 18px;
}
.socials a {
  width: 32px;
  height: 32px;
  margin: 0;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.85);
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}
.socials a svg {
  width: 15px;
  height: 15px;
}
.socials a:hover {
  color: #fff;
  border-color: transparent;
  transform: translateY(-2px);
}
.socials a.social-fb:hover {
  background: #1877f2;
}
.socials a.social-x:hover {
  background: #fff;
  color: #000;
}
.socials a.social-ig:hover {
  background: radial-gradient(
    circle at 30% 107%,
    #fdf497,
    #fdf497 5%,
    #fd5949 45%,
    #d6249f 60%,
    #285aeb 90%
  );
}
.socials a.social-yt:hover {
  background: #ff0000;
}
.newsletter form {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 15px;
}
.newsletter input {
  width: 100%;
  min-width: 0;
  padding: 7px 12px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 7px;
  outline: none;
  background: rgba(255, 255, 255, 0.07);
  font-size: 0.72rem;
}
.tel-group {
  position: relative;
  display: flex;
  gap: 6px;
}
.tel-group .tel-number {
  width: auto;
  flex: 1;
  /* 2026-09-23 düzeltme: js/country-select-yeni.js SADECE "input" event'inde
     (kullanıcı yazarken) input.dir="ltr" set ediyordu — tarayıcı otomatik
     doldurma veya sayfa geri/ileri önbelleğiyle geri gelen bir değer "input"
     event'i tetiklemediği için dir hiç ayarlanmıyor, rakam grupları Arapça
     (dir="rtl") sayfada TERS sırada görünüyordu (müşteri örneği: "02 77 066
     053"). Üstteki .tel-group'un dir="ltr" HTML attribute'u da JS'in kendi
     input.dir atamasıyla (aynı elemanda) çakışıp geçersiz kalabiliyordu.
     Artık JS'ten TAMAMEN bağımsız, kalıcı bir CSS kuralı — bkz. AYNI düzeltme
     css/iletisim-yeni.css ve css/hesabim-yeni.css'teki .phone-field input'ta
     (o "direction: rtl" bug'ı da benzerdi). */
  direction: ltr;
  text-align: right;
}
.tel-group .country-select-btn {
  height: 100%;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.07);
  font-size: 0.72rem;
}
.tel-group .country-select-panel {
  left: 0;
  right: auto;
  width: 270px;
}
.newsletter input:focus {
  border-color: var(--mint);
}
.newsletter input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}
.newsletter button[type="submit"] {
  padding: 8px 18px;
  color: #fff;
  border: 0;
  border-radius: 7px;
  font-weight: 700;
  font-size: 0.72rem;
  background: var(--teal);
  transition: background 0.2s ease;
}
.newsletter button[type="submit"]:hover {
  background: var(--teal-dark);
}
.phone-line a {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
}
.phone-line svg {
  width: 13px;
  height: 13px;
  flex: none;
}
.footer-legal {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-legal p {
  margin: 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.62rem;
  line-height: 1.9;
  text-align: center;
}
.footer-bottom {
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 0.63rem;
}

:where(a, button, input):focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}
@media (max-width: 760px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-brand,
  .newsletter {
    grid-column: 1 / -1;
  }
  .footer-bottom {
    flex-direction: column;
  }
}
@media (max-width: 430px) {
  .footer-grid {
    gap: 20px 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}
/* Alt bilgi stilleri bölümü bitişi */

/* 2026-10-01: eski css/detail.css'teki genel "h3 { float:left; width:100% }" kuralı
   (Hakkımızda gibi detail.css yükleyen sayfalarda) bülten başlığını yüzdürüyor,
   yanındaki form 0 genişliğe sıkışıp kutular 26px'e iniyordu. Footer başlıkları
   bu kuraldan korunuyor (ana sayfadaki hesaplanmış değerlerle aynı). */
.site-footer h3,
.site-footer h4 {
  float: none;
  font-weight: 500;
}
