﻿/* Koçum Benim — İnteraktif Oryantasyon / Tanıtım Turu */
.kb-tur-perde {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(15, 23, 42, 0.78);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: kbTurFadeIn .22s ease-out;
}
@keyframes kbTurFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.kb-tur-kutu {
  background: #ffffff;
  border-radius: 18px;
  width: 100%;
  max-width: 980px;
  max-height: 94vh;
  box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.4);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  animation: kbTurPop .24s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes kbTurPop {
  from { transform: scale(0.96) translateY(8px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}

/* Üst Bar */
.kb-tur-ust {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid #e2e8f0;
  background: #ffffff;
}
.kb-tur-adim-rozet {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: #1e3a5f;
}
.kb-tur-rozet-pil {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
  padding: 3px 10px;
  border-radius: 14px;
  font-size: 11px;
  font-weight: 800;
}
.kb-tur-kapat-btn {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: all .15s;
  display: flex;
  align-items: center;
  gap: 4px;
}
.kb-tur-kapat-btn:hover {
  background: #e2e8f0;
  color: #0f172a;
}

/* Sahne & Görsel Alanı */
.kb-tur-sahne-sar {
  padding: 14px 20px 0;
  position: relative;
}
.kb-tur-sahne {
  position: relative;
  border: 1.5px solid #cbd5e1;
  border-radius: 12px;
  overflow: hidden;
  background: #f8fafc;
  box-shadow: inset 0 2px 6px rgba(0,0,0,0.04);
}
.kb-tur-gorsel {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: contain;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}

/* Titreşen Odak Noktaları (Hotspots) */
.kb-hotspot {
  position: absolute;
  width: 32px;
  height: 32px;
  transform: translate(-50%, -50%);
  cursor: pointer;
  z-index: 20;
}
.kb-hotspot-halka {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: 50%;
  border: 2px solid #22c55e;
  animation: kbTurPulse 1.8s cubic-bezier(0.66, 0, 0, 1) infinite;
  pointer-events: none;
}
@keyframes kbTurPulse {
  0% { transform: scale(1); opacity: 0.9; }
  100% { transform: scale(2.2); opacity: 0; }
}
.kb-hotspot-ic {
  position: absolute;
  top: 4px; left: 4px; right: 4px; bottom: 4px;
  border-radius: 50%;
  background: #16a34a;
  border: 2.5px solid #ffffff;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  box-shadow: 0 3px 10px rgba(0,0,0,0.3);
  transition: transform .15s;
}
.kb-hotspot:hover .kb-hotspot-ic {
  transform: scale(1.15);
  background: #15803d;
}

/* Hotspot İpucu Balonu */
.kb-hotspot-balon {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: #1e3a5f;
  color: #ffffff;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 11.5px;
  white-space: nowrap;
  box-shadow: 0 6px 18px rgba(0,0,0,0.28);
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: all .18s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 30;
}
.kb-hotspot-balon::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: #1e3a5f;
}
.kb-hotspot:hover .kb-hotspot-balon,
.kb-hotspot.aktif .kb-hotspot-balon {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.kb-hotspot-baslik {
  font-weight: 800;
  margin-bottom: 2px;
  color: #93c5fd;
  display: block;
}

/* Alt Açıklama ve Butonlar */
.kb-tur-alt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 22px;
  background: #ffffff;
  gap: 20px;
}
.kb-tur-bilgi {
  flex: 1;
  min-width: 0;
}
.kb-tur-baslik {
  font-size: 16px;
  font-weight: 800;
  color: #1e3a5f;
  margin-bottom: 4px;
}
.kb-tur-metin {
  font-size: 12.5px;
  color: #475569;
  line-height: 1.45;
}

.kb-tur-aksiyon {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.kb-tur-noktalar {
  display: flex;
  gap: 6px;
}
.kb-tur-nokta-btn {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #cbd5e1;
  border: none;
  cursor: pointer;
  transition: all .2s;
  padding: 0;
}
.kb-tur-nokta-btn.aktif {
  background: #1e3a5f;
  width: 22px;
  border-radius: 6px;
}

.kb-tur-btn-grup {
  display: flex;
  gap: 8px;
}
.kb-tur-btn {
  padding: 9px 18px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all .15s;
  font-family: inherit;
}
.kb-tur-btn-geri {
  background: #ffffff;
  color: #475569;
  border: 1px solid #cbd5e1;
}
.kb-tur-btn-geri:hover:not(:disabled) {
  background: #f1f5f9;
  color: #0f172a;
}
.kb-tur-btn-geri:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.kb-tur-btn-ileri {
  background: #1e3a5f;
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 14px rgba(30,58,95,0.25);
}
.kb-tur-btn-ileri:hover {
  background: #2d6a9f;
  transform: translateY(-1px);
}
.kb-tur-btn-son {
  background: #16a34a !important;
  box-shadow: 0 4px 14px rgba(22,163,74,0.3) !important;
}
.kb-tur-btn-son:hover {
  background: #15803d !important;
}

/* Mobil Uyumluluk */
@media (max-width: 768px) {
  .kb-tur-kutu { max-height: 98vh; border-radius: 14px; }
  .kb-tur-ust { padding: 10px 14px; }
  .kb-tur-sahne-sar { padding: 10px 14px 0; }
  .kb-tur-gorsel { max-height: 280px; }
  .kb-tur-alt { flex-direction: column; align-items: stretch; padding: 12px 14px; gap: 12px; }
  .kb-tur-baslik { font-size: 14px; }
  .kb-tur-metin { font-size: 11.5px; }
  .kb-tur-aksiyon { justify-content: space-between; width: 100%; }
}
