@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* ----------------------------------- RESET ----------------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Plus Jakarta Sans', Arial, sans-serif;
    background-color: #fff;
    padding-top: 80px;  /* ruimte onder de vaste header */
}

html {
    font-family: 'Plus Jakarta Sans', Arial, sans-serif;
}

/* ---------------------------------- HEADER ---------------------------------- */
header {
    background: #fff;
    height: 80px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0; left: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.menu-container {
    max-width: 1980px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
}

.logo img {
    width: 160px; height: auto;
}

/* Menu-items */
.main-menu ul {
    list-style: none;
    display: flex;
    gap: 40px;
}

.main-menu a {
    font-size: 14px;
    line-height: 21px;
    color: #333;
    text-decoration: none;
    position: relative;
    padding-bottom: 4px;
    font-weight: normal;
    transition: font-weight .2s;
}

.main-menu a:hover,
.main-menu a:focus,
.main-menu a.active {
    font-weight: 700;
}
.main-menu a::after {
    content: "";
    display: block;
    width: 0%;
    height: 2px;
    background: #e2001a;
    position: absolute;
    bottom: 0; left: 0;
    transition: width 0.2s;
}
.main-menu a:hover::after,
.main-menu a:focus::after,
.main-menu a.active::after {
    width: 100%;
}

/* ---------------------------------- BANNER ---------------------------------- */
.banner,
.banner-vacatures,
.banner-index {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.banner-vacatures { background-image: url('../images/banner-vacatures.webp'); }
.banner-index { background-image: url('../images/banner-werken-bij-konecranes.webp'); }
@media (max-width: 768px) {
    .banner { height: 400px; }
}
@media (max-width: 500px) {
    .banner { height: 300px; }
}

/* Zoekbalk */
/* --- Zoekbalk Responsive en Gradient Focus --- */

/* Container responsief centreren */
.search-container {
    position: relative;
    width: 900px;
    max-width: 92vw;        /* Beter voor kleine schermen */
    margin: 0 auto;
    margin-top: 200px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

/* Zoekveld: groot desktop, kleiner mobiel */
.search-container input[type="text"] {
    font-size: 18px;
    line-height: 24px;
    height: 56px;
    width: 100%;
    padding: 0 54px 0 22px;
    border-radius: 24px;
    border: 2px solid #fafafa;
    color: #000;
    background: #fff;
    box-shadow: 0 2px 14px rgba(0,0,0,0.06);
    transition: border 0.25s, box-shadow 0.25s;
    outline: none;
}

/* Focus gradient rand */
.search-container input[type="text"]:focus {
    border: 2px solid transparent;
    background-origin: border-box;
    background-clip: padding-box, border-box;
    background-image:
        linear-gradient(#fff, #fff), /* veldkleur */
        linear-gradient(90deg, #e2001a 0%, #7f00ff 100%); /* gradientrand */
    box-shadow: 0 0 0 3px rgba(126,0,255,0.09); /* subtiele schaduw */
}

/* Optioneel: focus zichtbaar voor keyboard only */
@media (pointer: fine) {
  .search-container input[type="text"]:focus-visible {
    border: 2px solid transparent;
    background-image:
      linear-gradient(#fff, #fff),
      linear-gradient(90deg, #e2001a 0%, #7f00ff 100%);
    box-shadow: 0 0 0 3px rgba(126,0,255,0.12);
  }
}

/* Vergroot clickable gebied voor het zoekicoon als je die gebruikt */
.search-container.has-icon::after {
    content: "";

    background-size: 32px 32px;
    position: absolute;
    right: 22px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;   /* groter op mobiel */
    height: 28px;
    pointer-events: none;
    opacity: 0.9;
}

@media (max-width: 700px) {
    .search-container {
        margin-top: 70px;
        width: 99vw;
        max-width: 99vw;
        padding: 0 4vw;
    }
    .search-container input[type="text"] {
        font-size: 15px;
        height: 48px;
        border-radius: 15px;
        padding-left: 16px;
        padding-right: 48px;
    }
    .search-container.has-icon::after {
        right: 10px;
        width: 22px;
        height: 22px;
    }
}


/* ----------------------------- GEKLEURDE VLAKKEN ----------------------------- */
.div-white  { background: #fff; }
.div-grey   { background: #f2f2f2; }

.div-white a,
.div-grey a {
    color: red;
    text-decoration: none;
    font-weight: 500;
}
.div-white a:hover,
.div-grey a:hover {
    color: darkred;
    text-decoration: underline;
}

/* ----------------------------- INHOUDSCONTAINERS ----------------------------- */
.content-wrapper,
.text-block {
    max-width: 1300px;
    width: 100%;
    margin: 30px auto 10px auto;

    box-sizing: border-box;
}

/* -------------------- 2 kolommen -------------------- */
.two-col-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 1300px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
  padding: 40px 20px;
}

/* -------------------- 3 kolommen -------------------- */
.three-col-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
  max-width: 1300px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;

}

/* -------------------- 4 kolommen -------------------- */
.four-col-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 32px;
  max-width: 1300px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
  padding: 40px 20px;
}

/* -------------------- Responsive: mobiel altijd 1 kolom -------------------- */
@media (max-width: 900px) {
  .three-col-row,
  .four-col-row {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 768px) {
  .two-col-row,
  .three-col-row,
  .four-col-row {
    grid-template-columns: 1fr;
    padding: 32px 00px;
    gap: 0;
  }
}

/* ---------------------------------- KNOPPEN ---------------------------------- */
.gradient-button {
    background: linear-gradient(45deg, #e2001a, #7f00ff);
    color: white;
    font-weight: 700;
    border: none;
    padding: 14px 28px;
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-family: inherit;
}
.gradient-button:hover { filter: brightness(1.1); }

/* ---------------------------------- TYPOGRAFIE ---------------------------------- */

h1, h2, h3 {
    font-size: 32px;
    font-family: 'Plus Jakarta Sans', Arial, sans-serif;
    font-weight: 500;
    color: #000;
    line-height: 45px;
    margin-bottom: 32px;
}
@media (max-width: 700px) {
    h1, h2, h3 {
        font-size: 1.2rem;
        line-height: 1.3;
    }
}





p {
    font-family: inherit;
    font-weight: 400;
    color: #000;
    font-size: 16px;
    line-height: 24px;
}
.text-block {
    font-weight: 400;
    line-height: 1.6;
    font-size: clamp(16px, 1.5vw, 19px);
    color: #000;
    position: relative;
}
.text-block p        { text-align: left; }
.text-block p.justify{ text-align: justify; }
.text-block ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin: 0 0 1rem 0;
    font-size: 16px; line-height: 24px;
    text-align: justify;
}
.text-block ol {
    list-style: decimal;
    padding-left: 20px;
}
.text-block li {
    margin-bottom: 3px;
}

/* ---------------------------------- SPLIT ROW MET AFBEELDING -------------------- */
.split-row {
    display: flex;
    align-items: flex-start;
    gap: 32px;
    margin-bottom: 32px;
}
.split-img {
    flex: 0 0 500px;
    width: 500px; height: auto;
    border-radius: 12px;
    object-fit: cover;
}
.split-text { flex: 1; }
@media (max-width: 600px) {
    .split-row {
        flex-direction: column;
        text-align: center;
        align-items: center; /* zorgt dat inhoud in het midden staat */
    }
    .split-img {
        width: 100%;
        max-width: 500px; /* iets ruimer of naar wens aanpassen */
        margin: 0 auto; /* centreren */
        display: block;  /* blok-element voor margin-auto */
    }
    .split-text {
        text-align: left; /* of center, afhankelijk van wat je wilt */
        width: 100%;
    }
}

/* ---------------------------------- FOOTER ---------------------------------- */
.site-footer {
    background: #333;
    color: #fff;
}
.footer-inner {
    max-width: 1380px;
    width: 100%;
    margin: 0 auto;
    padding: 2rem 1.5rem 3rem;
    font-family: inherit;
    font-size: 14px;
    line-height: 22px;
}
.footer-top { display: flex; justify-content: flex-end; }
.social {
    display: flex;
    gap: 1.25rem;
    list-style: none;
    margin: 0; padding: 0;
}
.social a {
    color: #fff;
    font-size: 1.2rem;
    transition: opacity .2s;
}
.social a:hover,
.social a:focus { opacity: .7; }
.footer-divider {
    border: 0;
    border-top: 1px solid rgba(255,255,255,.2);
    margin: 1.75rem 0 2rem;
}
.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}
.footer-logo img {
    width: 160px; height: auto; display: block;
}
.footer-nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    list-style: none;
    margin: 0; padding: 0;
}
.footer-nav a {
    color: #fff;
    text-decoration: none;
    transition: opacity .2s;
}
.footer-nav a:hover,
.footer-nav a:focus { opacity: .7; }
.copyright {
    margin-top: 2.5rem;
    font-size: 13px;
    opacity: .8;
}
@media (max-width: 580px) {
    .footer-bottom { flex-direction: column; align-items: flex-start; }
    .footer-nav ul { gap: 1rem; }
}
/* ---------------------------------- Sollicitatieformulier ---------------------------------- */

.open-sollicitatie-form {
  max-width: 800px;
  margin: 0 auto;
}

.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 18px;
}

.form-group {
  flex: 1 1 100%;
  display: flex;
  flex-direction: column;
}

.form-group.half {
  flex: 1 1 47%;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="file"],
textarea {
  font-family: inherit;
  padding: 12px 16px;
  border: 1px solid #ccc;
  border-radius: 14px;
  font-size: 16px;
  background: #fafafa;
  margin-top: 6px;
  margin-bottom: 0;
}

textarea {
  min-height: 100px;
  resize: vertical;
}

button.gradient-button {
  padding: 14px 38px;
  font-size: 18px;
  font-weight: 700;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  background: linear-gradient(45deg, #e2001a, #7f00ff);
  color: #fff;
  transition: filter 0.2s;
}
button.gradient-button:hover {
  filter: brightness(1.1);
}

.form-group.checkbox {
  flex-direction: row;
  align-items: center;
  gap: 10px;
}

@media (max-width: 700px) {
  .form-row { flex-direction: column; gap: 0; }
  .form-group.half { flex: 1 1 100%; }
}

/* -------------------------- VACATURE OVERZICHT PAGINA -------------------------- */

.vacancy-list {
  max-width: 1300px;
  width: 100%;
  margin: 0 auto 40px auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* div-white en div-grey NIET meer gebruiken voor kaarten */
.div-white, .div-grey {
  background: none !important;
  padding: 0 !important;
  box-shadow: none !important;
  margin-left: 10px;
  margin-right: 10px;
}
/* Kaart altijd grijs, afgeronde hoeken 3px */
.job-card {
  background: #f2f2f2 !important;
  border-radius: 3px !important;
  box-shadow: 0 2px 12px var(--color-shadow-card);
  margin-bottom: 32px;
  padding: 32px 28px 20px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  box-sizing: border-box;
}

/* Header alleen wrapper */
.job-card-header {
  width: 100%;
  padding: 0;
  margin: 0 0 6px 0;
}

/* Rij met titel en labels naast elkaar (altijd op 1 lijn!) */
.job-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  width: 100%;
  min-width: 0;
}

/* SEO-labels direct naast titel */
.seo-labels-row {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 0;
}

/* Titel */
.job-title {
  font-size: 32px;
  font-family: 'Plus Jakarta Sans', Arial, sans-serif;
  font-weight: 500;
  margin: 0;
  line-height: 1.2;
  flex: 1 1 auto;
  min-width: 0;
}


.job-title-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
.job-title-link:hover,
.job-title-link:focus {
  color: #e2001a; /* Of een andere highlight kleur */
  text-decoration: underline;
}



/* Label (categorie) */
.job-label {
  background: var(--color-label-other-bg);
  color: var(--color-label-other);
  font-size: 0.98rem;
  font-weight: 600;
  border-radius: 20px;
  padding: 6px 18px;
  margin-left: 16px;
  min-width: 90px;
  text-align: center;
  transition: background 0.2s, color 0.2s;
}

/* Kleuren per categorie */
.job-label.service {
  background: var(--color-label-service-bg);
  color: var(--color-label-service);
}
.job-label.engineering {
  background: var(--color-label-engineering-bg);
  color: var(--color-label-engineering);
}
.job-label.it {
  background: var(--color-label-it-bg);
  color: var(--color-label-it);
}
.job-label.production {
  background: var(--color-label-production-bg);
  color: var(--color-label-production);
}

/* Iconenrij: 4 kolommen naast elkaar */
.job-meta-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0 12px;
  margin-bottom: 14px;
  margin-top: 8px;
}

.job-meta {
  display: flex;
  align-items: center;
  font-size: 15px;
  color: #444;
  font-weight: 400;
  gap: 7px;
  min-height: 28px;
}

/* Teaser onder de iconenrij */
.job-teaser {
  margin-top: 12px;
  font-size: 16px;
  color: #222;
  line-height: 1.5;
}

/* Acties */
.job-card-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-top: 16px;
}

.read-more-btn {
  border: 2px solid var(--color-border-btn);
  border-radius: 26px;
  padding: 10px 28px;
  background: #fff;
  color: var(--color-border-btn);
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.12s, color 0.12s, border-color 0.12s;
}

.read-more-btn:hover {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

/* Responsive */
@media (max-width: 700px) {
  .vacancy-list { padding: 0 5px; }
  .job-card { padding: 22px 8px 16px 8px; }
  .job-title { font-size: 1.18rem; }
  .job-meta-row { grid-template-columns: 1fr 1fr; gap: 10px 6px; }
  .job-label { font-size: 0.92rem; padding: 6px 12px; }
  .job-title-row { flex-direction: column; align-items: flex-start; gap: 6px; }
  .seo-labels-row { gap: 6px; margin-top: 8px; }
}

/* SEO-labels zelf */
.seo-label {
  background: #e5d9fa;
  color: #19111d;
  font-size: 1.01rem;
  font-weight: 600;
  border-radius: 20px;
  padding: 6px 18px;
  min-width: 90px;
  text-align: center;
  display: inline-block;
  margin-bottom: 2px;
  margin-right: 5px;
  white-space: nowrap;
  letter-spacing: 0.01em;
  transition: background 0.2s, color 0.2s;
}

/* SEO-apply-knop */
.apply-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 20px;
    height: 40px;
    background: linear-gradient(90deg, #fd3a16 0%, #8e2de2 100%);
    color: #fff;
    font-weight: 400;
    font-size: 16px;
    border: none;
    border-radius: 999px;
    box-shadow: 0 3px 16px rgba(0,0,0,0.06);
    text-decoration: none;
    transition: filter 0.18s, box-shadow 0.18s;
    cursor: pointer;
    white-space: nowrap;
}
.apply-btn i,
.apply-btn svg {
    font-size: 20px;
    margin-right: 8px;
}
.apply-btn:hover {
    filter: brightness(1.08) saturate(1.2);
    box-shadow: 0 3px 22px rgba(142,45,226,0.15);
}
/* -------------------------- VACATURE DETAIL PAGINA -------------------------- */


/* Banner overlay filter */
.banner {
    position: relative;
    overflow: hidden;
}
.banner-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(18, 19, 24, 0.54); /* donker, transparant */
    z-index: 1;
    pointer-events: none;
}
.banner .search-container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

/* Vacature titel in banner */
.vacancy-banner-title {
    font-family: 'Jakarta Sans', Arial, sans-serif;
    font-weight: 600; /* Semibold */
    font-size: 54px;
    line-height: 70px;
    color: #fff;
    text-align: center;
 
  
    max-width: 900px;
    letter-spacing: 0.01em;
}
@media (max-width: 900px) {
    .vacancy-banner-title { font-size: 36px; line-height: 48px; }
}
@media (max-width: 500px) {
    .vacancy-banner-title { font-size: 26px; line-height: 32px; }
}

/* SEO-labels in banner wit */
.banner .seo-label {
    background: #fff !important;
    color: #19111d !important;
    border: 1.5px solid #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.09);
}
