/* ==========================================================
   Vacaturepagina – BTI Service
   Bouwt verder op style.css / style-ultra-modern.css
   ========================================================== */

/* style-ultra-modern.css herdefinieert --primary als gradient; eigen variabelen gebruiken */
:root {
  --bti-orange: #ff6b35;
  --bti-orange-dark: #f7931e;
  --bti-grad: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
}

/* ---------- Hero ---------- */
.vacature-hero {
  min-height: auto;
  padding-bottom: 4rem;
}
.vacature-hero .hero-photo {
  position: absolute;
  inset: 0;
  background: url("../images/ketel/ketel1.jpeg") center/cover no-repeat;
  opacity: 0.18;
  mix-blend-mode: luminosity;
}
.vacature-hero .hero-title {
  font-size: clamp(2.1rem, 5.5vw, 3.6rem);
}
.vacature-hero .hero-title small {
  display: block;
  font-size: 0.5em;
  font-weight: 600;
  opacity: 0.92;
  margin-top: 0.35rem;
}
.vacature-hero .hero-description {
  max-width: 560px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.25rem;
}
.btn-hero-primary,
.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 52px;
  padding: 0.85rem 1.6rem;
  border-radius: 0.85rem;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: var(--transition);
}
.vacature-hero .hero-content .btn-hero-primary,
.vacature-hero .hero-content .btn-hero-primary:hover,
.vacature-hero .hero-content .btn-hero-primary i {
  color: var(--bti-orange) !important;
}
.btn-hero-primary {
  background: #fff;
  color: var(--bti-orange) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}
.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
  text-decoration: none;
}
.btn-hero-secondary {
  color: #fff !important;
  border: 2px solid rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.08);
}
.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.18);
  text-decoration: none;
}
/* Pluspunten (glas-kaartjes) */
.hero-perks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.hero-perks li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 1rem;
  padding: 0.7rem 1rem;
  color: #fff;
}
.hero-perks .perk-icon {
  width: 40px;
  height: 40px;
  border-radius: 0.7rem;
  background: rgba(255, 255, 255, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.hero-perks b {
  display: block;
  font-size: 0.98rem;
  line-height: 1.2;
}
.hero-perks span {
  display: block;
  font-size: 0.8rem;
  opacity: 0.9;
  line-height: 1.25;
}

/* Nav-knop: de site-brede regel maakt hem wit op wit; op deze pagina oranje */
#navbar .btn-solid-border {
  color: var(--bti-orange);
  border-color: var(--bti-orange);
  background: transparent;
}
#navbar .btn-solid-border:hover {
  background: var(--bti-orange);
  color: #fff;
}

/* Kaart rechts in de hero */
.apply-card {
  text-align: left;
  max-width: 360px;
  animation: float 6s ease-in-out infinite;
}
.apply-card .card-icon {
  width: 64px;
  height: 64px;
  background: var(--bti-grad);
  margin: 0 0 1.25rem;
  font-size: 1.6rem !important;
}
.apply-card h4 {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}
.apply-card p {
  margin-bottom: 1.25rem;
}
.apply-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}
.apply-card li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  color: var(--gray-700);
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}
.apply-card li i {
  color: var(--bti-orange);
  margin-top: 0.25rem;
}
.apply-card .card-btn {
  width: 100%;
  justify-content: center;
}

