/* Jobs Page Styles */

/* Job Opportunities Section */
.job-opportunities {
    padding: 80px 0;
    background-color: #faf9f7;
}

.job-opportunities .section-title {
    font-size: 4rem;
    font-weight: 900;
    color: #000;
    margin-bottom: 20px;
    text-align: center;
    font-family: 'Josefin Sans', sans-serif;
}

.intro-text {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #666;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

/* Jobs Grid */
.jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.job-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.job-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.job-header {
    background: orangered;
    color: white;
    padding: 25px;
    text-align: center;
}

.job-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 10px;
    font-family: 'Josefin Sans', sans-serif;
}

.job-type {
    font-size: 0.9rem;
    font-weight: 400;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.job-content {
    padding: 30px;
}

.job-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 20px;
}

.job-requirements {
    list-style: none;
    padding: 0;
    margin: 20px 0 30px;
}

.job-requirements li {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.job-requirements li::before {
    content: "✓";
    color: orangered;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.job-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.pay-rate {
    font-size: 1.3rem;
    font-weight: 700;
    color: orangered;
}

.schedule {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

/* Why Join Section */
.why-join-section {
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.why-join-section h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 30px;
    text-align: center;
    font-family: 'Josefin Sans', sans-serif;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.benefit-item {
    text-align: center;
    padding: 20px;
}

.benefit-item h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: orangered;
    margin-bottom: 15px;
    font-family: 'Josefin Sans', sans-serif;
}

.benefit-item p {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .job-opportunities .section-title {
        font-size: 2.5rem;
    }
    
    .jobs-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .job-header {
        padding: 20px;
    }
    
    .job-content {
        padding: 25px;
    }
    
    .why-join-section {
        padding: 30px 20px;
    }
    
    .why-join-section h3 {
        font-size: 2rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .job-opportunities .section-title {
        font-size: 2rem;
    }
    
    .intro-text {
        font-size: 1.1rem;
        padding: 0 20px;
    }
    
    .job-details {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
}

/* Current Opportunities Section */
.current-opportunities {
    padding: 80px 0;
    background-color: white;
}

.opportunities-title {
    font-size: 3rem;
    font-weight: 700;
    color: #333;
    text-align: center;
    margin-bottom: 10px;
    font-family: 'Josefin Sans', sans-serif;
}

.opportunities-subtitle {
    font-size: 1.2rem;
    color: #666;
    text-align: center;
    margin-bottom: 50px;
}

.opportunities-table-wrapper {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    overflow: hidden;
    overflow-x: auto;
}

.opportunities-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
}

.opportunities-table thead {
    background-color: #333;
    color: white;
}

.opportunities-table th {
    padding: 20px 15px;
    text-align: left;
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.opportunities-table tbody tr {
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.3s ease;
}

.opportunities-table tbody tr:hover {
    background-color: #f8f8f8;
}

.opportunities-table tbody tr:last-child {
    border-bottom: none;
}

.opportunities-table td {
    padding: 18px 15px;
    font-size: 0.95rem;
    color: #555;
    line-height: 1.4;
}

.opportunities-table td:first-child {
    font-weight: 500;
    color: #333;
}

.opportunities-table td:last-child {
    font-weight: 700;
    color: orangered;
    font-size: 1rem;
}

/* Responsive table */
@media (max-width: 768px) {
    .opportunities-title {
        font-size: 2rem;
    }
    
    .opportunities-table-wrapper {
        margin: 0 -20px;
        border-radius: 0;
    }
    
    .opportunities-table th,
    .opportunities-table td {
        padding: 12px 10px;
        font-size: 0.85rem;
    }
    
    .opportunities-table th {
        font-size: 0.8rem;
    }
}

/* Why Work Section */
.why-work-section {
    padding: 100px 0;
    background-color: #f8f9fa;
}

.why-work-title {
    font-size: 3rem;
    font-weight: 700;
    color: #333;
    text-align: center;
    margin-bottom: 60px;
    font-family: 'Josefin Sans', sans-serif;
}

.benefits-masonry {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(4, 120px);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.benefit-box {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.benefit-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.benefit-box h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 12px;
    font-family: 'Josefin Sans', sans-serif;
}

.benefit-box p {
    font-size: 1rem;
    line-height: 1.5;
    color: #666;
    margin: 0;
}

/* Grid positioning for masonry layout */
.benefit-large {
    grid-column: span 3;
    grid-row: span 2;
}

.benefit-medium {
    grid-column: span 2;
    grid-row: span 2;
}

.benefit-small {
    grid-column: span 2;
    grid-row: span 1;
}

/* Specific positioning */
.benefit-box:nth-child(1) { /* Competitive Pay - large */
    grid-column: 1 / 4;
    grid-row: 1 / 3;
}

.benefit-box:nth-child(2) { /* Flexible Hours - medium */
    grid-column: 4 / 6;
    grid-row: 1 / 3;
}

.benefit-box:nth-child(3) { /* Professional Development - medium */
    grid-column: 6 / 7;
    grid-row: 1 / 3;
}

.benefit-box:nth-child(4) { /* Amazing Team - small */
    grid-column: 1 / 3;
    grid-row: 3 / 4;
}

.benefit-box:nth-child(5) { /* Great Location - medium */
    grid-column: 3 / 5;
    grid-row: 3 / 4;
}

.benefit-box:nth-child(6) { /* Variety & Growth - large */
    grid-column: 1 / 4;
    grid-row: 4 / 6;
}

/* Responsive design */
@media (max-width: 1024px) {
    .benefits-masonry {
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: repeat(6, 120px);
    }
    
    .benefit-box:nth-child(1) {
        grid-column: 1 / 3;
        grid-row: 1 / 3;
    }
    
    .benefit-box:nth-child(2) {
        grid-column: 3 / 5;
        grid-row: 1 / 2;
    }
    
    .benefit-box:nth-child(3) {
        grid-column: 3 / 5;
        grid-row: 2 / 3;
    }
    
    .benefit-box:nth-child(4) {
        grid-column: 1 / 3;
        grid-row: 3 / 4;
    }
    
    .benefit-box:nth-child(5) {
        grid-column: 3 / 5;
        grid-row: 3 / 4;
    }
    
    .benefit-box:nth-child(6) {
        grid-column: 1 / 5;
        grid-row: 4 / 6;
    }
}

@media (max-width: 768px) {
    .why-work-title {
        font-size: 2.2rem;
    }
    
    .benefits-masonry {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 15px;
    }
    
    .benefit-box {
        grid-column: 1 !important;
        grid-row: auto !important;
        padding: 20px;
    }
    
    .benefit-box h3 {
        font-size: 1.2rem;
    }
    
    .benefit-box p {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .why-work-title {
        font-size: 1.8rem;
    }
    
    .benefit-box {
        padding: 18px;
    }
}

/* Application Form Section */
.application-form-section {
    padding: 100px 0;
    background-color: white;
}

.form-title {
    font-size: 3rem;
    font-weight: 700;
    color: #333;
    text-align: center;
    margin-bottom: 15px;
    font-family: 'Josefin Sans', sans-serif;
}

.form-subtitle {
    font-size: 1.2rem;
    color: #666;
    text-align: center;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: #f8f9fa;
    border-radius: 12px;
    padding: 50px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.application-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    font-size: 1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: white;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: orangered;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999;
}

.submit-application-btn {
    background-color: #F4B942;
    color: #333;
    padding: 18px 40px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 20px;
    width: 100%;
}

.submit-application-btn:hover {
    background-color: #E6A635;
}

/* Responsive form design */
@media (max-width: 768px) {
    .form-title {
        font-size: 2.2rem;
    }
    
    .form-container {
        padding: 35px 25px;
        margin: 0 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .application-form {
        gap: 20px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px;
    }
}

@media (max-width: 480px) {
    .form-title {
        font-size: 1.8rem;
    }
    
    .form-container {
        padding: 25px 20px;
    }
    
    .form-group label {
        font-size: 0.95rem;
    }
}