.hero-slider {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.slide picture {
  display: block;
  width: 100%;
  height: 100%;
}

.slide picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.overlay-content {
  max-height: 500px;
  color: white;
  margin-top: -300px;
  margin-bottom: 100px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
  z-index: 10;
  display: flex;
  justify-content: center;
}

.overlay-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 567px;
  background: rgba(0, 0, 0, 0.5);
  pointer-events: none;
  z-index: 1;
}

/* Dots Navigation */
.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 9;
}

.dot {
  width: 12px;
  height: 12px;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background-color: white;
  transform: scale(1.3);
}

.dot:hover {
  background-color: white;
}

.slide .overlay-content h1,
.slide .overlay-content p,
.slide .overlay-content img {
  z-index: 2 !important;
  position: absolute;
}

.slide .overlay-content h1 {
  font-family: "lfc-serif";
}

.slide .overlay-content p {
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 3px;
  margin-top: 80px;
}

.slide .overlay-content img {
  margin-top: 210px;
}

.slide .overlay-content a.button.button--block.upper {
  margin-top: 140px;
}

@media (max-width: 768px) {
  .slide .overlay-content h1 {
    margin-top: -90px;
  }
  .slide .overlay-content p {
    margin-top: 40px;
  }
}
