/**
 * Hero Slider
 */

.hero.hero-slider {
  position: relative;
  padding: 0;
  color: #fff;
  overflow: hidden;
  height: 60vh;
  min-height: 600px;
}

.hero-carousel,
.hero-carousel .carousel-inner,
.hero-slide {
  height: 60vh;
  min-height: 600px;
}

.hero-slide, .hero-slide .active {
  position: relative;
}

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

.hero-slide-bg-image {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-slide-bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.58) 0%, rgba(0, 0, 0, 0.18) 42%, rgba(0, 0, 0, 0.55) 100%);
}

.hero-slide-container {
  padding-top: 20vh;
  position: relative;
  z-index: 2;
}

/* Content card */
.hero-content-card {
      position: relative;
    max-width: 500px;
    padding: 2rem 2rem 1.75rem;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-subline {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.8);
}

.hero-title {
  margin: 0;
  font-size: clamp(1.7rem, 1.8vw, 2.5rem);
  line-height: 1.12;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  text-wrap: balance;
}

.hero-text {
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.92);
}

.hero-text p:last-child {
  margin-bottom: 0;
}

.hero-card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* Round slider buttons */
.hero-slide-buttons {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.hero-prev-button,
.hero-next-button {
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 50%;
  background-image: url('/wp-content/themes/wmo/assets/images/arrow-right-orange.png');
  background-size: cover;
  background-position: center;
  color: var(--brand-accent-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  line-height: 1;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s ease, opacity 0.2s ease;
}


.hero-prev-button:hover {
  transform: translateX(-2px);
}

.hero-next-button:hover {
  transform: translateX(2px);
}

/* Indicators */
.hero-indicators {
  right: 10rem;
  bottom: 2rem;
  left: auto;
  margin: 0;
  justify-content: flex-end;
  gap: 0.5rem;
  z-index: 5;
}

.hero-indicators [data-bs-target] {
  width: 12px;
  height: 12px;
  margin: 0;
  border: 0;
  border-radius: 50%;
  opacity: 1;
  background-color: rgba(255, 255, 255, 0.95);
}

.hero-indicators .active {
  background-color: #e8871e;
}


.hero-card-image {
  object-fit: cover;
}

.hero-card-content {
  padding: 1.5rem;
}

.hero-card-content .card-title,
.hero-card-content .card-text {
  color: #fff;
}

/* Contact buttons */
.hero-contact-buttons {
  bottom: 50px;
  z-index: 1000;
}

.hero-contact-buttons .btn {
  width: 60px;
  height: 50px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 30px 0 0 30px !important;
  box-shadow: -2px 2px 8px rgba(0, 0, 0, 0.2);
}

.hero-contact-icon {
  width: 20px;
  height: 20px;
}

/* Responsive */
@media (max-width: 1200px) {
  .hero.hero-slider,
  .hero-carousel,
  .hero-carousel .carousel-inner,
  .hero-slide,
  .hero-slide-container .row.min-vh-100 {
    min-height: 640px;
  }
}

@media (max-width: 992px) {
  .hero.hero-slider,
  .hero-carousel,
  .hero-carousel .carousel-inner,
  .hero-slide,
  .hero-slide-container .row.min-vh-100 {
    min-height: 560px;
  }

  .hero-content-card {
    max-width: 100%;
    padding: 1.5rem;
  }

  /* .hero-title {
    font-size: clamp(1.7rem, 5vw, 2.3rem);
  } */


  .hero-indicators {
    right: 1.5rem;
    bottom: 1.25rem;
  }
}

@media (max-width: 768px) {
  .hero.hero-slider,
  .hero-carousel,
  .hero-carousel .carousel-inner,
  .hero-slide,
  .hero-slide-container .row.min-vh-100 {
    min-height: 500px;
  }

  .hero-slide-overlay {
    background: linear-gradient(180deg, rgba(0,0,0,.48) 0%, rgba(0,0,0,.55) 100%);
  }

  .hero-content-card {
    border-radius: 1.25rem;
    padding: 1.25rem;
  }

  .hero-card-actions {
    align-items: stretch;
  }

  .hero-main-button.btn,
  .hero-main-button {
    width: 100%;
  }

  .hero-next-button {
    width: 48px;
    height: 48px;
  }

  .hero-contact-buttons .btn {
    width: 50px;
    height: 45px;
    opacity: 0.9;
  }

  .hero-contact-icon {
    width: 18px;
    height: 18px;
  }
}