/* ==========================================================================
   RIDE ANY – OUR FLEET LUXURY SHOWROOM (MODERN AUTOMOTIVE HUD ARCHITECTURE)
   Top-Left Editorial Branding • Layered Numeral • Floating Control Capsule
   ========================================================================== */

:root {
  --fleet-bg: #f8fafc;
  --fleet-dark: #0f172a;
  --fleet-muted: #64748b;
  --fleet-border: rgba(15, 23, 42, 0.08);
  --fleet-accent:  #10b981;
  --fleet-accent-glow: 0 0 10px rgba(95, 186, 134, 0.65);
}

.fleet-showroom-section {
  position: relative;
  width: 100%;
  background: var(--fleet-bg);
  padding: 50px 0 28px;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
}

/* Subtle architectural studio grid background */
.fleet-showroom-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at 50% 50%, rgba(15, 23, 42, 0.02) 0%, transparent 70%),
    linear-gradient(rgba(15, 23, 42, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.035) 1px, transparent 1px);
  background-size: 100% 100%, 80px 80px, 80px 80px;
  pointer-events: none;
  z-index: 1;
}

.fleet-showroom-container {
  position: relative;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px;
  z-index: 2;
}

/* Header Section */
.fleet-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 45px;
}

.fleet-header h2 {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--fleet-dark);
  margin: 0 0 2px;
  text-transform: uppercase;
}

.fleet-header p {
  font-size: 13px;
  color: var(--fleet-muted);
  line-height: 1.4;
  margin: 0;
}

/* ==========================================================================
   Master Showcase Stage Arena
   ========================================================================== */
.fleet-showcase-stage {
  position: relative;
  width: 100%;
  height: 420px; /* Clean, compact, fits 551px viewport */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  margin: 0 auto;
  cursor: grab;
  background: transparent;
}

.fleet-showcase-stage:active {
  cursor: grabbing;
}

/* 1. TOP-LEFT EDITORIAL HUD (Polestar Reference Layout) */
.fleet-editorial-hud {
  position: absolute;
  top: 46px;
  left: 32px;
  z-index: 60;
  max-width: 360px;
  text-align: left;
  pointer-events: auto;
}

.fleet-hud-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s;
  pointer-events: none;
}

.fleet-hud-slide.active {
  position: relative;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.fleet-hud-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fleet-muted);
  margin-bottom: 6px;
}

.fleet-pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--fleet-accent);
  box-shadow: 0 0 8px rgba(95, 189, 165, 0.9);
}

.fleet-hud-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(28px, 2.8vw, 38px);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--fleet-dark);
  line-height: 1.05;
  margin: 0 0 6px;
  text-transform: uppercase;
}

.fleet-hud-desc {
  font-size: 13px;
  color: var(--fleet-muted);
  line-height: 1.45;
  margin: 0 0 12px;
  max-width: 320px;
}

/* Sleek Inline Glass Spec Chips */
.fleet-hud-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.hud-spec-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(15, 23, 42, 0.08);
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--fleet-dark);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
}

.hud-spec-chip svg {
  width: 12px;
  height: 12px;
  fill: #10b981;
  display: block;
}

.hud-spec-chip strong {
  font-weight: 800;
  color: #000000;
}

.fleet-hud-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #000000;
  color: #ffffff;
  padding: 7px 10px;
  border-radius: 9999px; /* Pill */
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.fleet-hud-cta:hover {
  background: #1e293b;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.3);
  text-decoration: none;
}

.fleet-hud-cta svg {
  transition: transform 0.25s ease;
}

.fleet-hud-cta:hover svg {
  transform: translate(3px, -3px);
}

/* 2. MODERN COMPACT SINGLE-DIGIT WATERMARK (1, 2, 3, 4...) */
.fleet-watermark-num {
  position: absolute;
  top: 25%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Montserrat', -apple-system, sans-serif;
  font-size: clamp(260px, 28vw, 350px);
  font-weight: 900;
  color: rgba(15, 23, 42, 0.16);
  line-height: 0.76;
  letter-spacing: -0.05em;
  pointer-events: none;
  z-index: 2;
  user-select: none;
  -webkit-user-select: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  text-align: center;
  /* Attractive modern depth shadow */
  /* text-shadow: 
    0 14px 32px rgba(15, 23, 42, 0.13),
    0 3px 8px rgba(15, 23, 42, 0.07),
    0 -1px 0 rgba(255, 255, 255, 0.85); */
  filter: drop-shadow(0 16px 26px rgba(0, 0, 0, 0.08));
  /* CRITICAL: Smooth gradient mask so bottom portion dissolves completely before reaching car chassis and wheels */
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 62%, rgba(0, 0, 0, 0) 86%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 62%, rgba(0, 0, 0, 0) 86%);
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 3. RUNWAY & CARS */
.fleet-carousel-runway {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  z-index: 5;
}

