/*
 * Vacature pagina - Bakker IJlst
 * /wp-content/themes/charliens/css/vacature.css
 */

.vac-sectie { padding: 80px 0; }

/* ═══════════════ HERO ═══════════════ */
#vac-hero {
    background: linear-gradient(160deg, #014b9a 0%, #1b3699 50%, #0a1628 100%);
    padding: 70px 0 60px;
    overflow: hidden;
}
.vac-hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: center;
}
.vac-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255,255,255,0.15);
    color: white;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 20px;
    margin-bottom: 18px;
}
.vac-badge i { margin-right: 6px; }
#vac-hero h1 {
    color: white;
    font-size: 46px;
    font-weight: 800;
    line-height: 1.12;
    margin: 0 0 20px;
}
.vac-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 22px;
}
.vac-meta-item {
    color: rgba(255,255,255,0.9);
    font-size: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}
.vac-meta-item i { color: #7dd3d5; }
.vac-hero-text, .vac-hero-text p {
    color: rgba(255,255,255,0.8);
    font-size: 16px;
    line-height: 27px;
    margin: 0 0 28px;
}
.vac-hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }
.vac-btn-primary {
    display: inline-block;
    padding: 15px 30px;
    background: white;
    color: #014b9a !important;
    border-radius: 10px;
    font-weight: 800;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
}
.vac-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(0,0,0,0.25); }
.vac-btn-primary i { margin-right: 8px; }
.vac-btn-outline {
    display: inline-block;
    padding: 13px 28px;
    background: transparent;
    color: white !important;
    border: 2px solid rgba(255,255,255,0.5);
    border-radius: 10px;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
}
.vac-btn-outline:hover { background: rgba(255,255,255,0.1); border-color: white; }
.vac-btn-outline i { margin-right: 8px; }
.vac-hero-media img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    display: block;
}

/* ═══════════════ HEADINGS ═══════════════ */
.vac-sectie h5 {
    display: inline-block;
    padding: 5px 14px;
    background: #e8f4f4;
    color: #4e9b9c;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin: 0 0 16px;
}
.vac-sectie h2 {
    font-size: 34px;
    color: #1a1a2e;
    margin: 0 0 18px;
    font-weight: 800;
    line-height: 1.2;
}

/* ═══════════════ INTRO ═══════════════ */
#vac-intro { background: #f8f9fa; }
.vac-intro-inner { max-width: 820px; }
.vac-intro-text, .vac-intro-text p {
    font-size: 17px;
    line-height: 29px;
    color: #555;
    margin: 0 0 14px;
}

