/* 1UP Talent – basisopmaak bovenop Bootstrap 5: variabelen, typografie, header, footer en gedeelde onderdelen. */

:root {
  --up-primary: #6011e6;
  --up-primary-hover: #450b9e;
  --up-primary-soft: rgba(96, 17, 230, .15);
  --up-button: #5c08f5;
  --up-yellow: #fbd31b;
  --up-heading: #202124;
  --up-text: #696969;
  --up-muted: #77838f;
  --up-border: #ecedf2;
  --up-soft: #ecedf2;
  --up-panel: #f5f7fc;
  --up-banner: #e5ebf5;
  --up-shadow: 0 6px 15px rgba(64, 79, 104, .05);
  --up-font-heading: "Sora", Arial, sans-serif;
  --up-font-body: "IBM Plex Sans", Helvetica, Arial, sans-serif;

  --bs-primary: #6011e6;
  --bs-primary-rgb: 96, 17, 230;
  --bs-body-font-family: var(--up-font-body);
  --bs-body-font-size: .9375rem;
  --bs-body-line-height: 1.75;
  --bs-body-color: #696969;
  --bs-body-color-rgb: 105, 105, 105;
  --bs-heading-color: #202124;
  --bs-link-color: #6011e6;
  --bs-link-color-rgb: 96, 17, 230;
  --bs-link-hover-color: #450b9e;
  --bs-link-hover-color-rgb: 69, 11, 158;
  --bs-border-color: #ecedf2;
}

html { scroll-behavior: smooth; }
body { overflow-x: hidden; }

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 { font-family: var(--up-font-heading); font-weight: 500; line-height: 1.3; }
p { margin-bottom: 20px; }
a { text-decoration: none; transition: color .2s ease-in-out; }
img { height: auto; max-width: 100%; }

/* Zoals de live site: container vloeiend tot 1320px, met 15px marge aan beide kanten. */
.container, .container-fluid, .row { --bs-gutter-x: 30px; }
.container { max-width: 1320px; }

