/* =================================================================
   STINGA A11Y FIX v1.0 — Lighthouse erişilebilirlik %100 için
   - Renk kontrastı iyileştirmeleri (WCAG AA: 4.5:1)
   - Dokunma hedefi minimumu (24x24)
   - Focus görünürlüğü
   ================================================================= */

/* --- 1. Kontrast iyileştirme: footer copyright ve secondary metinler --- */
.copyright-text,
.copyright-text *,
.footer-text,
.footer-text *,
.text-muted,
.txt-muted {
  color: rgba(255, 255, 255, 0.92) !important;
}

/* footer içindeki rgba(255,255,255,.5) ve .6 inline style'lı span'lar */
footer [style*="rgba(255,255,255,.5)"],
footer [style*="rgba(255, 255, 255, .5)"],
footer [style*="rgba(255,255,255,.6)"],
footer [style*="rgba(255, 255, 255, .6)"],
footer [style*="rgba(255,255,255,0.5)"],
footer [style*="rgba(255,255,255,0.6)"] {
  color: rgba(255, 255, 255, 0.92) !important;
}

/* genel düşük kontrastlı linkler/badge/etiketler */
.badge-soft,
.subtitle-soft,
.label-soft,
.muted-link,
small.muted,
.txt-soft {
  color: #d6d6d6 !important;
}

/* placeholder kontrastı */
::placeholder { color: #757575 !important; opacity: 1 !important; }

/* --- 2. Dokunma hedefi minimumu (24x24, Lighthouse) --- */
a, button,
input[type="button"], input[type="submit"], input[type="reset"],
[role="button"], [role="link"], [role="menuitem"], [role="tab"],
.btn, .nav-link {
  min-width: 24px;
  min-height: 24px;
}

/* sosyal medya iconları, küçük linkler için padding boost */
.social-icons a,
.social-links a,
footer a[href*="instagram"],
footer a[href*="facebook"],
footer a[href*="linkedin"],
footer a[href*="youtube"],
footer a[href*="twitter"],
footer a[href*="x.com"] {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 44px !important;
  min-height: 44px !important;
}

/* mobil bottom nav öğeleri zaten 64px, doğrula */
.mob-bnav .mob-bnav-item,
.mob-bnav a,
.mob-bnav button {
  min-width: 44px;
  min-height: 44px;
}

/* --- 3. Focus görünürlüğü (WCAG 2.4.7) --- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[role="button"]:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid #ffb300 !important;
  outline-offset: 2px;
  border-radius: 4px;
}

/* --- 4. Skip-link gizli ama erişilebilir (varsa) --- */
.a11y-skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: #000;
  color: #fff;
  padding: 8px 16px;
  z-index: 100000;
}
.a11y-skip-link:focus {
  left: 8px;
  top: 8px;
}
