.hero-bg {
  display: grid;
  place-items: center;
  min-height: 100vh;
  overflow: hidden;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background: linear-gradient(rgba(255,255,255,0.55), rgba(255,255,255,0.35)), url("Photos/Achtergrond Home.png") center center/cover no-repeat;
  background-size: cover;
  background-position: center center;
}

.hero-inner {
  position: relative;
  width: min(100%, 1000px);
  max-width: 1000px;
  margin: 0 auto;
  padding: 32px 18px;
  background: rgba(255,255,255,0.78);
  border-radius: 1.5rem;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.10);
}

.hero-inner h1,
.hero-inner p {
  color: #111;
}

@media (max-width: 767px) {
  .hero-bg {
    background: linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0.75)), url("Photos/AlgemeenPromote.jpeg") center center/cover no-repeat;
    background-size: cover;
    background-position: center center;
  }
}

body {
  margin: 0;
  background: url("Photos/AlgemeenPromote.jpeg") center/cover fixed no-repeat;
}

nav a {
  position: relative;
}

nav a:not(.logo-link):not(.nav-button):after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: #db2777;
  transition: all 0.3s ease;
}

nav a:not(.logo-link):not(.nav-button):hover:after {
  width: 100%;
}

nav a.nav-button {
  transition: background-color 0.2s ease;
}

nav a.nav-button:hover {
  background-color: #be185d;
}

#mobileNav {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  border-top-width: 0;
  transition: max-height 0.35s ease, opacity 0.35s ease, border-top-width 0.35s ease;
}

#mobileNav.open {
  max-height: 600px;
  opacity: 1;
  border-top-width: 1px;
}

/* Responsive mobile fixes */
@media (max-width: 600px) {
  body {
    background-attachment: scroll;
    background-position: center top;
    background-size: cover;
  }
  .hero-inner {
    background-image: none;
    background: rgba(255,255,255,0.85);
    width: calc(100% - 20px);
    padding: 30px 10px;
    box-sizing: border-box;
  }
  .hero-bg {
    align-items: center;
    padding-top: 0;
  }
  nav a:after {
    bottom: -6px;
  }
}

/* Ensure product showcase images fill their grid cells at the same height */
.max-w-7xl .grid > a {
  display: block;
}
.max-w-7xl .grid > a img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}

/* Keep consistent tile heights on medium+ screens */
@media (min-width: 768px) {
  .max-w-7xl .grid > a img {
    width: 100%;
  }
}