.fleet-carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.fleet-car-item {
  position: absolute;
  top: 48%;
  left: 50%;
  width: min(580px, 58vw);
  height: 310px;
  transform: translate(-50%, -50%);
  will-change: transform, opacity, filter;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease, filter 0.5s ease;
}

.fleet-car-item.active {
  pointer-events: auto;
}

.fleet-car-image-wrap {
  position: relative;
  width: 100%;
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fleet-car-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 20px 32px rgba(15, 23, 42, 0.16));
  pointer-events: none;
  transition: transform 0.5s ease, filter 0.5s ease;
}

.fleet-car-shadow {
  position: absolute;
  bottom: 59px;
  left: 50%;
  transform: translateX(-50%);
  width: 78%;
  height: 22px;
  background: radial-gradient(ellipse at center, rgba(15, 23, 42, 0.45) 0%, rgba(15, 23, 42, 0.12) 48%, transparent 72%);
  border-radius: 50%;
  filter: blur(6px);
  pointer-events: none;
  transition: all 0.5s ease;
}

/* 4. MINIMALIST BOTTOM NAVIGATION DOCK (Center Bottom) */
.fleet-nav-dock {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 30;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 9999px;
  padding: 5px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.dock-arrow-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  color: var(--fleet-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 5px rgba(15, 23, 42, 0.04);
}

.dock-arrow-btn svg {
  display: block;
  stroke: var(--fleet-dark);
  transition: stroke 0.2s ease;
}

.dock-arrow-btn:hover {
  background: #000000;
  color: #ffffff;
  border-color: #000000;
  transform: scale(1.08);
}

.dock-arrow-btn:hover svg {
  stroke: #ffffff;
}

.dock-dash-track {
  display: flex;
  align-items: center;
  gap: 5px;
}

.dock-dash-item {
  width: 14px;
  height: 3px;
  background: #cbd5e1;
  border-radius: 999px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.dock-dash-item.active {
  width: 28px;
  background: #000000;
  box-shadow: 0 0 6px rgba(15, 23, 42, 0.25);
}

/* Floating "Drag" Badge */
.fleet-drag-badge {
  position: absolute;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--fleet-dark);
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 50;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.6);
  transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.25), var(--fleet-accent-glow);
}

.fleet-showcase-stage:hover .fleet-drag-badge {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */
@media (max-width: 991px) {
  .fleet-showcase-stage {
    height: 400px;
  }
  .fleet-editorial-hud {
    position: absolute;
    top: 24px;
    left: 20px;
    z-index: 60;
    max-width: 300px;
    text-align: left;
    pointer-events: auto;
  }
  .fleet-hud-title {
    font-size: 26px;
  }
  .fleet-hud-desc {
    font-size: 12px;
    margin-bottom: 10px;
  }
  .hud-spec-chip {
    font-size: 11px;
    padding: 4px 9px;
  }
  .fleet-car-item {
    width: min(520px, 75vw);
    height: 270px;
  }
  .fleet-watermark-num {
    top: 32%;
    left: 50%;
    font-size: clamp(140px, 20vw, 190px);
  }
}

@media (max-width: 767px) {
  .fleet-showcase-stage {
    height: auto;
    flex-direction: column;
    padding-bottom: 50px;
  }
  .fleet-editorial-hud {
    position: relative;
    top: auto;
    left: auto;
    text-align: center;
    max-width: 100%;
    margin-bottom: 8px;
    pointer-events: auto;
    z-index: 60;
  }
  .fleet-hud-desc {
    margin: 0 auto 10px;
  }
  .fleet-hud-specs {
    justify-content: center;
  }
  .fleet-carousel-runway {
    height: 260px;
  }
  .fleet-car-item {
    top: 50%;
    width: 85vw;
    height: 220px;
  }
  .fleet-car-image-wrap {
    height: 170px;
  }
  .fleet-watermark-num {
    top: 30%;
    left: 50%;
    font-size: clamp(120px, 24vw, 160px);
  }
  .fleet-nav-dock {
    bottom: 8px;
  }
}