/* === BASE === */
body {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    background: linear-gradient(to bottom, #c2f0f7, #d1eefe);
    margin: 0;
    padding: 30px 15px;
    color: #1f2937;
}

/* === SECTIONS === */
.section {
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
    max-width: 900px;
    margin: 0 auto 40px;
    animation: fadeIn 0.6s ease;
}

h2 {
    font-size: 26px;
    color: #0b4f75;
    margin-bottom: 20px;
    font-weight: 800;
    text-align: center;
}

h3 {
    font-size: 20px;
    margin-top: 20px;
    color: #004b87;
}

p {
    line-height: 1.7;
    margin-bottom: 16px;
}

ul {
    margin-left: 20px;
    list-style: disc;
    color: #444;
}

/* === HEADER NAVIGATION === */
.site-header {
    text-align: center;
    margin-bottom: 20px;
}

.navbar {
    padding: 10px;
}

.nav-link {
    margin: 0 10px;
    color: #004b87;
    font-weight: 600;
    text-decoration: none;
    font-size: 16px;
}

.nav-link:hover {
    text-decoration: underline;
}

/* === FOOTER === */
.site-footer {
    text-align: center;
    padding: 20px;
    font-size: 14px;
    background: #f4f4f4;
    margin-top: 40px;
    border-top: 1px solid #ddd;
}

.footer-links a {
    color: #0066cc;
    text-decoration: none;
    margin: 0 8px;
}

.footer-links a:hover {
    text-decoration: underline;
}

/* === FORMULAIRE DE CONTACT === */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 600px;
    margin: 0 auto;
}

.contact-form label {
    font-weight: bold;
    color: #333;
}

.contact-form input,
.contact-form textarea {
    padding: 10px;
    font-size: 16px;
    border-radius: 8px;
    border: 1px solid #ccc;
    resize: vertical;
}

/* === BOUTONS === */
.cjbutton,
button {
    background-color: #00b7ff;
    color: white;
    padding: 10px 18px;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.cjbutton:hover,
button:hover {
    background-color: #0077aa;
}

/* === SEARCHBOX === */
.cjsearchbox form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-bottom: 10px;
}

.cjsearchbox input[type="text"] {
    flex: 1;
    padding: 10px;
    font-size: 16px;
    border-radius: 8px;
    border: 1px solid #ccc;
}

.cjsearchbox input[type="submit"] {
    background-color: #00b7ff;
    color: white;
    padding: 10px 18px;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
}

.cjsearchbox input[type="submit"]:hover {
    background-color: #0077aa;
}

.cjsearchbox a {
    color: #0b70c9;
    font-size: 14px;
    display: inline-block;
    margin-top: 8px;
}

/* === JOB RESULTS (CARDS) === */
div.cjjob {
    background: #ffffff !important;
    border: 1px solid #e0e0e0 !important;
    border-left: 5px solid #00b7ff !important;
    border-radius: 12px !important;
    padding: 16px 22px !important;
    margin-bottom: 20px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06) !important;
    transition: all 0.2s ease-in-out !important;
}

div.cjjob:hover {
    transform: scale(1.01) !important;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12) !important;
}

div.cjjob p.jobtitle {
    font-size: 18px !important;
    font-weight: bold !important;
    color: #004b87 !important;
    margin: 0 0 8px 0 !important;
}

div.cjjob p {
    font-size: 15px !important;
    line-height: 1.6 !important;
    color: #333 !important;
    margin: 5px 0 !important;
}

div.cjjob a {
    color: #0066cc !important;
    font-weight: bold !important;
    text-decoration: none !important;
}

div.cjjob a:hover {
    text-decoration: underline !important;
}

div.cjjob .company,
div.cjjob .locations,
div.cjjob .site {
    display: block;
    font-size: 14px !important;
    color: #666 !important;
    margin-bottom: 4px !important;
}

/* === PAGE LANGUE === */
.lang-options {
    text-align: center;
    margin-top: 80px;
}

.lang-options h2 {
    font-size: 26px;
    color: #0b4f75;
    margin-bottom: 40px;
}

.lang-options span {
    font-size: 18px;
    color: #555;
}

.lang-options .buttons {
    margin-top: 20px;
}

.lang-options .cjbutton {
    padding: 14px 28px;
    margin: 15px;
    font-size: 18px;
}

/* === ANIMATION === */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* === RESPONSIVE === */
@media (max-width: 600px) {
    h2 {
        font-size: 22px;
    }

    .section {
        padding: 20px;
    }

    .cjsearchbox form {
        flex-direction: column;
        align-items: stretch;
    }

    #langSelector,
    .cjbutton {
        width: 100%;
    }

    .lang-options h2 {
        font-size: 22px;
    }

    .lang-options .cjbutton {
        font-size: 16px;
    }

    .nav-link {
        display: block;
        margin: 5px 0;
    }
}

/* === RESPONSIVE DESIGN MOBILE === */
@media screen and (max-width: 768px) {
    body {
        padding: 15px;
    }

    h2 {
        font-size: 20px;
        text-align: center;
    }

    h3 {
        font-size: 18px;
    }

    .section {
        padding: 20px;
        margin: 15px auto;
        box-shadow: none;
    }

    .cjsearchbox form {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .cjsearchbox input[type="text"],
    .cjsearchbox input[type="submit"],
    .cjbutton,
    button {
        width: 100%;
        font-size: 16px;
    }

    .contact-form {
        padding: 0 10px;
    }

    .contact-form input,
    .contact-form textarea {
        font-size: 16px;
    }

    .lang-options .buttons {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .nav-link {
        display: block;
        margin: 6px 0;
        text-align: center;
    }

    .footer-links {
        display: flex;
        flex-direction: column;
        gap: 5px;
        margin-top: 10px;
    }

    div.cjjob {
        padding: 14px;
        border-left: 4px solid #00b7ff;
    }

    div.cjjob p.jobtitle {
        font-size: 16px !important;
    }

    div.cjjob p {
        font-size: 14px !important;
    }
}