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

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

.nav-link {
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover {
    color: #0d6efd !important;
}

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

.carousel-caption {
    bottom: 20%;
    padding: 1rem;
    border-radius: 0.5rem;
}

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

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

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

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

.card-title {
    font-weight: bold;
    margin-bottom: 0.5rem;
}

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

.btn-primary:hover {
    background-color: #0b5ed7;
    border-color: #0a58ca;
}

/* 页脚样式 */
footer {
    background-color: #212529;
}

footer h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #fff;
}

footer a:hover {
    color: #0d6efd !important;
}

/* 图片懒加载样式 */
.lazy-image {
    opacity: 0;
    transition: opacity 0.5s;
}

.lazy-image.loaded {
    opacity: 1;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .carousel-item {
        height: 300px;
    }
    
    .carousel-caption h2 {
        font-size: 1.8rem;
    }
    
    .carousel-caption p {
        font-size: 1rem;
    }
    
    .navbar-brand h1 {
        font-size: 1.2rem;
    }
}

/* 表单样式 */
.form-control:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

/* 标题样式 */
h2 {
    font-weight: bold;
    margin-bottom: 1.5rem;
    position: relative;
}

h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: #0d6efd;
    margin: 0.5rem auto 0;
}

/* 列表样式 */
.list-unstyled li {
    margin-bottom: 0.5rem;
}

/* 招聘信息样式 */
.job-item {
    border: 1px solid #e9ecef;
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    transition: box-shadow 0.3s;
}

.job-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

.job-salary {
    color: #0d6efd;
    font-weight: 500;
}

/* 新闻详情样式 */
.news-detail {
    padding: 1.5rem;
    border: 1px solid #e9ecef;
    border-radius: 0.5rem;
}

.news-title {
    font-weight: bold;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.news-meta {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 0.5rem;
}

.news-content {
    line-height: 1.8;
}

/* 案例详情样式 */
.case-detail {
    margin-bottom: 2rem;
}

.case-images {
    margin-bottom: 1.5rem;
}

.case-images img {
    margin-bottom: 1rem;
    border-radius: 0.5rem;
}

.case-description {
    padding: 1.5rem;
    border: 1px solid #e9ecef;
    border-radius: 0.5rem;
    background-color: #f8f9fa;
}