/* 全局样式重置与基础配置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f8f9fa;
}

/* 导航栏样式 */
.navbar {
    background-color: #fff !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
}

.navbar-brand img {
    height: 50px;
}

.navbar-nav .nav-link {
    color: #333 !important;
    font-size: 16px;
    margin: 0 15px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #2f86eb !important; /* 百度蓝，贴合竞价推广主题 */
}

/* 轮播图样式 */
.carousel-item {
    height: 500px;
}

.carousel-item img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.carousel-caption {
    background: rgba(0, 0, 0, 0.5);
    padding: 2rem;
    border-radius: 8px;
    bottom: 100px;
}

.carousel-caption h5 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.carousel-caption p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

/* 按钮通用样式 */
.btn-primary {
    background-color: #2f86eb;
    border-color: #2f86eb;
    padding: 10px 30px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #1a73e8;
    border-color: #1a73e8;
    transform: translateY(-2px);
}

/* 板块通用样式 */
.section {
    padding: 6rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.section-title h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #222;
}

.section-title::after {
    content: "";
    display: block;
    width: 80px;
    height: 3px;
    background-color: #2f86eb;
    margin: 1rem auto;
}

/* 卡片样式（案例、服务） */
.card {
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    margin-bottom: 2rem;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.card-img-top {
    height: 200px;
    object-fit: cover;
}

.card-body {
    padding: 1.5rem;
}

.card-title {
    color: #222;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* 页脚样式 */
footer {
    background-color: #222;
    color: #fff;
    padding: 3rem 0 1rem;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #2f86eb;
}

.footer-copyright {
    margin-top: 2rem;
    text-align: center;
    color: #999;
    font-size: 14px;
}

/* 联系我们页面样式 */
.contact-info {
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
}

.contact-info h3 {
    color: #222;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #2f86eb;
}

.contact-info p {
    margin-bottom: 1rem;
    font-size: 16px;
}

/* 公司介绍页面样式 */
.about-content {
    background-color: #fff;
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.about-content img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.about-content h3 {
    color: #222;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #2f86eb;
}

.about-content p {
    margin-bottom: 1.5rem;
    font-size: 16px;
    line-height: 1.8;
}

/* 响应式适配（移动端优化） */
@media (max-width: 768px) {
    .carousel-item {
        height: 300px;
    }

    .carousel-caption {
        bottom: 50px;
        padding: 1rem;
    }

    .carousel-caption h5 {
        font-size: 1.5rem;
    }

    .carousel-caption p {
        font-size: 1rem;
    }

    .section {
        padding: 3rem 0;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }

    .about-content {
        padding: 1.5rem;
    }
}