/* ===== 全局变量和基础样式 ===== */
:root {
    --primary-color: #1E6FBA;
    --secondary-color: #4CAF50;
    --accent-color: #FF6D00;
    --dark-color: #343a40;
    --light-color: #f9f9f9;
    --font-main: "Microsoft YaHei", "微软雅黑", sans-serif;
    --font-title: 'Helvetica Neue', Arial, sans-serif;
}

body {
    font-family: var(--font-main);
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #333;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

/* ===== 通用组件样式 ===== */
/* 按钮 */
.btn {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
}
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}
.btn-accent {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: white;
}

/* 标题 */
.section-title {
    position: relative;
    margin-bottom: 40px;
    color: var(--primary-color);
    font-size: 2rem;
    font-weight: 600;
}
.section-title:after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--accent-color);
}

/* ===== 布局样式 ===== */
/* 头部样式 */
.navbar {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
}
.navbar-brand {
    font-weight: bold;
    color: var(--primary-color);
    display: flex;
    align-items: center;
}

/* 页脚样式 */
footer {
    background-color: #343a40;
    color: white;
    padding: 50px 0 20px;
}
.footer-links a {
    color: rgba(255,255,255,0.8);
    transition: color 0.3s;
}
.footer-links a:hover {
    color: white;
    text-decoration: none;
}

/* 浮动联系按钮 */
.floating-contact {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99;
}
.floating-contact .btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 24px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* ===== 响应式设计 ===== */
@media (max-width: 768px) {
    .section-title {
        font-size: 1.5rem;
    }
    .navbar-brand {
        font-size: 1rem;
    }
}

/* 更多链接 */
.more-link {
    text-align: right;
    margin-top: 15px;
    padding-top: 10px;
    border-top: 1px solid #f0f0f0;
}

.more-link a {
    font-size: 0.9rem;
    color: var(--primary-color);
    font-family: var(--font-main);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.more-link a:hover {
    text-decoration: underline;
}

.more-link i {
    margin-left: 5px;
    font-size: 0.8rem;
}
