/* ==================== 职位列表页面特有样式 ==================== */

/* Hero Section */
.hero {
    background: url('images/header_bg.jpg') center center / cover no-repeat;
    color: white;
    padding: 200px 0 140px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(80, 80, 80, 0.3) 0%, rgba(90, 90, 90, 0.3) 50%, rgba(100, 100, 100, 0.3) 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="3" fill="rgba(255,255,255,0.08)"/><circle cx="40" cy="80" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="90" cy="90" r="1.5" fill="rgba(255,255,255,0.06)"/></svg>');
    background-size: 200px 200px;
}

.hero-header {
    position: absolute;
    top: 0;
    left: 40px;
    right: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    z-index: 3;
}

.hero-logo {
    height: 90px;
    width: auto;
}

.hero-nav {
    display: flex;
    gap: 24px;
}

.hero-nav-item {
    padding: 8px 20px;
    background-color: transparent;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.hero-nav-item:hover {
    background-color: rgba(26, 95, 180, 0.8);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.375rem;
    opacity: 0.9;
    margin-bottom: 40px;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.hero-cta .btn-secondary {
    color: white;
    border-color: rgba(255, 255, 255, 0.5);
}

.hero-cta .btn-secondary:hover {
    background-color: white;
    color: var(--primary-color);
    border-color: white;
}

/* 招聘板块 */
.jobs-section {
    padding: 100px 0;
    background-color: white;
}

/* 筛选栏 */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    padding: 24px;
    background-color: var(--bg-secondary);
    border-radius: var(--radius);
    margin-bottom: 32px;
}

.filter-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-item label {
    font-weight: 500;
    color: var(--text-secondary);
    white-space: nowrap;
    font-size: 0.9375rem;
}

.filter-item select {
    padding: 10px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    background-color: white;
    font-size: 0.9375rem;
    cursor: pointer;
    min-width: 140px;
}

.search-box {
    display: flex;
    gap: 12px;
    flex: 1;
    min-width: 280px;
}

.search-box input {
    flex: 1;
    padding: 12px 18px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 0.9375rem;
}

.search-box input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.search-box button {
    padding: 12px 28px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.search-box button:hover {
    background-color: var(--primary-dark);
}

/* 职位列表 */
.jobs-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.job-card {
    background-color: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 28px;
    cursor: pointer;
    transition: var(--transition);
}

.job-card:hover {
    box-shadow: var(--shadow);
    border-color: var(--primary-color);
    transform: translateX(4px);
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.job-title {
    font-size: 1.25rem;
    color: var(--text-primary);
    font-weight: 600;
}

.job-title a {
    color: inherit;
    text-decoration: none;
}

.job-title a:hover {
    color: var(--primary-color);
}

.job-type {
    display: inline-block;
    padding: 6px 14px;
    background-color: var(--accent-light);
    color: var(--accent-color);
    border-radius: 20px;
    font-size: 0.8125rem;
    font-weight: 600;
}

.job-info {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 16px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

.job-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.publish-date {
    font-size: 0.875rem;
    color: var(--text-light);
}

.btn-view {
    padding: 8px 20px;
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    border-radius: var(--radius);
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.btn-view:hover {
    background-color: var(--primary-color);
    color: white;
}

.btn-apply {
    padding: 8px 20px;
    background-color: var(--primary-color);
    color: white;
    border: 1px solid var(--primary-color);
    border-radius: var(--radius);
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    margin-right: 8px;
}

.btn-apply:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(26, 95, 180, 0.3);
}

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 40px;
}

.page-btn {
    padding: 10px 16px;
    border: 1px solid var(--border-color);
    background-color: white;
    border-radius: var(--radius);
    cursor: pointer;
    font-size: 0.875rem;
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
}

.page-btn:hover:not(.active):not(.disabled) {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.page-btn.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.page-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* 联系区域 */
.contact {
    padding: 100px 0;
    background-color: var(--bg-secondary);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.contact-card {
    background-color: white;
    padding: 40px 32px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.contact-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.contact-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.contact-card p {
    font-size: 1.0625rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 8px;
}

.contact-card span {
    font-size: 0.875rem;
    color: var(--text-light);
}

/* 空状态 */
.empty-state {
    text-align: center;
    padding: 80px 24px;
    color: var(--text-secondary);
}

.empty-icon {
    font-size: 5rem;
    margin-bottom: 24px;
}

.empty-state h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: var(--text-primary);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.25rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .filter-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .search-box {
        min-width: auto;
    }

    .job-header {
        flex-direction: column;
        gap: 12px;
    }

    .job-info {
        flex-direction: column;
        gap: 8px;
    }

    .job-meta {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}