/* ==========================================================================
   Blue Whale Group (مجموعة الحوت) — ScrollWorld Experience
   Cinematic 9-Stage Automotive Sourcing & Shipping Journey + Hero Video
   ========================================================================== */

.scrollworld-hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: var(--space-3xl) 0;
  border-bottom: 1px solid rgba(212, 175, 55, 0.18);
  background: #070B10;
}

/* Hero Background Video */
.hero-video-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
  opacity: 0.92;
  filter: contrast(1.05) brightness(0.95);
  pointer-events: none;
}

.hero-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at center, rgba(7, 11, 16, 0.1) 0%, rgba(7, 11, 16, 0.35) 70%, rgba(7, 11, 16, 0.65) 100%),
    linear-gradient(180deg, rgba(7, 11, 16, 0.4) 0%, rgba(7, 11, 16, 0.1) 40%, rgba(7, 11, 16, 0.2) 70%, var(--bg-dark) 100%);
  z-index: 1;
  pointer-events: none;
}

.scrollworld-bg-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  opacity: 0.3;
}

.scrollworld-hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 920px;
  margin: 0 auto;
}

.scrollworld-hero-content .eyebrow {
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
  background: rgba(7, 11, 16, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.scrollworld-hero-content .heading-xl {
  color: #FFFFFF;
  text-shadow: 0 3px 20px rgba(0, 0, 0, 0.95), 0 1px 6px rgba(0, 0, 0, 0.85);
  font-weight: 800;
}

.scrollworld-hero-content .text-gold {
  color: #D4AF37 !important;
  -webkit-text-fill-color: #D4AF37 !important;
  background: none !important;
  text-shadow: 0 0 25px rgba(212, 175, 55, 0.65), 0 3px 14px rgba(0, 0, 0, 0.95), 0 1px 4px rgba(0, 0, 0, 0.9);
  font-weight: 800;
  display: inline-block;
  padding: 0 4px;
}

.scrollworld-hero-content .lead-text {
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.95);
  background: rgba(7, 11, 16, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* ScrollWorld Interactive Journey Section */
.scrollworld-journey-section {
  position: relative;
  background: linear-gradient(180deg, var(--bg-dark) 0%, #060A0F 50%, var(--bg-dark) 100%);
  padding: var(--space-3xl) 0;
  overflow: hidden;
}

.journey-visual-wrapper {
  position: sticky;
  top: 100px;
  height: 480px;
  background: radial-gradient(circle at center, #131E2C 0%, #080D14 100%);
  border: 1px solid var(--gold-border-bright);
  border-radius: var(--radius-xl);
  margin-bottom: var(--space-2xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), inset 0 0 40px rgba(212, 175, 55, 0.05);
}

.journey-canvas-stage {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.journey-stage-display {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: var(--space-lg);
  max-width: 600px;
}

.journey-stage-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--gold-gradient);
  color: #070B10;
  font-weight: 800;
  font-size: 0.82rem;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-md);
  box-shadow: 0 4px 15px var(--gold-glow);
}

.journey-stage-title {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: var(--space-xs);
}

.journey-stage-sub {
  color: var(--gold-light);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: var(--space-md);
}

.journey-stage-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* 9-Stage Scrubber Controls */
.journey-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: var(--space-lg);
  flex-wrap: wrap;
  z-index: 3;
}

.journey-step-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(19, 27, 38, 0.85);
  border: 1px solid var(--gold-border);
  color: var(--text-secondary);
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
}

.journey-step-btn:hover {
  border-color: var(--gold-bright);
  color: var(--gold-light);
  transform: scale(1.1);
}

.journey-step-btn.active {
  background: var(--gold-gradient);
  color: #070B10;
  border-color: var(--gold-bright);
  box-shadow: 0 0 15px var(--gold-glow);
}

/* Detailed 9-Stage Story Stream (Semantic HTML for Search Engines) */
.story-stream-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-2xl);
}

.story-card {
  background: var(--bg-surface-card);
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  position: relative;
  transition: all var(--transition-smooth);
}

.story-card:hover {
  border-color: var(--gold-bright);
  transform: translateY(-4px);
}

.story-card-number {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--gold-bright);
  background: rgba(212, 175, 55, 0.1);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
  display: inline-block;
  margin-bottom: var(--space-sm);
}

.story-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
  color: var(--text-primary);
}

.story-card-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

@media (max-width: 1024px) {
  .story-stream-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .story-stream-grid {
    grid-template-columns: 1fr;
  }
  .journey-visual-wrapper {
    position: relative;
    top: 0;
    height: 420px;
  }
}
