/* VAZAPEVO BV – aanvullende stijlen */

html {
  -webkit-text-size-adjust: 100%;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.75rem 1.25rem;
  border-radius: 0.375rem;
  background: #141B24;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: top 0.15s ease;
}
.skip-link:focus {
  top: 1rem;
}

main:focus {
  outline: none;
}

/* Zichtbare focus */
a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid #B08D57;
  outline-offset: 3px;
  border-radius: 0.25rem;
}

/* Navigatie */
.nav-link {
  position: relative;
  padding: 0.25rem 0;
  text-decoration: none;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1px;
  background: #B08D57;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}
.nav-link:hover::after,
.nav-link:focus-visible::after {
  transform: scaleX(1);
}

/* Hero achtergrond: zachte lijnen en verloop */
.hero {
  background-image:
    radial-gradient(ellipse at 85% 10%, rgba(176, 141, 87, 0.18), transparent 55%),
    radial-gradient(ellipse at 0% 100%, rgba(20, 27, 36, 0.55), transparent 60%),
    linear-gradient(135deg, #1F3A5F 0%, #172C48 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent);
  pointer-events: none;
}

/* Modals */
.modal {
  width: min(42rem, calc(100% - 2rem));
  max-height: calc(100% - 2rem);
  padding: 0;
  border: 0;
  border-radius: 0.75rem;
  background: #fff;
  color: #141B24;
  box-shadow: 0 25px 60px rgba(20, 27, 36, 0.35);
}
.modal::backdrop {
  background: rgba(20, 27, 36, 0.65);
}
.modal-inner {
  padding: 1.75rem;
}
@media (min-width: 640px) {
  .modal-inner {
    padding: 2.5rem;
  }
}
.modal-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  flex: none;
  border-radius: 0.375rem;
  color: #1F3A5F;
}
.modal-close:hover {
  background: rgba(31, 58, 95, 0.08);
}
html.modal-open {
  overflow: hidden;
}

.inline-link {
  color: #1F3A5F;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
.inline-link:hover {
  color: #7A5E33;
}

/* Minder beweging */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
