/* ==========================================================================
   3G ÖZEL GÜVENLİK EĞİTİM MERKEZİ - BİLEŞENLER (COMPONENTS.CSS)
   ========================================================================== */

/* 1. KARTLAR (CARDS) */
.card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(90, 15, 232, 0.03) 0%, rgba(238, 78, 110, 0.03) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg), 0 0 30px rgba(90, 15, 232, 0.08);
  border-color: rgba(90, 15, 232, 0.25);
}

.card:hover::before {
  opacity: 1;
}

.card-gradient-border {
  position: relative;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-left: 4px solid var(--brand-navy-base);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-fast);
}

.card-gradient-border:hover {
  border-color: #cbd5e1;
  box-shadow: var(--shadow-lg);
}

/* Eğitim Kartları */
.course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.course-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

/* Gradient top border accent */
.course-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.course-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 20px 50px rgba(32, 0, 72, 0.15), 0 0 20px rgba(90, 15, 232, 0.08);
  border-color: rgba(90, 15, 232, 0.3);
}

.course-card:hover::after {
  transform: scaleX(1);
}

.course-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}

.course-hours-badge {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--brand-purple);
  background: rgba(90, 15, 232, 0.08);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
}

.course-card-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--brand-navy-dark);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.course-card-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.course-features-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 2rem;
  flex-grow: 1;
  padding: 0;
  list-style: none;
}

.course-features-list li {
  display: block;
  position: relative;
  padding-left: 1.6rem;
  font-size: 0.9rem;
  color: var(--text-main);
  line-height: 1.5;
}

.course-features-list li i {
  position: absolute;
  left: 0;
  top: 0.28rem;
  color: var(--brand-coral);
  font-size: 0.95rem;
}

.course-card-footer {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid #f3f4f6;
}

.course-footer {
  padding: 1.25rem 1.75rem;
  background: #ffffff;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

/* 2. FORMLAR & GİRİŞ ALANLARI */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--brand-navy-dark);
  margin-bottom: 0.5rem;
}

.form-label span.req {
  color: var(--brand-coral);
}

.form-control, .form-select {
  width: 100%;
  padding: 0.85rem 1.15rem;
  background: #ffffff;
  border: 1.5px solid #ded5f5;
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.form-control:focus, .form-select:focus {
  border-color: var(--brand-purple);
  box-shadow: 0 0 0 4px rgba(90, 15, 232, 0.12), 0 0 20px rgba(90, 15, 232, 0.08);
  outline: none;
}

.form-hint {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.4rem;
}

.form-file-drop {
  border: 2px dashed #cfc2f2;
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: center;
  background: #faf8ff;
  cursor: pointer;
  transition: var(--transition-fast);
}

.form-file-drop:hover {
  border-color: var(--brand-coral);
  background: #fff5f7;
}

.file-drop-icon {
  font-size: 2.2rem;
  color: var(--brand-purple);
  margin-bottom: 0.5rem;
}

/* 3. SIKÇA SORULAN SORULAR (FAQ ACCORDION) */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-item.active {
  border-color: rgba(90, 15, 232, 0.35);
  box-shadow: var(--shadow-md);
}

.faq-question {
  width: 100%;
  padding: 1.35rem 1.6rem;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--brand-navy-dark);
  background: transparent;
}

.faq-question i {
  font-size: 0.9rem;
  color: var(--brand-purple);
  transition: transform var(--transition-fast);
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
  color: var(--brand-coral);
}

.faq-answer {
  padding: 0 1.6rem 1.4rem 1.6rem;
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.7;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 4. TABLOLAR (TABLES) */
.table-responsive {
  overflow-x: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-subtle);
}

.custom-table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  text-align: left;
  font-size: 0.92rem;
}

.custom-table th {
  background: var(--brand-navy-dark);
  color: #ffffff;
  padding: 1.1rem 1.25rem;
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.custom-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #ede8fa;
  color: var(--text-main);
}

.custom-table tr:last-child td {
  border-bottom: none;
}

.custom-table tr:hover td {
  background: #faf8ff;
}

/* 5. UYARI & BİLGİ KUTULARI (ALERTS) */
.alert-box {
  padding: 1.2rem 1.5rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.alert-purple {
  background: rgba(90, 15, 232, 0.08);
  border-left: 4px solid var(--brand-purple);
  color: var(--brand-navy-dark);
}

.alert-purple i {
  color: var(--brand-purple);
  font-size: 1.25rem;
  margin-top: 0.15rem;
}

.alert-coral {
  background: rgba(238, 78, 110, 0.08);
  border-left: 4px solid var(--brand-coral);
  color: var(--brand-navy-dark);
}

.alert-coral i {
  color: var(--brand-coral);
  font-size: 1.25rem;
  margin-top: 0.15rem;
}

.alert-success {
  background: var(--color-success-bg);
  border-left: 4px solid var(--color-success);
  color: #065f46;
}

.alert-success i {
  color: var(--color-success);
  font-size: 1.25rem;
  margin-top: 0.15rem;
}

/* 6. HIZLI YÖNLENDİRME SİHİRBAZI (QUICK ROUTER) */
.quick-router {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 2rem 2.25rem;
  margin-bottom: 3rem;
}

.quick-router-meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--brand-purple);
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

