/* Video Hero + Sanal Tur */

.hero-video-el {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-video .hero-bg { z-index: -1; }
.hero-video .hero-overlay { z-index: 1; }
.hero-video .hero-content,
.hero-video .hero-stats,
.hero-video .hero-video-toggle { z-index: 2; }
.hero-video-toggle {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  z-index: 5;
  background: rgba(255,255,255,.2);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.35);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.1rem;
  transition: background 0.2s;
}
.hero-video-toggle:hover { background: rgba(255,255,255,.35); }

.hero-play-tour {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.hero-play-tour svg { width: 18px; height: 18px; }

/* Virtual Tour Section */
.virtual-tour-section {
  padding: 5rem 0;
  background: #0f172a;
  color: #fff;
  overflow: hidden;
}
.virtual-tour-section .section-label { color: var(--accent); }
.virtual-tour-section .section-title { color: #fff; }
.virtual-tour-section .section-intro { color: rgba(255,255,255,.7); }

.tour-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 1.25rem;
  margin-top: 2rem;
}
@media (max-width: 900px) {
  .tour-layout { grid-template-columns: 1fr; }
}

.tour-viewer-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #000;
  aspect-ratio: 16/10;
  box-shadow: 0 24px 80px rgba(0,0,0,.5);
}
.tour-viewer {
  width: 100%;
  height: 100%;
  overflow: hidden;
  cursor: grab;
  position: relative;
}
.tour-viewer:active { cursor: grabbing; }
.tour-viewer img {
  position: absolute;
  top: 50%;
  left: 50%;
  height: 120%;
  width: auto;
  max-width: none;
  transform: translate(-50%, -50%);
  transition: opacity 0.5s ease;
  user-select: none;
  pointer-events: none;
}
.tour-viewer img.fade { opacity: 0; }

.tour-ui-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem 1.25rem;
  background: linear-gradient(transparent, rgba(0,0,0,.85));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.tour-scene-name {
  font-weight: 700;
  font-size: 0.95rem;
}
.tour-hint {
  font-size: 0.75rem;
  opacity: 0.75;
}
.tour-controls { display: flex; gap: 0.5rem; }
.tour-controls button {
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.25);
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.2s;
}
.tour-controls button:hover { background: rgba(255,255,255,.3); }

.tour-fullscreen {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 5;
  background: rgba(0,0,0,.5);
  border: none;
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 1.1rem;
}
.tour-fullscreen:hover { background: rgba(0,0,0,.75); }

.tour-sidebar {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.tour-spot {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 0.65rem;
  cursor: pointer;
  text-align: left;
  color: #fff;
  transition: all 0.25s;
  font-family: inherit;
}
.tour-spot:hover, .tour-spot.active {
  background: rgba(255,255,255,.12);
  border-color: var(--accent);
}
.tour-spot img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
}
.tour-spot span {
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.3;
}

.tour-map-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 2rem;
}
@media (max-width: 768px) { .tour-map-row { grid-template-columns: 1fr; } }

.tour-map-box {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16/10;
  background: #1e293b;
}
.tour-map-box iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.tour-video-box {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16/10;
  position: relative;
  background: #000;
}
.tour-video-box video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tour-video-label {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background: rgba(0,0,0,.6);
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
}

.tour-cta {
  text-align: center;
  margin-top: 2.5rem;
}

/* Fullscreen tour overlay */
.tour-fs-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: #000;
  display: none;
}
.tour-fs-overlay.open { display: block; }
.tour-fs-overlay .tour-viewer-wrap {
  width: 100%;
  height: 100%;
  border-radius: 0;
  aspect-ratio: auto;
}
.tour-fs-close {
  position: fixed;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 10001;
  background: rgba(255,255,255,.2);
  border: none;
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
}
