/* Splash Banner Styles */
.splash-banner-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  aspect-ratio: 16/9;
  max-height: 300px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 8px;
  background-color: var(--color-support);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Slides container */
.splash-banner-slides-container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/* Individual slides */
.splash-banner-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 500ms ease-in-out;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

/* Slides with background images */
.splash-banner-slide.has-image {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Active slide */
.splash-banner-slide.active {
  opacity: 1;
  z-index: 2;
  pointer-events: auto;
}

/* Clickable slides */
.splash-banner-slide.clickable {
  cursor: pointer;
  pointer-events: auto;
}

/* Slide content overlay */
.splash-banner-overlay {
  position: absolute;
  bottom: 40px;
  left: 60px;
  right: 60px;
  color: white;
  z-index: 1;
}

/* Slide titles */
.splash-banner-title {
  margin: 0;
  font-size: 1.5rem;
  font-weight: bold;
  color: #fff;
  text-shadow:
    2px 0 0 #000,
    -2px 0 0 #000,
    0 2px 0 #000,
    0 -2px 0 #000,
    2px 2px 0 #000,
    -2px -2px 0 #000,
    2px -2px 0 #000,
    -2px 2px 0 #000;
}

/* Slide descriptions */
.splash-banner-description {
  margin: 0;
  font-size: 1rem;
  font-weight: bold;
  color: #fff;
  text-shadow:
    2px 0 0 #000,
    -2px 0 0 #000,
    0 2px 0 #000,
    0 -2px 0 #000,
    2px 2px 0 #000,
    -2px -2px 0 #000,
    2px -2px 0 #000,
    -2px 2px 0 #000;
}

/* Navigation container */
.splash-banner-navigation {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
  gap: 10px;
  pointer-events: none;
}

/* Navigation arrows */
.splash-banner-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  z-index: 10;
  transition: background-color 0.25s ease;
  outline: none;
  pointer-events: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  -webkit-tap-highlight-color: transparent;
}

.splash-banner-arrow.left-arrow {
  left: 15px;
}

.splash-banner-arrow.right-arrow {
  right: 15px;
}

.splash-banner-arrow:hover {
  background-color: var(--color-support);
}

/* Navigation dots container */
.splash-banner-dots {
  display: flex;
  gap: 8px;
  pointer-events: auto;
}

/* Navigation dots */
.splash-banner-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid white;
  background-color: transparent;
  cursor: pointer;
  transition: background-color 0.3s ease;
  padding: 0;
  outline: none;
}

.splash-banner-dot.active {
  background-color: white;
}

/* Star-shaped sign for clickable slides */
.splash-banner-star-sign {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: var(
    --color-primary
  ); /* Deep Maroon - main website theme color */
  color: white;
  padding: 2px;
  border-radius: 50%; /* Make it circular */
  font-size: 1rem;
  font-weight: bold;
  text-align: center;
  z-index: 3;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 80px; /* Fixed width for perfect circle */
  height: 80px; /* Fixed height for perfect circle */
  line-height: 1;
}

/* Multi-line text layout */
.splash-banner-star-sign-text {
  display: block;
  white-space: nowrap;
}

/* Animation for slide transitions */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media (max-width: 480px) {
  .splash-banner-arrow {
    width: 30px;
    height: 30px;
    font-size: 14px;
  }
  .splash-banner-overlay {
    left: 50px;
  }
  .splash-banner-title {
    font-size: 1rem;
  }
  .splash-banner-description {
    font-size: 0.8rem;
  }
  .splash-banner-star-sign {
    font-size: 0.7rem;
    width: 60px; /* Fixed width for perfect circle */
    height: 60px; /* Fixed height for perfect circle */
  }
}
