/* 全局样式 */
body {
    padding-top: 56px;
    font-family: "Microsoft YaHei", sans-serif;
    color: #333;
}

/* 导航栏样式 */
.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,.1);
    background-color: rgba(255, 255, 255, 0.95) !important;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-weight: bold;
    color: #0056b3 !important;
    font-size: 1.5rem;
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #0056b3 !important;
}

/* 轮播图样式 */
.carousel {
    margin-top: -56px;
}

.carousel-item {
    height: 100vh;
    min-height: 600px;
}

.carousel-item img {
    object-fit: cover;
    height: 100%;
    filter: brightness(0.8);
}

.carousel-caption {
    background: rgba(0,0,0,0.4);
    padding: 30px;
    border-radius: 15px;
    max-width: 800px;
    margin: 0 auto;
    bottom: 20%;
}

.carousel-caption.slide-up {
    animation: slideUp 1s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.carousel-caption h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.carousel-caption .lead {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.carousel-indicators li {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 6px;
}

/* 卡片样式 */
.card {
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 2px 4px rgba(0,0,0,.1);
}

.card:hover {
    transform: translateY(-5px);
}

.shadow-hover {
    transition: all 0.3s ease;
}

.shadow-hover:hover {
    box-shadow: 0 8px 15px rgba(0,0,0,.1) !important;
}

.card-img-top {
    height: 240px;
    object-fit: cover;
}

.btn-primary {
    background-color: #0056b3;
    border-color: #0056b3;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #004494;
    border-color: #004494;
    transform: translateY(-2px);
}

.btn-outline-primary {
    color: #0056b3;
    border-color: #0056b3;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
    transform: translateY(-2px);
}

/* 数据统计样式 */
.display-4 {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.h2.text-primary {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

/* 新闻动态样式 */
.badge {
    padding: 0.5em 1em;
    font-weight: 500;
}

.badge-primary {
    background-color: #0056b3;
}

/* 合作伙伴样式 */
.partner-logo {
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.partner-logo:hover {
    transform: translateY(-5px);
}

.partner-logo i {
    opacity: 0.8;
    transition: all 0.3s ease;
}

.partner-logo:hover i {
    opacity: 1;
}

/* 页脚样式 */
footer {
    box-shadow: 0 -2px 4px rgba(0,0,0,.1);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .carousel-item {
        height: 70vh;
        min-height: 400px;
    }
    
    .carousel-caption h1 {
        font-size: 2.5rem;
    }
    
    .carousel-caption .lead {
        font-size: 1.2rem;
    }
    
    .card-img-top {
        height: 200px;
    }
    
    .display-4 {
        font-size: 2.5rem;
    }
}

/* 动画效果 */
[data-aos] {
    pointer-events: none;
}

[data-aos].aos-animate {
    pointer-events: auto;
}

/* 自定义滚动条 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #0056b3;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #004494;
} 