/* Home hero background slideshow */
.home-hero {
  position: relative;
  padding: 100px 8% 90px !important;
  min-height: 620px;
  background: none !important;
  overflow: hidden;
}

.home-hero .home-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.home-hero .home-hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(113, 113, 114, 0.42), rgba(11, 16, 24, 0.75));
  pointer-events: none;
}

.home-hero .home-hero-bg-slide {
  position: absolute;
  inset: 0;
  background-size: 90% auto;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0;
  animation: homeHeroBg 35s infinite ease-in-out;
  transition: opacity 1s ease-in-out;
  background-color: transparent;
  
  transform: none;
}

.home-hero .home-hero-bg-slide.slide-1 { background-image: url('../images/simpleinjnozzle.png'); animation-delay: 0s; }
.home-hero .home-hero-bg-slide.slide-2 { background-image: url('../images/BoschAL-FR-F150.png'); animation-delay: 5s; }
.home-hero .home-hero-bg-slide.slide-3 { background-image: url('../images/BoschAL9500-714.png'); animation-delay: 10s; }
.home-hero .home-hero-bg-slide.slide-4 { background-image: url('../images/BoschAL29505-040.png'); animation-delay: 15s; }
.home-hero .home-hero-bg-slide.slide-5 { background-image: url('../images/boscheps610.png'); animation-delay: 20s; }
.home-hero .home-hero-bg-slide.slide-6 { background-image: url('../images/boscheps611.png'); animation-delay: 25s; }
.home-hero .home-hero-bg-slide.slide-7 { background-image: url('../images/petrolfuelinjector.png'); animation-delay: 30s; }

.home-hero .product-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(circle at 18% 20%, rgba(244,122,32,0.12), transparent 24%),
    radial-gradient(circle at 82% 25%, rgba(23,105,198,0.18), transparent 28%),
    linear-gradient(180deg, rgba(213, 218, 227, 0.44), rgba(228, 234, 247, 0.78));
  pointer-events: none;
}

.home-hero .product-container {
  position: relative;
  z-index: 3;
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 440px;
}

.home-hero .product-container {
  position: relative;
  z-index: 2;
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 440px;
}

.home-hero .product-content {
  padding: 40px 24px;
  max-width: 760px;
  color: #fff;
  position: relative;
}

.home-hero .product-content h1 {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  line-height: 1.08;
  margin-bottom: 18px;
  color: #ffffff !important;
  text-shadow: 0 2px 8px rgba(244, 244, 244, 0.5);
}

.home-hero .product-content p {
  font-size: 1.25rem;
  color: #ffffff !important;
  margin-bottom: 24px;
}

.home-hero .product-tag {
  display: inline-block;
  background: rgba(255,255,255,0.14);
  color: #ffffff !important;
  border-color: rgba(255,255,255,0.20) !important;
}

.home-hero .hero-line {
  width: 90px;
  height: 4px;
  margin: 24px auto 30px;
  background: linear-gradient(to right, #f47a20, #ffffff);
}

.home-hero .hero-btn {
  margin-top: 10px;
}

@keyframes homeHeroBg {
  0%, 11% { opacity: 1; }
  14.28%, 100% { opacity: 0; }
}

@media (max-width: 992px) {
  .home-hero {
    padding: 80px 4% 0 !important;
    min-height: 520px;
  }

  .home-hero .product-container {
    min-height: 380px;
  }

  .home-hero .product-content {
    padding: 30px 18px;
  }

  .home-hero .product-content h1 {
    font-size: 2.8rem;
  }
}
