/* banner.css */

.hero {
  position: relative;
  width: calc(100vw / var(--ui-zoom));
  margin-left: calc((100% - 100vw / var(--ui-zoom)) / 2);
  margin-right: calc((100% - 100vw / var(--ui-zoom)) / 2);
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url('../img/Picture1.jpg');
  background-size: cover;
  background-position: center;
  margin-top: calc(-1 * var(--main-padding-top));
  margin-bottom: 80px;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 0 18px;
  max-width: 680px;
}

.hero-content h1 {
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 700;
  margin: 0 0 10px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.hero-sub {
  font-size: 1.3rem;
  opacity: 0.9;
  margin: 0 0 32px;
}

.hero-content .btn {
  font-size: 1.15rem;
  padding: 12px 36px;
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: clamp(2.2rem, 9vw, 3rem);
  }
  .hero-sub {
    font-size: 1.05rem;
  }
  .hero-content .btn {
    font-size: 1rem;
    padding: 10px 28px;
  }
}