/* ---------- Secties ---------- */
.vacature-section {
  padding: 5rem 0;
}
.vacature-section.alt {
  background: linear-gradient(180deg, var(--gray-50) 0%, #fff 100%);
}
.section-eyebrow {
  display: inline-block;
  background: var(--bti-grad);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.4rem 0.9rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}
.vacature-section .section-title {
  margin-bottom: 1.75rem;
}
.vacature-section .section-subtitle {
  max-width: 640px;
  margin: 0 auto 3rem;
  color: var(--gray-500);
  font-size: 1.1rem;
}

/* Kaarten: job / profiel / aanbod */
.job-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 1.5rem;
  padding: 2.25rem 2rem;
  height: 100%;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.06);
  transition: var(--transition);
}
.job-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.15);
  border-color: var(--primary-light);
}
.job-card .card-icon {
  width: 60px;
  height: 60px;
  margin: 0 0 1.25rem;
  border-radius: 1rem;
  background: var(--bti-grad);
  font-size: 1.5rem !important;
}
.job-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}
.job-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.job-card li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.65rem;
  color: var(--gray-700);
  line-height: 1.55;
}
.job-card li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free", "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 0.15rem;
  color: var(--bti-orange);
  font-size: 0.85rem;
}
.job-card.highlight {
  background: var(--bti-grad);
  border: none;
  color: #fff;
}
.job-card.highlight h3,
.job-card.highlight li {
  color: #fff;
}
.job-card.highlight .card-icon {
  background: rgba(255, 255, 255, 0.2);
}
.job-card.highlight li::before {
  color: #fff;
}

/* Stappen */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}
.step {
  position: relative;
  background: #fff;
  border-radius: 1.25rem;
  padding: 2rem 1.75rem 1.75rem;
  border: 1px solid var(--gray-200);
  box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bti-grad);
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}
.step h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}
.step p {
  margin: 0;
  color: var(--gray-600);
  font-size: 0.97rem;
}

/* ---------- Sollicitatie ---------- */
.apply-section {
  padding: 5rem 0;
  background: #fff;
}
.apply-intro .section-title {
  text-align: left;
  margin-bottom: 1.75rem;
}
.apply-intro .section-title::after {
  left: 0;
  transform: none;
}
.apply-intro p {
  color: var(--gray-600);
  font-size: 1.05rem;
}
.direct-contact {
  margin-top: 2rem;
  padding: 1.75rem;
  border-radius: 1.5rem;
  background: var(--bti-grad);
  color: #fff;
  box-shadow: 0 15px 35px -10px rgba(255, 107, 53, 0.45);
}
.direct-contact strong {
  display: block;
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}
.direct-contact a {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: #fff !important;
  font-weight: 600;
  font-size: 1.05rem;
  text-decoration: none;
  padding: 0.35rem 0;
}
.direct-contact a:hover {
  text-decoration: underline;
}
.direct-contact small {
  display: block;
  opacity: 0.85;
  margin-top: 0.75rem;
  font-size: 0.85rem;
}

.form-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 1.5rem;
  padding: 2.25rem;
}
.apply-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem 1.25rem;
}
.apply-form .field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin: 0;
  min-width: 0;
}
.apply-form .full {
  grid-column: 1 / -1;
}
.apply-form label,
.apply-form legend {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--gray-800);
  margin: 0;
}
.apply-form .req {
  color: var(--bti-orange);
}
.apply-form input[type="text"],
.apply-form input[type="email"],
.apply-form input[type="tel"],
.apply-form input[type="date"],
.apply-form select,
.apply-form textarea {
  width: 100%;
  min-height: 50px;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-family: inherit;
  color: var(--gray-800);
  background: #fff;
  border: 2px solid var(--gray-200);
  border-radius: 0.75rem;
  transition: var(--transition);
  -webkit-appearance: none;
  appearance: none;
}
.apply-form select {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%2364748b' viewBox='0 0 16 16'%3E%3Cpath d='M1.5 5.5l6.5 6 6.5-6' stroke='%2364748b' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}
.apply-form textarea {
  min-height: 120px;
  resize: vertical;
}
.apply-form input:focus,
.apply-form select:focus,
.apply-form textarea:focus {
  outline: none;
  border-color: var(--bti-orange);
  box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.18);
}
.apply-form input:user-invalid,
.apply-form select:user-invalid {
  border-color: #dc2626;
}
.apply-form fieldset {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}
.choices {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.25rem;
}
.choices label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 46px;
  padding: 0.5rem 1rem;
  background: #fff;
  border: 2px solid var(--gray-200);
  border-radius: 50px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}
