/* Background Banner Container */
.banner-container {
  width: 100%;
  margin: 0 0 var(--spacing-lg) 0;
  padding: 0;
  animation: fadeIn 0.8s ease-out;
}

@media (max-width: 768px) {
  .banner-container {
    margin-bottom: var(--spacing-md);
  }
}

#background-slideshow {
  position: relative;
  width: 100%;
  height: var(--banner-height);
  overflow: hidden;
  background-color: var(--color-darker);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 100px), 0 100%);
}

@media (max-width: 768px) {
  #background-slideshow {
    height: 300px;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 60px), 0 100%);
  }
}

/* Individual Background Images */
.background-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 2s ease-in-out;
}

/* Overlay for better contrast */
#background-slideshow::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to bottom,
    rgba(15, 23, 42, 0.3) 0%,
    rgba(15, 23, 42, 0.7) 100%
  );
  z-index: 1;
  pointer-events: none;
}
