/* ===== 公共样式 ===== */

/* 重置样式 */
* { margin: 0; padding: 0; box-sizing: border-box; }

/* 基础样式 */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f5f5f5;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }

/* 容器 */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* 头部 */
header {
    background: linear-gradient(135deg, #2c5aa0 0%, #1e3a6e 100%);
    color: white;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.logo { font-size: 28px; font-weight: bold; letter-spacing: 2px; }

.contact-info {
    font-size: 16px;
    text-align: right;
    display: flex;
    align-items: center;
    gap: 6px;
}

.contact-info .icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.contact-info .icon svg {
    width: 100%;
    height: 100%;
    fill: #fff;
}

/* 导航 */
nav {
    background: white;
    border-bottom: 3px solid #2c5aa0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

nav a {
    display: block;
    padding: 15px 25px;
    color: #333;
    font-weight: 500;
    transition: all 0.3s;
}

nav a:hover { color: #2c5aa0; background: #f0f4f8; }
nav a.active { color: #2c5aa0; border-bottom: 3px solid #2c5aa0; }

/* 面包屑 */
.breadcrumb { background: white; padding: 15px 0; border-bottom: 1px solid #eee; }
.breadcrumb a { color: #2c5aa0; }
.breadcrumb span { color: #999; margin: 0 8px; }

/* 页脚 */
footer {
    background: #1e3a6e;
    color: white;
    text-align: center;
    padding: 30px 20px;
}

footer p { margin: 5px 0; font-size: 14px; opacity: 0.9; }

/* 响应式 - 公共部分 */
@media (max-width: 768px) {
    .header-content { flex-direction: column; text-align: center; }
    .contact-info { text-align: center; }
    nav ul { flex-direction: column; }
    nav a { padding: 12px 20px; border-bottom: 1px solid #eee; }
}
