.hero {
  min-height: 100svh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--color-secondary); /* Fallback */
  color: #fff;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--hero-image) center/cover no-repeat;
  z-index: 0;
}

/* Glass overlay for the entire hero background to soften the image */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.2);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1;
}

.hero-content {
  width: min(90%, 540px);
  margin: 0 auto;
  padding: var(--space-12) var(--space-8);
  position: relative;
  z-index: 10;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.hero-copy h1 {
  color: #fff !important;
  font-size: var(--text-4xl);
  margin-bottom: var(--space-6);
  animation: fadeUp var(--duration-slow) var(--ease-out) 100ms both;
}

.hero-copy p {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.9) !important;
  line-height: 1.6;
  margin-bottom: var(--space-12);
  animation: fadeUp var(--duration-slow) var(--ease-out) 200ms both;
}

.hero-copy .eyebrow {
  display: inline-block;
  color: #fff;
  background: var(--color-primary);
  padding: var(--space-1) var(--space-4);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-6);
  font-weight: 700;
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: var(--space-4);
  animation: fadeUp var(--duration-slow) var(--ease-out) 300ms both;
}

.hero-actions .btn-secondary {
  color: #fff;
  border-color: #fff;
}

.hero-actions .btn-secondary:hover {
  background: #fff;
  color: var(--color-primary);
}

/* Section Specifics */
.section-preview {
  padding: var(--space-24) 0;
}

.section-shell .btn {
  margin-top: var(--space-8);
}

.section-card {
  margin-bottom: var(--space-12);
}

.section-card .section-inner {
  padding: var(--space-12);
}

@media (max-width: 768px) {
  .hero {
    min-height: 80svh;
    padding: var(--space-24) 0 var(--space-12);
    display: flex;
    align-items: center;
  }
  
  .hero-content {
    padding: 0 var(--space-6);
  }

  .section-preview, .section-card {
    margin-left: 0;
    margin-right: 0;
    border-radius: 0;
  }

  .section-inner {
    padding: var(--space-12) var(--space-6);
  }
}

/* Special Section Treatments */
#AboutSection, #FiredepartmentSection, #DonateSection, #ContactSection {
  scroll-margin-top: 80px;
}

.section-shell h2 {
  margin-bottom: var(--space-4);
}

.section-shell .text-block {
  margin-bottom: var(--space-8);
}
