.home-swiper-hero {
  position: relative;
  width: 100%;
  overflow: hidden;
}

/* Swiper basics */
.home-swiper-hero .swiper {
  position: relative;
  overflow: hidden;
}

.home-swiper-hero .swiper-wrapper {
  display: flex;
  transition-property: transform;
  box-sizing: content-box;
}

.home-swiper-hero .swiper-slide {
  flex-shrink: 0;
  width: 100%;
  position: relative;
}

.home-swiper-hero .hero-bg picture,
.home-swiper-hero .hero-bg img {
  display: block;
  width: 100%;
  height: auto;
}

/* Logo at top center */
.home-swiper-hero .hero-logo {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  text-align: center;
  pointer-events: none;
}

.home-swiper-hero .hero-logo img {
  max-width: 160px;
  height: auto;
  display: block;
  pointer-events: auto;
}

/* Bottom overlay */
.home-swiper-hero .hero-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 50px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 0 60px;
  color: #fff;
  pointer-events: none;
}

.home-swiper-hero .hero-left,
.home-swiper-hero .hero-right {
  pointer-events: auto;
}
.home-swiper-hero .hero-left {
  margin-bottom: 20px;
}

.home-swiper-hero .hero-title {
  font-size: 40px;
  font-weight: 700;
  margin: 0;
  text-transform: uppercase;
  color: #fff !important;
  line-height: 1.5;
}

.home-swiper-hero .hero-subtitle {
  font-size: 26px;
  margin: 0;
  line-height: 1.5;
}

/* Button with overflow hover effect */
.home-swiper-hero .hero-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 40px;
  border-radius: 0;
  background: #ffffff;
  color: #000000;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 24px;
  overflow: hidden;
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease,
    background-color 0.3s ease, color 0.3s ease;
}

.home-swiper-hero .hero-btn__text {
  position: relative;
  z-index: 2;
  color: #000000;
  transition: color 0.5s ease 0.1s;
}

.home-swiper-hero .hero-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #212529;
  transform-origin: left center;
  transform: scaleX(0);
  z-index: 1;
  transition: transform 0.5s ease;
}

.home-swiper-hero .hero-btn:hover::before {
  transform: scaleX(1);
}

.home-swiper-hero .hero-btn:hover .hero-btn__text {
  color: #ffffff;
}

.home-swiper-hero .hero-btn:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

/* Arrows */
.home-swiper-hero .hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  color: #fff;
}

.home-swiper-hero .hero-arrow-prev {
  left: 20px;
}

.home-swiper-hero .hero-arrow-next {
  right: 20px;
}

.home-swiper-hero .hero-arrow::before {
  font-size: 50px;
  line-height: 1;
}

.home-swiper-hero .hero-arrow-prev::before {
  content: "‹";
}

.home-swiper-hero .hero-arrow-next::before {
  content: "›";
}

/* Mobile */
@media (max-width: 1000px) {
  .home-swiper-hero .swiper-slide {
    min-height: 600px;
  }

  .home-swiper-hero .hero-overlay {
    bottom: 90px;
    padding: 0 10px;
    flex-direction: column;
    align-items: flex-start;
  }

  .home-swiper-hero .hero-title {
    font-size: 28px;
    text-align: center;
  }

  .home-swiper-hero .hero-subtitle {
    font-size: 16px;
    text-align: center;
  }

  .home-swiper-hero .hero-bg picture,
  .home-swiper-hero .hero-bg img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 600px;
    object-fit: cover;
  }

  .home-swiper-hero .hero-logo {
    top: 10px;
  }

  .home-swiper-hero .hero-logo img {
    max-width: 130px;
  }

  .home-swiper-hero .hero-left {
    width: 100%;
  }

  .home-swiper-hero .hero-right {
    width: 100%;
    text-align: center;
  }

  .home-swiper-hero .hero-btn {
    font-size: 13px;
    padding: 5px 25px;
  }

  .home-swiper-hero .hero-arrow {
    display: none;
  }
}
