/* Hero Banner Slider Styles */
.hero-slider-container {
  position: relative;
  width: 100%;
  height: 90vh;
  min-height: 550px;
  background-color: var(--color-navy);
  overflow: hidden;
  margin-top: 0; /* header overlays this section */
}

.hero-slider {
  width: 100%;
  height: 100%;
  position: relative;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
  display: flex;
  align-items: center;
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

/* Background image with overlay gradient */
.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(0, 34, 51, 0.85) 0%, rgba(0, 34, 51, 0.5) 50%, rgba(0, 34, 51, 0.2) 100%);
  z-index: 2;
}

/* Slide Content */
.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  padding-top: 80px; /* spacing for header */
}

.hero-content-inner {
  max-width: 650px;
  color: var(--color-white);
}

.hero-content h2 {
  font-size: 3rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 15px;
  line-height: 1.1;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease 0.2s;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease 0.4s;
}

.hero-content .btn-container {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease 0.6s;
}

/* Active Slide Content Animation */
.hero-slide.active .hero-content h2,
.hero-slide.active .hero-content p,
.hero-slide.active .hero-content .btn-container {
  opacity: 1;
  transform: translateY(0);
}

/* Slider Controls */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 45px;
  height: 45px;
  background-color: rgba(0, 34, 51, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: var(--color-white);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all var(--transition-speed) ease;
}

.hero-arrow:hover {
  background-color: var(--color-primary);
  color: var(--color-navy);
  border-color: var(--color-primary);
  box-shadow: 0 0 15px rgba(0, 219, 255, 0.5);
}

.hero-arrow-prev {
  left: 20px;
}

.hero-arrow-next {
  right: 20px;
}

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

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.3);
  border: 1px solid transparent;
  transition: all var(--transition-speed) ease;
}

.hero-dot.active {
  background-color: var(--color-primary);
  transform: scale(1.2);
  box-shadow: 0 0 8px var(--color-primary);
}

/* Wave Scroll Down Indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40px;
  z-index: 10;
  pointer-events: none;
}

.hero-scroll-indicator svg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: auto;
  fill: var(--color-gray-light);
}

.hero-scroll-link {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 11;
  color: var(--color-navy);
  font-size: 1.1rem;
  animation: bounce 2s infinite;
  pointer-events: auto;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-6px);
  }
  60% {
    transform: translateX(-50%) translateY(-3px);
  }
}

/* Responsiveness for Banners */
@media (max-width: 767px) {
  .hero-slider-container {
    height: 75vh;
  }
  .hero-content h2 {
    font-size: 2rem;
  }
  .hero-content p {
    font-size: 1rem;
  }
  .hero-arrow {
    display: none; /* Hide arrows on mobile for clean touch look */
  }
}
