/* ============================================================
   nav-footer.css — Shared navigation & footer styles
   Used by: all pages
   ============================================================ */

/* ── Custom Cursor ── */
.cursor,
.cursor-ring {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  top: 0; left: 0;
  border-radius: 50%;
  transition: width .3s var(--ease-out), height .3s var(--ease-out),
              background .3s, border-color .3s, opacity .3s;
}
.cursor      { width: 10px; height: 10px; background: var(--ink); }
.cursor-ring { width: 38px; height: 38px; border: 1.5px solid rgba(45,52,50,.35); }
.cursor.hovering      { width: 6px; height: 6px; }
.cursor-ring.hovering { width: 52px; height: 52px; border-color: var(--accent); opacity: .45; }
.cursor.on-card       { width: 70px; height: 70px; background: var(--ink); mix-blend-mode: difference; }
.cursor-ring.on-card  { opacity: 0; }
@media (hover: none), (pointer: coarse) { .cursor, .cursor-ring { display: none; } }

/* ── Nav ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(250,247,246,.82);
  border-bottom: 1px solid rgba(45,52,50,.07);
  transition: transform .45s var(--ease-out);
}
.nav.hide { transform: translateY(-105%); }
.nav__inner {
  max-width: 1280px; margin-inline: auto;
  padding: 0 var(--pad-page);
  height: 76px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav__logo img { width: 66px; height: auto; cursor: none; }

.nav__links { display: flex; gap: 40px; }
.nav__links a {
  font-weight: 700; font-size: 15px; letter-spacing: -.3px;
  color: var(--label);
  position: relative; padding-bottom: 4px;
  transition: color .2s;
  cursor: none;
}
.nav__links a::after {
  content: ''; position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform .3s ease-in-out;
}
.nav__links a:hover,
.nav__links a.active           { color: var(--ink); }
.nav__links a:hover::after,
.nav__links a.active::after    {
  transform: scaleX(1);
  transform-origin: left center;
}

.nav__cv {
  font-weight: 700; font-size: 15px; color: var(--ink);
  padding: 9px 22px;
  border: 1.5px solid var(--ink);
  transition: background .25s, color .25s;
  cursor: none;
}
.nav__cv:hover { background: var(--ink); color: var(--bg); }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; padding: 4px;
  cursor: pointer;
}
.hamburger span { display: block; width: 24px; height: 2px; background: var(--ink); transition: transform .3s, opacity .3s; }

/* Mobile overlay */
.nav__mobile {
  display: none; flex-direction: column;
  position: fixed; inset: 0; z-index: 490;
  background: var(--bg); padding: 90px 40px 40px;
  transform: translateX(100%);
  transition: transform .5s var(--ease-out);
}
.nav__mobile.open { transform: translateX(0); }
.nav__mobile a {
  font-family: var(--disp); font-weight: 800;
  font-size: clamp(36px, 10vw, 52px);
  letter-spacing: -1.5px; color: var(--ink);
  padding: 16px 0;
  border-bottom: 1px solid rgba(45,52,50,.08);
  opacity: 0; transform: translateX(32px);
  transition: opacity .45s var(--ease-out), transform .45s var(--ease-out), color .2s;
}
.nav__mobile.open a                  { opacity: 1; transform: translateX(0); }
.nav__mobile.open a:nth-child(2)     { transition-delay: .06s; }
.nav__mobile.open a:nth-child(3)     { transition-delay: .12s; }
.nav__mobile.open a:nth-child(4)     { transition-delay: .18s; }
.nav__mobile a:hover { color: var(--accent); }

@media (max-width: 680px) {
  .nav__links, .nav__cv { display: none; }
  .hamburger       { display: flex; }
  .nav__mobile     { display: flex; }
}

/* ── Footer ── */
.footer {
  border-top: 1px solid rgba(45,52,50,.1);
  padding: 30px var(--pad-page);
}
.footer__inner {
  max-width: 1280px; margin-inline: auto;
  display: flex; align-items: center;
  justify-content: space-between;
  flex-wrap: wrap; gap: 14px;
}
.footer__left p {
  font-size: 13px; color: var(--muted); line-height: 1.7;
}
.footer__social { display: flex; gap: 16px; }
.footer__social a {
  color: var(--label);
  transition: color .2s, transform .2s;
  display: block;
}
.footer__social a:hover { color: var(--ink); transform: translateY(-2px); }
.footer__social svg { width: 18px; height: 18px; fill: currentColor; }

@media (max-width: 560px) {
  .footer__inner { flex-direction: column; align-items: flex-start; }
}


/* ══════════════════════════════════════════════════════════
   FLOATING ACTION MENU — mobiel only (< 680px)
   ══════════════════════════════════════════════════════════ */

