/* Job Orders Page Styles */

/* Hero Section */
.job-orders-hero {
    background: linear-gradient(135deg, #0d5a26 0%, #117331 25%, #1a8f42 50%, #117331 75%, #0d5a26 100%);
    padding: 50px 20px;
    text-align: center;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    position: relative;
    overflow: hidden;
}

.job-orders-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.job-orders-hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.06) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content {
    max-width: 700px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.job-orders-hero .hero-subtitle {
    font-size: clamp(10px, 0.85vw, 12px);
    letter-spacing: 2.5px;
    font-weight: 600;
    margin-bottom: 10px;
    opacity: 0.95;
    text-align: center;
}

.job-orders-hero h1 {
    font-size: clamp(32px, 3.5vw, 42px);
    font-weight: 700;
    margin-bottom: 10px;
    text-align: center;
    line-height: 1.2;
    color: #FFD700;
}

.job-orders-hero .hero-description {
    font-size: clamp(13px, 1vw, 15px);
    opacity: 0.95;
    line-height: 1.6;
    text-align: center;
    max-width: 550px;
    margin: 0 auto;
}

.job-orders-section {
    min-height: calc(100vh - 80px);
    background-color: #f5f5f5;
    padding: 60px 20px;
}

.job-orders-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

/* Job Card */
.job-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.job-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.job-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.job-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.job-category {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: white;
}

.job-category.construction {
    background-color: #FF6B6B;
}

.job-category.healthcare {
    background-color: #4ECDC4;
}

.job-category.hospitality {
    background-color: #FF8C94;
}

.job-category.logistics {
    background-color: #95E1D3;
}

.job-posted {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: rgba(255, 255, 255, 0.95);
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 11px;
    color: #666;
    font-weight: 500;
}

.job-content {
    padding: 20px;
}

.job-title {
    font-size: clamp(18px, 1.5vw, 20px);
    color: #1a1a1a;
    margin-bottom: 5px;
    font-weight: 700;
}

.job-company {
    font-size: clamp(13px, 1vw, 14px);
    color: #666;
    margin-bottom: 15px;
}

.job-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.job-detail {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: clamp(13px, 1vw, 14px);
    color: #333;
}

.job-detail .icon {
    width: 16px;
    height: 16px;
    color: #117331;
}

.job-detail .flag {
    font-size: 18px;
}

.job-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
}

.slots-available {
    font-size: clamp(12px, 1vw, 13px);
    color: #666;
}

.btn-apply {
    background-color: #117331;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-size: clamp(12px, 1vw, 14px);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(17, 115, 49, 0.2);
}

.btn-apply:hover {
    background-color: #0d5a26;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(17, 115, 49, 0.3);
}

/* Responsive */
@media (min-width: 1920px) {
    .job-orders-container {
        max-width: 1600px;
    }
}

@media (max-width: 1200px) {
    .job-orders-container {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .job-orders-section {
        padding: 40px 15px;
    }
    
    .job-orders-header {
        margin-bottom: 35px;
    }
    
    .job-orders-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .job-image {
        height: 180px;
    }
}

@media (max-width: 480px) {
    .job-orders-section {
        padding: 30px 10px;
    }
    
    .job-content {
        padding: 15px;
    }
    
    .job-footer {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }
    
    .btn-apply {
        width: 100%;
    }
}
