/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏样式 */
.header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    width: 50px;
    height: 50px;
    margin-right: 15px;
}

.logo-text {
    font-size: 24px;
    font-weight: bold;
    color: #0056b3;
}

.menu {
    display: flex;
    list-style: none;
}

.menu li {
    margin-left: 30px;
}

.menu li a {
    text-decoration: none;
    color: #333;
    font-size: 16px;
    transition: color 0.3s;
}

.menu li a:hover,
.menu li a.active {
    color: #0056b3;
}

/* 移动端菜单按钮 */
.menu-btn {
    display: none;
    cursor: pointer;
}

/* 首屏样式 */
.banner {
    background: linear-gradient(135deg, #0056b3, #007bff);
    color: #fff;
    padding: 120px 0 80px;
    text-align: center;
}

.banner h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.banner p {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #fff;
    color: #0056b3;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s;
}

.btn:hover {
    background-color: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* 公司简介样式 */
.about-section {
    padding: 80px 0;
    background-color: #fff;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 36px;
    color: #333;
    position: relative;
    padding-bottom: 20px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #0056b3;
}

.about-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.about-text {
    flex: 1;
    padding-right: 50px;
}

.about-text h3 {
    font-size: 24px;
    color: #0056b3;
    margin-bottom: 20px;
}

.about-text p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #666;
}

.about-image {
    flex: 1;
}

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

/* 服务项目样式 */
.services-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

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

.service-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 80px;
    height: 80px;
    background-color: #0056b3;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.service-icon i {
    font-size: 30px;
    color: #fff;
}

.service-item h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #333;
}

.service-item p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* 成功案例样式 */
.cases-section {
    padding: 80px 0;
    background-color: #fff;
}

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

.case-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.case-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s;
}

.case-item:hover img {
    transform: scale(1.1);
}

.case-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 30px 20px 20px;
    color: #fff;
}

.case-overlay h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.case-overlay p {
    font-size: 14px;
    opacity: 0.9;
}

/* 新闻资讯样式 */
.news-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

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

.news-item {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.news-item:hover {
    transform: translateY(-5px);
}

.news-image {
    height: 200px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.news-item:hover .news-image img {
    transform: scale(1.1);
}

.news-content {
    padding: 20px;
}

.news-date {
    font-size: 12px;
    color: #0056b3;
    margin-bottom: 10px;
}

.news-content h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #333;
}

.news-content p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.news-link {
    display: inline-block;
    color: #0056b3;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.news-link:hover {
    color: #007bff;
}

/* 联系我们样式 */
.contact-section {
    padding: 80px 0;
    background-color: #fff;
}

.contact-content {
    display: flex;
    justify-content: space-between;
}

.contact-info {
    flex: 1;
    padding-right: 50px;
}

.contact-info h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 30px;
}

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

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: #0056b3;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
}

.contact-icon i {
    font-size: 20px;
    color: #fff;
}

.contact-text h4 {
    font-size: 16px;
    color: #333;
    margin-bottom: 5px;
}

.contact-text p {
    font-size: 14px;
    color: #666;
}

.contact-form {
    flex: 1;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #0056b3;
    outline: none;
}

.form-group textarea {
    height: 150px;
    resize: none;
}

.submit-btn {
    background-color: #0056b3;
    color: #fff;
    border: none;
    padding: 15px 30px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: #007bff;
}

/* 页脚样式 */
.footer {
    background-color: #333;
    color: #fff;
    padding: 50px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

.footer-logo {
    flex: 1;
    padding-right: 50px;
}

.footer-logo img {
    width: 80px;
    margin-bottom: 20px;
}

.footer-logo p {
    font-size: 14px;
    line-height: 1.6;
    opacity: 0.8;
}

.footer-links {
    flex: 1;
}

.footer-links h4 {
    font-size: 18px;
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-links ul li a:hover {
    opacity: 1;
}

.footer-contact {
    flex: 1;
}

.footer-contact h4 {
    font-size: 18px;
    margin-bottom: 20px;
}

.footer-contact p {
    font-size: 14px;
    margin-bottom: 10px;
    opacity: 0.8;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
}

.footer-bottom p {
    font-size: 14px;
    opacity: 0.8;
}

/* 招聘页面样式 */
.jobs-section {
    padding: 120px 0 80px;
}

.job-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.job-item:hover {
    transform: translateY(-5px);
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.job-title {
    font-size: 20px;
    color: #333;
    margin-bottom: 5px;
}

.job-department {
    font-size: 14px;
    color: #0056b3;
}

.job-salary {
    font-size: 16px;
    color: #666;
}

.job-content {
    margin-bottom: 20px;
}

.job-content h4 {
    font-size: 16px;
    color: #333;
    margin-bottom: 10px;
}

.job-content ul {
    list-style: none;
    padding-left: 20px;
}

.job-content ul li {
    position: relative;
    margin-bottom: 8px;
    font-size: 14px;
    color: #666;
}

.job-content ul li::before {
    content: '•';
    position: absolute;
    left: -20px;
    color: #0056b3;
}

.job-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.job-tags {
    display: flex;
}

.job-tag {
    background-color: #f0f0f0;
    padding: 5px 10px;
    border-radius: 5px;
    margin-right: 10px;
    font-size: 12px;
    color: #666;
}

.apply-btn {
    background-color: #0056b3;
    color: #fff;
    padding: 8px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.3s;
}

.apply-btn:hover {
    background-color: #007bff;
}

/* 图片懒加载样式 */
.lazy-image {
    opacity: 0;
    transition: opacity 0.3s;
}

.lazy-image.loaded {
    opacity: 1;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .about-content {
        flex-direction: column;
    }
    
    .about-text {
        padding-right: 0;
        margin-bottom: 30px;
    }
    
    .services-grid,
    .cases-grid,
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-content {
        flex-direction: column;
    }
    
    .contact-info {
        padding-right: 0;
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background-color: #fff;
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s;
    }
    
    .menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .menu li {
        margin: 10px 0;
    }
    
    .menu-btn {
        display: block;
    }
    
    .banner h1 {
        font-size: 36px;
    }
    
    .banner p {
        font-size: 18px;
    }
    
    .services-grid,
    .cases-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-logo,
    .footer-links,
    .footer-contact {
        margin-bottom: 30px;
    }
}

@media (max-width: 576px) {
    .banner h1 {
        font-size: 28px;
    }
    
    .banner p {
        font-size: 16px;
    }
    
    .section-title h2 {
        font-size: 28px;
    }
    
    .job-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .job-salary {
        margin-top: 10px;
    }
    
    .job-footer {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .job-tags {
        margin-bottom: 15px;
    }
}