/* V1 — Cinematic
   Hero: tooth+mirror centered (mimics original homepage), large logo prominently in nav.
   Video: directly under Praktijk text, looping, in dark device frame.
   Accent: striking photo with abstract colored shape behind. */

/* ===== NAV — V3 monolithic style: translucent blue tint, content shows through on scroll ===== */
.v1-nav {
  height: 96px;
  background: rgba(124,145,173,0.32);
  backdrop-filter: blur(22px) saturate(1.1);
  -webkit-backdrop-filter: blur(22px) saturate(1.1);
  border-bottom: 1px solid rgba(255,255,255,0.14);
  transition: background 380ms cubic-bezier(0.16, 1, 0.3, 1), border-color 380ms cubic-bezier(0.16, 1, 0.3, 1);
}
.v1-nav::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.08;
  mix-blend-mode: overlay;
  background-image: radial-gradient(rgba(255,255,255,0.6) 1px, transparent 1.2px);
  background-size: 3px 3px;
  display: block;
}
.v1-nav.is-scrolled {
  background: rgba(124,145,173,0.55);
  border-bottom: 1px solid rgba(255,255,255,0.2);
}
.v1-nav-inner { padding: 0 clamp(20px, 4vw, 56px); position: relative; z-index: 1; }
.v1-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  min-width: 0;
  flex: 1 1 auto;
  /* never let the logo block grow past the available width (leaves room for hamburger) */
  max-width: calc(100% - 60px);
}
.v1-logo-mark {
  height: clamp(28px, 7vw, 44px);
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  flex-shrink: 0;
}
.v1-logo-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  line-height: 1;
}
.v1-logo-name {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: clamp(11px, 3.2vw, 17px);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: white;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: clip;
  min-width: 0;
}
.v1-logo-tag {
  font-family: var(--font-serif);
  font-size: clamp(9px, 2.4vw, 11px);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.78);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: clip;
}

/* Nav links: white throughout (translucent blue bar) */
.v1-nav .rd-nav-links a { color: rgba(255,255,255,0.92); }
.v1-nav .rd-nav-links a:hover { color: white; }

/* ===== HERO — V3 monolithic style: blue stage, text left, tooth+mirror photo centered/right ===== */
.v1-hero {
  position: relative;
  min-height: 80vh;
  min-height: 80dvh;
  background: var(--mvk-blue-500);
  overflow: hidden;
  padding-top: 96px;
  padding-bottom: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  margin-top: -96px;
}
/* Subtle moving blue glow (from V3) */
.v1-hero-glow {
  position: absolute; pointer-events: none;
  width: 110vmax; height: 110vmax;
  left: -30vmax; top: -30vmax;
  background: radial-gradient(circle, rgba(194,205,218,0.35) 0%, rgba(124,145,173,0) 55%);
  animation: v1HeroFloat 22s ease-in-out infinite alternate;
  z-index: 0;
}
@keyframes v1HeroFloat {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(8vmax, 6vmax) scale(1.1); }
}
.v1-hero-grain {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.06; mix-blend-mode: overlay;
  background-image: radial-gradient(rgba(255,255,255,0.6) 1px, transparent 1.2px);
  background-size: 3px 3px;
  z-index: 1;
}
/* Tooth + mirror photo, dramatically visible on the right half */
.v1-hero-photo {
  position: absolute;
  inset: 0;
  background-image: url('assets/hero-mirror-tooth.png');
  background-size: cover;
  background-position: center 65%;
  background-repeat: no-repeat;
  z-index: 0;
  pointer-events: none;
  opacity: 1;
}
.v1-hero-photo::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--mvk-blue-500) 0%, rgba(122,141,167,0.65) 45%, rgba(122,141,167,0.15) 100%);
}
.v1-hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 clamp(20px, 4vw, 48px);
  max-width: 1320px;
  margin: 0 auto;
  width: 100%;
  min-height: 80vh;
  min-height: 80dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 96px;
}
.v1-hero-text { text-align: center; max-width: 900px; width: 100%; padding: 0 8px; }
.v1-eyebrow {
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.82);
  margin: 0 0 26px;
  font-weight: 500;
  display: flex; align-items: center; gap: 14px;
}
.v1-eyebrow::before { content: ""; width: 32px; height: 1px; background: rgba(255,255,255,0.6); display: inline-block; }

