/**
 * @file
 * Banner section styles.
 * Integrated into hero as two-column layout.
 */

/* Banner styles are now integrated into hero.css */
/* This file is kept for backward compatibility */

.re-banner__media {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  min-height: 480px;
  overflow: hidden;
  z-index: 0;
}

.re-banner__slides {
  width: 100%;
  height: 100%;
}

.re-banner__slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  z-index: 0;
}

.re-banner__slide--active {
  opacity: 1;
  z-index: 1;
}

.re-banner__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.re-banner__indicators {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
  position: absolute;
  bottom: 2rem;
  left: 0;
  right: 0;
  justify-content: center;
  z-index: 2;
}

.re-banner__indicator {
  width: 40px;
  height: 3px;
  background-color: rgba(255, 255, 255, 0.2);
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: background-color 0.3s ease, width 0.3s ease;
  padding: 0;
}

.re-banner__indicator--active {
  background-color: var(--re-red);
  width: 60px;
}

.re-banner__indicator:hover {
  background-color: rgba(255, 255, 255, 0.5);
}

.re-banner__media {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 480px;
  overflow: hidden;
}

.re-banner__slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.re-banner__slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  z-index: 0;
}

.re-banner__slide--active {
  opacity: 1;
  z-index: 1;
}

.re-banner__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.re-banner__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem var(--re-gutter);
  z-index: 3;
}

.re-banner__title {
  font-family: var(--re-font-heading);
  font-size: var(--re-text-3xl);
  font-weight: 700;
  color: var(--re-white);
  margin-bottom: var(--re-space-md);
  letter-spacing: var(--re-tracking-tight);
  line-height: var(--re-leading-tight);
}

.re-banner__subtitle {
  font-size: var(--re-text-base);
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--re-space-lg);
  line-height: var(--re-leading-relaxed);
}

.re-banner__indicators {
  display: flex;
  gap: 0.75rem;
  margin-top: var(--re-space-md);
}

.re-banner__indicator {
  width: 40px;
  height: 3px;
  background-color: rgba(255, 255, 255, 0.2);
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: background-color 0.3s ease, width 0.3s ease;
  padding: 0;
}

.re-banner__indicator--active {
  background-color: var(--re-red);
  width: 60px;
}

.re-banner__indicator:hover {
  background-color: rgba(255, 255, 255, 0.5);
}

/* === Responsive === */
@media (max-width: 768px) {
  .re-banner {
    grid-template-columns: 1fr;
  }

  .re-banner__media {
    min-height: 300px;
    height: 300px;
  }

  .re-banner__content {
    padding: 2rem var(--re-gutter);
  }

  .re-banner__title {
    font-size: var(--re-text-2xl);
  }

  .re-banner__indicator {
    width: 30px;
  }

  .re-banner__indicator--active {
    width: 45px;
  }
}

