/* Parallax window */
.parallax-window {
  /* Change the image URL here */
  background-image: url("assets/imgs/gallery/pexels-hillaryfox-1595385.jpg");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  /* Parallax effect */
  background-attachment: fixed;

  /* Window sizing */
  min-height: 420px;           /* height of the “window” */
  display: grid;
  place-items: center;
  padding: 72px 20px;

  position: relative;
  overflow: hidden;
}

/* Soft dark overlay for readability */
.parallax-window::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    rgba(0, 0, 0, 0.55),
    rgba(0, 0, 0, 0.35)
  );
}

/* Foreground content */
.parallax-window__overlay {
  position: relative; /* above overlay */
  text-align: center;
  color: #fff;
  max-width: 900px;
}

.parallax-window__overlay h2 {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.1;
}

.parallax-window__overlay p {
  margin: 0 0 20px;
  font-size: clamp(16px, 2vw, 20px);
  opacity: 0.95;
}

.btn {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  color: #111;
  text-decoration: none;
  font-weight: 600;
}

/* Mobile fix: background-attachment: fixed is janky on iOS */
@media (max-width: 900px) {
  .parallax-window {
    background-attachment: scroll;
  }
}