/* ============================================================
   nav-final.css — MASTER NAV (v309) — Romantischerijn fixes
   - Header full width + fixed
   - Mobiel: hamburger NIET absolute -> netjes met ruimte naast logo
   - Logo mobiel groter zonder balk hoger
   - Dropdown open via body.sf-menu-open (match met main.js)
   - Geen bullets hier (die blijven in overrides)
   ============================================================ */

:root{
  --wrap-max: 1200px;
  --wrap-pad: 16px;

  --nav-h-desktop: 84px;
  --nav-h-mobile: 92px;

  --logo-max-desktop: 64px;
  --logo-max-mobile: 66px;

  --logo-slot-max-desktop: 520px;
  --logo-slot-max-mobile: 260px;

  --toggle-size: 44px;

  --link-gap: 26px;
  --menu-right-offset: 90px;

  --border: #e5e5e5;
  --text: #222;

  --underline-offset: 6px;
  --underline-thickness: 2px;

  /* extra ruimte tussen logo en hamburger (mobiel) */
  --mobile-toggle-gap: 12px;
}

/* ============================================================
   HEADER — full width fixed
   ============================================================ */
header.wrapper{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 6000;

  background: #fff;
  border-bottom: 1px solid var(--border);

  max-width: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;

  height: var(--nav-h-desktop);
}

/* ============================================================
   NAV container
   ============================================================ */
#sfNav.sf-nav{
  max-width: var(--wrap-max);
  margin: 0 auto;
  padding: 0 var(--wrap-pad);

  height: var(--nav-h-desktop);
  display: flex;
  align-items: center;

  /* logo links, menu/toggle rechts */
  justify-content: space-between;

  position: relative;
}

/* ============================================================
   LOGO
   ============================================================ */
.sf-nav__logo{
  display: inline-flex;
  align-items: center;
  flex-shrink: 1;
  min-width: 0;
  max-width: var(--logo-slot-max-desktop);
  text-decoration: none;
}

.sf-nav__logo img{
  max-height: var(--logo-max-desktop);
  width: auto;
  max-width: 100%;
  display: block;
}

/* ============================================================
   MENU — DESKTOP
   ============================================================ */
.sf-nav__list{
  display: flex;
  align-items: center;
  gap: var(--link-gap);
  list-style: none;
  margin: 0;
  padding: 0;

  margin-left: auto;
  margin-right: var(--menu-right-offset);
}

.sf-nav__list li{ margin: 0; padding: 0; border: 0; }

.sf-nav__list a{
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  padding: 8px 6px;

  outline: none;
  box-shadow: none;
  border: 0;
  background: none;
}

.sf-nav__list a:hover,
.sf-nav__list a:focus{
  text-decoration: underline;
  text-decoration-thickness: var(--underline-thickness);
  text-underline-offset: var(--underline-offset);
}

.sf-nav__list a:focus-visible{
  outline: none;
  box-shadow: none;
}

/* ============================================================
   TOGGLE — desktop uit
   ============================================================ */
.sf-nav__toggle{
  display: none;

  width: var(--toggle-size);
  height: var(--toggle-size);

  border: 1px solid #ddd;
  background: #fff;
  cursor: pointer;

  align-items: center;
  justify-content: center;

  font-size: 22px;
  line-height: 1;
  color: var(--text);

  outline: none;
  box-shadow: none;

  flex: 0 0 auto;
  border-radius: 10px;
}

/* ============================================================
   MOBIEL/TABLET
   ============================================================ */
@media (max-width: 980px), (pointer: coarse){

  header.wrapper{
    height: var(--nav-h-mobile);
    box-shadow: 0 6px 18px rgba(0,0,0,.08);
  }

  #sfNav.sf-nav{
    height: var(--nav-h-mobile);
    gap: var(--mobile-toggle-gap); /* <-- dit geeft lucht */
  }

  .sf-nav__list{ margin-right: 0; }

  .sf-nav__logo{
    max-width: var(--logo-slot-max-mobile);
  }

  .sf-nav__logo img{
    max-height: var(--logo-max-mobile);
  }

  /* hamburger: NIET absolute, gewoon in de flex-rij */
  .sf-nav__toggle{
    display: inline-flex;
    margin-left: auto;           /* duw naar rechts */
    flex: 0 0 auto;
  }

  /* dropdown */
  #sfNav .sf-nav__list{
    position: fixed;
    top: var(--nav-h-mobile);
    left: 0;
    right: 0;

    flex-direction: column;
    align-items: flex-start;

    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 12px 26px rgba(0,0,0,.10);

    padding: 12px var(--wrap-pad) 16px;
    gap: 10px;

    display: none;
    z-index: 6500;

    margin-left: 0;
  }

  body.sf-menu-open #sfNav .sf-nav__list{
    display: flex;
  }

  #sfNav .sf-nav__list a{
    padding: 12px 6px;
    width: 100%;
  }

  /* focus/current rommel weg */
  #sfNav .sf-nav__list li,
  #sfNav .sf-nav__list li:first-child{
    border: 0 !important;
    background: none !important;
    box-shadow: none !important;
    outline: none !important;
  }

  #sfNav .sf-nav__list a,
  #sfNav .sf-nav__list a.current,
  #sfNav .sf-nav__list a:hover,
  #sfNav .sf-nav__list a:focus,
  #sfNav .sf-nav__list a:focus-visible{
    text-decoration: none !important;
    border: 0 !important;
    background: none !important;
    box-shadow: none !important;
    outline: none !important;
  }

  #sfNav .sf-nav__toggle:focus,
  #sfNav .sf-nav__toggle:focus-visible{
    outline: none !important;
    box-shadow: none !important;
  }
}


/* ============================================================
   NAV SHADOW BLOCK v1 — desktop schaduw onder fixed header
   ============================================================ */

header.wrapper{
  box-shadow: 0 8px 18px rgba(0,0,0,.10);
}

/* op mobiel mag hij iets zachter (optioneel, maar vaak mooier) */
@media (max-width: 980px), (pointer: coarse){
  header.wrapper{
    box-shadow: 0 8px 18px rgba(0,0,0,.08);
  }
}


/* ============================================================
   MOBIEL LOGO — groter door breder logo-slot (werkt wél bij 350x65)
   ============================================================ */

@media (max-width: 980px){

  /* 1) Geef het logo op mobiel meer breedte (hier zit de winst) */
  header.wrapper #sfNav.sf-nav .sf-nav__logo{
    max-width: 290px !important;   /* was ~260px -> nu hoger logo */
    flex: 0 1 auto !important;
    min-width: 0 !important;
  }

  /* 2) Laat de afbeelding netjes binnen het slot schalen */
  header.wrapper #sfNav.sf-nav .sf-nav__logo img{
    width: 100% !important;        /* vult slot */
    height: auto !important;       /* hoogte volgt automatisch */
    max-height: none !important;   /* breedte bepaalt hier de hoogte */
    display: block !important;
  }

  /* 3) Klein beetje lucht naar de hamburger */
  header.wrapper #sfNav.sf-nav{ gap: 12px !important; }
}


/* ============================================================
   NAV — LETTERS IETS GROTER
   - Subtiele vergroting
   - Desktop en mobiel apart afgestemd
   ============================================================ */

/* Desktop */
#sfNav.sf-nav .sf-nav__list a{
  font-size: 18px;   /* was ±15px */
}

/* Mobiel */
@media (max-width: 980px){
  #sfNav.sf-nav .sf-nav__list a{
    font-size: 17px; /* mobiel mag net iets groter */
  }
}
