/* Light theme for every page of ysgroup.be. Loaded after each page's own <style>, so these rules win.
   Colors come from the logo: navy, white, one light blue, grey. */
:root {
  --navy: #0A1428;
  --ink: #0F1B33;
  --accent: #8DB8F5;      /* the "up" in the logo */
  --accent-soft: #E7F0FE;
  --link: #1F5FD1;        /* same hue as the accent, dark enough for text on white */
  --line: #E1E7F0;
  --surface: #FFFFFF;
  --radius: 14px;

  /* The pages were written against these older token names. Remapped to the light palette. */
  --bg: #F6F8FB; --bg2: #FFFFFF; --bg3: #F0F4FA; --bg4: #E7EDF6;
  --blue: #1F5FD1; --blue2: #1F5FD1; --cyan: #1F5FD1; --glow: transparent;
  --text: #0F1B33; --muted: #55627A; --dim: #5F6B80;
  --border: #E1E7F0; --border2: #C9D8F0;
}

body { background: var(--bg); color: var(--text); -webkit-font-smoothing: antialiased; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { text-wrap: balance; }
/* The nav is fixed: keep anchor targets clear of it. */
#contact, #contactForm, #pakketten, #waarom, #apply, #jobs { scroll-margin-top: 90px; }
.orb, .cursor-glow { display: none !important; }

/* Gradient headline words become the marker highlight from the homepage. */
.gradient-text {
  background: linear-gradient(transparent 62%, var(--accent) 62%);
  -webkit-background-clip: border-box; background-clip: border-box;
  -webkit-text-fill-color: currentColor; color: inherit;
}

/* NAV */
nav, nav.scrolled {
  background: rgba(246,248,251,.94); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.brand-name {
  background: none; -webkit-text-fill-color: var(--navy); color: var(--navy);
  font-size: 1.25rem; font-weight: 800; letter-spacing: -0.03em;
}
.brand-name span { color: var(--accent); -webkit-text-fill-color: var(--accent); }
.brand-sub { letter-spacing: 0.3em; color: var(--muted); -webkit-text-fill-color: var(--muted); margin-top: 3px; }
.nav-links a { color: var(--ink); font-weight: 600; font-size: 0.95rem; }
.nav-links a::after { height: 2px; background: var(--accent); }
.nav-links a:hover, .nav-links a.active { color: var(--navy); }
.nav-back { color: var(--muted); }
.nav-back:hover { color: var(--navy); }
.lang-switcher { background: transparent; border: 1px solid var(--line); }
.lang-btn { color: var(--muted); }
.lang-btn:hover { color: var(--navy); }
.lang-btn.active { background: var(--accent-soft); color: var(--navy); }
.nav-hamburger span { background: var(--ink); }
.nav-mobile {
  background: var(--surface); backdrop-filter: none;
  border-bottom: 1px solid var(--line); box-shadow: 0 16px 32px rgba(10,20,40,.10);
}
.nav-mobile a { color: var(--ink); border-bottom-color: var(--line); }

/* BUTTONS: one filled style (navy), one quiet style. */
.nav-cta, .btn-primary, .card-link-btn, .cookie-accept, .btn, .cta-btn, .submit-btn, .apply-btn {
  background: var(--navy); color: #fff; box-shadow: none; border: 0;
  transition: background .2s, transform .15s;
}
.nav-cta:hover, .btn-primary:hover, .card-link-btn:hover, .cookie-accept:hover, .btn:hover, .cta-btn:hover, .submit-btn:hover, .apply-btn:hover {
  background: #17274A; opacity: 1; box-shadow: none;
}
/* Secondary actions are quiet text links, never a second button. */
.btn-ghost, .btn-outline, .card-link-btn {
  display: inline-block; align-self: flex-start; padding: 0 0 1px; margin-top: 0; border: 0; border-radius: 0; background: none; box-shadow: none;
  color: var(--link); font-weight: 600; font-size: 0.95rem; text-decoration: none; border-bottom: 2px solid var(--accent);
}
.btn-ghost:hover, .btn-outline:hover, .card-link-btn:hover { background: none; color: var(--link); border-bottom-color: var(--link); transform: none; box-shadow: none; }
.card-link-btn { margin-top: 22px; }
/* The nav button is quiet so the page's own primary button is the only filled one in view. */
.nav-cta, .nav-cta:hover { background: transparent; color: var(--navy); border: 1px solid var(--navy); }
.nav-cta:hover { background: var(--accent-soft); }

/* FOOTER */
footer { background: var(--navy); border-top: 0; color: #B9C4D8; padding: 48px 0 40px; font-size: 0.88rem; }
footer a, .footer-copy, .footer-links a, .footer-location { color: #B9C4D8; text-decoration: none; }
footer a:hover, .footer-links a:hover, .footer-location:hover { color: #fff; }
footer strong { color: #fff; }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px; max-width: 1168px; margin: 0 auto; padding: 0 24px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 10px 24px; max-width: 520px; }

/* COOKIE BANNER (markup is injected by /consent.js on every page). Accept and decline share one size: equally easy. */
#cookieBanner {
  position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 9999;
  width: calc(100% - 32px); max-width: 780px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px;
  background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 16px; padding: 18px 22px;
  box-shadow: 0 12px 40px rgba(10,20,40,.18); font-family: inherit;
}
.cookie-text { flex: 1; min-width: 240px; }
.cookie-text p { font-size: 0.86rem; line-height: 1.55; color: var(--muted); margin: 0 0 4px; }
.cookie-text p span { color: var(--ink); font-weight: 700; }
.cookie-text a { color: var(--link); font-size: 0.8rem; text-decoration: underline; }
.cookie-btns { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-accept, .cookie-decline {
  min-width: 128px; padding: 11px 20px; border-radius: 10px; font: inherit; font-size: 0.88rem; font-weight: 700; cursor: pointer;
}
.cookie-decline { color: var(--navy); background: var(--surface); border: 1px solid var(--navy); }
.cookie-decline:hover { background: var(--accent-soft); }

/* Page details that hardcoded the old dark background. */
.featured-norm { background: var(--surface); }
.expert-feat, .cta-traj-pill { background: var(--surface); }
.aanpak-photo::after { background: none; }
.news-card-img { background: var(--accent-soft) !important; }
.choice[aria-pressed=true] { color: var(--navy); background: var(--accent-soft); border-color: var(--link); }
.modal-apply, .mf-submit, .btn-submit { background: var(--navy); color: #fff; box-shadow: none; }
.modal-apply:hover, .mf-submit:hover, .btn-submit:hover { background: #17274A; opacity: 1; }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: var(--accent-soft); }

/* CONTACT FORM (homepage and /contact) */
.contact-box { background: var(--navy); color: #fff; border-radius: 22px; padding: 64px 56px; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.contact-box label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 6px; }
.contact-box input, .contact-box textarea {
  display: block; width: 100%; margin-bottom: 14px; padding: 12px 14px; font: inherit; color: #fff;
  background: #13213F; border: 1px solid #2C3D62; border-radius: 10px;
}
.contact-box input:focus-visible, .contact-box textarea:focus-visible { outline-offset: 0; border-color: var(--accent); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hp { position: absolute; left: -9999px; }
.contact-box .form-msg { min-height: 1.6em; margin-top: 14px; color: #fff; font-weight: 600; }
.contact-box p { color: #B9C4D8; max-width: 52ch; margin-top: 14px; }
.cta-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; margin-top: 30px; }
.cta-actions a:not(.btn) { color: var(--accent); font-weight: 600; }
.cta-actions a:not(.btn):hover { text-decoration: underline; }
.contact-box--single { grid-template-columns: 1fr; max-width: 640px; margin-top: 40px; }
@media (max-width: 860px) {
  .contact-box, .form-row { grid-template-columns: 1fr; }
  .contact-box { gap: 32px; padding: 44px 28px; }
  .form-row { gap: 0; }
}

/* Base shape of the homepage button, so pages without their own .btn rule get it too. */
.btn {
  display: inline-block; cursor: pointer; font-family: inherit; text-decoration: none;
  font-weight: 700; font-size: 0.98rem; padding: 14px 24px; border-radius: 10px;
}
.btn:active { transform: translateY(1px); }

.brand-sub { white-space: nowrap; }
/* Minimal-nav pages (security, ISO 27001, privacy): logo and language on row one, back and Jobs links on row two. */
@media (max-width: 520px) {
  nav.nav-min { height: auto; min-height: 56px; padding: 8px 16px; flex-wrap: wrap; justify-content: flex-start; row-gap: 4px; }
  nav.nav-min > div { display: contents !important; }
  nav.nav-min .lang-switcher { order: 0; margin-left: auto; }
  nav.nav-min::after { content: ''; flex-basis: 100%; order: 1; height: 0; }
  nav.nav-min .nav-back { order: 2; font-size: 0.78rem; margin-right: 12px; white-space: nowrap; }
  nav.nav-min .nav-brand { margin-right: auto; }
}
.mini-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 20px; margin-top: 18px; }
@media (max-width: 520px) {
  #cookieBanner { bottom: 8px; width: calc(100% - 16px); padding: 12px 14px; gap: 10px; border-radius: 14px; }
  .cookie-text { min-width: 0; }
  .cookie-text p { font-size: 0.78rem; line-height: 1.4; margin: 0; }
  .cookie-text a { font-size: 0.74rem; }
  .cookie-btns { width: 100%; gap: 8px; }
  .cookie-accept, .cookie-decline { flex: 1 1 0; min-width: 0; padding: 10px 6px; font-size: 0.82rem; white-space: nowrap; }
}

[hidden] { display: none !important; }
.contact-box--mailonly { grid-template-columns: 1fr; }

.textlink { color: var(--link); font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--accent); padding-bottom: 1px; }
.textlink:hover { border-bottom-color: var(--link); }
