
/* ======================================
   PREMIUM WAVE HERO SLIDER
====================================== */

.wave-hero {
  position: relative;
  width: 100%;
  height: 680px;
  overflow: hidden;
  background: #102c20;
  isolation: isolate;
}

.wave-slides {
  width: 100%;
  height: 100%;
  position: relative;
}

.wave-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  overflow: hidden;
  clip-path: ellipse(0% 0% at 100% 50%);
  transition:
    clip-path 1.3s cubic-bezier(.77,0,.18,1),
    opacity .7s ease,
    visibility .7s;
}

.wave-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
  clip-path: ellipse(150% 150% at 50% 50%);
}

.wave-slide img {
  position: absolute;
  width: 100%;
  height: 100%;
  inset: 0;
  object-fit: cover;
  transform: scale(1.12);
  transition: transform 6s ease;
}

.wave-slide.active img {
  transform: scale(1);
}

.wave-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(8, 35, 23, .88) 0%,
    rgba(8, 35, 23, .58) 42%,
    rgba(8, 35, 23, .05) 100%
  );
  z-index: 1;
}

.wave-content {
  position: absolute;
  top: 50%;
  left: 10%;
  transform: translateY(-40%);
  max-width: 650px;
  color: #fff;
  z-index: 3;
  opacity: 0;
}

.wave-slide.active .wave-content {
  animation: waveTextIn 1s .45s forwards;
}

@keyframes waveTextIn {
  from {
    opacity: 0;
    transform: translateY(-20%);
  }
  to {
    opacity: 1;
    transform: translateY(-50%);
  }
}

.wave-tag {
  display: inline-block;
  padding: 10px 22px;
  border: 1px solid rgba(255,255,255,.6);
  border-radius: 50px;
  font-size: 12px;
  letter-spacing: 3px;
  margin-bottom: 22px;
  background: rgba(255,255,255,.10);
}

.wave-content h1 {
  font-size: clamp(38px, 5vw, 70px);
  line-height: 1.12;
  margin: 0 0 20px;
  font-weight: 800;
  letter-spacing: -2px;
}

.wave-content p {
  font-size: 17px;
  line-height: 1.8;
  max-width: 490px;
  color: #eee;
  margin-bottom: 30px;
}

.wave-btn {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  padding: 15px 28px;
  background: #d3a94e;
  color: #173b27;
  border-radius: 50px;
  font-weight: 700;
  transition: .35s;
}

.wave-btn:hover {
  background: white;
  transform: translateY(-4px);
}

.wave-btn span {
  font-size: 22px;
}

/* BOTTOM WAVE */

.wave-bottom {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 110px;
  z-index: 5;
  pointer-events: none;
}

.wave-bottom svg {
  width: 100%;
  height: 100%;
}

.wave-bottom path {
  fill: #fff;
}

/* ARROWS */

.wave-arrow {
  position: absolute;
  top: 50%;
  z-index: 6;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  color: white;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: .3s;
}

.wave-arrow:hover {
  background: #d3a94e;
  color: #173b27;
}

.wave-prev {
  left: 25px;
}

.wave-next {
  right: 25px;
}

/* PAGINATION */

.wave-pagination {
  position: absolute;
  bottom: 65px;
  left: 10%;
  z-index: 7;
  display: flex;
  gap: 10px;
}

.wave-dot {
  width: 30px;
  height: 5px;
  border: 0;
  border-radius: 20px;
  background: rgba(255,255,255,.5);
  cursor: pointer;
  transition: .4s;
}

.wave-dot.active {
  width: 60px;
  background: #d3a94e;
}

/* COUNTER */

.wave-counter {
  position: absolute;
  bottom: 55px;
  right: 10%;
  z-index: 7;
  display: flex;
  align-items: center;
  gap: 12px;
  color: white;
  font-size: 13px;
}

.wave-current {
  color: #d3a94e;
  font-size: 22px;
  font-weight: 800;
}

.wave-line {
  width: 50px;
  height: 1px;
  background: white;
}

/* RESPONSIVE */

@media(max-width:768px) {

  .wave-hero {
    height: 560px;
  }

  .wave-slide img {
    object-position: center;
  }

  .wave-overlay {
    background: linear-gradient(
      90deg,
      rgba(8,35,23,.85),
      rgba(8,35,23,.35)
    );
  }

  .wave-content {
    left: 7%;
    right: 7%;
    max-width: 90%;
  }

  .wave-content h1 {
    font-size: 40px;
    letter-spacing: -1px;
  }

  .wave-content p {
    font-size: 14px;
  }

  .wave-tag {
    font-size: 10px;
    letter-spacing: 2px;
  }

  .wave-arrow {
    width: 36px;
    height: 36px;
    top: auto;
    bottom: 115px;
  }

  .wave-prev {
    left: auto;
    right: 65px;
  }

  .wave-next {
    right: 20px;
  }

  .wave-pagination {
    bottom: 45px;
    left: 7%;
  }

  .wave-counter {
    display: none;
  }

}