/* ═══════════════ WERKZAAMHEDEN (donker) ═══════════════ */
.vac-sectie.donker { background: #0a1628; }
.vac-sectie.donker h5 { background: rgba(78,155,156,0.15); }
.vac-sectie.donker h2 { color: white; }
.vac-sectie.donker p { color: rgba(255,255,255,0.7); font-size: 16px; line-height: 27px; }
.vac-split {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 50px;
    align-items: start;
}
.vac-split-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}
.vac-taak {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
    transition: all 0.3s ease;
}
.vac-taak:hover { background: rgba(255,255,255,0.08); transform: translateX(5px); }
.vac-taak-icon {
    width: 32px; height: 32px; min-width: 32px;
    background: linear-gradient(135deg, #4e9b9c, #3a7d7e);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    color: white; font-size: 13px;
}
.vac-taak span { color: rgba(255,255,255,0.9); font-size: 16px; font-weight: 500; }

/* ═══════════════ WAT WIJ ZOEKEN ═══════════════ */
#vac-zoeken { background: white; }
.vac-zoeken-intro { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.vac-zoeken-intro p { font-size: 16px; line-height: 27px; color: #666; }
.vac-eisen-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    max-width: 900px;
    margin: 0 auto;
}
.vac-eis {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 22px;
    background: #f8f9fa;
    border-radius: 12px;
    position: relative;
    transition: all 0.3s ease;
}
.vac-eis:hover { transform: translateY(-3px); box-shadow: 0 8px 22px rgba(0,0,0,0.06); }
.vac-eis-icon {
    width: 40px; height: 40px; min-width: 40px;
    background: linear-gradient(135deg, #014b9a, #1b3699);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    color: white; font-size: 16px;
}
.vac-eis span { font-size: 15px; color: #1a1a2e; font-weight: 600; flex: 1; }
.vac-eis.is-pre { background: #fef9e7; }
.vac-eis.is-pre .vac-eis-icon { background: linear-gradient(135deg, #d4a017, #b8860b); }
.vac-eis em {
    font-style: normal;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #b8860b;
    background: #fff3cd;
    padding: 3px 8px;
    border-radius: 6px;
}

/* ═══════════════ WAT WIJ BIEDEN (highlight) ═══════════════ */
.vac-sectie.highlight {
    background: linear-gradient(160deg, #014b9a 0%, #1b3699 50%, #0a1628 100%);
}
.vac-sectie.highlight h5 { background: rgba(78,155,156,0.2); color: #7dd3d5; }
.vac-sectie.highlight h2 { color: white; }
.vac-bieden-intro { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.vac-bieden-intro p { font-size: 17px; line-height: 28px; color: rgba(255,255,255,0.8); }
.vac-voorwaarden {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    max-width: 900px;
    margin: 0 auto;
}
.vac-voorwaarde {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 22px;
    background: rgba(255,255,255,0.06);
    border-radius: 12px;
    transition: all 0.3s ease;
}
.vac-voorwaarde:hover { background: rgba(255,255,255,0.1); transform: translateY(-3px); }
.vac-voorwaarde-icon {
    width: 44px; height: 44px; min-width: 44px;
    background: linear-gradient(135deg, #4e9b9c, #3a7d7e);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    color: white; font-size: 18px;
}
.vac-voorwaarde span { color: white; font-size: 15px; font-weight: 600; }

/* ═══════════════ SOLLICITEREN ═══════════════ */
#vac-solliciteer { background: #f8f9fa; }
.vac-sol-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 50px;
    align-items: start;
}
.vac-sol-text, .vac-sol-text p {
    font-size: 16px;
    line-height: 27px;
    color: #555;
    margin: 0 0 24px;
}
.vac-contact-cards { display: flex; flex-direction: column; gap: 14px; }
.vac-contact-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 22px;
    background: white;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 4px 18px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}
.vac-contact-card:hover { transform: translateX(5px); box-shadow: 0 8px 25px rgba(0,0,0,0.08); }
.vac-contact-icon {
    width: 48px; height: 48px; min-width: 48px;
    background: linear-gradient(135deg, #014b9a, #1b3699);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    color: white; font-size: 20px;
}
.vac-contact-card strong { display: block; color: #1a1a2e; font-size: 15px; }
.vac-contact-card span { color: #666; font-size: 14px; }

/* Formulier */
.vac-form-wrap {
    background: white;
    border-radius: 16px;
    padding: 38px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}
.vac-form-header { margin-bottom: 24px; }
.vac-form-header h3 { font-size: 22px; color: #1a1a2e; margin: 0 0 6px; font-weight: 800; }
.vac-form-header p { font-size: 14px; color: #777; margin: 0; }
.vac-field { margin-bottom: 18px; }
.vac-field label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 7px;
}
.vac-field label span { color: #c0392b; }
.vac-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.vac-field-row .vac-field { margin-bottom: 18px; }
.vac-form input[type="text"],
.vac-form input[type="email"],
.vac-form textarea {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid #e0e0e0;
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    color: #1a1a2e;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.vac-form input:focus, .vac-form textarea:focus {
    outline: none;
    border-color: #014b9a;
    box-shadow: 0 0 0 3px rgba(1,75,154,0.1);
}
.vac-form textarea { resize: vertical; }
.vac-form .vac-field-invalid { border-color: #c0392b !important; box-shadow: 0 0 0 3px rgba(192,57,43,0.08) !important; }

/* File upload */
.vac-file { position: relative; }
.vac-file input[type="file"] { position: absolute; width: 0.1px; height: 0.1px; opacity: 0; overflow: hidden; z-index: -1; }
.vac-file-label {
    display: flex !important;
    align-items: center;
    gap: 10px;
    padding: 13px 16px;
    background: #f4f6fa;
    border: 1.5px dashed #c5cfda;
    border-radius: 10px;
    font-size: 14px !important;
    color: #666 !important;
    cursor: pointer;
    font-weight: 500 !important;
    margin-bottom: 0 !important;
    transition: all 0.2s ease;
}
.vac-file-label:hover { border-color: #014b9a; background: #eef3fa; }
.vac-file-label i { color: #014b9a; }

.vac-submit {
    width: 100%;
    padding: 16px;
    background: #014b9a;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 6px;
}
.vac-submit:hover:not(:disabled) { background: #0a3d7a; transform: translateY(-2px); box-shadow: 0 8px 22px rgba(1,75,154,0.28); }
.vac-submit i { margin-right: 8px; }
.vac-submit-loading { display: none; }
.vac-submit.is-loading .vac-submit-text { display: none; }
.vac-submit.is-loading .vac-submit-loading { display: inline; }
.vac-submit:disabled { opacity: 0.75; cursor: default; }

.vac-message {
    display: none;
    margin-top: 18px;
    padding: 15px 18px;
    border-radius: 10px;
    font-size: 15px;
    line-height: 22px;
}
.vac-message i { margin-right: 8px; }
.vac-message-ok { background: #e8f8f0; color: #1e8449; border: 1px solid #abebc6; }
.vac-message-err { background: #fdedec; color: #c0392b; border: 1px solid #f5b7b1; }

/* ═══════════════ RESPONSIVE ═══════════════ */
@media screen and (max-width: 1000px) {
    .vac-hero-grid { grid-template-columns: 1fr; gap: 36px; }
    .vac-hero-media { order: -1; max-width: 480px; }
    .vac-split { grid-template-columns: 1fr; gap: 30px; }
    .vac-sol-grid { grid-template-columns: 1fr; gap: 36px; }
    .vac-voorwaarden { grid-template-columns: 1fr 1fr; }
    #vac-hero h1 { font-size: 36px; }
    .vac-sectie { padding: 60px 0; }
    .vac-sectie h2 { font-size: 28px; }
}
@media screen and (max-width: 600px) {
    .vac-eisen-grid { grid-template-columns: 1fr; }
    .vac-voorwaarden { grid-template-columns: 1fr; }
    .vac-field-row { grid-template-columns: 1fr; gap: 0; }
    .vac-hero-buttons { flex-direction: column; }
    .vac-btn-primary, .vac-btn-outline { text-align: center; }
    .vac-form-wrap { padding: 28px 22px; }
}