@media (max-width: 880px) {
  .v1-hero { min-height: 86vh; min-height: 86dvh; }
  /* Subject (mirror head + tooth) actually sits around 28-32% x, 70-78% y
     of the original photo — NOT at 62%. With auto-130% size we zoom in
     enough to make the subject fill the lower half clearly. */
  .v1-hero-photo {
    background-position: 30% 75%;
    background-size: auto 130%;
    opacity: 1;
  }
  /* Title floats over the upper half on solid blue; subject reads through
     in the lower half via near-transparent overlay. */
  .v1-hero-photo::before {
    background: linear-gradient(180deg,
      var(--mvk-blue-500) 0%,
      rgba(124,145,173,0.88) 25%,
      rgba(124,145,173,0.45) 50%,
      rgba(124,145,173,0.12) 75%,
      rgba(124,145,173,0.0) 100%);
  }
}

/* Title is now centered on ALL viewports (desktop style) — the photo
   gradient on mobile keeps the title legible over the upper blue area. */
.v1-eyebrow {
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.82);
  margin: 0 0 26px;
  font-weight: 500;
}
.v1-title {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(1.75rem, 4.6vw, 4.2rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 22px;
  color: white;
  max-width: 100%;
  white-space: nowrap;
  text-wrap: balance;
}
@media (max-width: 760px) {
  .v1-title { white-space: normal; }
}
.v1-title .v1-title-line {
  display: block;
}
.v1-title em {
  font-style: italic;
  color: var(--mvk-blue-200);
}
.v1-sub {
  font-size: clamp(11px, 0.85vw, 13px);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.78);
  font-weight: 400;
  margin: 0;
  text-wrap: balance;
  max-width: 100%;
}
@media (max-width: 380px) {
  .v1-sub { letter-spacing: 0.16em; }
}

