/* 基础样式 */
body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    color: #333;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 1rem;
}

a {
    color: #007bff;
    text-decoration: none;
}

a:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* 导航栏样式 */
.navbar-brand h1 {
    font-size: 1.5rem;
    margin: 0;
}

.nav-link {
    font-size: 1.1rem;
    margin-left: 1rem;
}

.nav-link.active {
    color: #007bff !important;
    font-weight: bold;
}

/* 轮播图样式 */
.carousel-item {
    height: 500px;
}

.carousel-item img {
    height: 100%;
    object-fit: cover;
}

.carousel-caption {
    bottom: 20%;
}

.carousel-caption h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.carousel-caption p {
    font-size: 1.2rem;
}

/* 卡片样式 */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.card-img-top {
    height: 200px;
    object-fit: cover;
}

/* 按钮样式 */
.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

/* 表单样式 */
.form-control {
    margin-bottom: 1rem;
}

/* 页脚样式 */
footer {
    background-color: #343a40;
    color: #fff;
}

footer a {
    color: #fff;
    text-decoration: none;
}

footer a:hover {
    color: #007bff;
    text-decoration: none;
}

.social-icons a {
    margin-right: 1rem;
    color: #fff;
}

.social-icons a:hover {
    color: #007bff;
}

/* 懒加载样式 */
.lazy {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lazy.loaded {
    opacity: 1;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .carousel-item {
        height: 300px;
    }
    
    .carousel-caption h2 {
        font-size: 1.8rem;
    }
    
    .carousel-caption p {
        font-size: 1rem;
    }
    
    .card-img-top {
        height: 150px;
    }
}

@media (max-width: 576px) {
    .carousel-item {
        height: 200px;
    }
    
    .carousel-caption {
        bottom: 10%;
    }
    
    .carousel-caption h2 {
        font-size: 1.5rem;
    }
    
    .carousel-caption p {
        font-size: 0.9rem;
    }
}

/* 招聘页面样式 */
.job-list {
    list-style: none;
    padding: 0;
}

.job-list li {
    padding: 1rem;
    border-bottom: 1px solid #dee2e6;
}

.job-list li:last-child {
    border-bottom: none;
}

.job-title {
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.job-info {
    color: #6c757d;
    margin-bottom: 0.5rem;
}

/* 案例页面样式 */
.case-item {
    margin-bottom: 2rem;
}

.case-item img {
    margin-bottom: 1rem;
}

/* 新闻页面样式 */
.news-item {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #dee2e6;
}

.news-item:last-child {
    border-bottom: none;
}

.news-date {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}