/* Hero Sections */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: var(--color-primary);
}

/* Dark overlay for readability on photo backgrounds */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.45) 0%,
    rgba(0, 10, 30, 0.65) 100%
  );
  z-index: 1;
  display: none;
}

.hero[style*="background"]::before,
.hero[style*="background-image"]::before {
  display: block;
}

.hero--full {
  min-height: 100vh;
  /* Push content below fixed navbar */
  padding-top: 80px;
}

.hero--half {
  min-height: 60vh;
  padding-top: 80px;
}

.hero--small {
  min-height: 40vh;
  padding-top: 80px;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: left;
  max-width: 800px;
  padding: 0 10%;
  width: 100%;
}

.hero__label {
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-wider);
  font-size: var(--font-size-sm);
  color: var(--color-accent);
  font-weight: 600;
  margin-bottom: var(--space-3);
  display: block;
}

/* Title and subtitle: WHITE text on dark photo */
.hero__title {
  font-size: var(--font-size-6xl);
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 700;
  margin-bottom: var(--space-3);
  line-height: var(--line-height-tight);
  letter-spacing: -1px;
}

.hero__subtitle {
  font-size: var(--font-size-xl);
  color: rgba(255, 255, 255, 0.85);
  font-weight: 300;
  line-height: var(--line-height-body);
  margin-bottom: var(--space-5);
  max-width: 650px;
}

.hero__description {
  color: rgba(255, 255, 255, 0.8) !important;
}

/* Breadcrumbs in hero */
.hero .breadcrumb,
.hero .breadcrumb a,
.hero .breadcrumb li {
  color: rgba(255, 255, 255, 0.7) !important;
}

/* Hero buttons on dark background */
.hero .btn {
  border-radius: 0 !important;
}

.hero .btn--gold {
  background-color: var(--color-primary) !important;
  color: #ffffff !important;
  border: 1px solid var(--color-primary) !important;
}

.hero .btn--gold:hover {
  background-color: var(--color-accent) !important;
  border-color: var(--color-accent) !important;
}

.hero .btn--secondary {
  background-color: transparent !important;
  border: 1px solid rgba(255,255,255,0.7) !important;
  color: #ffffff !important;
}

.hero .btn--secondary:hover {
  background-color: rgba(255,255,255,0.15) !important;
  color: #ffffff !important;
}

.hero__buttons {
  display: flex;
  gap: var(--space-3);
  justify-content: flex-start;
  flex-wrap: wrap;
}

.hero__scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255, 255, 255, 0.6);
  animation: bounce-down 2s infinite;
}

.hero__scroll-indicator svg {
  width: 24px;
  height: 24px;
}

/* Light Hero Variant for swirl background */
.hero--light::before {
  display: none !important;
}
.hero--light .hero__title {
  color: var(--color-primary) !important;
}
.hero--light .hero__subtitle {
  color: var(--color-text) !important;
  opacity: 0.8;
}
.hero--light .hero__label {
  color: var(--color-accent) !important;
}
.hero--light .hero__scroll-indicator {
  color: var(--color-primary) !important;
}
