/* 全局样式 */
body {
    font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Heiti SC", sans-serif;
    color: #333;
    line-height: 1.6;
}

a {
    color: #1e88e5;
    text-decoration: none;
}

a:hover {
    color: #1565c0;
    text-decoration: none;
}

/* 顶部信息栏 */
.top-info {
    background-color: #f5f5f5;
    padding: 10px 0;
    font-size: 14px;
    border-bottom: 1px solid #e0e0e0;
}

.top-info span {
    margin-right: 20px;
    color: #666;
}

.top-info i {
    margin-right: 5px;
    color: #1e88e5;
}

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

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

.logo {
    height: 40px;
    margin-right: 10px;
}

.company-name {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

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

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

.navbar-nav > .active > a,
.navbar-nav > .active > a:hover,
.navbar-nav > .active > a:focus {
    color: #1e88e5;
    background-color: transparent;
    border-bottom: 2px solid #1e88e5;
}

/* 面包屑导航 */
.breadcrumb {
    margin-bottom: 20px;
    padding: 10px 0;
    background-color: transparent;
    border-bottom: 1px solid #e0e0e0;
}

.breadcrumb > li > a {
    color: #666;
}

.breadcrumb > li > a:hover {
    color: #1e88e5;
}

.breadcrumb > .active {
    color: #1e88e5;
}

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

.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: 28px;
    margin-bottom: 10px;
}

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

/* 标题样式 */
h2 {
    font-size: 28px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #1e88e5;
    text-align: center;
}

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

h4 {
    font-size: 20px;
    margin-bottom: 10px;
}

/* 公司简介 */
.about-section {
    padding: 40px 0;
    background-color: #f9f9f9;
}

.about-section p {
    margin-bottom: 15px;
    text-align: justify;
}

/* 主营业务 */
.business-section {
    padding: 40px 0;
}

.business-item {
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

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

.business-item i {
    color: #1e88e5;
    margin-bottom: 15px;
}

.business-item h3 {
    margin-bottom: 10px;
}

/* 产品展示 */
.products-section {
    padding: 40px 0;
    background-color: #f9f9f9;
}

.product-item {
    margin-bottom: 30px;
    padding: 15px;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

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

.product-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 15px;
    border-radius: 5px;
}

.product-item h3 {
    margin-bottom: 10px;
}

.product-item p {
    margin-bottom: 15px;
}

/* 工程案例 */
.cases-section {
    padding: 40px 0;
}

.case-item {
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.case-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: all 0.3s ease;
}

.case-item:hover img {
    transform: scale(1.05);
}

.case-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    transition: all 0.3s ease;
}

.case-item:hover .case-info {
    background-color: rgba(0, 0, 0, 0.8);
}

/* 新闻资讯 */
.news-section {
    padding: 40px 0;
    background-color: #f9f9f9;
}

