/* partyverhuur-header-shell 1.0.0 · block-port van ReactBitsPro Blocks/navigation-9 (pil-navigatie).
   Tailwind-maten uit de bron vertaald: pt-4, px-4/6/8, max-w 1400, py-1.5, gap-8, text-sm, px-5 py-2.5 rounded-[10px],
   menuknop h-10 w-10, paneel mt-2 rounded-2xl p-4 gap-1, blur-xl (24 px), schaduw 0 8px 30px -10px, ease-out 300 ms.
   Fonts levert de site via /modules/partyverhuur-hero/1.0.0/assets/fonts.css. */
.msm-partyverhuur-header-shell {
  --pn-ease: cubic-bezier(.22, 1, .36, 1);
  --pn-out: cubic-bezier(0, 0, .2, 1);
  --pn-pad: 16px;
  box-sizing: border-box;
  position: sticky;
  top: calc(-1 * var(--pn-top, 0px));
  z-index: 40;
  width: 100%;
  color: var(--m-ink, #1f2547);
  font-family: var(--m-font-body, 'Plus Jakarta Sans', ui-sans-serif, system-ui, sans-serif);
  pointer-events: none;
}
.msm-partyverhuur-header-shell *,
.msm-partyverhuur-header-shell *::before,
.msm-partyverhuur-header-shell *::after { box-sizing: border-box; }
.msm-partyverhuur-header-shell svg { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.msm-partyverhuur-header-shell a { color: inherit; text-decoration: none; }
.msm-partyverhuur-header-shell a:focus-visible,
.msm-partyverhuur-header-shell button:focus-visible { outline: 2px solid var(--m-ink, #1f2547); outline-offset: 2px; border-radius: 6px; }

/* Aankondiging boven de balk: scrolt weg, de balk blijft staan (top = min de hoogte van dit blok). */
.msm-partyverhuur-header-shell .pn-top { pointer-events: auto; }
.msm-partyverhuur-header-shell .pn-sentinel { width: 100%; height: 1px; }
.msm-partyverhuur-header-shell .pn-announce {
  display: block;
  margin: 0;
  padding: 8px var(--pn-pad);
  background: color-mix(in srgb, var(--m-accent2, #ffbf2e) 42%, var(--m-bg, #fff5e6));
  font-size: 13px;
  line-height: 18px;
  font-weight: 500;
  text-align: center;
  text-wrap: balance;
}
.msm-partyverhuur-header-shell .pn-announce svg { display: inline-block; margin-right: 8px; vertical-align: -3px; color: var(--m-ink, #1f2547); }

.msm-partyverhuur-header-shell .pn-wrap {
  position: relative;
  width: 100%;
  max-width: calc(1400px + 2 * var(--pn-pad));
  margin: 0 auto;
  padding: 16px var(--pn-pad) 0;
}
.msm-partyverhuur-header-shell .pn-nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 6px 0;
  border: 1px solid transparent;
  border-radius: 0;
  background: transparent;
  pointer-events: auto;
  transition:
    background-color .3s var(--pn-out),
    -webkit-backdrop-filter .3s var(--pn-out),
    backdrop-filter .3s var(--pn-out),
    border-color .3s var(--pn-out),
    box-shadow .3s var(--pn-out),
    border-radius .3s var(--pn-out),
    padding-left .3s var(--pn-out),
    padding-right .3s var(--pn-out);
  animation: pn-in .5s var(--pn-ease) both;
}
@keyframes pn-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.msm-partyverhuur-header-shell.is-scrolled .pn-nav {
  padding-left: 16px;
  padding-right: 6px;
  border-color: color-mix(in srgb, var(--m-ink, #1f2547) 12%, transparent);
  border-radius: 16px;
  background: color-mix(in srgb, var(--m-surface, #ffffff) 70%, transparent);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  box-shadow: 0 8px 30px -10px rgba(0, 0, 0, .08);
}

.msm-partyverhuur-header-shell .pn-brand {
  display: inline-flex;
  align-items: center;
  font-family: var(--m-font-display, 'Bricolage Grotesque', ui-sans-serif, system-ui, sans-serif);
  font-size: 20px;
  line-height: 28px;
  font-weight: 600;
  letter-spacing: -.025em;
  white-space: nowrap;
}
.msm-partyverhuur-header-shell .pn-links { display: none; align-items: center; gap: 32px; padding: 0 16px; }
.msm-partyverhuur-header-shell .pn-links a {
  font-size: 14px;
  line-height: 20px;
  color: var(--m-muted, #5f6480);
  white-space: nowrap;
  text-decoration: underline 1.5px transparent;
  text-underline-offset: 6px;
  transition: color .15s cubic-bezier(.4, 0, .2, 1), text-decoration-color .15s cubic-bezier(.4, 0, .2, 1);
}
.msm-partyverhuur-header-shell .pn-links a:hover,
.msm-partyverhuur-header-shell .pn-links a.is-current { color: var(--m-ink, #1f2547); }
.msm-partyverhuur-header-shell .pn-links a.is-current { text-decoration-color: currentColor; }
/* In de pil (70% wit) kan donkere inhoud doorschijnen; de links worden dan donkerder voor genoeg contrast. */
.msm-partyverhuur-header-shell.is-scrolled .pn-links a:not(:hover):not(.is-current) { color: color-mix(in srgb, var(--m-ink, #1f2547) 72%, var(--m-muted, #5f6480)); }

.msm-partyverhuur-header-shell .pn-actions { display: flex; align-items: center; gap: 6px; }
.msm-partyverhuur-header-shell .pn-cta {
  display: none;
  align-items: center;
  padding: 10px 20px;
  border-radius: 10px;
  background: var(--m-ink, #1f2547);
  color: var(--m-surface, #ffffff);
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  white-space: nowrap;
  transition: opacity .15s cubic-bezier(.4, 0, .2, 1);
}
.msm-partyverhuur-header-shell .pn-cta:hover { opacity: .9; }
.msm-partyverhuur-header-shell .pn-menu {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid color-mix(in srgb, var(--m-ink, #1f2547) 14%, transparent);
  border-radius: 10px;
  background: transparent;
  color: var(--m-ink, #1f2547);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.msm-partyverhuur-header-shell .pn-menu .pn-close,
.msm-partyverhuur-header-shell .pn-menu[aria-expanded="true"] .pn-open { display: none; }
.msm-partyverhuur-header-shell .pn-menu[aria-expanded="true"] .pn-close { display: block; }

/* Mobiel paneel: in de bron mt-2 onder de balk; hier zwevend op dezelfde plek, zodat de pagina niet verspringt. */
.msm-partyverhuur-header-shell .pn-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: var(--pn-pad);
  right: var(--pn-pad);
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-height: calc(100vh - 120px);
  max-height: calc(100svh - 120px);
  overflow-y: auto;
  padding: 16px;
  border: 1px solid color-mix(in srgb, var(--m-ink, #1f2547) 12%, transparent);
  border-radius: 16px;
  background: color-mix(in srgb, var(--m-surface, #ffffff) 80%, transparent);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity .25s ease-in-out, transform .25s ease-in-out;
  pointer-events: auto;
}
.msm-partyverhuur-header-shell .pn-panel[hidden] { display: none; }
.msm-partyverhuur-header-shell .pn-panel.is-open { opacity: 1; transform: none; }
.msm-partyverhuur-header-shell .pn-panel-links { display: flex; flex-direction: column; gap: 4px; }
.msm-partyverhuur-header-shell .pn-panel-links a {
  padding: 8px 0;
  font-size: 14px;
  line-height: 20px;
  color: var(--m-ink, #1f2547);
}
.msm-partyverhuur-header-shell .pn-panel-links a.is-current { font-weight: 600; }
.msm-partyverhuur-header-shell .pn-panel-cta {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--m-ink, #1f2547);
  color: var(--m-surface, #ffffff);
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  text-align: center;
}

@media (min-width: 640px) {
  .msm-partyverhuur-header-shell { --pn-pad: 24px; }
  .msm-partyverhuur-header-shell .pn-cta { display: inline-flex; }
}
@media (min-width: 1024px) {
  .msm-partyverhuur-header-shell { --pn-pad: 32px; }
  .msm-partyverhuur-header-shell .pn-links { display: flex; }
  .msm-partyverhuur-header-shell .pn-menu,
  .msm-partyverhuur-header-shell .pn-panel { display: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  .msm-partyverhuur-header-shell .pn-nav { animation: none; transition: background-color .3s var(--pn-out), border-color .3s var(--pn-out); }
  .msm-partyverhuur-header-shell .pn-panel { transform: none; transition: opacity .2s ease-in-out; }
}