.v1-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: rgba(255,255,255,0.65);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.v1-scroll::after {
  content: "";
  width: 1px; height: 44px;
  background: linear-gradient(180deg, rgba(255,255,255,0.7), rgba(255,255,255,0));
  animation: v1ScrollPulse 2.6s ease-out infinite;
}
@keyframes v1ScrollPulse {
  0% { transform: scaleY(0); transform-origin: top; opacity: 0; }
  30% { opacity: 1; }
  60% { transform: scaleY(1); transform-origin: top; opacity: 1; }
  61% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

/* ===== PRAKTIJK — remove top border so it flows from hero ===== */
.v1-block-praktijk { border-top: none; }

/* ===== ABSTRACT DIAGONAL STREAK — speels accent in blauw + roze ===== */
.v1-streak {
  position: fixed;
  top: 0;
  /* default: rechts aan de zijkant */
  right: var(--streak-offset, -120px);
  left: auto;
  width: var(--streak-width, 540px);
  height: 100vh;
  height: 100dvh;
  pointer-events: none;
  z-index: 0;
  opacity: var(--streak-opacity, 0.55);
  transform: rotate(var(--streak-angle, 18deg)) translateY(var(--streak-y, 0px));
  transform-origin: center center;
  mix-blend-mode: var(--streak-blend, multiply);
  transition: opacity 600ms cubic-bezier(0.16, 1, 0.3, 1),
              transform 600ms cubic-bezier(0.16, 1, 0.3, 1),
              right 600ms cubic-bezier(0.16, 1, 0.3, 1),
              left 600ms cubic-bezier(0.16, 1, 0.3, 1),
              width 600ms cubic-bezier(0.16, 1, 0.3, 1);
}
.v1-streak.is-left {
  left: var(--streak-offset, -120px);
  right: auto;
  transform: rotate(calc(var(--streak-angle, 18deg) * -1)) translateY(var(--streak-y, 0px));
}
.v1-streak.is-hidden { opacity: 0 !important; }
.v1-streak-svg {
  width: 100%;
  height: 100%;
  display: block;
  animation: v1StreakDrift 22s ease-in-out infinite alternate;
}
.v1-streak-band, .v1-streak-band-thin {
  animation: v1StreakBreath 9s ease-in-out infinite;
  transform-origin: center center;
}
.v1-streak-band-thin { animation-duration: 12s; animation-delay: -3s; }
@keyframes v1StreakDrift {
  0%   { transform: translateY(-20px); }
  100% { transform: translateY(28px); }
}
@keyframes v1StreakBreath {
  0%, 100% { transform: scaleY(1) scaleX(1); }
  50%      { transform: scaleY(1.04) scaleX(0.96); }
}

/* keep main content above the streak */
nav, section, footer { position: relative; z-index: 1; }

/* ===== VIDEO SECTION — full-bleed band, edge to edge ===== */
.v1-video-section {
  width: 100%;
  margin: 0;
  padding: 0;
  background: var(--mvk-blue-700, #2a3a52);
  position: relative;
  overflow: hidden;
  line-height: 0;
}
.v1-video {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  /* Reserve space even before metadata loads so the section is never invisible */
  aspect-ratio: 16 / 9;
  background: inherit;
}
@media (max-width: 760px) {
  /* On narrow screens, use a slightly taller crop so the video reads better */
  .v1-video { aspect-ratio: 4 / 3; }
}

/* ===== GBT outbound link styling ===== */
.v1-gbt-link {
  display: inline;
  position: relative;
  color: var(--mvk-ink) !important;
  border-bottom: 1px solid var(--mvk-blue-300) !important;
  padding-bottom: 1px;
  white-space: nowrap;
  transition: border-color 320ms cubic-bezier(0.16, 1, 0.3, 1), color 320ms cubic-bezier(0.16, 1, 0.3, 1);
}
.v1-gbt-link:hover { border-color: var(--mvk-ink) !important; color: var(--mvk-blue-700) !important; }
.v1-gbt-arrow {
  display: inline-block;
  font-size: 0.78em;
  margin-left: 3px;
  transform: translateY(-1px);
  transition: transform 320ms cubic-bezier(0.16, 1, 0.3, 1);
}
.v1-gbt-link:hover .v1-gbt-arrow { transform: translate(2px, -3px); }

/* ===== ACCENT SECTION — striking photo with abstract colored shapes behind ===== */
.v1-accent {
  padding: clamp(100px, 12vw, 180px) 0 clamp(100px, 12vw, 180px);
  background: var(--mvk-bone);
  overflow: hidden;
  /* Fade the section's top/bottom edges so the pink shadow blobs feather softly
     into the bone background instead of being clipped by overflow:hidden.
     The fade region sits inside the section padding so the photo itself is unaffected. */
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, rgba(0,0,0,0.4) 80px, #000 200px, #000 calc(100% - 200px), rgba(0,0,0,0.4) calc(100% - 80px), transparent 100%);
          mask-image: linear-gradient(to bottom, transparent 0, rgba(0,0,0,0.4) 80px, #000 200px, #000 calc(100% - 200px), rgba(0,0,0,0.4) calc(100% - 80px), transparent 100%);
}
.v1-accent-inner {
  max-width: none;
  margin: 0;
  padding: 0;
  width: 100%;
}
.v1-accent-stage {
  position: relative;
  /* tall, cinematic — like the lips-shot on the original site */
  aspect-ratio: 16 / 7;
  width: 100%;
}
.v1-accent-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.75;
  pointer-events: none;
  will-change: transform;
}
.v1-accent-blob-1 {
  display: none;
}
.v1-accent-blob-2 {
  width: 80%; height: 90%;
  bottom: -40%; right: -16%;
  background: radial-gradient(circle, #c9a77e 0%, #b08252 50%, transparent 75%);
  animation: v1Blob2 18s ease-in-out infinite;
}
@keyframes v1Blob1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(8%, 4%) scale(1.08); }
}
@keyframes v1Blob2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-6%, -5%) scale(1.06); }
}

