/* 全局样式 */
body {
    font-family: "Microsoft YaHei", sans-serif;
}

/* 导航栏样式 */
.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,.1);
}

.navbar-brand {
    font-weight: bold;
}

/* 轮播图样式 */
.carousel {
    margin-bottom: 30px;
}

.carousel-item img {
    height: 600px;
    object-fit: cover;
}

.carousel-caption {
    background: rgba(0,0,0,0.5);
    border-radius: 10px;
    padding: 20px;
}

/* 卡片样式 */
.card {
    border: none;
    transition: transform 0.2s;
    box-shadow: 0 4px 6px rgba(0,0,0,.1);
}

.card:hover {
    transform: translateY(-5px);
}

.card-img-top {
    height: 200px;
    object-fit: cover;
}

/* 按钮样式 */
.btn {
    border-radius: 5px;
    padding: 8px 20px;
}

.btn-group .btn {
    margin-right: 5px;
}

/* 表单样式 */
.input-group-text {
    background-color: #f8f9fa;
    border-right: none;
    min-width: 100px;
}

.form-control {
    border-left: none;
}

.form-control:focus {
    box-shadow: none;
    border-color: #ced4da;
}

/* 警告框样式 */
.alert {
    border-radius: 5px;
    border: none;
    margin-bottom: 20px;
}

/* 进度条样式 */
.progress {
    height: 10px;
    border-radius: 5px;
    background-color: #e9ecef;
}

.progress-bar {
    background-color: #1e88e5;
    transition: width 0.3s ease;
}

/* 选项卡样式 */
.nav-tabs {
    border-bottom: 2px solid #dee2e6;
    margin-bottom: 20px;
}

.nav-tabs .nav-link {
    border: none;
    color: #6c757d;
    padding: 10px 20px;
}

.nav-tabs .nav-link:hover {
    border: none;
    color: #1e88e5;
}

.nav-tabs .nav-link.active {
    border: none;
    color: #1e88e5;
    border-bottom: 2px solid #1e88e5;
}

/* 徽章样式 */
.badge {
    font-weight: normal;
    padding: 5px 10px;
}

/* 折叠面板样式 */
.accordion-button:not(.collapsed) {
    background-color: #e3f2fd;
    color: #1565c0;
}

/* 列表组样式 */
.list-group-item {
    border-left: none;
    border-right: none;
    padding: 12px 20px;
}

.list-group-item:first-child {
    border-top: none;
}

.list-group-item:last-child {
    border-bottom: none;
}

/* 页面区块样式 */
section {
    padding: 60px 0;
}

section h2 {
    margin-bottom: 40px;
    color: #333;
    position: relative;
}

section h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #1e88e5;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .carousel-item img {
        height: 400px;
    }
    
    .btn-group {
        flex-direction: column;
    }
    
    .btn-group .btn {
        margin-bottom: 5px;
        margin-right: 0;
    }

    section {
        padding: 40px 0;
    }

    .card-img-top {
        height: 150px;
    }
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card, .alert {
    animation: fadeIn 0.5s ease-out;
}

/* 页脚样式 */
.footer {
    background-color: #343a40;
    color: #fff;
    padding: 40px 0 20px;
    margin-top: 60px;
}

.footer h5 {
    color: #fff;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer p {
    color: rgba(255,255,255,0.7);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #fff;
}

.footer-social {
    margin-top: 20px;
}

.footer-social a {
    color: rgba(255,255,255,0.7);
    font-size: 20px;
    margin-right: 15px;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-social a:hover {
    color: #fff;
}

.footer hr {
    border-color: rgba(255,255,255,0.1);
    margin: 30px 0 20px;
}

.footer-bottom {
    text-align: center;
    color: rgba(255,255,255,0.7);
    font-size: 14px;
}

@media (max-width: 768px) {
    .footer {
        text-align: center;
    }
    
    .footer-social {
        margin-bottom: 30px;
    }
} 