/* 核心样式定义 - 共享样式 */
:root {
    --primary-color: #0f4c81;
    /* 深蓝色主色调 */
    --secondary-color: #f5a623;
    /* 橙色辅助色 */
    --gray-color: #f0f2f5;
    /* 浅灰色背景 */
    --text-color: #333;
    /* 主文本色 */
    --light-text: #666;
    /* 次要文本色 */
}

body {
    font-family: "Microsoft YaHei", "思源黑体", sans-serif;
    color: var(--text-color);
    background-color: #fff;
}

/* 导航栏样式 */
.navbar {
    background-color: var(--primary-color);
}

.navbar-nav .nav-link {
    color: #fff !important;
    margin: 0 10px;
    font-weight: 500;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--secondary-color) !important;
}

/* 页脚样式 */
footer {
    background-color: var(--primary-color);
    color: #fff;
    padding: 40px 0 20px;
}

.footer-col h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--secondary-color);
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--secondary-color);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    margin-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #ccc;
}

/* 通用模块标题样式 */
.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    color: var(--primary-color);
    font-size: 2rem;
    font-weight: 600;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
}

/* 通用按钮样式 */
.btn {
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* 响应式基础适配 */
@media (max-width: 768px) {
    .section-title h2 {
        font-size: 1.8rem;
    }
}
