/* 基础重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    line-height: 1.6;
    color: #231815;
    font-family: '思源黑体', sans-serif;
}

/* 头部导航 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 90px;
    background: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    padding: 0 30px; /* 增加左右内边距 */
    box-sizing: border-box;
    z-index: 1000;
}

.header-logo {
    width: 230px; /* 固定宽度 */
    height: 80%; /* 高度为导航栏的80%，避免裁剪 */
    margin-left: 80px; /* 向右偏移50px，可根据需要调整 */
    background: url('./img/gaussian.png') no-repeat center/contain !important;
    text-indent: -999px;
    display: block;
}

.header-right {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
}

/* 菜单按钮 */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #231815;
    padding: 10px;
}

/* 导航链接 - 桌面端 */
.nav-links {
    display: flex;
    gap: 15px;
    list-style: none;
}

.nav-links a {
    color: #231815;
    text-decoration: none;
    font-weight: 500;
    padding: 10px 15px;
    transition: color 0.3s;
    position: relative;
}

.nav-links a:hover {
    color: #4183bd;
}

.nav-links a.active {
    color: #4183bd;
    font-weight: bold;
}

/* 活动链接指示器 */
.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 15px;
    right: 15px;
    height: 2px;
    background-color: #4183bd;
}

/* 页面内容区域 */
.section {
    padding: 130px 20px 80px; /* 增加顶部间距，避免被导航栏遮挡 */
    min-height: calc(100vh - 80px);
}

.section-title {
    font-size: 28px;
    color: #231815;
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.content-container {
    max-width: 1000px;
    margin: 0 auto;
}

/* 英雄区域 */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
        url('./img/110424a029a26b8960bba9c2f8767941.jpeg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-title {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 18px;
    margin-bottom: 40px;
    max-width: 800px;
}

.cta-button {
    display: inline-block;
    padding: 12px 30px;
    background: #4183bd;
    color: white;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s;
}

.cta-button:hover {
    background: #306ca0;
}

/* 公司简介页面 */
.contact-title {
    font-size: 24px;
    color: #231815;
    margin: 30px 0 15px;
    border-bottom: 2px solid #4183bd;
}

.contact-info {
    line-height: 1.8;
    font-size: 16px;
    color: #6c757d;
}

/* 核心能力页面 */
.capability-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.capability-item {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

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

.capability-item h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #4183bd;
}

/* 社会价值页面 */
.value-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.value-item {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

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

.value-item h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #4183bd;
}

/* 移动端菜单 - 屏幕宽度小于768px时 */
@media (max-width: 768px) {
    .header {
        height: 60px;
        padding: 0 15px;
    }
    
    .header-logo {
        width: 150px;
        height: 70%;
        margin-left: 10px;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #5C6B73;
        flex-direction: column;
        gap: 0;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }
    
    .nav-links.show {
        display: flex;
    }
    
    .nav-links a {
        padding: 15px 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        color: white;
    }
    
    .nav-links a:hover {
        color: #a8c7e2;
    }
    
    .nav-links a.active {
        color: white;
        background-color: rgba(0, 0, 0, 0.1);
    }
    
    .nav-links a.active::after {
        display: none;
    }
    
    .section {
        padding: 80px 15px;
        margin-top: 0;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
}