/* 全局样式 */
:root {
    --primary-color: #3388ff;
    --secondary-color: #666666;
    --bg-light: #f8f9fa;
}

body {
    font-family: "Microsoft YaHei", sans-serif;
    padding-top: 56px;
}

/* 导航栏样式 */
.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar-brand img {
    max-height: 30px;
}

.nav-link {
    color: var(--secondary-color) !important;
    font-weight: 500;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color) !important;
}

/* 轮播图样式 */
.carousel-item {
    height: 500px;
}

.carousel-item img {
    object-fit: cover;
    height: 100%;
}

.carousel-caption {
    background: rgba(0,0,0,0.5);
    padding: 20px;
    border-radius: 8px;
}

/* 新闻动态样式 */
.section-title {
    color: var(--primary-color);
    margin-bottom: 30px;
    font-weight: bold;
    text-align: center;
}

.news-item {
    margin-bottom: 15px;
    padding: 10px;
    border-bottom: 1px solid #eee;
}

.news-date {
    color: var(--secondary-color);
    margin-right: 15px;
}

.news-link {
    color: #333;
    text-decoration: none;
}

.news-link:hover {
    color: var(--primary-color);
}

/* 专题卡片样式 */
.card {
    transition: transform 0.3s;
    border: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.card:hover {
    transform: translateY(-5px);
}

.card-img-top {
    height: 200px;
    object-fit: cover;
}

.card-title {
    color: var(--primary-color);
    font-weight: bold;
}

/* 工作环境样式 */
.work-section img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s;
}

.work-section img:hover {
    transform: scale(1.05);
}

.work-section h4 {
    color: var(--secondary-color);
    text-align: center;
}

/* 页脚样式 */
.footer {
    background-color: #333;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .carousel-item {
        height: 300px;
    }
    
    .card-img-top {
        height: 150px;
    }
    
    .work-section img {
        height: 200px;
    }
}

/* 动画效果 */
.fade-in {
    animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
} 