* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #fff;
}

/* Fullscreen hero with zooming background */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

/* The zooming background image */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("background.jpg"); /* change this */
  background-size: cover;
  background-position: center;
  transform: scale(1);
  animation: heroZoom 25s ease-in-out infinite alternate;
  z-index: -2;
}

/* Dark faded overlay */
.hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: -1;
}

/* Centered text content */
.hero__content {
  position: relative;
  text-align: center;
  max-width: 600px;
  padding: 0 1.5rem;
}

.hero__content h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  margin-bottom: 1rem;
}

.hero__content p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

/* Button */
.hero__button {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  backdrop-filter: blur(6px);
  transition: background 0.3s ease, transform 0.3s ease;
}

.hero__button:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

/* Keyframes for slow zoom */
@keyframes heroZoom {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.1);
  }
}
