* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.header {
  position: sticky !important;
}
.activities {
  display: flex;
  position: relative;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 100vw;
  background: var(--color-bg);
  padding: var(--padding-sections-pc);
}

.container {
  display: flex;
  position: relative;
  gap: 20px;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  max-width: 1440px;
}

.container a {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  aspect-ratio: 9/16;
  max-height: 650px;
  width: 100%;
  text-decoration: none;
  overflow: hidden;
  border-radius: 25px;
  cursor: pointer;
}

/* 🔹 Cambios aquí */
.overlay {
  position: absolute; /* ahora se superpone al fondo */
  inset: 0; /* ocupa todo el enlace */
  background: rgba(0, 0, 0, 0.3); /* overlay visible SIEMPRE */
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: inherit;
  z-index: 2; /* encima del fondo */
}

/* 🔹 Este es importante: el texto va encima del overlay */
.ButtonActivitie {
  position: relative;
  z-index: 3;
  color: var(--color-bg);
  border-radius: inherit;
  font-family: "Montserrat-Thin";
  font-size: clamp(36px, 3vw, 48px);
  height: 100%;
  width: 100%;
  background-size: cover;
  background-position: center;
  margin: 0;
  font-weight: bold;
  border: none;
  cursor: pointer;
  opacity: 1;

  /* Transiciones para hover */
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform-origin: center;
  will-change: transform;
  backface-visibility: hidden;
}

@media (max-width: 1024px) {
  .ButtonActivitie {
    font-size: clamp(38px, 5vw, 64px);
  }
}

.ButtonActivitie:hover {
  transform: scale(1.05) translateZ(0);
  filter: brightness(1.1) drop-shadow(0 8px 20px rgba(0, 0, 0, 0.15));
}

.ButtonActivitie:hover .overlay {
  background: rgba(0, 0, 0, 0.2);
}

/* Texto centrado encima */
.text {
  position: relative;
  z-index: 2;
  text-align: center;
}

/* Fondos */
#B-Senderismo {
  background-image: url("hiking/images/Hiking_pc.webp");
}

#B-Aves {
  background-image: url("birdwatching/images/Oxypogon\ guerinii_Sergio_pc.webp");
}
@media (max-width: 1024px) {
  #B-Aves {
    background-image: url("birdwatching/images/Oxypogon\ guerinii_Sergio.webp");
  }
}

#B-Siembra {
  background-image: url("planting/images/Siembra_Actividades.webp");
}

#B-Others {
  background-image: url("others/images/Bogotá.webp");
}

@media (max-width: 1024px) {
  .activities {
    padding: 30px 20px;
  }
  .container {
    flex-direction: column;
  }

  .container a {
    aspect-ratio: 2.34/1;
    width: 100%;
  }
}
