/* 基础样式 */
body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    color: #333;
    line-height: 1.6;
}

/* 导航栏样式 */
.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: white !important;
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
    color: #dc3545 !important;
}

.nav-link {
    font-size: 1.1rem;
    margin-right: 1rem;
}

.nav-link:hover {
    color: #dc3545 !important;
}

/* 标题样式 */
h2 {
    color: #dc3545;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

h3 {
    color: #c82333;
    font-weight: 600;
    margin-top: 1.5rem;
}

/* 段落样式 */
p {
    font-size: 1.1rem;
}

/* 图片样式 */
img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* 视频样式 */
video {
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

/* 表单样式 */
.form-control {
    border-radius: 4px;
    border: 1px solid #ddd;
    padding: 0.75rem;
    font-size: 1rem;
}

.form-control:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220,53,69,0.25);
}

.btn-primary {
    background-color: #dc3545;
    border-color: #dc3545;
    padding: 0.75rem 1.5rem;
    font-size: 1.1rem;
    border-radius: 4px;
}

.btn-primary:hover {
    background-color: #c82333;
    border-color: #c82333;
}

/* 列表样式 */
ul.list-unstyled li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

ul.list-unstyled li:last-child {
    border-bottom: none;
}

/* 响应式调整 */
@media (max-width: 768px) {
    h2 {
        font-size: 1.8rem;
    }
    
    h3 {
        font-size: 1.4rem;
    }
    
    p {
        font-size: 1rem;
    }
    
    .nav-link {
        font-size: 1rem;
    }
}

/* 动画效果 */
section {
    transition: all 0.3s ease;
}

/* 页脚样式 */
footer {
    font-size:12px;
    margin-top: 2rem;
    border-top: 1px solid #eee;
    padding:0 10px;
}
footer p{
    font-size:14px;
}

.nav-item.active{
    font-weight:800;
}