/* 基础样式 */
body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-top: 0;
}

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

a:hover {
    color: #1557b0;
    text-decoration: none;
}

.btn-primary {
    background-color: #1a73e8;
    border-color: #1557b0;
}

.btn-primary:hover {
    background-color: #1557b0;
    border-color: #0d47a1;
}

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

.navbar-brand {
    font-size: 1.5em;
    font-weight: 700;
    color: #1a73e8 !important;
}

.navbar-nav > li > a {
    font-size: 1.1em;
    color: #333 !important;
    transition: all 0.3s ease;
}

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

.navbar-nav > li.active > a {
    color: #1a73e8 !important;
    background-color: transparent !important;
}

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

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

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

.carousel-caption h3 {
    font-size: 2.5em;
    margin-bottom: 15px;
}

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

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

.about-section,
.products-section,
.cases-section,
.news-section,
.contact-section {
    background-color: #fff;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 2.5em;
    margin-bottom: 15px;
    color: #333;
}

.divider {
    width: 100px;
    height: 3px;
    background-color: #1a73e8;
    margin: 0 auto 30px;
}

/* 关于我们样式 */
.about-section .lead {
    font-size: 1.2em;
    margin-bottom: 20px;
    color: #1a73e8;
}

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

/* 产品服务样式 */
.product-item {
    text-align: center;
    padding: 20px;
    transition: all 0.3s ease;
}

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

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

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

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

.product-item h3 {
    margin-bottom: 15px;
    color: #333;
}

/* 成功案例样式 */
.case-item {
    margin-bottom: 30px;
    overflow: hidden;
    position: relative;
}

.case-img {
    position: relative;
    overflow: hidden;
    border-radius: 5px;
}

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

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

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

.case-img:hover .case-overlay {
    transform: translateY(0);
}

/* 新闻资讯样式 */
.news-item {
    margin-bottom: 30px;
}

.news-img {
    margin-bottom: 15px;
    overflow: hidden;
    border-radius: 5px;
}

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

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

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

.news-item h3 a {
    color: #333;
    transition: all 0.3s ease;
}

.news-item h3 a:hover {
    color: #1a73e8;
}

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

.read-more {
    color: #1a73e8;
    font-weight: 700;
    transition: all 0.3s ease;
}

.read-more:hover {
    color: #1557b0;
}

/* 联系我们样式 */
.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    font-weight: 700;
    margin-bottom: 5px;
}

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

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

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

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

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

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 p {
    margin-bottom: 10px;
}

footer i {
    color: #1a73e8;
    margin-right: 10px;
}

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

/* 响应式设计 */
@media (max-width: 768px) {
    .carousel-inner > .item > img {
        height: 400px;
    }
    
    .carousel-caption {
        bottom: 20%;
    }
    
    .carousel-caption h3 {
        font-size: 2em;
    }
    
    .carousel-caption p {
        font-size: 1em;
    }
    
    .product-item,
    .case-item,
    .news-item {
        margin-bottom: 30px;
    }
    
    .product-img img,
    .case-img img,
    .news-img img {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .carousel-inner > .item > img {
        height: 300px;
    }
    
    .carousel-caption {
        bottom: 10%;
    }
    
    .carousel-caption h3 {
        font-size: 1.5em;
    }
    
    .carousel-caption p {
        font-size: 0.9em;
    }
    
    section {
        padding: 40px 0;
    }
    
    .section-title h2 {
        font-size: 2em;
    }
}