/* ==========================================================================
   LUMINA VILLA - CONTINUOUS 3D WALKTHROUGH & INTERACTIVE HOUSE MAP
   ========================================================================== */

/* Full Viewport 3D Flythrough Stage */
.tour-viewport {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
  background: #020306;
}

#tour-canvas {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform-origin: 50% 52%;
  will-change: transform, filter, opacity;
  transition: opacity 0.35s ease;
}

/* Cinematic Subtle Vignette */
.cinematic-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent 48%, rgba(2, 3, 6, 0.68) 100%),
              linear-gradient(to bottom, rgba(2, 3, 6, 0.85) 0%, transparent 10%, transparent 90%, rgba(2, 3, 6, 0.9) 100%);
  pointer-events: none;
  z-index: 2;
}

/* Minimalist Room Indicator (Bottom Left) */
.minimal-room-indicator {
  position: fixed;
  bottom: 32px;
  left: 40px;
  z-index: 10;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.indicator-zone {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  color: var(--gold-light);
  text-transform: uppercase;
}

.indicator-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--text-primary);
  font-weight: 500;
  letter-spacing: -0.01em;
}

.indicator-specs {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--cyan-laser);
  letter-spacing: 0.08em;
}

/* ==========================================================================
   INTERACTIVE ARCHITECTURAL HOUSE MAP (Bottom Right Floating HUD)
   ========================================================================== */
.house-map-widget {
  position: fixed;
  bottom: 28px;
  right: 36px;
  z-index: 15;
  background: rgba(6, 8, 14, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(212, 175, 55, 0.28);
  border-radius: var(--radius-lg);
  padding: 18px 22px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), var(--glow-gold);
  transition: all var(--duration-normal) var(--ease-out-expo);
  width: 290px;
}

.house-map-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.house-map-title {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  color: var(--gold-light);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
}

.house-map-pulse {
  width: 6px;
  height: 6px;
  background: var(--cyan-laser);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--cyan-laser);
  animation: pulseDot 2s infinite;
}

.house-map-subtitle {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
}

.house-map-svg {
  width: 100%;
  height: 120px;
  display: block;
}

/* Map Interactive Waypoint Nodes */
.map-node {
  cursor: pointer;
  transition: all 0.25s ease;
}

.map-node circle.node-bg {
  fill: #0c121e;
  stroke: rgba(212, 175, 55, 0.4);
  stroke-width: 1.5;
  transition: all 0.25s ease;
}

.map-node circle.node-core {
  fill: var(--gold-primary);
  transition: all 0.25s ease;
}

.map-node text {
  font-family: var(--font-mono);
  font-size: 8px;
  fill: #94a3b8;
  letter-spacing: 0.05em;
  transition: fill 0.25s ease;
  pointer-events: none;
}

.map-node:hover circle.node-bg,
.map-node.active circle.node-bg {
  stroke: var(--cyan-laser);
  fill: rgba(0, 242, 254, 0.2);
  filter: drop-shadow(0 0 6px var(--cyan-laser));
}

.map-node:hover circle.node-core,
.map-node.active circle.node-core {
  fill: #ffffff;
}

.map-node:hover text,
.map-node.active text {
  fill: #ffffff;
  font-weight: 700;
}

/* Live Traveler Drone Pin on Map */
#map-traveler-pin {
  transition: transform 0.4s var(--ease-out-expo);
  pointer-events: none;
}

/* Scrollytelling Virtual Scroll Spacer */
.scroll-sections-track {
  position: relative;
  z-index: 5;
}

.tour-section-trigger {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px var(--container-padding);
  pointer-events: none;
}

.tour-card-panel {
  pointer-events: auto;
  max-width: 440px;
  padding: 36px;
  background: rgba(6, 8, 14, 0.72);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.85);
  transition: all 0.6s var(--ease-out-expo);
}

.tour-card-panel.align-right {
  margin-left: auto;
}

.tour-card-panel h2 {
  font-size: clamp(1.8rem, 2.8vw, 2.4rem);
  line-height: 1.15;
  margin-bottom: 14px;
}

.tour-card-panel p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 24px;
}

.estate-specs-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 24px;
}

.estate-spec-item {
  display: flex;
  flex-direction: column;
}

.estate-spec-item .label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.estate-spec-item .val {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 2px;
}

@media (max-width: 900px) {
  .house-map-widget {
    display: none;
  }
  .minimal-room-indicator {
    left: 20px;
    bottom: 20px;
  }
  .tour-card-panel {
    max-width: 100%;
    padding: 24px;
  }
}
