/* =============================================================
   Placeholder & yardımcı stiller
   Inline CSS yerine kullanılan reusable class'lar
   ============================================================= */

/* Görsel olmadığında gradient arka plan (slider, hakkımızda hikaye görseli) */
.bg-gradient-brand {
  background: linear-gradient(135deg, #0a2647 0%, #1a4a7a 60%, #ff6725 140%);
}

.bg-gradient-navy {
  background: linear-gradient(135deg, #0a2647 0%, #1a4a7a 100%);
}

/* Hero slider — image yokken kullanılan 3 farklı gradient (inline yerine class) */
.hero-bg-grad-1 { background: linear-gradient(135deg, #0a2647 0%, #1a4a7a 50%, #2c5f8d 100%); }
.hero-bg-grad-2 { background: linear-gradient(135deg, #06203c 0%, #0a2647 50%, #ff6725 200%); }
.hero-bg-grad-3 { background: linear-gradient(135deg, #0a2647 0%, #1a4a7a 60%, #ff6725 140%); }

/* Çeşitli yardımcı sınıflar (inline style yerine) */
.link-inherit, .link-inherit:link, .link-inherit:visited { color: inherit; }

.scroll-anchor-offset { scroll-margin-top: 120px; }

.contact-map-error {
  padding: 20px;
  text-align: center;
  color: #dc2626;
}

.fixed-cta-icon {
  writing-mode: horizontal-tb;
  transform: none;
  margin-bottom: 8px;
  font-size: 14px;
}

.breadcrumb-blog-detail {
  justify-content: flex-start;
  color: #475569;
  margin-bottom: 22px;
}
.breadcrumb-blog-detail a,
.breadcrumb-blog-detail a:link,
.breadcrumb-blog-detail a:visited { color: #475569; }
.breadcrumb-blog-detail .current-page { color: #ff6725; font-weight: 600; }

/* Hikaye / hakkımızda — büyük görsel yer tutucu */
.hikaye-img-placeholder {
  min-height: 420px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0a2647 0%, #1a4a7a 60%, #ff6725 140%);
}
.hikaye-img-placeholder i {
  font-size: 80px;
  color: rgba(255, 255, 255, 0.18);
}

/* Eğitmen kart fotoğrafı yer tutucu */
.ekip-img-placeholder {
  width: 100%;
  aspect-ratio: 1 / 1.1;
  background: linear-gradient(135deg, #0a2647 0%, #1a4a7a 60%, #ff6725 140%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.35);
}
.ekip-img-placeholder i {
  font-size: 64px;
}

/* Blog kart görseli yer tutucu (öne çıkan görsel yüklenmemişse) */
.blog-card-img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0a2647 0%, #1a4a7a 60%, #ff6725 160%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.35);
}
.blog-card-img-placeholder i {
  font-size: 42px;
}

/* Sayfa-flash mesajı (SUCCESS / ERROR) — frontend layout */
.page-flash {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 9998;
  max-width: 360px;
  padding: 12px 16px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.15);
}
.page-flash--ok  { background: #dcfce7; color: #166534; }
.page-flash--err { background: #fee2e2; color: #991b1b; }

/* Modal başarı (Ön kayıt sonrası) — inline style yerine */
.modal-success-wrap {
  display: none;
  text-align: center;
  padding: 36px 32px 32px;
}
.modal-success-wrap.is-active {
  display: block;
}
.modal-success-ico {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: linear-gradient(135deg, #10b981, #059669);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  box-shadow: 0 12px 32px rgba(16, 185, 129, 0.32);
}
.modal-success-ico i {
  color: #fff;
  font-size: 34px;
}
.modal-success-title {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 22px;
  color: #0a2647;
  margin: 0 0 10px;
  font-weight: 800;
}
.modal-success-desc {
  color: #475569;
  font-size: 14.5px;
  margin: 0 0 24px;
  line-height: 1.55;
}
.modal-success-btn {
  background: linear-gradient(135deg, #ff6725, #e85a1a);
  color: #fff;
  border: 0;
  padding: 13px 32px;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  transition: transform 0.15s, box-shadow 0.15s;
}
.modal-success-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(255, 103, 37, 0.32);
}

/* Tüm görseller — yatay kaydırma + CLS fix */
img {
  max-width: 100%;
  height: auto;
}

/* iframe'ler de mobile'da taşmasın */
iframe {
  max-width: 100%;
}

/* Anasayfa SEO İçerik bloğu — inline style yerine reusable class'lar */
.seo-content {
  padding: 60px 0;
  background: #fcfcfd;
  border-top: 1px solid #f1f5f9;
}
.seo-content > .container { max-width: 980px; }
.seo-content .sec-title { text-align: center; margin-bottom: 8px; }
.seo-content .sec-divider { margin: 0 auto 28px; }
.seo-content-body {
  font-size: 15.5px;
  line-height: 1.85;
  color: #374151;
}
.seo-content-body p { margin: 0 0 16px; }
.seo-content-body a,
.seo-content-body a:visited {
  color: #ff6725;
  font-weight: 600;
}
.seo-content-body a:hover { color: #e85a1a; }
/* Collapsible toggle stilleri style.css'te (kritik CSS — render-blocking yok) */

/* Mobil grup başlığı ikonu (header.php parent dropdown) */
.mnav-group-title i {
  margin-right: 8px;
  color: #94a3b8;
}

/* Mobil 12px altı font düzeltmeleri (Mobil okunabilirlik SEO uyarısı) */
@media (max-width: 768px) {
  .top-bar-info-item,
  .footer-bottom-links a,
  .blog-card-meta,
  .modal-trust-item,
  .ekip-meta-item {
    font-size: 12px !important;
  }
  .footer-copy { font-size: 12.5px; }
  .modal-privacy { font-size: 12px; }
  .modal-input-ico,
  .modal-badge,
  .modal-sub { font-size: 12.5px; }
  small,
  .muted,
  .top-bar-follow {
    font-size: 12px !important;
  }
}
