/* =====================================================
   HERO WRAPPER
   ===================================================== */
.hero-section {
  position: relative;
  width: 100%;
  height: 78vh;
  min-height: 520px;
  overflow: hidden;
  background: #111; /* fallback while images load */
}

/* =====================================================
   SWIPER LAYOUT – MUST FILL HERO
   ===================================================== */
.hero-swiper,
.hero-swiper .swiper-wrapper,
.hero-swiper .swiper-slide {
  width: 100%;
  height: 100%;
}

/* IMPORTANT: NEVER absolute slides */
.swiper-slide {
  position: relative;
}

/* Slide container */
.hero-slide {
  position: relative;
}

/* =====================================================
   HERO IMAGE LAYER (JS CONTROLS IMAGE)
   ===================================================== */
.hero-inner {
  position: absolute;
  inset: 0;

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  /* 🔑 CRITICAL VISIBILITY SAFETY */
  opacity: 1;
  z-index: 1;

  will-change: transform, opacity;
}

/* =====================================================
   MOBILE HEIGHT ONLY (NO IMAGES HERE)
   ===================================================== */
@media (max-width: 768px) {
  .hero-section {
    height: 60vh;
    min-height: 400px;
  }
}

/* =====================================================
   SWIPER NAVIGATION – PROFESSIONAL LOOK
   ===================================================== */
.hero-swiper .swiper-button-next,
.hero-swiper .swiper-button-prev {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(223, 31, 38, 0.92);

  display: flex;
  align-items: center;
  justify-content: center;

  transition: all 0.25s ease;
  z-index: 10; /* ABOVE HERO IMAGE */
}

/* Arrow icons */
.hero-swiper .swiper-button-next::after,
.hero-swiper .swiper-button-prev::after {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
}

/* Hover state */
.hero-swiper .swiper-button-next:hover,
.hero-swiper .swiper-button-prev:hover {
  background: rgba(223, 31, 38, 0.9);
}

/* Positioning */
.hero-swiper .swiper-button-prev {
  left: 24px;
}

.hero-swiper .swiper-button-next {
  right: 24px;
}

/* Mobile size */
@media (max-width: 768px) {
  .hero-swiper .swiper-button-next,
  .hero-swiper .swiper-button-prev {
    width: 46px;
    height: 46px;
  }
}


.hero-pagination-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.2rem 0 1.6rem;
  background: #ffffff;
  width: 100%;
}

.hero-pagination-wrapper .swiper-pagination {
  position: static !important;   
  width: auto !important;       
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;                
}


.hero-swiper .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: rgba(223, 31, 38, 0.25);
  opacity: 1;
  margin: 0 6px;
  transition: all 0.3s ease;
}

.hero-swiper .swiper-pagination-bullet-active {
  background: var(--primary-red, #df1f26);
  transform: scale(1.3);
}

/* =====================================================
   FINAL SAFETY NET – NEVER ALLOW HERO TO DISAPPEAR
   ===================================================== */
.hero-section *,
.hero-inner {
  visibility: visible !important;
}
