
/* === iOS Compatibility Pack v1 (Pchekimi) === */

/* 1) iOS Safari zoom & text sizing */
html { -webkit-text-size-adjust: 100%; }
input, select, textarea { font-size: 16px; } /* Prevents auto-zoom on focus */

/* 2) Dynamic viewport units (notch/URL bar safe) */
.hero, .hero-wrap, .hero-section, #faq-hero, #ekip-ve-misyon {
  min-height: 58vh;
  min-height: 100svh; /* iOS 15+ */
}

/* 3) Safe-area (iPhone notch) padding */
body { padding-top: max(10px, env(safe-area-inset-top)); }
header.site-header, header { padding-top: max(0px, env(safe-area-inset-top)); }

/* 4) Backdrop filter with WebKit prefix */
#menu-toggle,
.hero::before, .hero-wrap::before, .hero-section::before, #faq-hero::before {
  -webkit-backdrop-filter: saturate(180%) blur(6px);
  backdrop-filter: saturate(180%) blur(6px);
}

/* 5) Tap highlight tone for better feedback */
a, button { -webkit-tap-highlight-color: rgba(0,0,0,0.15); }

/* 6) Flex-gap fallback for older iOS (pre-14.5) */
@supports not (gap: 12px) {
  .main-nav ul > * { margin-left: 12px; }
  .main-nav ul > *:first-child { margin-left: 0; }
  #side-menu nav ul > * { margin-bottom: 6px; }
}

/* 7) Off-canvas scrolling lock to avoid page jumping */
.offcanvas-open { overflow: hidden; touch-action: none; }

/* 8) Z-index guarantees for fixed toggle & overlays */
#menu-toggle { position: fixed; z-index: 100000; }
#menu-overlay { z-index: 99998; }
#side-menu { z-index: 99999; }
