/* =========================================
   JOBS PAGE STYLES
========================================= */

/* --- Hero Section --- */
.jobs-hero {
    position: relative;
    height: 80vh;
    min-height: 600px;
    background-image: url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    padding-top: 180px;
    text-align: center;
}

/* Dark Overlay */
.jobs-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(17, 24, 39, 0.7);
    z-index: 1;
}

.jobs-hero__content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

.jobs-hero__title {
    font-size: 72px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 24px;
    position: relative;
    display: inline-block;
}

/* Underline SVG */
.jobs-hero__underline {
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 20px;
    pointer-events: none;
}

.jobs-hero__underline path {
    stroke: #967259;
    /* Kudos Brown */
    stroke-width: 4;
    stroke-linecap: round;
    fill: none;
}

.jobs-hero__subtitle {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
    max-width: 500px;
}

.btn-jobs {
    display: inline-block;
    background-color: #967259;
    color: white;
    font-weight: 700;
    padding: 16px 32px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-jobs:hover {
    background-color: #755541;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* --- Job Listings Section --- */
.jobs-section {
    padding: 100px 0;
    background-color: #EEF2F6;
}

.jobs-section__title {
    font-size: 42px;
    font-weight: 800;
    color: #1F2937;
    margin-bottom: 60px;
}

.jobs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

/* Job Card */
.job-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

.job-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.job-card__image {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.job-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.job-card:hover .job-card__image img {
    transform: scale(1.05);
}

.job-card__content {
    padding: 32px;
}

.job-card__title {
    font-size: 24px;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 16px;
}

.job-card__description {
    font-size: 15px;
    line-height: 1.7;
    color: #4B5563;
    margin-bottom: 24px;
}

.btn-job {
    display: inline-block;
    background-color: #0F172A;
    /* Dark navy */
    color: white;
    font-weight: 700;
    padding: 14px 28px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-job:hover {
    background-color: #967259;
    /* Kudos Brown on hover */
    transform: translateY(-2px);
}

/* --- Spontaneous Application Section --- */
.spontaneous-section {
    padding: 100px 0;
    background-color: #F9FAFB;
}

.spontaneous-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.spontaneous-text h2 {
    font-size: 36px;
    font-weight: 800;
    color: #1F2937;
    margin-bottom: 24px;
}

.spontaneous-text p {
    font-size: 16px;
    line-height: 1.7;
    color: #4B5563;
    margin-bottom: 32px;
}

.spontaneous-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.spontaneous-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* --- Why Join Section --- */
.why-join-section {
    padding: 100px 0;
    background-color: #967259;
    /* Kudos Brown */
    color: white;
}

.why-join-section .section__title {
    color: white;
    text-align: center;
    margin-bottom: 60px;
}

.why-join-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.why-join-item {
    text-align: center;
}

.why-join-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: white;
}

.why-join-icon svg {
    width: 28px;
    height: 28px;
}

.why-join-item h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
}

.why-join-item p {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
}

/* Responsive */
@media (max-width: 992px) {
    .jobs-grid {
        grid-template-columns: 1fr;
    }

    .spontaneous-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .why-join-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .jobs-hero__title {
        font-size: 56px;
    }
}

@media (max-width: 768px) {
    .why-join-grid {
        grid-template-columns: 1fr;
    }

    .jobs-hero__title {
        font-size: 48px;
    }

    .jobs-section__title {
        font-size: 32px;
    }
}

/* =========================================
   JOB DETAIL PAGE STYLES
========================================= */

.job-detail-section {
    padding: 80px 0;
    background-color: #F9FAFB;
}

.job-detail-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: start;
}

.job-detail-main {
    background: white;
    border-radius: 12px;
    padding: 48px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.job-detail-block {
    margin-bottom: 40px;
}

.job-detail-block:last-child {
    margin-bottom: 0;
}

.job-detail-block h2 {
    font-size: 24px;
    font-weight: 700;
    color: #967259;
    /* Kudos Brown */
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #E5E7EB;
}

.job-detail-block p {
    font-size: 16px;
    line-height: 1.8;
    color: #4B5563;
    margin-bottom: 16px;
}

.job-detail-block ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.job-detail-block ul li {
    font-size: 16px;
    line-height: 1.8;
    color: #4B5563;
    padding-left: 28px;
    position: relative;
    margin-bottom: 12px;
}

.job-detail-block ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    background-color: #967259;
    border-radius: 50%;
}

/* Sidebar */
.job-detail-sidebar {
    position: sticky;
    top: 140px;
}

.job-sidebar-card {
    background: #0F172A;
    border-radius: 12px;
    padding: 40px;
    color: white;
    text-align: center;
}

.job-sidebar-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
}

.job-sidebar-card p {
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 24px;
}

.btn-apply {
    display: inline-block;
    width: 100%;
    background-color: #967259;
    color: white;
    font-weight: 700;
    padding: 18px 32px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-apply:hover {
    background-color: #755541;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.job-sidebar-info {
    background: white;
    border-radius: 12px;
    padding: 32px;
    margin-top: 24px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.job-sidebar-info h4 {
    font-size: 18px;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 20px;
}

.job-info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}

.job-info-item:last-child {
    margin-bottom: 0;
}

.job-info-icon {
    width: 20px;
    height: 20px;
    color: #967259;
    flex-shrink: 0;
    margin-top: 2px;
}

.job-info-item span {
    font-size: 15px;
    color: #4B5563;
    line-height: 1.4;
}

.job-info-item strong {
    color: #1F2937;
}

/* Back link */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #967259;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    margin-bottom: 32px;
    transition: color 0.3s;
}

.back-link:hover {
    color: #755541;
}

.back-link svg {
    width: 20px;
    height: 20px;
}

/* Responsive */
@media (max-width: 992px) {
    .job-detail-container {
        grid-template-columns: 1fr;
    }

    .job-detail-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .job-detail-main {
        padding: 32px 24px;
    }
}