/* Vacaturespagina: hero, vacaturekaarten, sollicitatieformulier. Laadt na styles.css en hergebruikt zijn variabelen en knoppen. */

.jobs-page nav {
  position: relative;
}

.jobs-page .nav-links {
  gap: 1.35rem;
}

.jobs-page .nav-links a[aria-current="page"] {
  color: var(--teal-dark);
}

/* ─── HERO ────────────────────────────────────────────── */
.jobs-hero {
  padding: 5rem 2rem 4rem;
  text-align: center;
  background:
    radial-gradient(circle at 12% 18%, rgba(133, 197, 216, .3), transparent 25%),
    radial-gradient(circle at 88% 80%, rgba(245, 200, 74, .2), transparent 27%),
    linear-gradient(140deg, #eef7fb 0%, #e6f5f2 48%, #fdf7ec 100%);
}

.jobs-hero-inner {
  max-width: 820px;
}

.jobs-title {
  font-size: clamp(2.1rem, 4.6vw, 3.8rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -.03em;
  margin: .4rem 0 1.25rem;
}

.jobs-lead {
  max-width: 700px;
  margin: 0 auto;
  font-size: clamp(1.05rem, 2vw, 1.22rem);
  line-height: 1.75;
  color: var(--text-mid);
  font-weight: 600;
}

.jobs-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.jobs-actions .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .82rem 1.8rem;
  color: var(--teal-dark);
  background: rgba(255, 255, 255, .75);
  border: 2px solid rgba(27, 123, 156, .2);
  border-radius: 50px;
  font-weight: 800;
  text-decoration: none;
  transition: background .2s, border-color .2s, transform .15s;
}

.jobs-actions .btn-secondary:hover {
  background: var(--white);
  border-color: var(--teal-dark);
  transform: translateY(-2px);
}

/* ─── SECTIES ─────────────────────────────────────────── */
.jobs-section {
  padding: 4.5rem 2rem;
}

.jobs-section.is-tinted {
  background: var(--bg-light);
}

.jobs-section h2 {
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 1rem;
}

.jobs-section p {
  color: var(--text-mid);
  font-weight: 600;
  line-height: 1.75;
}

.jobs-intro {
  max-width: 680px;
  margin-bottom: 2.25rem;
}

/* ─── VACATUREKAARTEN ─────────────────────────────────── */
.jobs-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.job-card {
  display: flex;
  flex-direction: column;
  padding: 2rem 1.75rem 1.75rem;
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: 20px;
  scroll-margin-top: 1.5rem;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}

.job-card:hover,
.job-card:target {
  border-color: var(--teal);
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(25, 48, 61, .1);
}

.job-card-team {
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal);
}

.job-card h3 {
  margin: .5rem 0 .75rem;
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1.25;
}

.job-card p {
  flex: 1;
  font-size: .98rem;
  line-height: 1.65;
  color: var(--text-mid);
  font-weight: 600;
}

.jobs-facts {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: 1.25rem 0 1.5rem;
  list-style: none;
}

.jobs-facts li {
  padding: .3rem .75rem;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: .78rem;
  font-weight: 800;
  color: var(--text-dark);
}

.job-card .btn-card {
  align-self: flex-start;
  padding: .8rem 1.6rem;
}

/* ─── WAAROM ──────────────────────────────────────────── */
.jobs-values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  list-style: none;
}

.jobs-values li {
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 4px solid var(--teal);
  border-radius: 16px;
}

.jobs-values li:nth-child(2) {
  border-top-color: var(--yellow);
}

.jobs-values li:nth-child(3) {
  border-top-color: var(--coral);
}

.jobs-values strong {
  display: block;
  margin-bottom: .4rem;
  font-size: 1.05rem;
  font-weight: 900;
}

.jobs-values span {
  color: var(--text-mid);
  font-weight: 600;
  line-height: 1.65;
  font-size: .96rem;
}

/* ─── SOLLICITATIEFORMULIER ───────────────────────────── */
.jobs-apply {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: 4rem;
  align-items: start;
}

.jobs-apply-contact {
  margin-top: 1.75rem;
  display: grid;
  gap: .4rem;
  font-weight: 800;
}

.jobs-apply-contact a {
  color: var(--teal-dark);
  text-decoration: none;
}

.jobs-apply-contact a:hover {
  text-decoration: underline;
}

.jobs-form {
  display: grid;
  gap: 1.1rem;
  padding: 2rem;
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: 20px;
}

.jobs-form label {
  display: grid;
  gap: .35rem;
  font-size: .9rem;
  font-weight: 800;
  color: var(--text-dark);
}

.jobs-form label small {
  font-weight: 600;
  color: var(--text-mid);
}

.jobs-form input,
.jobs-form select,
.jobs-form textarea {
  width: 100%;
  padding: .8rem 1rem;
  font: inherit;
  font-weight: 600;
  color: var(--text-dark);
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: 12px;
  transition: border-color .2s, box-shadow .2s;
}

.jobs-form textarea {
  min-height: 9rem;
  resize: vertical;
}

.jobs-form input[type="file"] {
  padding: .65rem 1rem;
  background: var(--bg-light);
}

.jobs-form input:focus,
.jobs-form select:focus,
.jobs-form textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(44, 191, 168, .18);
}

.jobs-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
}

.jobs-form .btn-primary {
  justify-content: center;
  border: 0;
  cursor: pointer;
  font-family: inherit;
}

.jobs-form-note {
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-mid);
}

.jobs-form-status {
  padding: .9rem 1.1rem;
  border-radius: 12px;
  font-weight: 700;
  line-height: 1.5;
}

.jobs-form-status[hidden] {
  display: none;
}

.jobs-form-status.is-ok {
  background: #e4f4f1;
  color: #0f5f55;
}

.jobs-form-status.is-error {
  background: #fdecea;
  color: #8f2e24;
}

.jobs-hp {
  position: absolute;
  left: -9999px;
}

/* ─── RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 960px) {
  .jobs-grid,
  .jobs-values,
  .jobs-apply {
    grid-template-columns: 1fr;
  }

  .jobs-apply {
    gap: 2.5rem;
  }
}

@media (max-width: 600px) {
  .jobs-hero {
    padding: 3.5rem 1.25rem 3rem;
  }

  .jobs-section {
    padding: 3.25rem 1.25rem;
  }

  .jobs-form {
    padding: 1.4rem 1.1rem;
  }

  .jobs-form-row {
    grid-template-columns: 1fr;
  }

  .jobs-actions .btn-primary,
  .jobs-actions .btn-secondary {
    width: 100%;
  }
}