.v1-accent-frame {
  position: absolute;
  inset: 0;
  border-radius: 0;
  overflow: hidden;
  box-shadow: var(--shadow-hero);
}
.v1-accent-photo {
  width: 100%; height: 100%;
  background-image: url('assets/accent-photo.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #1a1216;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
/* Placeholder messaging shown until the user drops accent-photo.jpg in /assets */
.v1-accent-placeholder {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(217,74,122,0.35) 0%, rgba(184,52,95,0.45) 50%, rgba(60,18,28,0.6) 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 40px;
  color: white;
}
.v1-accent-ph-eye {
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.78);
  margin-bottom: 18px;
  font-weight: 500;
}
.v1-accent-ph-title {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  margin-bottom: 14px;
}
.v1-accent-ph-sub {
  font-size: 13px;
  color: rgba(255,255,255,0.82);
  max-width: 480px;
}
.v1-accent-ph-sub code {
  background: rgba(0,0,0,0.3);
  padding: 3px 8px;
  border-radius: 4px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
}

/* If the photo loads, hide the placeholder via JS toggle */
.v1-accent-photo.has-image .v1-accent-placeholder { display: none; }

/* ===== FOOTER — gecentreerd brand, alle links + copyright op één regel eronder ===== */
.v1-footer {
  padding: 80px clamp(20px, 4vw, 48px) 40px;
  background: var(--mvk-bone);
  border-top: 1px solid var(--mvk-fog);
  margin-top: 80px;
}
.v1-footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-bottom: 40px;
}
.v1-footer-icon {
  height: 52px;
  width: auto;
  display: block;
  filter: brightness(0) saturate(100%) invert(43%) sepia(50%) saturate(1100%) hue-rotate(305deg) brightness(90%) contrast(95%);
  opacity: 0.9;
}
.v1-footer-wordmark {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: clamp(15px, 4.2vw, 22px);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #d94a7a;
  line-height: 1;
  margin-top: 4px;
  white-space: nowrap;
}
.v1-footer-tagline {
  font-family: var(--font-serif);
  font-style: normal;
  font-size: clamp(11px, 3.4vw, 14px);
  letter-spacing: 0.1em;
  text-transform: lowercase;
  color: #d94a7a;
  opacity: 0.78;
  white-space: nowrap;
}
.v1-footer-bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.v1-footer-bottom > * + *::before {
  content: "·";
  color: var(--mvk-mist);
  margin-right: 18px;
  font-size: 14px;
}
.v1-footer-link, .v1-footer-kvk, .v1-footer-copy {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--mvk-mist);
  text-decoration: none;
  white-space: nowrap;
  transition: color 320ms cubic-bezier(0.16, 1, 0.3, 1);
}
.v1-footer-link:hover { color: #d94a7a; }
.v1-footer-kvk { font-variant-numeric: tabular-nums; }
.v1-footer-credit {
  color: inherit;
  text-decoration: none;
  font-family: var(--font-serif);
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.04em;
  transition: color 320ms cubic-bezier(0.16, 1, 0.3, 1);
}
.v1-footer-credit:hover { color: #d94a7a; }
.v1-footer-credit-sep {
  margin: 0 10px;
  opacity: 0.5;
  display: inline-block;
  font-weight: 300;
}

/* ===== HAMBURGER / MOBILE MENU =====
   Breakpoint set high (980px) so phones + small tablets always get the
   hamburger — the logo + tagline + 3 nav items don't fit on narrow viewports. */
.v1-nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.32);
  border-radius: 8px;
  cursor: pointer;
  padding: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-left: 16px;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
  transition: background 320ms cubic-bezier(0.16, 1, 0.3, 1),
              border-color 320ms cubic-bezier(0.16, 1, 0.3, 1);
}
.v1-nav-toggle:hover,
.v1-nav-toggle:focus-visible {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.55);
  outline: none;
}
.v1-nav-toggle-bar {
  display: block;
  width: 20px;
  height: 1.5px;
  background: white;
  border-radius: 2px;
  transition: transform 340ms cubic-bezier(0.16, 1, 0.3, 1),
              opacity 200ms ease;
}
.v1-nav.is-open .v1-nav-toggle-bar:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.v1-nav.is-open .v1-nav-toggle-bar:nth-child(2) {
  opacity: 0;
}
.v1-nav.is-open .v1-nav-toggle-bar:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ===== Responsive ===== */
@media (max-width: 980px) {
  /* Show hamburger, convert nav links to slide-down panel */
  .v1-nav-toggle { display: inline-flex; }

  .v1-nav .rd-nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin: 0;
    padding: 8px 0 18px;
    flex-direction: column;
    gap: 0;
    background: rgba(124,145,173,0.94);
    -webkit-backdrop-filter: blur(22px) saturate(1.1);
            backdrop-filter: blur(22px) saturate(1.1);
    border-bottom: 1px solid rgba(255,255,255,0.18);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: max-height 420ms cubic-bezier(0.16, 1, 0.3, 1),
                opacity 320ms cubic-bezier(0.16, 1, 0.3, 1),
                transform 420ms cubic-bezier(0.16, 1, 0.3, 1);
  }
  .v1-nav.is-open .rd-nav-links {
    max-height: 70vh;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
  .v1-nav .rd-nav-links li { width: 100%; }
  .v1-nav .rd-nav-links a {
    display: block;
    padding: 16px clamp(20px, 5vw, 32px);
    font-size: 15px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: white;
    border-bottom: 1px solid rgba(255,255,255,0.12);
  }
  .v1-nav .rd-nav-links li:last-child a { border-bottom: none; }
  .v1-nav .rd-nav-links a::after { display: none; }

  /* Lock body scroll when menu is open */
  body.v1-menu-open { overflow: hidden; }
}

