/* =============================================================
   Skydent — Layout: header, footer, navigation
   ============================================================= */

/* --- Top bar --- */
.sk-topbar {
  background: var(--sk-navy);
  color: oklch(0.88 0.012 230);
  font-size: 13.5px;
}
.sk-topbar .sk-container { display: flex; align-items: center; justify-content: space-between; min-height: 40px; gap: 16px; }
.sk-topbar a, .sk-topbar span { color: oklch(0.88 0.012 230); }
.sk-topbar a:hover { color: #fff; }
.sk-topbar__contact, .sk-topbar__actions { display: flex; gap: 22px; flex-wrap: wrap; align-items: center; }
.sk-topbar__contact a, .sk-topbar__contact span,
.sk-topbar__actions a { display: inline-flex; align-items: center; gap: 7px; }
.sk-topbar__contact svg, .sk-topbar__actions svg { flex: 0 0 auto; width: 13px; height: 13px; opacity: .65; }
.sk-topbar__sep { opacity: .35; }
/* Language switcher — SVG flags next to the menu. Collapsed to the current
   language; hovering the group reveals the other flags. */
.sk-flagswitch { display: inline-flex; align-items: center; margin-left: 6px; }
.sk-flagswitch__item { display: inline-flex; width: 24px; height: 16px; border-radius: 3px; overflow: hidden; box-shadow: 0 0 0 1px rgba(15,42,56,.12); margin-left: 6px; transition: opacity var(--sk-dur) var(--sk-ease), width var(--sk-dur) var(--sk-ease), margin var(--sk-dur) var(--sk-ease), box-shadow var(--sk-dur) var(--sk-ease), transform var(--sk-dur) var(--sk-ease); }
.sk-flagswitch__item:first-child { margin-left: 0; }
.sk-flagswitch__item svg { width: 100%; height: 100%; display: block; }
/* No accent ring on the active flag (keeps the subtle base outline only). */
.sk-flagswitch__item.is-current { opacity: 1; }
/* Two languages now — both flags stay visible; the inactive one is just dimmed. */
.sk-flagswitch__item:not(.is-current) { opacity: .6; }
.sk-flagswitch__item:not(.is-current):hover { opacity: 1; transform: translateY(-1px); }
@media (max-width: 640px) {
  /* No top bar on phones — it only repeated the address/hours and ate vertical
     space above the hero. Address, phone, hours still live in the footer + the
     contact page; the header keeps the logo, menu and Inschrijven CTA. */
  .sk-topbar { display: none; }
}

/* --- Header --- */
.sk-header {
  position: sticky; top: 0; z-index: 100;
  background: oklch(0.99 0.004 210 / 0.85);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--sk-border);
}
.sk-header .sk-container { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.sk-logo { display: inline-flex; align-items: center; }
.sk-logo img { height: 34px; width: auto; }

/* --- Primary nav (design: pill links + active pill) --- */
.sk-nav { display: flex; align-items: center; gap: 10px; }
.sk-nav__list { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; align-items: center; }
.sk-nav__list li { margin: 0; }
.sk-nav__list a {
  display: block;
  padding: 9px 14px;
  border-radius: var(--sk-radius-full);
  font-size: 15px;
  font-weight: var(--sk-fw-medium);
  color: var(--sk-text-soft);
  transition: color var(--sk-dur) var(--sk-ease), background var(--sk-dur) var(--sk-ease);
}
.sk-nav__list a:hover { color: var(--sk-text); background: var(--sk-surface); }
.sk-nav__list .current-menu-item > a,
.sk-nav__list .current_page_item > a { color: var(--sk-primary-dark); background: var(--sk-tint-deep); font-weight: var(--sk-fw-semi); }
/* CTA inside the dropdown — shown only on mobile (desktop uses the header button) */
.sk-nav__cta { display: none; }

.sk-header__actions { display: flex; align-items: center; gap: 10px; }
.sk-header__actions .sk-btn { padding: 11px 22px; font-size: 14.5px; }

/* --- Mobile nav toggle (design: bordered rounded square) --- */
.sk-nav-toggle {
  display: none; place-items: center;
  width: 42px; height: 42px; padding: 0;
  border: 1px solid var(--sk-border); border-radius: 12px;
  background: #fff; color: var(--sk-navy);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background var(--sk-dur) var(--sk-ease), border-color var(--sk-dur) var(--sk-ease), color var(--sk-dur) var(--sk-ease);
}
.sk-nav-toggle svg { width: 19px; height: 19px; }
/* Beat a plugin reset.css that paints every button:hover/:focus magenta (#cc3366) */
.sk-nav-toggle:hover { background: var(--sk-surface); border-color: var(--sk-border-2); color: var(--sk-navy); }
.sk-nav-toggle:focus, .sk-nav-toggle:active { background: #fff; color: var(--sk-navy); border-color: var(--sk-border); outline: none; }
.sk-nav-toggle[aria-expanded="true"] { background: var(--sk-tint-deep); border-color: var(--sk-tint-deep); color: var(--sk-primary-dark); }
.sk-nav-toggle:focus-visible { outline: 3px solid var(--sk-primary-light); outline-offset: 2px; }

@media (max-width: 1024px) {
  .sk-nav-toggle { display: grid; }
  /* Dropdown panel anchored to the sticky header (top:100%), hidden with
     visibility/opacity — can never peek out at the top of the page. */
  .sk-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--sk-border);
    opacity: 0; visibility: hidden; pointer-events: none;
    transform: translateY(-8px);
    transition: opacity .25s var(--sk-ease), transform .25s var(--sk-ease), visibility 0s linear .25s;
    box-shadow: var(--sk-shadow);
  }
  .sk-nav.is-open {
    opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0);
    transition: opacity .25s var(--sk-ease), transform .25s var(--sk-ease);
  }
  .sk-nav__list { flex-direction: column; align-items: stretch; gap: 0; padding: var(--sk-space-3) var(--sk-gutter) 0; }
  .sk-nav__list li { border-bottom: 1px solid var(--sk-border); }
  .sk-nav__list a { display: block; padding: .9em 0; border-radius: 0; }
  .sk-nav__list a:hover, .sk-nav__list .current-menu-item > a, .sk-nav__list .current_page_item > a { background: transparent; }
  /* Inschrijven moves into the dropdown (below Vacatures); hide the header one */
  .sk-header__actions .sk-btn { display: none; }
  .sk-nav__cta { display: flex; margin: var(--sk-space-4) var(--sk-gutter); }
  /* Language flags in the mobile dropdown — show all (no hover on touch). */
  .sk-nav .sk-flagswitch { padding: var(--sk-space-3) var(--sk-gutter) var(--sk-space-2); }
  .sk-nav .sk-flagswitch__item:not(.is-current) { width: 24px; opacity: .6; margin-left: 8px; pointer-events: auto; }
}

