
       /* 全局样式 */
:root {
    --primary-color: #c62828;
    --secondary-color: #2c3e50;
    --accent-color: #e53935;
    --text-color: #333;
    --light-text: #666;
    --background-color: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
    color: #333;
    line-height: 1.6;
}

/* 导航栏样式 - 红色背景 */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: var(--primary-color);
    box-shadow: 0 2px 15px rgba(0,0,0,0.2);
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.menu-button {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    display: none;
    padding: 10px;
    transition: transform 0.3s;
}

.menu-button:hover {
    transform: scale(1.1);
}

.navbar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex: 1;
}

.navbar a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 18px 20px;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 16px;
    position: relative;
    overflow: hidden;
}

.navbar a:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: white;
    transition: width 0.3s ease;
}

.navbar a:hover:before,
.navbar a[aria-current="page"]:before {
    width: 100%;
}

.navbar a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.navbar a[aria-current="page"] {
    background-color: rgba(255, 255, 255, 0.15);
    font-weight: 600;
}

/* 主要内容区域 */
.career-section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.career-image {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.career-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.career-image:hover img {
    transform: scale(1.05);
}

.career-text h1 {
    color: var(--secondary-color);
    margin-bottom: 25px;
    font-size: 2.5rem;
    position: relative;
    padding-bottom: 15px;
}

.career-text h1:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.career-text p {
    margin-bottom: 20px;
    color: var(--light-text);
    font-size: 1.1rem;
    line-height: 1.7;
}

/* 职业信息区域 */
.career-info {
    padding: 80px 20px;
    background: white;
}

.career-details {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.categories, .requirements, .benefits {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.categories:before, .requirements:before, .benefits:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
}

.categories:hover, .requirements:hover, .benefits:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.categories h3, .requirements h3, .benefits h3 {
    color: var(--secondary-color);
    margin-bottom: 25px;
    font-size: 1.8rem;
    position: relative;
    padding-bottom: 10px;
}

.categories h3:after, .requirements h3:after, .benefits h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

.categories ul, .requirements ul, .benefits ul {
    list-style: none;
    padding: 0;
}

.categories li, .requirements li, .benefits li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    color: var(--light-text);
    font-size: 1.1rem;
}

.categories i, .requirements i, .benefits i {
    color: var(--primary-color);
    font-size: 1.2rem;
    width: 25px;
}

/* 申请表单区域 */
.application-form {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.application-form h2 {
    color: var(--secondary-color);
    margin-bottom: 25px;
    font-size: 2.5rem;
    position: relative;
    padding-bottom: 15px;
}

.application-form h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.application-form p {
    margin-bottom: 30px;
    color: var(--light-text);
    font-size: 1.2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.apply-button {
    display: inline-block;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(198, 40, 40, 0.3);
}

.apply-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(198, 40, 40, 0.4);
}

/* 页脚样式 */
.footer {
    background: var(--secondary-color);
    color: white;
    padding: 60px 20px 30px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.box {
    padding: 0 20px;
}

.box h2 {
    margin-bottom: 25px;
    font-size: 1.8rem;
    color: white;
    position: relative;
    padding-bottom: 15px;
}

.box h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

.box iframe {
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.spaced-lines {
    margin-bottom: 15px;
    display: block;
}

.underline-link {
    color: #ecf0f1;
    text-decoration: none;
    position: relative;
    transition: color 0.3s;
    font-size: 1.1rem;
}

.underline-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s;
}

.underline-link:hover, .underline-link.active {
    color: white;
}

.underline-link:hover:after, .underline-link.active:after {
    width: 100%;
}

.social-icons {
    margin-top: 20px;
    display: flex;
    gap: 15px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    text-align: center;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--primary-color);
    transform: translateY(-5px);
}

.social-icon i {
    font-size: 1.3rem;
}

.copyright {
    text-align: center;
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* 新增图标样式 */
.contact-icons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.contact-icon {
    width: 35px;
    height: 35px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-item:hover .contact-icon {
    background-color: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.feature-icon {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.5rem;
    color: rgba(198, 40, 40, 0.1);
    transition: all 0.3s ease;
}

.categories:hover .feature-icon,
.requirements:hover .feature-icon,
.benefits:hover .feature-icon {
    color: rgba(198, 40, 40, 0.3);
    transform: scale(1.2);
}

/* 响应式设计 */
@media (max-width: 992px) {
    .career-section {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .career-image {
        order: 2;
    }
    
    .career-text {
        order: 1;
    }
}

@media (max-width: 768px) {
    .header {
        flex-direction: column;
        padding: 10px;
    }
    
    .menu-button {
        display: block;
        align-self: flex-start;
        margin-bottom: 10px;
    }
    
    .navbar {
        display: none;
        flex-direction: column;
        width: 100%;
        gap: 0;
    }
    
    .navbar.show {
        display: flex;
    }
    
    .navbar a {
        width: 100%;
        text-align: center;
        padding: 15px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .career-section, .career-info, .application-form {
        padding: 50px 15px;
    }
    
    .career-text h1, .application-form h2 {
        font-size: 2rem;
    }
    
    .career-details {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .box {
        padding: 0 10px;
    }
    
    .contact-icons {
        align-items: center;
    }
}

@media (max-width: 480px) {
    .career-section, .career-info, .application-form {
        padding: 40px 10px;
    }
    
    .categories, .requirements, .benefits {
        padding: 30px 20px;
    }
    
    .career-text h1, .application-form h2 {
        font-size: 1.8rem;
    }
}