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

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

a {
    color: #007bff;
    transition: color 0.3s;
}

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

/* 导航栏样式 */
.navbar {
    margin-bottom: 0;
    border-radius: 0;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar-brand {
    padding: 15px 15px;
    height: auto;
}

.company-name {
    font-size: 18px;
    font-weight: 700;
    color: #007bff;
}

.navbar-nav > li > a {
    padding-top: 20px;
    padding-bottom: 20px;
    font-size: 16px;
}

.navbar-nav > li.active > a {
    background-color: #f8f9fa;
    color: #007bff;
}

/* 轮播图样式 */
.carousel {
    margin-bottom: 30px;
}

.carousel-caption {
    background-color: rgba(0,0,0,0.5);
    padding: 20px;
    border-radius: 5px;
}

.carousel-caption h3 {
    font-size: 28px;
    margin-bottom: 10px;
}

.carousel-caption p {
    font-size: 16px;
}

/* 通用区块样式 */
.about-section,
.cases-section,
.contact-section {
    padding: 60px 0;
}

.products-section,
.news-section {
    padding: 60px 0;
    background-color: #f8f9fa;
}

/* 公司简介样式 */
.about-section h2,
.products-section h2,
.cases-section h2,
.news-section h2,
.contact-section h2 {
    margin-bottom: 40px;
    text-align: center;
    position: relative;
}

.about-section h2::after,
.products-section h2::after,
.cases-section h2::after,
.news-section h2::after,
.contact-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #007bff;
}

/* 产品服务样式 */
.product-item,
.case-item,
.news-item {
    margin-bottom: 30px;
}

.thumbnail {
    border: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.thumbnail:hover {
    transform: translateY(-5px);
}

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

/* 新闻列表样式 */
.news-list {
    list-style: none;
    padding: 0;
}

.news-list li {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

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

.news-list li a {
    display: block;
    position: relative;
    padding-left: 20px;
}

.news-list li a::before {
    content: '>';
    position: absolute;
    left: 0;
    color: #007bff;
}

/* 联系表单样式 */
.contact-info,
.contact-form {
    background-color: #fff;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    font-weight: 600;
}

/* 页脚样式 */
.footer {
    background-color: #343a40;
    color: #fff;
    padding: 40px 0 20px;
}

.footer h3 {
    margin-bottom: 20px;
    font-size: 18px;
    position: relative;
    padding-bottom: 10px;
}

.footer h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: #007bff;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links li a {
    color: #adb5bd;
    transition: color 0.3s;
}

.footer-links li a:hover {
    color: #fff;
}

.footer p {
    margin-bottom: 10px;
}

/* 响应式样式 */
@media (max-width: 768px) {
    .navbar-brand {
        padding: 10px 15px;
    }
    
    .company-name {
        font-size: 16px;
    }
    
    .navbar-nav > li > a {
        padding-top: 15px;
        padding-bottom: 15px;
    }
    
    .carousel-caption h3 {
        font-size: 20px;
    }
    
    .carousel-caption p {
        font-size: 14px;
    }
    
    .about-section,
    .products-section,
    .cases-section,
    .news-section,
    .contact-section {
        padding: 40px 0;
    }
    
    .thumbnail img {
        height: 150px;
    }
}

/* 图片懒加载过渡效果 */
.lazy {
    opacity: 0;
    transition: opacity 0.3s;
}

.lazy.loaded {
    opacity: 1;
}

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

.job-item {
    background-color: #fff;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.job-item:hover {
    transform: translateY(-5px);
}

.job-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #007bff;
}

.job-info {
    margin-bottom: 15px;
}

.job-info span {
    display: inline-block;
    margin-right: 20px;
    color: #666;
}

.job-description {
    margin-bottom: 15px;
}

.job-requirements {
    margin-bottom: 15px;
}

.job-requirements h4 {
    font-size: 16px;
    margin-bottom: 10px;
}

.job-requirements ul {
    padding-left: 20px;
}

.job-apply {
    text-align: right;
}

/* 产品详情页样式 */
.product-detail {
    background-color: #fff;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.product-detail h2 {
    margin-bottom: 20px;
    color: #007bff;
}

.product-gallery {
    margin-bottom: 30px;
}

.product-gallery .main-image {
    margin-bottom: 15px;
}

.product-gallery .thumbnails {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.product-gallery .thumbnail {
    width: 80px;
    height: 80px;
    cursor: pointer;
    border: 2px solid transparent;
}

.product-gallery .thumbnail.active {
    border-color: #007bff;
}

.product-specs {
    margin-bottom: 30px;
}

.product-specs h3 {
    margin-bottom: 15px;
    font-size: 18px;
}

.product-specs table {
    width: 100%;
    border-collapse: collapse;
}

.product-specs th,
.product-specs td {
    padding: 10px;
    border: 1px solid #eee;
}

.product-specs th {
    background-color: #f8f9fa;
    font-weight: 600;
    width: 120px;
}

/* 案例详情页样式 */
.case-detail {
    background-color: #fff;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.case-detail h2 {
    margin-bottom: 20px;
    color: #007bff;
}

.case-info {
    margin-bottom: 30px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 5px;
}

.case-info p {
    margin-bottom: 10px;
}

.case-description {
    margin-bottom: 30px;
}

.case-results {
    margin-bottom: 30px;
    padding: 20px;
    background-color: #e8f4f8;
    border-radius: 5px;
}

.case-results h3 {
    margin-bottom: 15px;
    color: #007bff;
}

.case-results ul {
    padding-left: 20px;
}

/* 新闻详情页样式 */
.news-detail {
    background-color: #fff;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.news-detail h2 {
    margin-bottom: 20px;
    color: #007bff;
}

.news-meta {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
    color: #666;
}

.news-content {
    margin-bottom: 30px;
    line-height: 1.8;
}

.news-content p {
    margin-bottom: 15px;
}

.news-related {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 5px;
}

.news-related h3 {
    margin-bottom: 15px;
    font-size: 18px;
}

.news-related ul {
    list-style: none;
    padding: 0;
}

.news-related li {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

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