.quick-router-meta .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--border-strong);
}

.quick-router-meta .muted {
  color: var(--text-muted);
  font-weight: 600;
  text-transform: none;
  letter-spacing: normal;
}

.quick-router h3 {
  font-size: 1.5rem;
  margin: 0 0 0.35rem 0;
  color: var(--brand-navy-dark);
}

.quick-router p.quick-router-sub {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.quick-router-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 0.85rem;
}

.quick-router-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-align: left;
  background: var(--bg-tint);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1rem 1.1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  transition: var(--transition-fast);
}

.quick-router-option i {
  color: var(--brand-purple);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.quick-router-option:hover {
  border-color: var(--brand-purple);
  background: var(--brand-purple-glow);
  transform: translateY(-2px);
}

.quick-router-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 1rem;
  padding: 0;
}

.quick-router-back:hover {
  color: var(--brand-purple);
}

.quick-router-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  background: var(--brand-purple-glow);
  border: 1px solid rgba(90, 15, 232, 0.22);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
}

.quick-router-result p {
  margin: 0;
  font-weight: 700;
  color: var(--brand-navy-dark);
  font-size: 1.02rem;
}

.quick-router-step {
  display: none;
}

.quick-router-step.active {
  display: block;
}

/* 7. SİNEMATİK HERO (JOURNEY)
   Varsayılan (JS'siz / mobil / hareket azaltma): üç durağan bölüm.
   JS geniş ekranda `.is-scrub` ekler: video kaydırmaya bağlanır, sahneler üst üste biner. */
.journey {
  position: relative;
  background: var(--bg-body);
  border-bottom: 1px solid var(--border-subtle);
  --header-h: 73px;
}

.journey-media,
.journey-meter { display: none; }

.journey-scene {
  padding: 3rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

.journey-scene:last-child { border-bottom: 0; }

.journey-scene-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  align-items: center;
}

.journey-still {
  margin: 0;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.journey-still img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.journey-copy { max-width: 36rem; }

.journey-copy > p:not(.journey-question),
.journey-copy .jl > p {
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0 0 1.25rem 0;
}

.journey-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 5.5vw, 2.7rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--text-main);
  margin: 0 0 1rem 0;
}

.journey-question {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0 0 0.85rem 0;
}

.journey-choices {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 0.75rem;
}

.journey-choice {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.15rem;
  background: var(--bg-card);
  border: 1.5px solid var(--brand-purple);
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-md);
  color: var(--text-main);
  text-decoration: none;
  transition: border-color var(--transition-fast), background var(--transition-fast), transform var(--transition-fast);
}

.journey-choice i { color: var(--brand-purple); font-size: 1.2rem; flex-shrink: 0; }
.journey-choice strong { display: block; font-family: var(--font-heading); font-size: 1rem; }
.journey-choice small { display: block; color: var(--text-main); opacity: 0.78; font-size: 0.84rem; font-weight: 600; }

.journey-choice:hover {
  border-color: var(--brand-purple);
  background: var(--brand-purple-glow);
  transform: translateY(-2px);
}

.journey-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  margin: 0 0 1.5rem 0;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}

.journey-facts dt {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.journey-facts dd {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--brand-purple);
  font-variant-numeric: tabular-nums;
}

.journey-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
}

.journey-link {
  font-weight: 700;
  color: var(--brand-purple);
  text-decoration: none;
}

.journey-link:hover { text-decoration: underline; }

.journey-trust { background: var(--bg-card); padding: 1.1rem 0; }

.journey-trust-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1.75rem;
}

@media (min-width: 900px) {
  .journey:not(.is-scrub) .journey-scene-inner { grid-template-columns: 1.05fr 0.95fr; gap: 3rem; }
  .journey:not(.is-scrub) .journey-still { order: 2; }
}

/* ---- Kaydırmaya bağlı sahne modu ---- */
.journey.is-scrub .journey-track { height: 520vh; }

.journey.is-scrub .journey-stage {
  position: sticky;
  top: var(--header-h);
  height: calc(100vh - var(--header-h));
  height: calc(100dvh - var(--header-h));
  overflow: hidden;
}

