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

a {
    color: #0066cc;
}

a:hover {
    color: #0099ff;
    text-decoration: none;
}

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

.navbar-brand {
    padding: 10px 15px;
}

.logo {
    height: 40px;
}

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

.navbar-nav > li > a:hover,
.navbar-nav > li > a:focus {
    background-color: #f8f8f8;
}

.navbar-nav > .active > a,
.navbar-nav > .active > a:hover,
.navbar-nav > .active > a:focus {
    background-color: #0066cc;
    color: #fff;
}

/* 轮播图 */
.carousel {
    margin-top: 50px;
}

.carousel-inner > .item > img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

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

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

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

/* 通用样式 */
section {
    padding: 60px 0;
}

h2 {
    font-size: 32px;
    margin-bottom: 30px;
    text-align: center;
}

h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

/* 公司简介 */
.about-section {
    background-color: #f8f8f8;
}

.about-section img {
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* 产品服务 */
.products-section {
    background-color: #0066cc;
    color: #fff;
}

.product-item {
    background-color: #fff;
    color: #333;
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 30px;
    transition: transform 0.3s ease;
}

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

.product-item img {
    margin-bottom: 20px;
    border-radius: 5px;
}

/* 成功案例 */
.case-item {
    margin-bottom: 30px;
    transition: transform 0.3s ease;
}

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

.case-item img {
    margin-bottom: 15px;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* 新闻资讯 */
.news-section {
    background-color: #f0f0f0;
}

.news-item {
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 30px;
    transition: transform 0.3s ease;
}

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

.news-item h3 {
    margin-top: 0;
}

.news-item .date {
    color: #999;
    font-size: 14px;
    margin-bottom: 10px;
}

/* 联系我们 */
.contact-section {
    background-color: #f8f8f8;
}

.contact-info {
    margin-bottom: 30px;
}

.contact-info h3 {
    margin-top: 0;
}

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

.contact-info i {
    margin-right: 10px;
    color: #0066cc;
}

.map {
    border-radius: 5px;
    overflow: hidden;
}

/* 页脚 */
footer {
    background-color: #333;
    color: #fff;
    padding: 30px 0;
}

footer h3 {
    margin-top: 0;
    margin-bottom: 20px;
}

footer ul {
    list-style: none;
    padding: 0;
}

footer ul li {
    margin-bottom: 10px;
}

footer ul li a {
    color: #ccc;
}

footer ul li a:hover {
    color: #fff;
}

footer .text-center {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #444;
}

/* 返回顶部按钮 */
#back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #0066cc;
    color: #fff;
    border: none;
    z-index: 999;
}

#back-to-top:hover {
    background-color: #0099ff;
}

/* 面包屑导航 */
.breadcrumb-container {
    padding-top: 70px;
}

.breadcrumb {
    background-color: #f8f8f8;
    border-radius: 0;
}

/* 企业文化 */
.culture-section {
    background-color: #0066cc;
    color: #fff;
}

.culture-item {
    text-align: center;
    padding: 20px;
}

.culture-item h3 {
    margin-bottom: 15px;
}

/* 发展历程 */
.timeline {
    list-style: none;
    padding: 0;
    position: relative;
}

.timeline:before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: #0066cc;
    left: 50%;
    margin-left: -1px;
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
}

.timeline-date {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: #0066cc;
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 14px;
}

.timeline-content {
    width: 45%;
    padding: 20px;
    background-color: #f8f8f8;
    border-radius: 5px;
}

.timeline-item:nth-child(odd) .timeline-content {
    float: left;
}

.timeline-item:nth-child(even) .timeline-content {
    float: right;
}

/* 荣誉资质 */
.honor-section {
    background-color: #f0f0f0;
}

.honor-item {
    text-align: center;
    margin-bottom: 30px;
    transition: transform 0.3s ease;
}

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

.honor-item img {
    margin-bottom: 15px;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    height: 200px;
    object-fit: contain;
    background-color: #fff;
    padding: 20px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .carousel-inner > .item > img {
        height: 300px;
    }

    .carousel-caption h3 {
        font-size: 24px;
    }

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

    .timeline:before {
        left: 20px;
    }

    .timeline-date {
        left: 20px;
        transform: none;
    }

    .timeline-content {
        width: calc(100% - 60px);
        margin-left: 60px;
        float: none !important;
    }
}