@media (max-width: 640px) {
  .sk-header .sk-container { height: 66px; }
  .sk-logo img { height: 28px; }
  .sk-header__actions .sk-btn { padding: 10px 18px; font-size: 13.5px; }
}

/* --- Footer (modern gradient, mirrors the light hero's accent language) --- */
/* --- Footer (design: flat ink, hours grid, hairline bottom) --- */
/* Decorative teal "soundwave" band above the footer (Skydent (3) design). */
.sk-footer-band { width: 100%; line-height: 0; background: var(--sk-bg); }
.sk-footer-band img { width: 100%; height: 56px; display: block; object-fit: cover; }
@media (max-width: 640px) { .sk-footer-band img { height: 40px; } }
.sk-footer {
  background: var(--sk-navy);
  color: oklch(0.82 0.014 235);
  padding-block: var(--sk-space-8) var(--sk-space-5);
  font-size: var(--sk-fs-sm);
}
.sk-footer a { color: oklch(0.82 0.014 235); }
.sk-footer a:hover { color: #fff; }
.sk-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: var(--sk-space-7); }
.sk-footer h4 { color: #fff; font-size: var(--sk-fs-sm); font-weight: var(--sk-fw-semi); text-transform: uppercase; letter-spacing: .1em; margin-bottom: var(--sk-space-5); }
.sk-footer ul { list-style: none; margin: 0; padding: 0; }
.sk-footer li { margin-bottom: .65rem; }
.sk-footer__logo img { max-height: 46px; margin-bottom: var(--sk-space-4); filter: brightness(0) invert(1); }
.sk-footer__contact p { line-height: 1.8; }
.sk-footer__contact a { color: #fff; }
.sk-footer__hours { font-size: var(--sk-fs-sm); display: grid; gap: .5rem; }
.sk-footer__hours li { display: flex; justify-content: space-between; gap: var(--sk-space-4); margin: 0; max-width: 240px; }
.sk-footer__hours li span:last-child { color: #fff; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sk-footer__menu li a { transition: color var(--sk-dur) var(--sk-ease); }
.sk-footer__bottom { margin-top: var(--sk-space-6); padding-top: var(--sk-space-5); border-top: 1px solid oklch(0.40 0.04 255); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: var(--sk-space-2) var(--sk-space-5); font-size: var(--sk-fs-xs); color: oklch(0.65 0.02 240); }
.sk-footer__bottom a { text-decoration: underline; }
.sk-footer__credit a { color: #fff; }
@media (max-width: 560px) { .sk-footer__bottom { flex-direction: column; justify-content: center; text-align: center; gap: 6px; } }
/* Tablet: contact spans full width on top, then hours + info side by side
   (avoids the lone orphaned 3rd column the old 2-col reflow produced). */
@media (max-width: 900px) {
  .sk-footer { padding-block: var(--sk-space-7) var(--sk-space-5); }
  .sk-footer__grid { grid-template-columns: 1fr 1fr; gap: var(--sk-space-6); }
  .sk-footer__contact { grid-column: 1 / -1; }
}
/* Phone: single column, tighter rhythm. */
@media (max-width: 560px) {
  .sk-footer__grid { grid-template-columns: 1fr; gap: var(--sk-space-6); }
}

/* --- Floating WhatsApp --- */
.sk-wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--sk-whatsapp); color: #fff;
  display: grid; place-items: center;
  box-shadow: var(--sk-shadow-lg);
  transition: transform var(--sk-dur) var(--sk-ease);
}
.sk-wa-float:hover { transform: scale(1.08); color: #fff; }
.sk-wa-float svg { width: 30px; height: 30px; }
