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

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

p {
    margin-bottom: 15px;
}

a {
    color: #337ab7;
    transition: all 0.3s ease;
}

a:hover {
    color: #23527c;
    text-decoration: none;
}

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

.navbar-brand {
    font-size: 18px;
    font-weight: 700;
    color: #333 !important;
}

.navbar-nav > li > a {
    color: #333 !important;
    font-weight: 500;
    padding: 15px 20px;
}

.navbar-nav > li > a:hover,
.navbar-nav > li > a:focus {
    color: #337ab7 !important;
    background-color: transparent;
}

.navbar-nav > .active > a,
.navbar-nav > .active > a:hover,
.navbar-nav > .active > a:focus {
    color: #337ab7 !important;
    background-color: transparent;
}

/* 轮播图样式 */
.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: 30px;
    margin-bottom: 10px;
}

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

/* 通用样式 */
.container {
    margin-bottom: 50px;
}

.text-center {
    margin-bottom: 30px;
}

.line {
    width: 100px;
    height: 3px;
    background-color: #337ab7;
    margin: 0 auto 30px;
}

/* 关于我们样式 */
.about-us {
    padding: 50px 0;
}

.about-us img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.contact-info {
    margin: 20px 0;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 5px;
}

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

.contact-info i {
    margin-right: 10px;
    color: #337ab7;
}

/* 产品展示样式 */
.products {
    padding: 50px 0;
    background-color: #f8f9fa;
}

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

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

.product-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-item h3 {
    padding: 15px;
    margin: 0;
    font-size: 18px;
    border-bottom: 1px solid #eee;
}

.product-item p {
    padding: 15px;
    margin: 0;
    font-size: 14px;
    color: #666;
    min-height: 60px;
}

.product-item .btn {
    margin: 0 15px 15px;
    width: calc(100% - 30px);
}

/* 服务项目样式 */
.services {
    padding: 50px 0;
}

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

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

.service-icon {
    width: 80px;
    height: 80px;
    background-color: #337ab7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: #fff;
    font-size: 30px;
}

.service-item h3 {
    font-size: 18px;
    margin-bottom: 15px;
}

.service-item p {
    font-size: 14px;
    color: #666;
}

/* 工艺流程样式 */
.process {
    padding: 50px 0;
    background-color: #f8f9fa;
}

.process-steps {
    position: relative;
    margin: 50px 0;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 50px;
    left: 50%;
    width: 2px;
    height: calc(100% - 100px);
    background-color: #337ab7;
    transform: translateX(-50%);
}

.step {
    position: relative;
    margin-bottom: 50px;
}

.step:nth-child(odd) {
    padding-right: 50%;
    text-align: right;
}

.step:nth-child(even) {
    padding-left: 50%;
    text-align: left;
}

.step-number {
    position: absolute;
    top: 0;
    left: 50%;
    width: 50px;
    height: 50px;
    background-color: #337ab7;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    transform: translateX(-50%);
}

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

.step-content h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.step-content p {
    font-size: 14px;
    color: #666;
}

/* 成功案例样式 */
.cases {
    padding: 50px 0;
}

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

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

.case-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.case-item h3 {
    padding: 15px;
    margin: 0;
    font-size: 18px;
    border-bottom: 1px solid #eee;
}

.case-item p {
    padding: 15px;
    margin: 0;
    font-size: 14px;
    color: #666;
}

/* 联系我们样式 */
.contact {
    padding: 50px 0;
    background-color: #f8f9fa;
}

.contact-info h3 {
    margin-bottom: 20px;
}

.contact-info p {
    margin-bottom: 15px;
    font-size: 16px;
}

.contact-info i {
    margin-right: 10px;
    color: #337ab7;
}

.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: 500;
    margin-bottom: 5px;
}

.contact-form .form-control {
    border-radius: 0;
    border: 1px solid #ddd;
    padding: 10px 15px;
}

.contact-form .form-control:focus {
    border-color: #337ab7;
    box-shadow: none;
}

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

footer h3 {
    margin-bottom: 20px;
    font-size: 18px;
    color: #fff;
}

footer p {
    margin-bottom: 15px;
    font-size: 14px;
    color: #ccc;
}

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

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

footer ul li a {
    color: #ccc;
    font-size: 14px;
}

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

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

/* 响应式设计 */
@media (max-width: 768px) {
    .carousel-inner > .item > img {
        height: 300px;
    }
    
    .carousel-caption h3 {
        font-size: 20px;
    }
    
    .carousel-caption p {
        font-size: 14px;
    }
    
    .process-steps::before {
        left: 30px;
    }
    
    .step {
        padding-left: 80px !important;
        padding-right: 0 !important;
        text-align: left !important;
    }
    
    .step-number {
        left: 30px;
        transform: none;
    }
    
    .product-item,
    .service-item,
    .case-item {
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .carousel-inner > .item > img {
        height: 200px;
    }
    
    .carousel-caption {
        padding: 10px;
    }
    
    .carousel-caption h3 {
        font-size: 18px;
    }
    
    .carousel-caption p {
        font-size: 12px;
    }
    
    .navbar-brand {
        font-size: 16px;
    }
    
    .navbar-nav > li > a {
        padding: 10px 15px;
    }
    
    .container {
        margin-bottom: 30px;
    }
    
    .about-us,
    .products,
    .services,
    .process,
    .cases,
    .contact {
        padding: 30px 0;
    }
    
    .line {
        width: 80px;
        margin-bottom: 20px;
    }
}