.news-item {
    margin-bottom: 30px;
    padding: 15px;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

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

.news-date {
    float: left;
    width: 60px;
    height: 60px;
    margin-right: 15px;
    padding: 10px;
    background-color: #1e88e5;
    color: #fff;
    text-align: center;
    border-radius: 5px;
}

.news-date .day {
    font-size: 24px;
    font-weight: bold;
}

.news-date .month {
    font-size: 14px;
}

.news-content {
    overflow: hidden;
}

.news-content h3 {
    margin-bottom: 10px;
}

.news-content p {
    margin-bottom: 10px;
    color: #666;
}

/* 联系我们 */
.contact-section {
    padding: 40px 0;
}

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

.contact-info h3 {
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #1e88e5;
}

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

.contact-info i {
    margin-right: 10px;
    color: #1e88e5;
}

.map {
    margin-bottom: 30px;
    height: 300px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    overflow: hidden;
}

.map-placeholder {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    background-color: #f5f5f5;
    color: #999;
}

.map-placeholder i {
    margin-bottom: 10px;
}

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

.form-group label {
    font-weight: normal;
    margin-bottom: 5px;
}

.required {
    color: #f44336;
}

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

footer h3 {
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #555;
}

footer p {
    margin-bottom: 10px;
    color: #ccc;
}

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

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

footer ul li a {
    color: #ccc;
    transition: all 0.3s ease;
}

footer ul li a:hover {
    color: #fff;
    padding-left: 5px;
}

.footer-bottom {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #555;
    text-align: center;
    color: #999;
}

/* 产品中心页面 */
.product-category {
    padding: 40px 0;
}

.category-sidebar {
    margin-bottom: 30px;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 5px;
}

.category-sidebar h3 {
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #1e88e5;
}

.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list li {
    margin-bottom: 10px;
}

.category-list li a {
    display: block;
    padding: 10px;
    color: #333;
    transition: all 0.3s ease;
}

.category-list li a:hover {
    color: #1e88e5;
    background-color: #f0f0f0;
    border-radius: 5px;
}

.category-list li.active a {
    color: #fff;
    background-color: #1e88e5;
    border-radius: 5px;
}

.product-section {
    margin-bottom: 40px;
}

.product-details {
    margin-bottom: 15px;
    padding: 10px;
    background-color: #f9f9f9;
    border-radius: 5px;
}

.product-details p {
    margin-bottom: 5px;
}

/* 工程案例页面 */
.project-sidebar {
    margin-bottom: 30px;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 5px;
}

.project-sidebar h3 {
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #1e88e5;
}

.project-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.project-list li {
    margin-bottom: 10px;
}

.project-list li a {
    display: block;
    padding: 10px;
    color: #333;
    transition: all 0.3s ease;
}

.project-list li a:hover {
    color: #1e88e5;
    background-color: #f0f0f0;
    border-radius: 5px;
}

.project-list li.active a {
    color: #fff;
    background-color: #1e88e5;
    border-radius: 5px;
}

.project-category {
    margin-bottom: 40px;
}

.project-item {
    margin-bottom: 30px;
    padding: 15px;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.project-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 15px;
    border-radius: 5px;
}

.project-info h3 {
    margin-bottom: 10px;
}

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

/* 新闻资讯页面 */
.news-sidebar {
    margin-bottom: 30px;
}

.news-sidebar h3 {
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #1e88e5;
}

.news-list {
    list-style: none;
    padding: 0;
    margin: 0;
    margin-bottom: 30px;
}

.news-list li {
    margin-bottom: 10px;
}

.news-list li a {
    display: block;
    padding: 10px;
    color: #333;
    transition: all 0.3s ease;
}

.news-list li a:hover {
    color: #1e88e5;
    background-color: #f0f0f0;
    border-radius: 5px;
}

.news-list li.active a {
    color: #fff;
    background-color: #1e88e5;
    border-radius: 5px;
}

.search-box {
    margin-bottom: 30px;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 5px;
}

.hot-news {
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 5px;
}

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

.hot-news ul li {
    margin-bottom: 10px;
}

.hot-news ul li a {
    color: #333;
    transition: all 0.3s ease;
}

.hot-news ul li a:hover {
    color: #1e88e5;
    padding-left: 5px;
}

.news-category {
    margin-bottom: 40px;
}

.news-meta {
    margin-top: 10px;
    font-size: 14px;
    color: #999;
}

.news-meta span {
    margin-right: 15px;
}

.pagination {
    margin-top: 30px;
    text-align: center;
}

/* 服务支持页面 */
.service-section {
    padding: 40px 0;
}

.service-item {
    margin-bottom: 30px;
    padding: 20px;
    text-align: center;
    background-color: #f9f9f9;
    border-radius: 5px;
    transition: all 0.3s ease;
}

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

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    padding: 15px;
    background-color: #1e88e5;
    color: #fff;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.service-item:hover .service-icon {
    transform: rotateY(180deg);
}

