/**
 * @file
 * Hero background section.
 */

.hero-background {
  background-image: url('../../images/hero-background-desktop.png');
  background-size: cover;
  background-position: center;
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-background::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(11, 28, 45, 0.7) 0%,
    rgba(11, 28, 45, 0.4) 50%,
    rgba(11, 28, 45, 0.8) 100%
  );
  z-index: 0;
}

.hero-background > * {
  position: relative;
  z-index: 1;
}

.hero-content {
  text-align: center;
  max-width: 800px;
  padding: var(--peak-spacing-md);
}

.hero-content h1 {
  font-size: 3.5rem;
  color: #fff;
  font-family: var(--peak-font-heading);
  margin-bottom: var(--peak-spacing-sm);
  font-weight: 700;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-content p,
.hero-content .hero-tagline {
  font-size: 1.35rem;
  color: var(--peak-gray-light);
  margin-bottom: var(--peak-spacing-md);
}

.hero-content .hero-cta {
  display: inline-block;
  background: var(--peak-blue);
  color: #fff;
  padding: 1rem 2.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  margin-top: var(--peak-spacing-sm);
}

.hero-content .hero-cta:hover {
  background: var(--peak-blue-soft);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(77, 163, 255, 0.3);
}

/* Responsive hero backgrounds */
@media (max-width: 1024px) {
  .hero-background {
    background-image: url('../../images/hero-background-tablet.png');
    min-height: 70vh;
  }
}

@media (max-width: 640px) {
  .hero-background {
    background-image: url('../../images/hero-background-mobile.png');
    min-height: 60vh;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }
}