.fam {
  display: none; /* verborgen op desktop */
  position: fixed;
  bottom: 28px;
  right: 24px;
  z-index: 600;
  align-items: flex-end;
  flex-direction: column-reverse;
  gap: 10px;
}

@media (max-width: 680px) {
  .fam { display: flex; }
}

/* ── Trigger knop ── */
.fam__trigger {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--ink);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(45,52,50,.28), 0 1px 4px rgba(45,52,50,.12);
  transition: background .2s, transform .2s var(--ease-out), box-shadow .2s;
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}
.fam__trigger:hover {
  background: #1a2120;
  transform: scale(1.06);
}
.fam__trigger:active { transform: scale(.96); }

/* Plus → X animatie */
.fam__plus {
  display: block;
  width: 16px;
  height: 16px;
  position: relative;
  transition: transform .35s var(--ease-out);
}
.fam__plus::before,
.fam__plus::after {
  content: '';
  position: absolute;
  background: var(--bg);
  border-radius: 2px;
  transition: transform .35s var(--ease-out);
}
.fam__plus::before { width: 16px; height: 2px; top: 7px; left: 0; }
.fam__plus::after  { width: 2px; height: 16px; top: 0; left: 7px; }

.fam.is-open .fam__plus::before { transform: rotate(45deg); }
.fam.is-open .fam__plus::after  { transform: rotate(45deg); }

/* ── Opties container ── */
.fam__options {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  pointer-events: none;
  /* Verborgen staat */
  opacity: 0;
  transform: translateY(8px) scale(.97);
  transition: opacity .25s var(--ease-out), transform .25s var(--ease-out);
}
.fam.is-open .fam__options {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}

/* ── Individuele items ── */
.fam__item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(45,52,50,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--bg);
  padding: 10px 14px 10px 16px;
  border-radius: 100px;
  font-family: var(--body);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -.2px;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(45,52,50,.22), 0 1px 3px rgba(45,52,50,.1);
  /* Individuele slide-in */
  opacity: 0;
  transform: translateX(12px);
  transition: opacity .25s var(--ease-out),
              transform .25s var(--ease-out),
              background .15s;
}
.fam.is-open .fam__item {
  opacity: 1;
  transform: translateX(0);
}
.fam__item:hover {
  background: rgba(45,52,50,1);
}
.fam__item:active { transform: scale(.97); }

.fam__item-label { flex: 1; }

.fam__item-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: rgba(255,255,255,.1);
  border-radius: 50%;
  flex-shrink: 0;
}
.fam__item-icon svg {
  width: 15px;
  height: 15px;
  stroke: var(--bg);
}

/* Verberg de hamburger op mobiel — FAM vervangt hem */
@media (max-width: 680px) {
  .hamburger { display: none !important; }
  .nav__mobile { display: none !important; }
}


/* ── View cursor (verschijnt op card hover) ── */
.cursor-view {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--ink);
  display: flex; align-items: center; justify-content: center;
  transform: translate(-50%, -50%) scale(0);
  transition: transform .4s var(--ease-out), opacity .3s;
  opacity: 0;
  mix-blend-mode: normal;
}
.cursor-view.active {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}
.cursor-view span {
  font-family: var(--body);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--bg);
}

/* Verberg de standaard cursor en ring op cards */
.card__img-wrap:hover ~ #cur,
.card__img-wrap:hover ~ #curRing {
  opacity: 0;
}

@media (hover: none) {
  .cursor-view { display: none; }
}


/* ── Name image cursor ── */
.name-cursor {
  position: fixed;
  pointer-events: none;
  z-index: 9998;
  width: 160px;
  height: 200px;
  border-radius: 8px;
  overflow: hidden;
  transform: translate(-50%, -110%) scale(0) rotate(-4deg);
  transition: transform .4s var(--ease-out), opacity .3s;
  opacity: 0;
  box-shadow: 0 12px 40px rgba(45,52,50,.25);
}
.name-cursor.active {
  transform: translate(-50%, -110%) scale(1) rotate(-4deg);
  opacity: 1;
}
.name-cursor img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
/* ── Hover hint label onder "Deinze" ── */
#hoverName {
  position: relative;
}
@media (hover: hover) and (pointer: fine) {
  #hoverName::before {
    content: '↑ hover';
    position: absolute;
    bottom: -18px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--body);
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--muted);
    white-space: nowrap;
    opacity: 0;
    transition: opacity .4s;
  }
  #hoverName.hint-visible::before {
    opacity: 0.5;
  }
  #hoverName:hover::before {
    opacity: 0 !important;
  }
}
@media (hover: none) {
  .name-cursor { display: none; }
}