@media (max-width: 760px) {
  .v1-accent-stage { aspect-ratio: 4 / 5; }
  /* Re-center the lips composition so the left mouth-corner has breathing room */
  .v1-accent-photo { background-position: 62% center; }
  .v1-footer-mark { flex-direction: column; align-items: flex-start; gap: 12px; }
}

/* On narrower screens hide the tagline so the logo + hamburger fit comfortably */
@media (max-width: 520px) {
  .v1-logo-tag { display: none; }

  /* Footer bottom: keep the "© ... | Dutch Dental Webdesign" string on ONE
     line by scaling everything down a touch — the entire row wraps as a
     unit (Disclaimer · Privacy · KvK on row 1, © + credit on row 2). */
  .v1-footer-link,
  .v1-footer-kvk,
  .v1-footer-copy {
    font-size: clamp(9px, 2.7vw, 11px);
    letter-spacing: 0.03em;
  }
  .v1-footer-link,
  .v1-footer-kvk { white-space: nowrap; }
  /* On the smallest phones, allow the © + credit line to break to TWO lines
     internally rather than overflow the viewport (which causes the cutoff). */
  .v1-footer-copy {
    white-space: normal;
    text-align: center;
    flex-basis: 100%;
    line-height: 1.7;
  }
  .v1-footer-credit {
    font-size: clamp(10px, 3vw, 12px);
    letter-spacing: 0.02em;
    white-space: nowrap;
  }
  .v1-footer-credit-sep {
    margin: 0 6px;
    display: inline-block;
  }
  .v1-footer-bottom { gap: 8px 12px; padding: 0 6px; }
  .v1-footer-bottom > * + *::before { margin-right: 10px; }
}

/* On really narrow screens (small phones in landscape, older devices),
   shrink the wordmark even more so the logo never crowds the hamburger. */
@media (max-width: 380px) {
  .v1-logo-name {
    font-size: 10.5px !important;
    letter-spacing: 0.05em;
  }
  .v1-logo-mark { height: 26px !important; }
}

/* Guard against any inner content forcing horizontal overflow on mobile */
.v1-nav,
.v1-nav-inner,
.v1-hero,
.v1-hero-inner,
.v1-hero-text,
.v1-video-section,
.v1-accent,
.v1-footer {
  max-width: 100vw;
}
