/* CSS rules for Hero Banner Slider Component */

:root {
  --color-primary: #1b5182;       /* Professional Blue */
  --color-accent-green: #13a34a;  /* Accent Green */
  --transition-speed: 0.3s;
}

.hero-slider-container {
  position: relative;
  width: 100%;
  aspect-ratio: 1583 / 550; /* Standard banner size aspect ratio */
  overflow: hidden;
  background-color: #f5f5f5;
  user-select: none;
}

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

/* Individual Slide Styling */
.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  z-index: 1;
  transition: opacity 0.8s ease-in-out;
}

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

/* Slide Image styling */
.hero-slide-image {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Cover container bounds cleanly */
  display: block;
}


/* ----------------------------------------------------
   SLIDER CONTROLS (ARROWS & DOTS)
---------------------------------------------------- */

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background-color: rgba(255, 255, 255, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #333333;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  font-size: 16px;
  transition: all var(--transition-speed);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.hero-arrow:hover {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: #ffffff;
  transform: translateY(-50%) scale(1.06);
}

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

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




/* ----------------------------------------------------
   RESPONSIVE DESIGN BREAKPOINTS
---------------------------------------------------- */

@media (max-width: 1024px) {
  .hero-arrow {
    width: 42px;
    height: 42px;
    font-size: 14px;
  }
  .hero-arrow-left {
    left: 15px;
  }
  .hero-arrow-right {
    right: 15px;
  }
}

/* Mobile Devices */
@media (max-width: 768px) {
  /* Hide arrows on mobile to rely on native swipe gestures */
  .hero-arrow {
    display: none;
  }

}