.skip-link { background: #fff; left: 1rem; padding: .75rem 1rem; position: fixed; top: 1rem; z-index: 1100; }
[id] { scroll-margin-top: 110px; }

/* ---------- Knoppen ---------- */
.btn { --bs-btn-font-size: 1rem; --bs-btn-border-radius: 8px; --bs-btn-padding-x: 40px; --bs-btn-padding-y: 16px; --bs-btn-line-height: 1; font-family: var(--up-font-body); }
.btn-primary { --bs-btn-bg: var(--up-button); --bs-btn-border-color: var(--up-button); --bs-btn-hover-bg: var(--up-primary-hover); --bs-btn-hover-border-color: var(--up-primary-hover); --bs-btn-active-bg: var(--up-primary-hover); --bs-btn-active-border-color: var(--up-primary-hover); --bs-btn-disabled-bg: var(--up-button); --bs-btn-disabled-border-color: var(--up-button); }
.btn-outline-primary { --bs-btn-color: var(--up-primary); --bs-btn-border-color: var(--up-primary); --bs-btn-hover-bg: var(--up-primary); --bs-btn-hover-border-color: var(--up-primary); --bs-btn-active-bg: var(--up-primary); --bs-btn-active-border-color: var(--up-primary); }
.btn-login { --bs-btn-bg: var(--up-yellow); --bs-btn-border-color: var(--up-yellow); --bs-btn-color: #000; --bs-btn-hover-bg: #eabd31; --bs-btn-hover-border-color: #eabd31; --bs-btn-hover-color: #000; --bs-btn-active-bg: #eabd31; --bs-btn-active-border-color: #eabd31; --bs-btn-active-color: #000; --bs-btn-border-width: 0; --bs-btn-font-size: .9375rem; --bs-btn-border-radius: 3px; --bs-btn-padding-x: 24px; --bs-btn-padding-y: 12px; }
.btn-match { --bs-btn-bg: #430aa3; --bs-btn-border-color: #430aa3; --bs-btn-color: #fff; --bs-btn-hover-bg: #360883; --bs-btn-hover-border-color: #360883; --bs-btn-hover-color: #fff; --bs-btn-active-bg: #360883; --bs-btn-active-color: #fff; --bs-btn-border-width: 0; --bs-btn-font-size: .9375rem; --bs-btn-border-radius: 3px; --bs-btn-padding-x: 24px; --bs-btn-padding-y: 12px; }
.text-primary { color: var(--up-primary) !important; }

/* ---------- Header ---------- */
.site-header { background: #fff; box-shadow: 0 6px 15px rgba(64, 79, 104, .06); position: sticky; top: 0; z-index: 1030; }
.site-header__inner { align-items: center; display: flex; justify-content: space-between; padding: 15px; }
.site-header__logo { display: block; line-height: 0; }
.site-header__logo img { height: clamp(41px, 10.9vw, 89px); width: auto; }
.site-nav, .site-header__cta { display: none; }

.site-burger { align-items: flex-end; background: none; border: 0; display: flex; flex-direction: column; gap: 6px; padding: 10px 7px; }
.site-burger span { background: var(--up-heading); border-radius: 2px; display: block; height: 2px; width: 26px; }
.site-burger span:nth-child(2) { width: 18px; }

@media (min-width: 1200px) {
  .site-header__inner { padding: 15px 0; }
  .site-header__logo { flex: 0 0 16%; padding: 15px; }
  .site-header__logo img { height: 77px; }
  .site-nav { display: flex; flex: 0 0 54.8%; justify-content: flex-end; padding: 0 45px 0 15px; }
  .site-header__cta { display: flex; flex: 0 0 29.2%; justify-content: flex-end; padding: 0 30px 0 15px; }
  .site-burger { display: none; }
}

.site-nav__list { align-items: center; display: flex; list-style: none; margin: 0; padding: 0; }
.site-nav__item { margin-right: 23.5px; position: relative; }
.site-nav__item:last-child { margin-right: 0; }
.site-nav__item > a { color: var(--up-primary); display: inline-block; font-size: 15px; line-height: 26px; padding: 12px 0; white-space: nowrap; }
.site-nav__item > a:hover, .site-nav__item.is-active > a { color: var(--up-primary); }
.site-nav__item > a .bi-house-door-fill { font-size: 17px; }
.site-nav__caret { font-size: 11px; margin-left: 3px; }
@media (min-width: 1400px) { .site-header__inner { padding: 15px 45px; } }
@media (min-width: 1500px) { .site-nav__item { margin-right: 47.5px; } }

.site-nav__sub { background: #fff; border-radius: 0 0 8px 8px; border-top: 2px solid var(--up-primary); box-shadow: var(--up-shadow); left: 0; list-style: none; margin: 0; min-width: 200px; opacity: 0; padding: 15px 0; position: absolute; top: 100%; transform: translateY(8px); transition: opacity .2s ease, transform .2s ease, visibility .2s; visibility: hidden; z-index: 10; }
.site-nav__sub::before { border: 7px solid transparent; border-bottom-color: var(--up-primary); bottom: 100%; content: ""; left: 25px; position: absolute; }
.site-nav__item:hover > .site-nav__sub, .site-nav__item:focus-within > .site-nav__sub { opacity: 1; transform: none; visibility: visible; }
.site-nav__sub a { color: var(--up-text); display: block; font-size: 15px; padding: 7px 30px; white-space: nowrap; }
.site-nav__sub a:hover, .site-nav__sub .is-active > a { color: var(--up-primary); }

/* ---------- Mobiel menu ---------- */
.site-menu { --bs-offcanvas-bg: #202124; --bs-offcanvas-width: min(350px, 80vw); --bs-offcanvas-border-width: 0; box-shadow: 2px 0 5px rgba(0, 0, 0, .15); }
.site-menu__head { align-items: center; background: #fff; display: flex; justify-content: space-between; padding: 15px 20px; }
.site-menu__head img { height: 85px; width: auto; }
.site-menu__close { background: none; border: 0; color: var(--up-heading); font-size: 16px; padding: 8px; }
.site-menu__body { display: flex; flex: 1 1 auto; flex-direction: column; overflow-y: auto; }
.site-menu__list { list-style: none; margin: 0; padding: 22px 0; }
.site-menu__row { align-items: center; display: flex; justify-content: space-between; }
.site-menu__list a { color: #bbb; display: block; flex: 1 1 auto; font-size: 14px; padding: 10px 40px; }
.site-menu__list a:hover, .site-menu__list .is-active > .site-menu__row > a, .site-menu__sub .is-active > a { color: #fff; }
.site-menu__toggle { background: none; border: 0; color: #bbb; font-size: 14px; padding: 10px 40px 10px 16px; }
.site-menu__toggle .bi { display: inline-block; transition: transform .2s ease; }
.site-menu__toggle:not(.collapsed) .bi { transform: rotate(90deg); }
.site-menu__sub { list-style: none; margin: 0; padding: 0 0 0 20px; }
.site-menu__foot { margin-top: auto; padding: 20px; }
.site-menu__foot .btn { display: table; margin-bottom: 10px; }
.site-menu__title { color: #979797; font-family: var(--up-font-heading); font-size: 18px; font-weight: 500; margin: 20px 0 6px; }
.site-menu__phone { font-family: var(--up-font-heading); font-size: 18px; font-weight: 600; margin: 0 0 14px; }
.site-menu__phone a { color: #fff; }
.site-menu__address { color: #979797; font-size: 13px; line-height: 1.75; margin: 0; }
.site-menu__address a { color: inherit; }

/* ---------- Titelbalk met kruimelpad ---------- */
.page-banner { background: var(--up-banner); margin-bottom: 50px; padding: 45px 0; text-align: center; }
.page-banner__title { color: var(--up-primary); font-size: 30px; margin: 0 0 5px; text-transform: capitalize; }
.page-banner__crumbs { color: var(--up-heading); list-style: none; margin: 0; padding: 0; }
.page-banner__crumbs li { display: inline-block; }
.page-banner__crumbs li + li::before { color: var(--up-text); content: "/"; padding: 0 5px 0 0; }
.page-banner__crumbs a { color: var(--up-text); }
.page-banner__crumbs a:hover { color: var(--up-heading); }
@media (max-width: 767.98px) {
  .page-banner { margin-bottom: 30px; padding: 15px 0; }
  .page-banner__title { font-size: 22px; }
}

/* ---------- Gedeelde onderdelen ---------- */
.section-title { color: var(--up-primary); font-size: 26px; line-height: 1.15; margin: 0 0 15px; }
@media (min-width: 768px) { .section-title { font-size: 30px; line-height: 1; } }
.section-lead { color: var(--up-muted); margin: 0 0 20px; }

/* Horizontale scroller (logo's, quotes, vacatures) – aangestuurd door site.js. */
.scroller { position: relative; }
.scroller__track { display: flex; overflow-x: auto; scroll-behavior: smooth; scroll-snap-type: x mandatory; scrollbar-width: none; }
.scroller__track::-webkit-scrollbar { display: none; }
.scroller__item { flex: 0 0 calc(100% / var(--per-view, 1)); min-width: 0; scroll-snap-align: start; }
.scroller__arrow { align-items: center; background: var(--up-primary-soft); border: 0; border-radius: 8px; color: var(--up-primary); display: flex; font-size: 18px; height: 50px; justify-content: center; position: absolute; top: 50%; transform: translateY(-50%); transition: background-color .2s ease, color .2s ease; width: 50px; z-index: 2; }
.scroller__arrow:hover { background: var(--up-primary); color: #fff; }
.scroller__arrow--prev { left: -20px; }
.scroller__arrow--next { right: -20px; }
.scroller__arrow[disabled] { opacity: .6; pointer-events: none; }
.scroller__dots { display: flex; gap: 10px; justify-content: center; padding: 35px 10px 0; }
.scroller__dots button { background: #bfc8cb; border: 0; border-radius: 20px; height: 8px; padding: 0; transition: width .2s ease, background-color .2s ease; width: 8px; }
.scroller__dots button[aria-current="true"] { background: var(--up-heading); width: 20px; }
@media (max-width: 1399.98px) {
  .scroller__arrow--prev { left: 0; }
  .scroller__arrow--next { right: 0; }
}
@media (max-width: 767.98px) { .scroller__arrow { font-size: 14px; height: 30px; width: 30px; } }

/* Logocarrousel van opdrachtgevers (includes/partials/client-logos.php) */
.client-logos { --per-view: 2; }
.client-logos .scroller__track { align-items: center; }
.client-logos .scroller__item { padding: 0 35px; }
.client-logos .scroller__item img { display: block; margin: 0 auto; max-height: 258px; object-fit: contain; width: 100%; }
.client-logos .scroller__arrow { background: none; color: #c9c9c9; font-size: 22px; width: 30px; }
.client-logos .scroller__arrow:hover { background: none; color: var(--up-primary); }
.client-logos .scroller__arrow--prev { left: 0; }
.client-logos .scroller__arrow--next { right: 0; }
@media (min-width: 768px) { .client-logos { --per-view: 3; } }
@media (min-width: 1025px) { .client-logos { --per-view: 4; } }
@media (max-width: 767.98px) { .client-logos .scroller__item { padding: 0 20px; } }

.back-to-top { align-items: center; background: rgba(96, 17, 230, .07); border-radius: 50%; bottom: 30px; color: var(--up-primary); display: flex; height: 40px; justify-content: center; opacity: 0; pointer-events: none; position: fixed; right: 30px; transition: opacity .25s ease, background-color .2s ease, color .2s ease; width: 40px; z-index: 1020; }
.back-to-top.is-visible { opacity: .8; pointer-events: auto; }
.back-to-top:hover { background: var(--up-primary); color: #fff; opacity: 1; }

/* ---------- Footer ---------- */
.site-footer__main { background: var(--up-soft) url("../img/bg/footer.jpg") no-repeat 50% 0 / cover; padding: 90px 0 20px; }
.site-footer__grid { align-items: stretch; display: flex; gap: 15px; }
@media (min-width: 1400px) { .site-footer__grid { --bs-gutter-x: 0px; } }
.site-footer__logo { align-items: center; display: flex; flex: 0 0 197px; padding: 10px; }
.site-footer__logo img { width: 177px; }
.site-footer__nav { align-items: center; display: flex; flex: 1 1 auto; justify-content: center; padding: 10px; }
.site-footer__nav > ul { display: flex; flex-wrap: wrap; justify-content: center; list-style: none; margin: 0; padding: 0; }
.site-footer__nav > ul > li { position: relative; }
.site-footer__nav > ul > li > a { color: var(--up-primary); display: flex; align-items: center; font-size: 14px; line-height: 20px; padding: 13px 20px; position: relative; white-space: nowrap; }
.site-footer__nav > ul > li > a::after { background: #3f444b; bottom: 0; content: ""; height: 3px; left: 0; opacity: 0; position: absolute; transition: opacity .3s ease; width: 100%; }
.site-footer__nav > ul > li > a:hover::after, .site-footer__nav > ul > li.is-active > a::after { opacity: 1; }
.site-footer__caret { color: #000; font-size: 10px; margin-left: 12px; }
.site-footer__sub { background: #fff; border-radius: 4px; bottom: 100%; box-shadow: var(--up-shadow); left: 0; list-style: none; margin: 0; min-width: 190px; opacity: 0; padding: 8px 0; position: absolute; transition: opacity .2s ease, visibility .2s; visibility: hidden; z-index: 5; }
.site-footer__nav li:hover > .site-footer__sub, .site-footer__nav li:focus-within > .site-footer__sub { opacity: 1; visibility: visible; }
.site-footer__sub a { color: var(--up-text); display: block; font-size: 14px; padding: 6px 20px; white-space: nowrap; }
.site-footer__sub a:hover { color: var(--up-primary); }
.site-footer__aside { flex: 0 0 308px; padding: 10px; }
.site-social { display: flex; gap: 5px; justify-content: center; list-style: none; margin: 0; padding: 0; }
.site-social__link { align-items: center; border-radius: 10%; color: #fff; display: flex; font-size: 19px; height: 38px; justify-content: center; transition: opacity .2s ease; width: 38px; }
.site-social__link:hover { color: #fff; opacity: .9; }
.site-social__link--linkedin { background: #0077b5; }
.site-social__link--instagram { background: #262626; }
.site-social__link--whatsapp { background: #25d366; }
.site-social__link--youtube { background: #cd201f; }
.site-social__link--tiktok { background: #69727d; }
.site-footer__badges { align-items: start; display: grid; gap: 20px; grid-template-columns: repeat(2, 1fr); padding: 10px; }
.site-footer__badges img { width: 100%; }

.site-footer__contact { background: #000; padding: 10px 0; }
.site-footer__contact .container { align-items: center; display: flex; gap: 20px; justify-content: center; }
.site-footer__contact a { color: #fff; flex: 0 0 390px; font-size: 14px; line-height: 25px; max-width: 50%; text-align: center; }
.site-footer__contact a:hover { color: var(--up-yellow); }
.site-footer__phone { font-family: "Rubik", var(--up-font-body); font-weight: 600; }

.site-footer__legal { background: #1f1f1f; padding: 35px 0; }
.site-footer__legal ul { display: flex; flex-wrap: wrap; justify-content: center; list-style: none; margin: 0; padding: 0; }
.site-footer__legal a { color: #fff; display: block; font-size: 14px; line-height: 20px; padding: 0 20px; }
.site-footer__legal a:hover { color: var(--up-yellow); }

@media (max-width: 1199.98px) {
  .site-footer__main { padding-top: 70px; }
  .site-footer__grid { align-items: center; flex-direction: column; }
  .site-footer__logo, .site-footer__aside { flex: 0 0 auto; }
  .site-footer__aside { width: 308px; }
  .site-footer__nav > ul > li:last-child > .site-footer__sub { left: auto; right: 0; }
}
@media (max-width: 767.98px) {
  .site-footer__main { padding: 15px 0; }
  .site-footer__grid { padding: 0; }
  .site-footer__logo { justify-content: center; padding: 10px 10px 20px; width: 100%; }
  .site-footer__logo img { width: 257px; }
  .site-footer__nav, .site-footer__aside { width: 100%; }
  .site-footer__nav > ul > li > a { padding: 13px 20px; }
  .site-footer__badges { grid-template-columns: 1fr; justify-items: center; }
  .site-footer__badges img { width: auto; }
  .site-footer__contact .container, .site-footer__legal .container { padding: 0; width: calc(100% - 20px); }
  .site-footer__contact .container { flex-direction: row; gap: 0; }
  .site-footer__contact a { align-items: center; display: flex; flex: 0 0 50%; justify-content: center; line-height: 14px; min-height: 25px; }
  .site-footer__legal { padding: 15px 0; }
  .site-footer__legal a { padding: 0 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
