/* ==========================================================================
   NAMÍBIA ADVENTURE - ROOFTOP TENT SIMULATOR & EXPEDITION RIG STYLES
   ========================================================================== */

.tent-simulator-section {
  background: radial-gradient(circle at 50% 0%, rgba(217, 107, 39, 0.12) 0%, transparent 70%),
              var(--color-dark-900);
  position: relative;
  overflow: hidden;
}

.simulator-container-card {
  background: var(--color-dark-800);
  border: 1px solid rgba(230, 167, 96, 0.3);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(217, 107, 39, 0.15);
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  align-items: stretch;
}

/* Left: Interactive Animated Canvas / Visualizer Stage */
.sim-visual-stage {
  background: radial-gradient(circle at 50% 30%, rgba(28, 38, 48, 0.9) 0%, rgba(12, 16, 20, 0.98) 100%);
  padding: 2.5rem;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  min-height: 480px;
}

.sim-stage-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 5;
}

.stage-badge {
  background: rgba(13, 16, 19, 0.7);
  border: 1px solid rgba(230, 167, 96, 0.3);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-sand-light);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* Dynamic Interactive Tent Visual Graphic Layer */
.sim-graphic-viewport {
  position: relative;
  width: 100%;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 1.5rem 0;
}

.rig-svg-stage {
  width: 100%;
  max-width: 520px;
  height: auto;
  filter: drop-shadow(0 15px 25px rgba(0,0,0,0.6));
  transition: transform var(--transition-normal);
}

/* Animated SVG Elements for Tent Stages */
.tent-roof-shell {
  transform-origin: 180px 145px;
  transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.tent-fabric {
  transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.tent-ladder {
  transform-origin: 320px 150px;
  transition: all 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.tent-light-glow {
  opacity: 0;
  transition: opacity 0.5s ease;
}

.tent-window-flaps {
  transition: all 0.6s ease;
}

/* Stage State Classes applied via JS */
.stage-1 .tent-roof-shell { transform: rotate(0deg); }
.stage-1 .tent-fabric { opacity: 0; transform: scaleY(0.1); }
.stage-1 .tent-ladder { opacity: 0; transform: translateY(-30px); }

.stage-2 .tent-roof-shell { transform: rotate(5deg); }
.stage-2 .tent-fabric { opacity: 0.3; transform: scaleY(0.2); }
.stage-2 .tent-ladder { opacity: 0; }

.stage-3 .tent-roof-shell { transform: rotate(-38deg); }
.stage-3 .tent-fabric { opacity: 1; transform: scaleY(1); }
.stage-3 .tent-ladder { opacity: 0.5; transform: translateY(0); }

.stage-4 .tent-roof-shell { transform: rotate(-38deg); }
.stage-4 .tent-fabric { opacity: 1; transform: scaleY(1); }
.stage-4 .tent-ladder { opacity: 1; transform: translateY(0) rotate(15deg); }

.stage-5 .tent-roof-shell { transform: rotate(-38deg); }
.stage-5 .tent-fabric { opacity: 1; transform: scaleY(1); }
.stage-5 .tent-ladder { opacity: 1; transform: translateY(0) rotate(15deg); }
.stage-5 .tent-light-glow { opacity: 1; filter: drop-shadow(0 0 15px rgba(242, 193, 78, 0.8)); }

/* Interactive Gear Hotspots on Vehicle */
.gear-hotspot {
  position: absolute;
  width: 24px;
  height: 24px;
  background: var(--color-desert-dune);
  border: 2px solid #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 0.7rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 0 15px rgba(217, 107, 39, 0.8);
  transition: transform var(--transition-fast);
  z-index: 10;
  animation: pulseSubtle 2s infinite ease-in-out;
}

.gear-hotspot:hover {
  transform: scale(1.3);
  background: var(--color-gold);
}

.hotspot-tooltip {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(13, 16, 19, 0.95);
  border: 1px solid var(--color-sand);
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-md);
  font-size: 0.75rem;
  color: #FFFFFF;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.gear-hotspot:hover .hotspot-tooltip {
  opacity: 1;
}

/* Stage Bottom Controls */
.sim-stage-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  z-index: 5;
}

.sim-progress-bar {
  flex-grow: 1;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  overflow: hidden;
  position: relative;
}

.sim-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--color-desert-dune), var(--color-sand));
  width: 20%;
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: var(--radius-full);
}

/* Right: Step Description & Step Controller Panel */
.sim-control-panel {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--color-dark-800);
}

.sim-step-indicator {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.step-pill {
  flex: 1;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.step-pill.active {
  background: var(--color-sand);
  box-shadow: 0 0 10px rgba(230, 167, 96, 0.5);
}

.step-pill.completed {
  background: var(--color-desert-dune);
}

.step-content-box {
  margin-bottom: 2rem;
}

.step-badge-num {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-sand);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.step-title {
  font-size: 1.65rem;
  color: #FFFFFF;
  margin-bottom: 1rem;
}

.step-desc {
  font-size: 1rem;
  color: var(--color-text-sand);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.step-pro-box {
  background: rgba(43, 76, 56, 0.2);
  border: 1px solid rgba(74, 124, 89, 0.35);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.step-pro-box i {
  color: #5cecd9;
  margin-top: 0.2rem;
}

.step-pro-box span {
  font-size: 0.88rem;
  color: #D4F4E4;
  line-height: 1.5;
}

/* Bottom Step Buttons */
.step-btn-group {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* Gear Checklist Grid */
.gear-specs-strip {
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.gear-box {
  background: rgba(22, 28, 34, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: all var(--transition-normal);
}

.gear-box:hover {
  border-color: rgba(230, 167, 96, 0.3);
  transform: translateY(-4px);
  background: rgba(28, 36, 44, 0.85);
}

.gear-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(217, 107, 39, 0.15);
  border: 1px solid rgba(217, 107, 39, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-sand);
  font-size: 1.2rem;
}

.gear-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #FFFFFF;
}

.gear-desc {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}