.journey.is-scrub .journey-media {
  display: block;
  position: absolute;
  inset: 0;
  background: var(--bg-tint);
}

.journey.is-scrub .journey-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 50%;
  display: block;
}

.journey.is-scrub .journey-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg,
    rgba(255, 255, 255, 0.92) 0%,
    rgba(255, 255, 255, 0.8) 34%,
    rgba(255, 255, 255, 0.32) 62%,
    rgba(255, 255, 255, 0) 100%);
}

.journey.is-scrub .journey-scenes { position: absolute; inset: 0; }

.journey.is-scrub .journey-scene {
  --in: 0;
  --out: 0;
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding: 0;
  border: 0;
  opacity: calc(1 - var(--out));
  pointer-events: none;
}

.journey.is-scrub .journey-scene.is-active { pointer-events: auto; }
.journey.is-scrub .journey-scene-inner { display: block; width: 100%; }
.journey.is-scrub .journey-still { display: none; }

.journey.is-scrub .journey-copy {
  transform: translateY(calc(var(--out) * -26px));
}

.journey.is-scrub .jl-mask {
  overflow: hidden;
  padding-bottom: 0.14em;
}

.journey.is-scrub .jl-mask > span {
  display: block;
  transform: translateY(calc((1 - clamp(0, var(--in) * 2.52 - var(--i) * 0.38, 1)) * 112%));
}

.journey.is-scrub .jl-fade {
  opacity: clamp(0, var(--in) * 2.52 - var(--i) * 0.38, 1);
  transform: translateY(calc((1 - clamp(0, var(--in) * 2.52 - var(--i) * 0.38, 1)) * 16px));
}

.journey.is-scrub .hero-title {
  font-size: clamp(2rem, min(3.6vw, 6.4vh), 3.1rem);
  max-width: 18ch;
}

.journey.is-scrub .hero-desc { max-width: 52ch; font-size: 0.98rem; margin-bottom: 1.1rem; }

@media (max-height: 700px) {
  .journey.is-scrub .hero-desc { display: none; }
}

.journey.is-scrub .journey-meter {
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1.25rem;
  pointer-events: none;
}

.journey-meter-inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
}

.journey-meter-pill {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-width: 11rem;
  padding: 0.55rem 0.9rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.journey-meter-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-main);
}

.journey-meter-bar {
  display: block;
  height: 2px;
  background: var(--border-strong);
  overflow: hidden;
}

.journey-meter-bar i {
  display: block;
  height: 100%;
  background: var(--brand-purple);
  transform: scaleX(0);
  transform-origin: left center;
}

.journey-cue {
  padding: 0.35rem 0.85rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-main);
}

/* Hafif parallaks: görsel kapsayıcıda hafifçe büyütülür, kayma js/animations.js'ten gelir */
.section-img-wrapper img[data-parallax] {
  transform: translate3d(0, var(--py, 0px), 0) scale(1.1);
  transition: none;
  will-change: transform;
}

.section-img-wrapper:hover img[data-parallax] {
  transform: translate3d(0, var(--py, 0px), 0) scale(1.14);
}

/* ---- Mobil akış (kaydırmaya bağlı video yok): adım etiketli, sıralı beliren sahneler ---- */
@media (max-width: 899px) {
  .journey:not(.is-scrub) .journey-scene { padding: 1.75rem 0; }
  .journey:not(.is-scrub) .journey-scene:first-child { padding-top: 1rem; }
  .journey:not(.is-scrub) .journey-scene-inner { gap: 1rem; }
  .journey:not(.is-scrub) .journey-still { aspect-ratio: 16 / 9; }
  .journey:not(.is-scrub) .journey-copy { display: flex; flex-direction: column; }
  .journey:not(.is-scrub) .journey-copy .hero-desc { order: 6; margin: 0.9rem 0 0 0; font-size: 0.95rem; }
  .journey:not(.is-scrub) .journey-copy .journey-question { margin-top: 0.25rem; }
  .journey:not(.is-scrub) .hero-title { max-width: none; font-size: clamp(1.7rem, 7.6vw, 2.1rem); }
  .journey:not(.is-scrub) .journey-title { font-size: clamp(1.45rem, 6.6vw, 1.85rem); }
  .journey:not(.is-scrub) .journey-actions .btn { flex: 1 1 100%; justify-content: center; }
  .journey:not(.is-scrub) .journey-actions .journey-link { flex: 1 1 100%; text-align: center; }

  .journey:not(.is-scrub) .journey-scene:not(:last-child) .journey-scene-inner::before {
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--brand-purple);
  }
  .journey:not(.is-scrub) .journey-scene:nth-child(1) .journey-scene-inner::before { content: "01 / 03 — Eğitim"; }
  .journey:not(.is-scrub) .journey-scene:nth-child(2) .journey-scene-inner::before { content: "02 / 03 — Atış"; }
  .journey:not(.is-scrub) .journey-scene:nth-child(3) .journey-scene-inner::before { content: "03 / 03 — Kimlik"; }

  .journey-trust { padding: 0.9rem 0; }
  .journey-trust-inner { gap: 0.5rem 1.1rem; }
}

