/* ============================================
   服务中心页面样式
   ============================================ */

/* 页面横幅 */
.service-banner {
    height: 625px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-top: 80px;
}

.service-banner .banner-content {
    text-align: center;
    margin-bottom: 60px;
    z-index: 2;
}

.service-banner .banner-title {
    font-size: 36px;
    font-weight: 400;
    color: #ffffff;
    margin: 0;
    letter-spacing: 4px;
}

.service-banner .breadcrumb {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
}

/* 主内容区 */
.service-page {
    background: #f8f9fa;
    padding: 60px 0 80px;
}

/* 联系我们区域 */
.contact-section {
    background: #ffffff;
    border-radius: 12px;
    padding: 60px 80px;
    margin-bottom: 40px;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
    align-items: flex-start;
}

/* 左侧：标题和二维码 */
.contact-left {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.contact-header {
    text-align: left;
}

.contact-title {
    font-size: 32px;
    font-weight: 600;
    color: #333333;
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.contact-subtitle {
    font-size: 28px;
    font-weight: 600;
    color: #333333;
    margin: 0;
    line-height: 1.4;
}

/* 二维码区域 */
.qr-code-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

.qr-code-box {
    width: 180px;
    height: 180px;
    padding: 16px;
    background: #ffffff;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.qr-code-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.qr-code-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.qr-code-text {
    margin-top: 16px;
    font-size: 16px;
    color: #666666;
    font-weight: 500;
}

/* 右侧：联系方式卡片 */
.contact-right {
    display: flex;
    align-items: center;
}

.contact-cards {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* 联系卡片 */
.contact-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 28px 32px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact-card:hover {
    background: #ffffff;
    border-color: var(--primary-color);
    box-shadow: 0 6px 20px rgba(27, 81, 190, 0.15);
    transform: translateX(8px);
}

.contact-card:hover::before {
    opacity: 1;
}

/* 卡片图标 */
.card-icon {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #E3F2FD;
    transition: all 0.3s ease;
}

.contact-card:hover .card-icon {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.contact-card:hover .card-icon svg circle {
    fill: #ffffff;
}

.contact-card:hover .card-icon svg path {
    fill: var(--primary-color);
}

/* 卡片内容 */
.card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.card-label {
    font-size: 14px;
    color: #999999;
    font-weight: 500;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-value {
    font-size: 20px;
    color: #333333;
    font-weight: 600;
    margin: 0;
    line-height: 1.5;
}

/* 地址卡片的特殊处理 */
.contact-card:last-child .card-value {
    font-size: 18px;
    line-height: 1.6;
}

/* 地图区域 */
.map-section {
    background: #ffffff;
    border-radius: 0;
    overflow: hidden;
}

.map-container {
    width: 100%;
    height: 450px;
    position: relative;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* 响应式设计 */
@media screen and (max-width: 1200px) {
    .contact-section {
        padding: 50px 60px;
    }

    .contact-layout {
        gap: 60px;
    }
}

@media screen and (max-width: 992px) {
    .service-banner {
        height: 500px;
    }

    .contact-section {
        padding: 40px;
    }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .contact-left {
        gap: 40px;
    }

    .contact-header {
        text-align: center;
    }

    .qr-code-section {
        margin-top: 0;
    }

    .service-banner .banner-title {
        font-size: 32px;
        letter-spacing: 3px;
    }

    .contact-title,
    .contact-subtitle {
        font-size: 26px;
    }
}

@media screen and (max-width: 768px) {
    .service-page {
        padding: 40px 0;
    }

    .contact-section {
        padding: 30px 20px;
        margin-bottom: 30px;
    }

    .service-banner {
        height: 400px;
        margin-top: 70px;
    }

    .service-banner .banner-title {
        font-size: 28px;
        letter-spacing: 2px;
    }

    .contact-title,
    .contact-subtitle {
        font-size: 22px;
    }

    .qr-code-box {
        width: 150px;
        height: 150px;
        padding: 12px;
    }

    .contact-card {
        padding: 20px 24px;
    }

    .card-icon {
        width: 56px;
        height: 56px;
    }

    .card-icon svg {
        width: 36px;
        height: 36px;
    }

    .card-value {
        font-size: 18px;
    }

    .contact-card:last-child .card-value {
        font-size: 16px;
    }

    .map-container {
        height: 350px;
    }
}

@media screen and (max-width: 480px) {
    .service-banner {
        height: 350px;
        margin-top: 65px;
    }

    .service-banner .banner-title {
        font-size: 24px;
        letter-spacing: 2px;
    }

    .contact-title,
    .contact-subtitle {
        font-size: 20px;
    }

    .contact-section {
        padding: 24px 16px;
    }

    .contact-cards {
        gap: 16px;
    }

    .contact-card {
        padding: 16px 20px;
        gap: 16px;
    }

    .card-icon {
        width: 48px;
        height: 48px;
    }

    .card-icon svg {
        width: 32px;
        height: 32px;
    }

    .card-value {
        font-size: 16px;
    }

    .contact-card:last-child .card-value {
        font-size: 14px;
    }

    .qr-code-box {
        width: 130px;
        height: 130px;
    }

    .qr-code-text {
        font-size: 14px;
    }

    .map-container {
        height: 300px;
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-section,
.map-section {
    animation: fadeInUp 0.6s ease-out;
}

.contact-card {
    animation: fadeInUp 0.6s ease-out;
}

.contact-card:nth-child(1) {
    animation-delay: 0.1s;
}

.contact-card:nth-child(2) {
    animation-delay: 0.2s;
}

.contact-card:nth-child(3) {
    animation-delay: 0.3s;
}

/* 招聘页面样式 */
.recruitment-page {
    background: #f8f9fa;
    padding: 60px 0 80px;
}

/* 招聘岗位区域 */
.jobs-section {
    margin-bottom: 60px;
}

.jobs-section .section-title {
    font-size: 28px;
    font-weight: 500;
    color: #333;
    margin-bottom: 40px;
}

.jobs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* 职位卡片 */
.job-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    padding: 30px;
    position: relative;
    transition: all 0.3s;
    cursor: pointer;
}

.job-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* 高亮卡片 */
.job-card.featured {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: #ffffff;
    border: none;
}

.job-card.featured .job-title,
.job-card.featured .job-info p,
.job-card.featured .label {
    color: #ffffff;
}

.job-card.featured .job-arrow {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.2);
}

/* 职位图标 */
.job-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
}

.job-icon svg {
    width: 100%;
    height: 100%;
}

/* 职位标题 */
.job-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
}

/* 职位信息 */
.job-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.job-info p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.job-info .label {
    color: #999;
    font-weight: 500;
}

/* 箭头 */
.job-arrow {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border-radius: 50%;
    font-size: 20px;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.job-card:hover .job-arrow {
    transform: translateX(4px);
}

/* 公司福利区域 */
.benefits-section {
    margin-top: 80px;
}

.benefits-section .section-title {
    font-size: 28px;
    font-weight: 500;
    color: #333;
    margin-bottom: 40px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 30px;
}

.benefit-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.benefit-icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.benefit-item:hover .benefit-icon {
    transform: scale(1.1);
}

.benefit-icon svg {
    width: 100%;
    height: 100%;
}

.benefit-text {
    font-size: 14px;
    color: #333;
    text-align: center;
    font-weight: 500;
    margin: 0;
}

/* 响应式设计 */
@media screen and (max-width: 1200px) {
    .jobs-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .benefits-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media screen and (max-width: 992px) {
    .jobs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .benefits-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }
}

@media screen and (max-width: 768px) {
    .recruitment-page {
        padding: 40px 0;
    }

    .jobs-section,
    .benefits-section {
        margin-bottom: 40px;
    }

    .jobs-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .job-card {
        padding: 24px;
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .benefit-icon {
        width: 60px;
        height: 60px;
    }

    .benefit-text {
        font-size: 13px;
    }
}

@media screen and (max-width: 480px) {
    .job-card {
        padding: 20px;
    }

    .job-title {
        font-size: 18px;
    }

    .job-info p {
        font-size: 13px;
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .benefit-icon {
        width: 48px;
        height: 48px;
    }

    .benefit-text {
        font-size: 12px;
    }
}

/* 打印样式 */
@media print {
    .service-banner,
    .tab-menu,
    .footer,
    .back-to-top {
        display: none;
    }

    .contact-section,
    .recruitment-section {
        box-shadow: none;
        border: 1px solid #e0e0e0;
    }

    .map-section {
        page-break-before: always;
    }
}

