/* Stylish Compact Hero (Desktop + Mobile) */
.mini-hero {
  position: relative;
  width: 100%;
  height: 380px; /* desktop height */
  overflow: hidden;
  border-radius: 0 0 20px 20px;
  margin-bottom: 2.8rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.22);
}

/* Background image */
.mini-hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("webppictures/heroimages/2304427.webp");
  background-size: cover;
  background-position: center;
  transform: scale(1.15);
  filter: brightness(0.78) contrast(1.08) saturate(1.12);
  transition: transform 1.4s ease-out;
}

/* Soft cinematic zoom on hover (desktop only) */
@media (hover: hover) {
  .mini-hero:hover .mini-hero-bg {
    transform: scale(1.22);
  }
}

/* Gradient + vignette overlay */
.mini-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to bottom,
      rgba(0,0,0,0.25) 0%,
      rgba(0,0,0,0.15) 40%,
      rgba(0,0,0,0.35) 100%
    ),
    radial-gradient(
      circle at center,
      rgba(0,0,0,0) 45%,
      rgba(0,0,0,0.35) 100%
    );
  pointer-events: none;
}

/* MOBILE VERSION */
@media (max-width: 768px) {
  .mini-hero {
    height: 240px; /* mobile height */
    border-radius: 0 0 16px 16px;
    margin-bottom: 2rem;
  }

  .mini-hero-bg {
    transform: scale(1.25); /* tighter crop for mobile */
    background-position: center 30%; /* lift the image slightly */
  }
}


