.hero {
  height: calc(100svh - 80px); /* ajusta al alto real del viewport menos el header */
  margin: 0;
  padding: 0;
  text-align: center;
  position: relative;
  width: 100%;
  color: white;
  overflow: hidden;
}

.hero-slider {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.hero-slide {
  height: 100vh;
  width: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: absolute;
  top: 0; left: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  padding-left: 5vh;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero,
.hero-slider,
.hero-slide {
  height: 100svh; /* o 100dvh si prefieres que ignore teclado emergente */
}

.slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.4); /* oscuridad ajustable */
  z-index: 0; /* detrás del texto */
}

.hero-slide h1,
.hero-slide .button {
  position: relative;
  z-index: 1; /* delante del overlay */
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.1));
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  z-index: 1;
}

.hero-slide h1 {
  font-family: 'DINCondensed', sans-serif;
  text-align: left;
  line-height: 1;
  font-size: 8rem;
  margin-bottom: 1rem;
}

.button {
    margin: 0;
  background: white;
  color: black;
  padding: 1rem 2rem;
  font-size: 1.2rem; /* Más grande */
  font-weight: bold;
  align-self: flex-start;
  border: none;
  text-decoration: none;
  border-radius: 5px;
  transition: all 0.3s ease;
}

/* Colores de hover */
.link-bikes:hover    { background-color: #e3007a; color: white; }
.link-trails:hover   { background-color: #00a14b; color: white; }
.link-grilling:hover { background-color: #c49b6c; color: white; }
.link-life:hover     { background-color: #ff0000; color: white; }