.choices label:hover {
  border-color: var(--bti-orange);
}
.choices label:has(input:checked) {
  border-color: var(--bti-orange);
  background: var(--primary-light);
  color: var(--bti-orange);
  font-weight: 600;
}
.choices input,
.consent input {
  accent-color: var(--bti-orange);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin: 0;
}
.hint {
  font-size: 0.82rem;
  color: var(--gray-500);
}
.file-input {
  position: relative;
}
.file-input input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
.file-input .file-label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 50px;
  padding: 0.75rem 1rem;
  background: #fff;
  border: 2px dashed var(--gray-300);
  border-radius: 0.75rem;
  color: var(--gray-500);
  font-weight: 500;
  transition: var(--transition);
  margin: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.file-input .file-label i {
  color: var(--bti-orange);
}
.file-input:hover .file-label,
.file-input input:focus-visible + .file-label {
  border-color: var(--bti-orange);
}
.file-input.has-file .file-label {
  border-style: solid;
  border-color: var(--bti-orange);
  color: var(--gray-800);
}
.consent {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--gray-600);
  cursor: pointer;
}
.consent input {
  margin-top: 0.2rem;
}
.consent a {
  color: var(--bti-orange);
  text-decoration: underline;
}
.btn-submit {
  width: 100%;
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: var(--bti-grad);
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  border: none;
  border-radius: 0.85rem;
  box-shadow: 0 10px 25px rgba(255, 107, 53, 0.35);
  cursor: pointer;
  transition: var(--transition);
}
.btn-submit:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(255, 107, 53, 0.45);
}
.btn-submit:disabled {
  opacity: 0.7;
  cursor: wait;
}
.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-message {
  display: none;
  border-radius: 1rem;
  padding: 1.25rem 1.5rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  line-height: 1.5;
}
.form-message.show {
  display: block;
}
.form-message.success {
  background: #ecfdf3;
  border: 2px solid #a7e3be;
  color: #14532d;
}
.form-message.error {
  background: #fef2f2;
  border: 2px solid #fecaca;
  color: #7f1d1d;
}
.form-message i {
  margin-right: 0.5rem;
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 780px;
  margin: 0 auto;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 1rem;
  margin-bottom: 0.85rem;
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.15rem 1.5rem;
  font-weight: 600;
  color: var(--gray-800);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: "\f078";
  font-family: "Font Awesome 6 Free", "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 0.8rem;
  color: var(--bti-orange);
  transition: transform 0.25s ease;
}
.faq-item[open] summary::after {
  transform: rotate(180deg);
}
.faq-item p {
  margin: 0;
  padding: 0 1.5rem 1.25rem;
  color: var(--gray-600);
}

/* ---------- Mobiele actiebalk ---------- */
.quick-actions-mobile .quick-action-btn.apply {
  color: #fff;
  background: var(--bti-grad);
  border-right: none;
}
.quick-actions-mobile .quick-action-btn i {
  font-size: 1.1rem;
  margin-bottom: 0.2rem;
}
.quick-actions-mobile .quick-action-btn span {
  font-size: 0.75rem;
  font-weight: 600;
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
  .vacature-hero {
    text-align: left;
    padding-top: 110px;
  }
  .vacature-hero .hero-visual {
    height: auto;
    margin-top: 2.5rem;
  }
  .apply-card {
    max-width: 100%;
    animation: none;
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .apply-intro {
    margin-bottom: 2rem;
  }
  body.has-quick-actions {
    padding-bottom: 72px;
  }
}
@media (max-width: 767.98px) {
  .vacature-section,
  .apply-section {
    padding: 3.5rem 0;
  }
  .hero-perks li {
    flex: 1 1 100%;
  }
  .hero-actions a {
    flex: 1 1 100%;
  }
  .job-card {
    padding: 1.75rem 1.5rem;
  }
}
@media (max-width: 575.98px) {
  .apply-form {
    grid-template-columns: 1fr;
  }
  .form-card {
    padding: 1.5rem 1.15rem;
    border-radius: 1.15rem;
  }
  .choices label {
    flex: 1 1 auto;
    justify-content: center;
  }
}
@media (prefers-reduced-motion: reduce) {
  .apply-card,
  .job-card,
  .btn-submit,
  .btn-hero-primary {
    animation: none;
    transition: none;
  }
}
