/* Parallax section */
.parallax-section {
  position: relative;
  height: 80vh;
  max-height: 700px;
  background-image: url("images/LagunaParallax.webp"); /* Reemplaza con tu imagen */
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  margin: 20px;
  background-color: transparent;
}

/* overlay-parallax semitransparente opcional */
.overlay-parallax {
  background: rgba(0, 0, 0, 0.6);
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-family: var(--font-title);
  border-radius: 50px;
}

/* Texto principal */
.overlay-parallax h1 {
  color: var(--color-bg);
  text-align: center;
  font-size: clamp(48px, 8vw, 112px);
  line-height: 1.2;
  letter-spacing: 2px;
  font-weight: 500;
}

.overlay-parallax p {
  max-width: 500px;
  color: var(--color-bg);
  text-align: center;
  font-family: var(--font-paragraph);
  font-size: var(--font-size-paragraph);
  font-weight: 100;
  line-height: 1.2;
  letter-spacing: 1.5px;
  padding: 0px 25px;
  margin-top: 5px;
}

@media (max-width: 415px) {
  .overlay-parallax p {
    padding: 0px 15px;
  }
}

.button_parallax {
  margin-top: clamp(12px, 1vw, 20px);
}

.button_parallax button {
  padding: 8px 24px;
  background-color: transparent;
  border: 1px solid var(--color-bg);
  color: var(--color-bg);
  font-family: var(--font-paragraph);
  font-size: var(--font-size-button);
  border-radius: 50px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.button_parallax button:hover {
  background-color: var(--color-light-green);
}

/* Responsive ajustes extra */
@media (max-width: 768px) {
  .parallax-section {
    background-attachment: scroll; /* Mejora compatibilidad móvil */
  }
}
