/* 人才招聘页面样式 */

/* 页面标题区域 */
.page-banner {
    background-color: #333;
    padding: 40px 0;
    text-align: center;
}

.page-banner h1 {
    font-size: 48px;
    color: #fff;
    margin-bottom: 20px;
}

.breadcrumb {
    font-size: 16px;
    color: #fff;
    text-align: center;
}

.breadcrumb a {
    color: #fff;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* 招聘理念 */
.recruitment-philosophy {
    padding: 60px 0;
    margin-top: 100px;
    background-color: #fff;
}

.philosophy-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.philosophy-text {
    flex: 0 0 60%;
}

.philosophy-text h2 {
    font-size: 28px;
    color: #333;
    margin-bottom: 25px;
}

.philosophy-text p {
    margin-bottom: 15px;
    line-height: 1.7;
    color: #555;
}

.philosophy-values {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.value-item {
    display: flex;
    align-items: flex-start;
}

.value-icon {
    margin-right: 15px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #f0f8ff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0056b3;
    font-size: 22px;
    flex-shrink: 0;
}

.value-content h4 {
    font-size: 18px;
    margin: 0 0 8px;
    color: #333;
}

.value-content p {
    margin: 0;
    font-size: 14px;
    color: #666;
}

.philosophy-image {
    flex: 0 0 35%;
}

.philosophy-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* 招聘岗位 */
.job-positions {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 32px;
    color: #333;
    margin-bottom: 10px;
}

.section-header p {
    color: #666;
    font-size: 16px;
}

.job-filter {
    margin-bottom: 40px;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.filter-group {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.filter-group:last-child {
    margin-bottom: 0;
}

.filter-label {
    font-weight: 500;
    color: #333;
    margin-right: 15px;
    min-width: 80px;
}

.filter-option {
    padding: 5px 15px;
    background-color: #f5f5f5;
    color: #555;
    border-radius: 20px;
    text-decoration: none;
    margin-right: 10px;
    margin-bottom: 10px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.filter-option:hover {
    background-color: #e5f1ff;
    color: #0056b3;
}

.filter-option.active {
    background-color: #0056b3;
    color: #fff;
}

.job-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.job-item {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.job-header {
    padding: 20px 25px;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.job-header:hover {
    background-color: #f9f9f9;
}

.job-title {
    flex: 1;
}

.job-title h3 {
    margin: 0 0 5px;
    font-size: 18px;
    color: #333;
}

.job-tag {
    display: inline-block;
    padding: 3px 10px;
    background-color: #e5f1ff;
    color: #0056b3;
    border-radius: 4px;
    font-size: 13px;
}

.job-meta {
    display: flex;
    gap: 20px;
    color: #666;
    font-size: 14px;
    margin-right: 20px;
}

.job-meta span {
    display: flex;
    align-items: center;
}

.job-meta i {
    margin-right: 5px;
}

.job-salary {
    color: #ff6b6b;
    font-weight: 500;
    margin-right: 20px;
}

.job-toggle i {
    color: #999;
    transition: transform 0.3s ease;
}

.job-header[aria-expanded="true"] .job-toggle i {
    transform: rotate(180deg);
}

.job-content {
    padding: 0 25px;
    height: 0;
    overflow: hidden;
    transition: height 0.3s ease, padding 0.3s ease;
}

.job-content.show {
    padding: 20px 25px;
    height: auto;
    border-top: 1px solid #eee;
}

.job-description h4 {
    font-size: 16px;
    color: #333;
    margin: 20px 0 10px;
}

.job-description h4:first-child {
    margin-top: 0;
}

.job-description ul {
    margin: 0;
    padding-left: 20px;
}

.job-description li {
    margin-bottom: 8px;
    color: #555;
}

.job-apply {
    margin-top: 25px;
    text-align: right;
}

.btn-primary {
    display: inline-block;
    padding: 10px 25px;
    background-color: #0056b3;
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #003d7a;
}

/* 招聘流程 */
.recruitment-process {
    padding: 80px 0;
    background-color: #fff;
}

.process-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: 50px;
}

.process-steps:before {
    content: '';
    position: absolute;
    top: 45px;
    left: 60px;
    right: 60px;
    height: 3px;
    background-color: #e5f1ff;
    z-index: 1;
}

.process-step {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 16.666%;
}

.step-icon {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background-color: #f0f8ff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    position: relative;
    border: 3px solid #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    color: #0056b3;
    font-size: 32px;
}

.step-number {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 26px;
    height: 26px;
    background-color: #0056b3;
    color: #fff;
    border-radius: 50%;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.process-step h4 {
    font-size: 16px;
    color: #333;
    margin: 0 0 8px;
}

.process-step p {
    font-size: 14px;
    color: #666;
    margin: 0;
    line-height: 1.4;
}

/* 员工福利 */
.employee-benefits {
    padding: 80px 0;
    background-color: #f9f9f9;
}

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

.benefit-card {
    background-color: #fff;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 3px 12px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-10px);
}

.benefit-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: #f0f8ff;
    color: #0056b3;
    font-size: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.benefit-card h4 {
    font-size: 18px;
    color: #333;
    margin: 0 0 12px;
}

.benefit-card p {
    color: #666;
    margin: 0;
    line-height: 1.6;
}

/* 招聘联系 */
.contact-section {
    padding: 80px 0;
    background-color: #fff;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    background-color: #f9f9f9;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.contact-info {
    padding: 40px;
    background-color: #0056b3;
    color: #fff;
}

.contact-info h3 {
    font-size: 24px;
    margin: 0 0 20px;
}

.contact-info p {
    margin-bottom: 25px;
    opacity: 0.9;
}

.contact-details {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
}

.contact-details li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.contact-details i {
    margin-right: 10px;
    margin-top: 3px;
}

.social-media {
    display: flex;
    gap: 15px;
}

.social-media a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.1);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.social-media a:hover {
    background-color: rgba(255,255,255,0.2);
}

.contact-form {
    padding: 40px;
    background-color: #fff;
}

.contact-form h3 {
    font-size: 24px;
    color: #333;
    margin: 0 0 25px;
}

.form-group {
    margin-bottom: 20px;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 15px;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: #0056b3;
    outline: none;
}

.file-upload {
    position: relative;
}

.file-upload label {
    display: block;
    padding: 12px 15px;
    background-color: #f5f5f5;
    border: 1px dashed #ddd;
    border-radius: 5px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.file-upload label:hover {
    background-color: #e5f1ff;
    border-color: #0056b3;
}

.file-upload input[type="file"] {
    position: absolute;
    width: 0;
    height: 0;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

#file-name {
    display: block;
    margin-top: 5px;
    font-size: 14px;
    color: #666;
}

.w-100 {
    width: 100%;
}

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    gap: 5px;
}

.pagination a {
    display: inline-block;
    padding: 8px 16px;
    text-decoration: none;
    color: #555;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.pagination a:hover {
    background-color: #f0f8ff;
    color: #0056b3;
}

.pagination a.active {
    background-color: #0056b3;
    color: white;
}

.pagination a.next {
    display: flex;
    align-items: center;
}

.pagination a.next i {
    margin-left: 5px;
}

/* 响应式调整 */
@media (max-width: 1200px) {
    .process-steps:before {
        left: 30px;
        right: 30px;
    }
}

@media (max-width: 992px) {
    .philosophy-content {
        flex-direction: column;
    }
    
    .philosophy-text {
        flex: 0 0 100%;
        order: 2;
    }
    
    .philosophy-image {
        flex: 0 0 100%;
        order: 1;
        max-width: 500px;
        margin-bottom: 30px;
    }
    
    .process-steps {
        flex-wrap: wrap;
        justify-content: center;
        gap: 30px;
    }
    
    .process-steps:before {
        display: none;
    }
    
    .process-step {
        width: 30%;
    }
    
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-banner h1 {
        font-size: 28px;
    }
    
    .philosophy-values {
        grid-template-columns: 1fr;
    }
    
    .process-step {
        width: 45%;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .job-header {
        flex-wrap: wrap;
    }
    
    .job-title {
        flex: 0 0 100%;
        margin-bottom: 10px;
    }
    
    .job-meta {
        flex: 1;
        flex-wrap: wrap;
        gap: 10px;
        margin-right: 10px;
    }
}

@media (max-width: 576px) {
    .process-step {
        width: 100%;
    }
}

.promotion-section {
    background: #fff;
    padding: 40px 0 30px 0;
    margin-top: 30px;
}
.promotion-img-wrapper img {
    max-width: 700px;
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.growth-section {
    background: #f8f8f8;
    padding: 40px 0 30px 0;
    margin-top: 0;
}
.growth-carousel {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
}
.growth-carousel .carousel-images {
    position: relative;
    width: 100%;
    height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.growth-carousel .carousel-img {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    z-index: 1;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.10);
    transform: translateY(-50%) scale(0.7);
    transition: all 0.6s cubic-bezier(.4,0,.2,1);
    filter: blur(2px) brightness(0.8);
    pointer-events: none;
}
.growth-carousel .carousel-img.active {
    opacity: 1;
    z-index: 2;
    filter: none;
    transform: translateY(-50%) translateX(0) scale(1.08);
    pointer-events: auto;
    box-shadow: 0 4px 24px rgba(42,110,219,0.13);
}
.growth-carousel .carousel-img.prev, .growth-carousel .carousel-img.next {
    opacity: 1;
    z-index: 1;
    filter: blur(2px) brightness(0.8);
    pointer-events: none;
}
.growth-carousel .carousel-img.prev {
    transform: translateY(-50%) translateX(-60%) scale(0.95);
}
.growth-carousel .carousel-img.next {
    transform: translateY(-50%) translateX(60%) scale(0.95);
}
.growth-carousel .carousel-dots {
    text-align: center;
    margin-top: 18px;
}
.growth-carousel .carousel-dots .dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin: 0 5px;
    background: #bbb;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
}
.growth-carousel .carousel-dots .dot.active {
    background: #2a6edb;
}
