/* ============================================
   OM STEPRISER - Hero Slider
   ============================================ */

/* ---- Hero Section ---- */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  max-height: 950px;
  overflow: hidden;
}

/* ---- Slides Container ---- */
.hero__slider {
  position: relative;
  width: 100%;
  height: 100%;
}

/* ---- Individual Slide ---- */
.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease, transform 1.2s ease;
  transform: scale(1.04);
}

.hero__slide.is-active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

.hero__slide.is-exiting {
  opacity: 0;
  z-index: 0;
}

/* ---- Slide Background ---- */
.hero__slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Gradient Overlays */
.hero__slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg,
      rgba(26, 18, 9, 0.82) 0%,
      rgba(26, 18, 9, 0.55) 55%,
      rgba(26, 18, 9, 0.25) 100%);
}

/* ---- Slide Content ---- */
.hero .container {
  height: 100%;
}

.hero__slide-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
}

.hero__slide-inner {
  max-width: 680px;
}

.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(196, 137, 42, 0.18);
  border: 1px solid rgba(196, 137, 42, 0.35);
  border-radius: var(--radius-full);
  padding: var(--space-1) var(--space-4);
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent-light);
  margin-bottom: var(--space-6);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease 0.3s, transform 0.7s ease 0.3s;
}

.hero__tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
  flex-shrink: 0;
}

.hero__title {
  font-family: var(--font-display);
  font-size: var(--text-7xl);
  font-weight: var(--fw-extrabold);
  color: var(--color-white);
  line-height: var(--lh-tight);
  margin-bottom: var(--space-6);
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease 0.5s, transform 0.7s ease 0.5s;
}

.hero__title em {
  font-style: italic;
  color: var(--color-accent);
}

.hero__description {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.75);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--space-8);
  max-width: 520px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease 0.7s, transform 0.7s ease 0.7s;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease 0.9s, transform 0.7s ease 0.9s;
}

/* Animate active slide content */
.hero__slide.is-active .hero__tag,
.hero__slide.is-active .hero__title,
.hero__slide.is-active .hero__description,
.hero__slide.is-active .hero__actions {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Hero Sizes Grid (top right area) ---- */
.hero__specs {
  position: absolute;
  right: var(--space-12);
  bottom: var(--space-16);
  z-index: 3;
  display: flex;
  gap: var(--space-4);
}

.hero__spec-card {
  background: rgba(26, 18, 9, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(196, 137, 42, 0.3);
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-5);
  text-align: center;
  min-width: 90px;
}

.hero__spec-size {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: var(--fw-bold);
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: var(--space-1);
}

.hero__spec-label {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ---- Slider Controls ---- */
.hero__controls {
  position: absolute;
  bottom: var(--space-10);
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

/* Dot Navigation */
.hero__dots {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.hero__dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: all var(--transition-base);
  border: none;
  padding: 0;
}

.hero__dot.is-active {
  background: var(--color-accent);
  width: 28px;
  border-radius: 4px;
}

/* Arrow Buttons */
.hero__arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-base);
  flex-shrink: 0;
}

.hero__arrow:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  transform: scale(1.08);
}

.hero__arrow svg {
  width: 18px;
  height: 18px;
}

/* ---- Scroll Indicator ---- */
.hero__scroll {
  position: absolute;
  bottom: var(--space-10);
  right: var(--space-12);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  color: rgba(255, 255, 255, 0.5);
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.4), transparent);
  position: relative;
  overflow: hidden;
}

.hero__scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-accent);
  animation: scrollLine 2s ease infinite;
}

@keyframes scrollLine {
  0% {
    top: -100%;
  }

  100% {
    top: 100%;
  }
}

/* ---- Progress Bar ---- */
.hero__progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: var(--color-accent);
  z-index: 4;
  transition: none;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .hero__specs {
    right: var(--space-6);
    bottom: var(--space-20);
  }

  .hero__scroll {
    display: none;
  }

  .hero__title {
    font-size: var(--text-6xl);
  }

  .hero__slide-content {
    justify-content: center;
    text-align: center;
  }

  .hero__slide-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero__actions {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .hero {
    max-height: 100vh;
  }

  .hero__specs {
    display: none; /* Hide specs on mobile for a cleaner centered look */
  }

  .hero__slide-content {
    align-items: center;
    padding-bottom: var(--space-12);
  }

  .hero__title {
    font-size: var(--text-5xl);
  }

  .hero__slide-overlay {
    background: linear-gradient(to top,
        rgba(26, 18, 9, 0.9) 0%,
        rgba(26, 18, 9, 0.55) 60%,
        rgba(26, 18, 9, 0.2) 100%);
  }

  .hero__controls {
    bottom: var(--space-6);
  }

  .hero__actions {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .hero__actions .btn {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero__title {
    font-size: var(--text-4xl);
  }

  .hero__description {
    font-size: var(--text-base);
  }
}

.hero__description {
  font-size: var(--text-base);
}
}