/* Sahneler görünür olunca yumuşak girer (JS yoksa hep görünür kalır) */
.journey.journey-reveal:not(.is-scrub) .journey-scene {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.45s cubic-bezier(0.4, 0, 0.2, 1), transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.journey.journey-reveal:not(.is-scrub) .journey-scene.is-in,
.journey.journey-reveal:not(.is-scrub) .journey-scene:first-child {
  opacity: 1;
  transform: none;
}
/* İlk sahne (başlık + açılış görseli) sayfa açılır açılmaz görünür: geç belirmesi LCP'yi uzatıyordu */
.journey.journey-reveal:not(.is-scrub) .journey-scene:first-child { transition: none; }

/* ---- Mobil + kaydırmaya bağlı video: üstte video, altta metin paneli ---- */
@media (max-width: 899px) {
  .journey.is-scrub .journey-track { height: 460vh; }

  .journey.is-scrub .journey-stage { background: var(--bg-card); }

  .journey.is-scrub .journey-media {
    inset: 0 0 auto 0;
    height: 44%;
  }

  .journey.is-scrub .journey-media::after {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 72%, #ffffff 100%);
  }

  .journey.is-scrub .journey-scenes { top: 42%; }

  .journey.is-scrub .journey-scene { align-items: flex-start; padding-top: 0.25rem; }
  .journey.is-scrub .journey-copy { max-width: none; }

  .journey.is-scrub .hero-desc { display: none; }
  .journey.is-scrub .journey-scene:first-child .section-badge { display: none; }

  .journey.is-scrub .hero-title {
    font-size: clamp(1.45rem, 6.8vw, 1.9rem);
    max-width: none;
    margin-bottom: 0.7rem;
  }

  .journey.is-scrub .journey-title { font-size: clamp(1.4rem, 6.4vw, 1.75rem); margin-bottom: 0.6rem; }
  .journey.is-scrub .journey-question { font-size: 1.05rem; margin-bottom: 0.55rem; }
  .journey.is-scrub .journey-copy .jl > p,
  .journey.is-scrub .journey-copy p.jl:not(.journey-question) { font-size: 0.92rem; margin-bottom: 0.8rem; }

  .journey.is-scrub .journey-choices { grid-template-columns: minmax(0, 1fr); gap: 0.5rem; }
  .journey.is-scrub .journey-choice { padding: 0.65rem 0.85rem; }
  .journey.is-scrub .journey-choice small { display: none; }

  .journey.is-scrub .journey-facts { gap: 0.4rem 1.25rem; margin-bottom: 0.9rem; padding-top: 0.7rem; }
  .journey.is-scrub .journey-facts dd { font-size: 1.05rem; }
  .journey.is-scrub .journey-actions { gap: 0.4rem 1rem; }
  .journey.is-scrub .journey-actions .btn { flex: 1 1 100%; justify-content: center; }
  .journey.is-scrub .journey-actions .journey-link { flex: 1 1 100%; text-align: center; font-size: 0.9rem; }

  .journey.is-scrub .journey-meter { top: calc(44% - 1.7rem); bottom: auto; }
  .journey.is-scrub .journey-cue { display: none; }
  /* Sade gösterge: videonun altında, kutusuz, görüntüyü kapatmaz */
  .journey-meter-pill { flex-direction: row; align-items: center; gap: 0.5rem; min-width: 0; padding: 0; background: none; border: 0; box-shadow: none; }
  .journey-meter-label { font-size: 0.66rem; letter-spacing: 0.05em; }
  .journey-meter-bar { width: 3.2rem; }
}

@media (max-width: 899px) and (max-height: 700px) {
  .journey.is-scrub .journey-copy .jl > p,
  .journey.is-scrub .journey-copy p.jl:not(.journey-question),
  .journey.is-scrub .journey-facts { display: none; }
  .journey.is-scrub .journey-media { height: 40%; }
  .journey.is-scrub .journey-scenes { top: 38%; }
  .journey.is-scrub .journey-meter { top: calc(40% - 1.7rem); }
}


/* ==========================================================================
   8. ÖNCELİKLİ İLETİŞİM: ARA + WHATSAPP, ÖN KAYIT İKİNCİL
   ========================================================================== */
.btn-wa {
  background: var(--brand-whatsapp);
  color: #ffffff;
  border: 1px solid var(--brand-whatsapp);
}

.btn-wa:hover { background: var(--brand-whatsapp-dark); border-color: var(--brand-whatsapp-dark); color: #ffffff; }

.nav-register {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 0.4rem 0.5rem;
  text-decoration: none;
  white-space: nowrap;
}

.nav-register:hover { color: var(--brand-purple); text-decoration: underline; }

.journey-link--quiet { font-weight: 600; color: var(--text-muted); }

/* Yüzen telefon düğmesi: iki numara arasında seçim kutusu */
.call-sheet {
  position: fixed;
  right: 24px;
  bottom: 158px;
  z-index: 1001;
  width: min(18.5rem, calc(100vw - 2rem));
  background: #ffffff;
  border: 1px solid var(--border-strong);
  border-top: 3px solid var(--brand-purple);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 0.85rem 0.9rem 0.9rem 0.9rem;
}

.call-sheet[hidden] { display: none; }

.call-sheet-title {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0 0 0.6rem 0;
}

.call-sheet a {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.65rem 0.75rem;
  margin-bottom: 0.45rem;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-main);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  transition: border-color var(--transition-fast), background var(--transition-fast);
}

.call-sheet a:last-child { margin-bottom: 0; }
.call-sheet a:hover { border-color: var(--brand-purple); background: var(--brand-purple-glow); }
.call-sheet a i { color: var(--brand-purple); width: 1.1rem; text-align: center; }
.call-sheet a small { display: block; font-size: 0.74rem; font-weight: 600; color: var(--text-muted); }
.call-sheet a.is-wa i { color: var(--brand-whatsapp); }

/* Footer logosu: koyu zeminde okunsun diye beyaz plaka üzerinde */
.footer .logo img,
.footer img.footer-logo {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 0.35rem 0.6rem;
  height: 56px !important;
  width: auto;
  max-width: none;
}

/* Duyuru şeridi: açık zemin, kesilmeden okunan satırlar */
.news-ticker {
  background: var(--bg-tint);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.9rem 0;
}
.news-ticker .ticker-wrapper { align-items: flex-start; }
.news-ticker .ticker-label { margin-top: 0.1rem; }
.news-ticker .ticker-content {
  white-space: normal;
  display: grid;
  gap: 0.35rem;
}
.news-ticker .ticker-content span {
  display: block;
  padding: 0;
  color: var(--text-main);
  font-size: 0.9rem;
  line-height: 1.5;
}
.news-ticker .ticker-content a { color: var(--brand-purple) !important; font-weight: 600; }

/* Ders videoları: açılır konu listesi + ders filtresi */
.video-topics-box summary::-webkit-details-marker { display: none; }
.video-topics-box .video-topics-header { margin-bottom: 0; justify-content: flex-start; }
.video-topics-box[open] .video-topics-header { margin-bottom: 0.6rem; }
.video-topics-box { padding: 0.65rem 0.9rem !important; }
.topics-chevron { margin-left: auto; font-size: 0.7rem; color: var(--text-light); transition: transform 0.2s ease; }
.video-topics-box[open] .topics-chevron,
.cat-filter-toggle[aria-expanded="true"] .topics-chevron { transform: rotate(180deg); }

.category-filter-bar { align-items: center; margin-bottom: 1.75rem !important; }
.category-filter-bar .cat-btn[hidden] { display: none; }
.cat-filter-toggle {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.55rem 1rem; border-radius: 50px;
  background: var(--bg-tint); color: var(--brand-purple);
  border: 1.5px dashed var(--brand-purple);
  font-weight: 700; font-size: 0.85rem; cursor: pointer;
}
.cat-filter-toggle:hover { background: var(--brand-purple-glow); }
.cat-filter-toggle .topics-chevron { margin-left: 0.1rem; color: inherit; }

/* ==========================================================================
   Panelden yayınlanan blog yazıları (kayit-paneli → Web sitesi)
   İçerik yalnızca p, h2, h3, strong, em, ul, ol, li, a, img, blockquote içerir.
   ========================================================================== */
.blog-icerik { max-width: var(--reading-max); }
.blog-icerik > h2 { font-size: 1.85rem; margin: 2.5rem 0 1rem; color: var(--brand-navy-dark); }
.blog-icerik > h3 { font-size: 1.4rem; margin: 2rem 0 0.75rem; color: var(--brand-navy-dark); }
.blog-icerik > p,
.blog-icerik li { color: var(--text-muted); line-height: 1.8; }
.blog-icerik > p { margin-bottom: 1.5rem; }
.blog-icerik > ul,
.blog-icerik > ol { margin: 0 0 1.75rem 1.25rem; padding: 0; }
.blog-icerik li { margin-bottom: 0.5rem; }
.blog-icerik a { color: var(--brand-purple); text-decoration: underline; text-underline-offset: 2px; }
.blog-icerik a:hover { color: var(--brand-purple-dark); }
.blog-icerik strong { color: var(--text-main); }
.blog-icerik img { display: block; max-width: 100%; height: auto; border-radius: var(--radius-lg); border: 1px solid var(--border-subtle); }
.blog-icerik > p > img { margin: 0.5rem 0; }
.blog-icerik blockquote {
  margin: 0 0 2rem; padding: 1.25rem 1.5rem;
  background: var(--bg-tint); border-left: 4px solid var(--brand-purple);
  border-radius: 0 var(--radius-md) var(--radius-md) 0; color: var(--text-main); line-height: 1.7;
}
.blog-meta { font-size: 0.875rem; color: var(--text-light); margin-bottom: 1.5rem; }
.blog-kapak { margin: 0 0 2rem; }
.blog-kapak img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.blog-sss { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2.5rem; }
.blog-sss .card { padding: 1.25rem 1.5rem; }
.blog-sss h3 { font-size: 1.1rem; color: var(--brand-navy-dark); margin-bottom: 0.4rem; }
.blog-sss p { color: var(--text-muted); font-size: 0.95rem; margin: 0; line-height: 1.6; }
.blog-cta { margin-top: 2.5rem; padding: 1.75rem; background: var(--bg-tint); }
.blog-cta h3 { font-size: 1.35rem; margin-bottom: 0.5rem; color: var(--brand-navy-dark); }
.blog-cta p { color: var(--text-muted); margin-bottom: 1.25rem; }
.blog-cta-dugmeler { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Rehber sayfaları: özet kutusu, tablo ve numaralı adımlar (blog-icerik içinde) */
.blog-ozet {
  margin: 0 0 2.5rem; padding: 1.5rem 1.75rem;
  background: var(--bg-tint); border: 1px solid var(--border-subtle); border-left: 4px solid var(--brand-coral);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}
.blog-ozet h2 { font-size: 1.15rem; margin: 0 0 0.6rem; color: var(--brand-navy-dark); display: flex; align-items: center; gap: 0.5rem; }
.blog-ozet h2 i { color: var(--brand-coral); }
.blog-ozet p { margin: 0; color: var(--text-main); line-height: 1.75; }
.blog-icerik table { width: 100%; border-collapse: collapse; margin: 0 0 2rem; font-size: 0.95rem; background: var(--bg-card); border: 1px solid var(--border-subtle); }
.blog-icerik th, .blog-icerik td { padding: 0.75rem 0.9rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border-subtle); color: var(--text-muted); line-height: 1.55; }
.blog-icerik thead th { background: var(--bg-tint); color: var(--brand-navy-dark); font-weight: 700; }
.blog-icerik tbody th { color: var(--brand-navy-dark); font-weight: 700; width: 30%; }
.blog-icerik > ol li { padding-left: 0.25rem; }
@media (max-width: 640px) {
  .blog-icerik table { display: block; overflow-x: auto; }
}

/* Alt kısım: rehberler ve hizmet bölgeleri şeridi (tüm sayfalar) */
.footer-seo { position: relative; z-index: 1; border-top: 1px solid rgba(255, 255, 255, 0.1); padding: 1.5rem 0 0.5rem; margin-bottom: 1.5rem; font-size: 0.88rem; line-height: 2; color: rgba(255, 255, 255, 0.65); }
.footer-seo p { margin: 0; }
.footer-seo strong { color: #ffffff; font-weight: 600; margin-right: 0.35rem; }
.footer-seo a { color: rgba(255, 255, 255, 0.8); text-decoration: none; }
.footer-seo a:hover, .footer-seo a:focus-visible { color: #ffffff; text-decoration: underline; }
.footer-seo span[aria-hidden] { margin: 0 0.4rem; opacity: 0.4; }

/* Ana sayfa: güvenlik kursu rehberi bağlantıları */
.rehber-listesi { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 0; border-top: 1px solid var(--border-subtle); }
.rehber-listesi li { border-bottom: 1px solid var(--border-subtle); }
.rehber-listesi a { display: flex; flex-direction: column; gap: 0.2rem; padding: 1.1rem 0.5rem; text-decoration: none; transition: transform var(--transition-fast); }
.rehber-listesi a:hover, .rehber-listesi a:focus-visible { transform: translateX(3px); }
.rehber-listesi strong { color: var(--brand-purple); font-size: 1.05rem; }
.rehber-listesi span { color: var(--text-muted); font-size: 0.92rem; }
@media (prefers-reduced-motion: reduce) { .rehber-listesi a { transition: none; } .rehber-listesi a:hover { transform: none; } }

/* ==========================================================================
   Rehber / blog yazıları — okunabilir, görsel olarak bölümlenmiş düzen
   (Önceki .blog-icerik kurallarının üzerine yazar; içerik HTML'i aynı kalır.)
   ========================================================================== */
.blog-icerik { font-size: 1.05rem; }
.blog-icerik > p { line-height: 1.85; margin-bottom: 1.35rem; }

/* Bölüm başlıkları: üstte ince ayraç + kısa menekşe vurgu çizgisi */
.blog-icerik > h2 {
  position: relative; font-size: 1.6rem; line-height: 1.3;
  margin: 3.25rem 0 1.1rem; padding-top: 1.75rem; border-top: 1px solid var(--border-subtle);
  scroll-margin-top: 110px;
}
.blog-icerik > h2::before {
  content: ""; position: absolute; top: -2px; left: 0; width: 48px; height: 3px;
  background: var(--brand-purple); border-radius: var(--radius-full);
}
.blog-icerik > h3 { font-size: 1.22rem; margin: 2rem 0 0.6rem; color: var(--brand-purple-dark); }

/* Madde işaretli listeler: menekşe nokta */
.blog-icerik > ul { list-style: none; margin: 0 0 1.75rem; padding: 0; }
.blog-icerik > ul > li { position: relative; padding-left: 1.6rem; margin-bottom: 0.65rem; }
.blog-icerik > ul > li::before {
  content: ""; position: absolute; left: 0.25rem; top: 0.72em; width: 8px; height: 8px;
  background: var(--brand-purple); border-radius: var(--radius-full);
}

/* Numaralı listeler: adım adım süreç görünümü */
.blog-icerik > ol { list-style: none; counter-reset: adim; margin: 0 0 2rem; padding: 0; }
.blog-icerik > ol > li {
  counter-increment: adim; position: relative; margin: 0; padding: 0.15rem 0 1.25rem 3.25rem;
  border-left: 2px solid var(--border-subtle); margin-left: 1rem;
}
.blog-icerik > ol > li:last-child { border-left-color: transparent; padding-bottom: 0.25rem; }
.blog-icerik > ol > li::before {
  content: counter(adim); position: absolute; left: -1.05rem; top: 0;
  width: 2rem; height: 2rem; display: grid; place-items: center;
  background: var(--brand-purple); color: var(--text-white); font-weight: 700; font-size: 0.95rem;
  border-radius: var(--radius-full); box-shadow: 0 0 0 4px var(--bg-body);
}

/* Tablolar: yuvarlatılmış çerçeve, başlık şeridi, zebra satırlar */
.blog-icerik table {
  border-collapse: separate; border-spacing: 0; border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg); overflow: hidden; margin: 0.5rem 0 2.25rem;
}
.blog-icerik thead th { background: var(--brand-navy-dark); color: var(--text-white); font-size: 0.9rem; letter-spacing: 0.01em; }
.blog-icerik tbody tr:nth-child(even) td, .blog-icerik tbody tr:nth-child(even) th { background: var(--bg-tint); }
.blog-icerik tbody tr:last-child td, .blog-icerik tbody tr:last-child th { border-bottom: 0; }
.blog-icerik tbody td:first-child { color: var(--text-main); font-weight: 600; }

/* Özet kutusu biraz daha belirgin */
.blog-ozet { padding: 1.5rem 1.75rem; border-left-width: 5px; }
.blog-ozet h2 { border: 0; padding: 0; margin: 0 0 0.6rem; font-size: 1.1rem; text-transform: uppercase; letter-spacing: 0.04em; }
.blog-ozet h2::before { content: none; }

/* İçindekiler (tools/rehber-icindekiler.js üretir) */
.icindekiler { margin: 0 0 2.5rem; padding: 1.25rem 1.5rem; border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); background: var(--bg-card); }
.icindekiler-baslik { margin: 0 0 0.75rem; font-family: var(--font-heading); font-weight: 700; color: var(--brand-navy-dark); font-size: 1rem; display: flex; align-items: center; gap: 0.5rem; }
.icindekiler-baslik i { color: var(--brand-purple); }
.icindekiler ol { margin: 0; padding: 0; list-style: none; counter-reset: ic; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0.15rem 1.5rem; }
.icindekiler li { counter-increment: ic; margin: 0; }
.icindekiler a {
  display: flex; gap: 0.6rem; padding: 0.4rem 0; color: var(--text-main); text-decoration: none; font-size: 0.95rem; line-height: 1.45;
  border-bottom: 1px dashed transparent;
}
.icindekiler a::before { content: counter(ic, decimal-leading-zero); color: var(--brand-purple); font-weight: 700; font-variant-numeric: tabular-nums; }
.icindekiler a:hover, .icindekiler a:focus-visible { color: var(--brand-purple); border-bottom-color: var(--border-strong); }

/* Bilgi / uyarı kutuları (elle eklenir: <div class="bilgi-kutusu">…</div>) */
.bilgi-kutusu, .uyari-kutusu { margin: 0 0 2rem; padding: 1.1rem 1.35rem; border-radius: var(--radius-md); line-height: 1.7; }
.bilgi-kutusu { background: var(--bg-tint); border: 1px solid var(--border-subtle); border-left: 4px solid var(--brand-purple); color: var(--text-main); }
.uyari-kutusu { background: var(--color-warning-bg); border: 1px solid #F1D9B5; border-left: 4px solid var(--color-warning); color: var(--text-main); }

/* Yazı içi görsel */
.blog-gorsel { margin: 0.5rem 0 2.25rem; }
.blog-gorsel img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.blog-gorsel figcaption { margin-top: 0.5rem; font-size: 0.85rem; color: var(--text-light); }

/* SSS kartları: soru işareti rozeti */
.blog-sss .card { position: relative; padding: 1.25rem 1.5rem 1.25rem 3.75rem; border: 1px solid var(--border-subtle); box-shadow: none; }
.blog-sss .card::before {
  content: "?"; position: absolute; left: 1.25rem; top: 1.2rem; width: 1.75rem; height: 1.75rem; display: grid; place-items: center;
  border-radius: var(--radius-full); background: var(--bg-card-alt); color: var(--brand-purple); font-weight: 700;
}
.blog-sss .card::before, .blog-sss .card:hover::before { opacity: 1; right: auto; bottom: auto; transform: none; }
.blog-cta { border: 1px solid var(--border-subtle); border-left: 4px solid var(--brand-coral); box-shadow: none; }

/* Ana sayfa rehber bağlantıları: kart ızgarası */
.rehber-listesi { gap: 1rem; border-top: 0; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.rehber-listesi li { border: 0; }
.rehber-listesi a {
  height: 100%; padding: 1.25rem 2.75rem 1.25rem 1.35rem; position: relative; gap: 0.35rem;
  background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg);
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}
.rehber-listesi a::after {
  content: "→"; position: absolute; right: 1.2rem; top: 50%; transform: translateY(-50%);
  color: var(--brand-purple); font-weight: 700; font-size: 1.1rem;
}
.rehber-listesi a:hover, .rehber-listesi a:focus-visible { transform: translateY(-3px); border-color: var(--brand-purple); }
.rehber-listesi strong { display: block; color: var(--brand-navy-dark); font-size: 1.05rem; line-height: 1.35; }
.rehber-listesi span { display: block; line-height: 1.5; }

@media (max-width: 640px) {
  .blog-icerik { font-size: 1rem; }
  .blog-icerik > h2 { font-size: 1.35rem; margin-top: 2.5rem; padding-top: 1.35rem; }
  .blog-icerik > ol > li { padding-left: 2.6rem; }
  .blog-sss .card { padding-left: 3.25rem; }
  .blog-sss .card::before { left: 1rem; }
}
@media (prefers-reduced-motion: reduce) { .rehber-listesi a { transition: none; } .rehber-listesi a:hover { transform: none; } }

/* Yazı içindeki düğmeler: metin bağlantısı rengini ve alt çizgiyi almasın (mor zemin üzerinde mor yazı sorunu) */
.blog-icerik a.btn { text-decoration: none; }
.blog-icerik a.btn-primary, .blog-icerik a.btn-primary:hover, .blog-icerik a.btn-primary:focus-visible { color: var(--text-white); }
.blog-icerik a.btn-outline { color: var(--brand-purple); }
.blog-icerik a.btn-outline:hover, .blog-icerik a.btn-outline:focus-visible { color: var(--text-white); }

/* Kurum fotoğrafları (Hakkımızda galerisi) */
.kurum-galeri-bolum { padding: 4rem 0; background: var(--bg-tint); border-top: 1px solid var(--border-subtle); }
.kurum-galeri-bolum h2 { font-size: 1.85rem; color: var(--brand-navy-dark); margin-bottom: 0.75rem; }
.kurum-galeri-aciklama { max-width: var(--reading-max); color: var(--text-muted); line-height: 1.75; margin-bottom: 2rem; }
.kurum-galeri { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.kurum-galeri figure { margin: 0; background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); overflow: hidden; }
.kurum-galeri img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.kurum-galeri figcaption { padding: 0.7rem 0.9rem; font-size: 0.88rem; color: var(--text-muted); line-height: 1.45; }
@media (max-width: 560px) { .kurum-galeri { grid-template-columns: 1fr; } }