.process-section {
    padding: 40px 0;
    background-color: #f9f9f9;
}

.process-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
}

.process-step {
    flex: 1;
    text-align: center;
    position: relative;
}

.step-number {
    width: 50px;
    height: 50px;
    margin: 0 auto 15px;
    padding: 10px;
    background-color: #1e88e5;
    color: #fff;
    font-size: 24px;
    font-weight: bold;
    border-radius: 50%;
}

.process-arrow {
    color: #1e88e5;
    font-size: 24px;
}

.faq-section {
    padding: 40px 0;
}

.service-case-section {
    padding: 40px 0;
    background-color: #f9f9f9;
}

.service-case-item {
    padding: 20px;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

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

/* 联系我们页面 */
.traffic-section {
    padding: 40px 0;
    background-color: #f9f9f9;
}

.traffic-item {
    padding: 20px;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.traffic-item h3 {
    margin-bottom: 15px;
    color: #1e88e5;
}

.contact-social {
    margin-top: 30px;
}

.contact-social h3 {
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #1e88e5;
}

.social-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.social-list li {
    display: inline-block;
    margin-right: 15px;
}

.social-list li a {
    display: block;
    width: 40px;
    height: 40px;
    padding: 10px;
    background-color: #f0f0f0;
    color: #333;
    text-align: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-list li a:hover {
    background-color: #1e88e5;
    color: #fff;
    transform: rotateY(180deg);
}

.captcha-image {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    background-color: #f0f0f0;
    border-radius: 5px;
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 5px;
}

#refreshCaptcha {
    color: #1e88e5;
}

/* 模态框 */
.modal-header {
    background-color: #1e88e5;
    color: #fff;
}

.modal-header .close {
    color: #fff;
    opacity: 1;
}

.modal-header .close:hover {
    color: #fff;
    opacity: 0.8;
}

.product-detail h3,
.project-detail h3,
.service-detail h3 {
    margin-bottom: 15px;
    color: #1e88e5;
}

.product-description,
.project-description,
.service-description {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.8;
}

.product-features,
.product-applications,
.project-process,
.project-effects,
.service-content,
.service-process,
.service-advantage {
    margin-bottom: 20px;
    padding-left: 20px;
}

.product-features li,
.product-applications li,
.project-process li,
.project-effects li,
.service-content li,
.service-process li,
.service-advantage li {
    margin-bottom: 10px;
}

.product-parameters,
.project-parameters {
    margin-bottom: 20px;
}

.product-parameters th,
.project-parameters th {
    background-color: #f0f0f0;
}

.project-images {
    margin-top: 20px;
}

.project-images img {
    margin-bottom: 15px;
    border-radius: 5px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .top-info {
        text-align: center;
    }
    
    .top-info span {
        display: block;
        margin-bottom: 5px;
    }
    
    .company-name {
        display: none;
    }
    
    .carousel-inner > .item > img {
        height: 300px;
    }
    
    .carousel-caption h3 {
        font-size: 20px;
    }
    
    .carousel-caption p {
        font-size: 14px;
    }
    
    .process-steps {
        flex-direction: column;
    }
    
    .process-step {
        margin-bottom: 20px;
    }
    
    .process-arrow {
        transform: rotate(90deg);
    }
    
    .project-info {
        position: static;
        background-color: #fff;
        color: #333;
    }
}

@media (max-width: 576px) {
    h2 {
        font-size: 24px;
    }
    
    h3 {
        font-size: 20px;
    }
    
    h4 {
        font-size: 18px;
    }
    
    .carousel-inner > .item > img {
        height: 200px;
    }
    
    .carousel-caption {
        padding: 10px;
    }
    
    .carousel-caption h3 {
        font-size: 18px;
    }
    
    .carousel-caption p {
        font-size: 12px;
    }
    
    .product-item img,
    .project-item img {
        height: 150px;
    }
}