.hero {
  position: relative;
  height: 80vh;
  display: flex;
  align-items: center;
}

.hero-slider {
  height: 100%;
  overflow: hidden;
}

.hero-slide {
  max-width: 650px;
  position: absolute;
  inset: 0;
  left: 0%;
  right: 0%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 1s ease, transform 1s ease;
  display: flex;          
  align-items: center;
  justify-content: flex-start;
  padding-left: 8%;
}


.hero-slide.active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
 background: linear-gradient(90deg, rgba(0,0,0,.65) 0%, rgba(0,0,0,.2) 55%, rgba(0,0,0,.05) 100%);
}

.hero-content {
  max-width: 650px;
  position: relative;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.1;
  font-weight: 700;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start; 
  text-align: left;            
  animation: fadeUp .9s ease forwards;
  color: white;
}

.hero-inner {
  max-width: 650px;
}


.hero-content h1 {
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.1;
  font-weight: 700;
  text-shadow: 0 6px 20px rgba(0,0,0,0.4);

}

.hero-content p {
  font-size: 18px;
  text-shadow: 0 6px 20px rgba(0,0,0,0.4);
  margin-top: 16px;
  max-width: 500px;
  opacity: .9;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-top: 26px;
}

.hero-actions {
  margin-top: 30px;
  display: flex;
  gap: 14px;
}

.hero,
.hero-slider,
.hero-slide,
.hero-overlay {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.hero-indicators {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 14px;
  z-index: 3;
}

.hero-indicators span {
  width: 30px;
  height: 4px;
  background: rgba(255,255,255,0.4);
  border-radius: 2px;
  cursor: pointer;
  transition: 0.3s;
}

.hero-indicators span.active {
  background: var(--accent);
}

.scroll-hint {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 22px;
  color: rgba(255,255,255,0.7);
  animation: bounce 2s infinite;
}

/* =========================
   ANIMATIONS
========================= */

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes bounce {
  0%,100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 10px); }
}

/* =========================
   RESPONSIVE
========================= */


@media (max-width: 768px) {

  .hero {
    height: 80vh;
    min-height: 60vh;
  }

  .hero-slide {
    background-size:contain cover;
    background-position: center;
    background-repeat: no-repeat;
  }

  .hero-content {
    padding: 0 20px;
    max-width: 100%;
    margin-left: 24px;
    margin-right: 24px;
  }

  .hero-content h1 {
    font-size: clamp(26px, 6vw, 36px);
    line-height: 1.15;
  }

  .hero-content p {
    font-size: 15px;
    max-width: 100%;
  }

  .hero-buttons {
    flex-wrap: wrap;
    gap: 10px;
  }

  .hero-buttons a {
    padding: 10px 18px;
    font-size: 14px;
  }

  .hero-indicators {
    bottom: 20px;
  }

  .scroll-hint {
    display: none;
  }
}


@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 421px) {

  html, body {
    overflow-x: hidden;
  }

  .hero-content h1{
      font-size: clamp(26px, 3vw, 40px);
  }

}

/* Wave */

.hero-bottom-wave {
  position: relative;
  width: 100%;
  height: 120px;
  overflow: hidden;
  margin-top: -100px;
  z-index: 900;
}

.hero-bottom-wave svg { 
  transform: scaleY(-1);
  width: 200%;
  height: 100%;
  animation: waveFloat 8s linear infinite;
}

.hero-bottom-wave path {
  fill: #fff; /* Hero yellow color */
}

.hero-bottom-wave::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(179, 142, 20, 0.08), transparent 70%);
  pointer-events: none;
}

/* Animation */
@keyframes waveFloat {
  from { transform: translateX(0) scaleY(-1); }
  to   { transform: translateX(-50%) scaleY(-1); }
}

