/* ── HERO ────────────────────────────────── */

.hero {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  filter: blur(2px);
  transform: scale(0.7);
  animation: zoomIn 5s ease-in-out forwards;
}

.hero__bg.kodu{
    object-position: center;
}

.hero__bg.treeningud{
    object-position: 20px;
}


@keyframes zoomIn {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.1);
  }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.08) 0%,
    rgba(0, 0, 0, 0.30) 60%,
    rgba(0, 0, 0, 0.45) 100%
  );
  z-index: 1;
}



.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding-bottom: 3.5rem;
  text-align: center;
  gap: 2rem;

}



.hero__title {
  font-family: var(--font-body);
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--color-white);
  line-height: 1.2;
  text-shadow: 0 2px 10px rgba(0,0,0,0.25);
}

.hero__buttons {
  display: flex;
  gap: 0.75rem;

}