/* ══════════════════════════════════════════
   RAPID TACTICAL — HERO SLIDER
   Main homepage slider and its dynamic content.
══════════════════════════════════════════ */

.hero {
  position: relative;
  width: 100%;
  height: 545px;
  overflow: hidden;
  isolation: isolate;
}

.hero-slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.85s ease;
  pointer-events: none;
}

.hero-slide.active { opacity: 1; pointer-events: auto; z-index: 1; }

.hero-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      rgba(0, 0, 0, 0.05) 0%,
      rgba(0, 0, 0, 0.15) 35%,
      rgba(0, 0, 0, 0.55) 65%,
      rgba(0, 0, 0, 0.80) 100%);
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  position: absolute;
  bottom: 70px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 680px;
  text-align: center;
  z-index: 2;
  padding: 0 24px;
}

.hero-slide.active .hero-content {
  animation: heroContentIn 0.7s ease 0.3s both;
}

@keyframes heroContentIn {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

.hero-title {
  font-size: var(--heading-size);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.22;
  letter-spacing: -0.2px;
  margin-bottom: 14px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}

.hero-subtitle {
  font-size: var(--content-size);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #8b1a1a;
  color: #ffffff;
  padding: 14px 28px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 4px;
  transition: all 0.15s ease;
  cursor: pointer;
}

.hero-btn:hover { background: #7a1616; transform: translateY(-1px); }

/* Navigation & Progress */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(6px);
  border-radius: 50%;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}

.hero-arrow:hover { background: rgba(139, 26, 26, 0.75); transform: translateY(-50%) scale(1.08); }
.hero-arrow--prev { left: 28px; }
.hero-arrow--next { right: 28px; }

.hero-progress { position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: rgba(255, 255, 255, 0.18); z-index: 10; }
.hero-progress-bar { height: 100%; width: 0%; background: #8b1a1a; transition: width linear; }

.hero-dots {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 9px;
  z-index: 10;
}

.dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, 0.40); border: none; cursor: pointer; transition: all 0.25s ease; }
.dot.active { background: #e03030; width: 26px; height: 8px; border-radius: 4px; }

/* ── Responsive Refinements ── */

@media (max-width: 1024px) {
  .hero { height: 420px; }
  .hero-title { font-size: 26px; }
  .hero-content { bottom: 50px; max-width: 560px; }
  .hero-arrow { width: 38px; height: 38px; }
}

@media (max-width: 768px) {
  .hero-content { padding: 0 20px; bottom: 40px; }
  .hero-title { font-size: 24px !important; }
  .hero-subtitle { font-size: 12px !important; margin-bottom: 20px !important; }
}
