/* =========================
   HERO SECTION
========================= */
.hero-section {
  width: 100%;
  position: relative;
  overflow: hidden;
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

/* =========================
   SLIDES
========================= */
.slide {
  position: absolute;
  top: 0;
  left: 0;

  width: 100%;
  height: 100%;

  opacity: 0;
  visibility: hidden;

  transition: opacity 0.8s ease-in-out;

  z-index: 1;
}

.slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

/* =========================
   IMAGES
========================= */
.hero-img {
  width: 100%;
  height: 100%;

  object-fit: cover;
  display: block;
}

/* Desktop */
.desktop-img {
  display: block;
}

/* Mobile */
.mobile-img {
  display: none;
}

/* =========================
   DOTS
========================= */
.slider-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;

  transform: translateX(-50%);

  display: flex;
  align-items: center;
  gap: 12px;

  z-index: 99999;
}

.slider-dots span {
  width: 14px;
  height: 14px;

  border-radius: 50%;

  background: rgba(255,255,255,0.5);
  border: 2px solid #fff;

  cursor: pointer;

  transition: all 0.3s ease;
}

.slider-dots span.active {
  background: #fff;
  transform: scale(1.2);
}

/* =========================
   BUTTONS
========================= */
.slider-btn {
  position: absolute;
  top: 50%;

  transform: translateY(-50%);

  width: 45px;
  height: 45px;

  border: none;
  border-radius: 50%;

  background: rgba(0,0,0,0.5);
  color: #fff;

  font-size: 22px;

  cursor: pointer;

  z-index: 99999;
}

.prev {
  left: 20px;
}

.next {
  right: 20px;
}

/* =========================
   MOBILE
========================= */
@media (max-width: 768px) {

  .hero-slider {
    height: 75vh;
  }

  .desktop-img {
    display: none !important;
  }

  .mobile-img {
    display: block !important;
  }

  .hero-img {
    object-fit: cover;
    object-position: center;
  }

  .slider-dots {
    bottom: 20px;
  }

  .slider-dots span {
    width: 12px;
    height: 12px;
  }
}

/* =========================
   iPHONE FIX
========================= */
@supports (-webkit-touch-callout: none) {

  .hero-slider {
    height: 100vh;
  }

  .hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}