/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", Arial, sans-serif;
    font-size: 14px;
    color: #333;
    background-color: #f5f5f5;
    line-height: 1.6;
}

ul, li {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

/* 布局容器 */
.container {
    width: 1200px;
    margin: 0 auto;
    position: relative;
}

/* Header 头部 */
header {
    background-color: #fff;
    height: 80px;
    border-bottom: 1px solid #eee;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px; /* 占位 */
    margin-right: 10px;
}

.logo-text {
    font-size: 24px;
    font-weight: bold;
    color: #d0021b; /* 假设Logo主色 */
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-text span {
    font-size: 14px;
    color: #666;
    font-weight: normal;
}

.nav {
    display: flex;
    gap: 30px;
}

.nav a {
    font-size: 16px;
    padding: 10px 0;
    position: relative;
}

.nav a.active, .nav a:hover {
    color: #007bff;
}

.nav a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #007bff;
}

.header-phone {
    color: #007bff;
    font-weight: bold;
    font-size: 18px;
    display: flex;
    align-items: center;
}

.header-phone::before {
    content: '☎'; /* 简单图标替代 */
    margin-right: 5px;
    font-size: 20px;
}

/* Banner 横幅 */
.banner {
    height: 300px;
    background: url('images/banner.jpg') no-repeat center center; /* 占位路径 */
    background-size: cover;
    background-color: #0056b3; /* 备用背景色 */
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

/* 模拟Banner背景图效果 */
.banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,20,80,0.8), rgba(0,100,200,0.6));
    z-index: 1;
}

.banner-text {
    position: relative;
    z-index: 2;
}

.banner-text h1 {
    font-size: 48px;
    margin-bottom: 10px;
}

.banner-text h1 span {
    font-weight: 300;
}

.banner-text h2 {
    font-size: 32px;
    font-weight: normal;
    margin-bottom: 10px;
}

.banner-text p {
    font-size: 18px;
    opacity: 0.9;
}

/* Breadcrumb 面包屑 */
.breadcrumb {
    padding: 15px 0;
    font-size: 18px;
    color: #666;
}

.breadcrumb a {
    color: #333;
}

.breadcrumb span {
    color: #007bff;
}

/* Main Content 主体内容 */
.main-content {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
}

/* Sidebar 侧边栏 */
.sidebar {
    width: 240px;
    flex-shrink: 0;
}

.sidebar-title {
    background-color: #007bff;
    color: #fff;
    padding: 20px;
    text-align: center;
}

.sidebar-title h3 {
    font-size: 26px;
    margin-bottom: 5px;
}

.sidebar-title span {
    font-size: 16px;
    opacity: 0.8;
    text-transform: uppercase;
}

.sidebar-menu {
    background-color: #fff;
    border: 1px solid #eee;
    border-top: none;
}

.sidebar-menu li a {
    display: block;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    color: #333;
    transition: all 0.3s;
    text-align: center;
}

.sidebar-menu li:last-child a {
    border-bottom: none;
}

.sidebar-menu li a:hover, .sidebar-menu li a.active {
    background-color: #f0f7ff;
    color: #007bff;
    border-left: 4px solid #007bff; /* 激活状态左侧条 */
    padding-left: 16px; /* 调整内边距以保持文字位置 */
}

/* Content Area 内容区域 */
.content-area {
    flex: 1;
    background-color: #fff;
    padding: 40px;
    border: 1px solid #eee;
}

.content-header {
    margin-bottom: 40px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.content-header h2 {
    font-size: 24px;
    color: #007bff;
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.content-header h2 span {
    color: #333;
    font-weight: bold;
}

.content-header .en-title {
    font-size: 24px;
    color: #e0e0e0;
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
    line-height: 1;
}

/* Timeline 时间轴 */
.timeline {
    position: relative;
    padding-left: 50px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 10px;
    bottom: 0;
    width: 2px;
    background-color: #e0e0e0;
}

.timeline-group {
    margin-bottom: 40px;
    position: relative;
}

.timeline-year {
    font-size: 20px;
    font-weight: bold;
    color: #007bff;
    margin-bottom: 20px;
    position: relative;
    display: flex;
    align-items: center;
}

.timeline-year::before {
    content: '';
    position: absolute;
    left: -37px; /* 调整圆点位置 */
    width: 16px;
    height: 16px;
    background-color: #007bff;
    border-radius: 50%;
    border: 4px solid #d6eaff;
    z-index: 2;
}

.timeline-list li {
    position: relative;
    margin-bottom: 15px;
    padding-left: 15px;
    font-size: 14px;
    color: #555;
    line-height: 1.8;
}

.timeline-list li::before {
    content: '';
    position: absolute;
    left: -29px; /* 对应时间轴线的位置 */
    top: 8px;
    width: 8px;
    height: 8px;
    background-color: #007bff;
    border-radius: 50%;
    z-index: 2;
}

/* Footer 底部 */
footer {
    background-color: #0056b3; /* 假设底部主色 */
    color: #fff;
    padding: 40px 0;
    font-size: 14px;
    border-top: 5px solid #004494;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-left {
    flex: 1;
}

.footer-links {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 16px;
}

.footer-info p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-phone {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
    display: block;
}

.footer-right {
    text-align: center;
}

.qrcode-box {
    background-color: #fff;
    padding: 5px;
    width: 120px;
    height: 120px;
    margin-bottom: 5px;
}

.qrcode-box img {
    width: 100%;
    height: 100%;
    background-color: #eee; /* 占位 */
}

.copyright {
    background-color: #222;
    color: #999;
    text-align: center;
    padding: 15px 0;
    font-size: 12px;
}