/* 全站公共样式 */
:root {
    --primary: #2c3e50;
    --red: #e74c3c;
    --light: #f8f9fa;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: "Microsoft YaHei", sans-serif;
    color: #333;
    line-height: 1.8;
}
/* 导航栏 */
.navbar {
    background: white !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.navbar-brand {
    color: var(--primary) !important;
    font-weight: bold;
    font-size: 1.5rem;
}
.nav-link {
    color: #333 !important;
    margin: 0 10px;
}
.nav-link.active {
    color: var(--red) !important;
    font-weight: bold;
}
/* 头部banner */
.hero {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url(https://picsum.photos/1920/800?random=10);
    background-size: cover;
    background-position: center;
    color: white;
    padding: 120px 0;
    text-align: center;
}
/* 通用板块样式 */
.section {
    padding: 80px 0;
}
.title {
    text-align: center;
    margin-bottom: 50px;
    font-weight: bold;
    color: var(--primary);
}
/* 按钮样式 */
.btn {
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 500;
}
.btn-primary {
    background: var(--red) !important;
    border-color: var(--red) !important;
}
.btn-primary:hover {
    background: #d62c1a !important;
    border-color: #d62c1a !important;
}
.btn-outline-primary {
    border-color: var(--red) !important;
    color: var(--red) !important;
}
.btn-outline-primary:hover {
    background: var(--red) !important;
    color: white !important;
}
/* 案例卡片 */
.case-card {
    border: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s;
}
.case-card:hover {
    transform: translateY(-5px);
}
/* 右侧悬浮按钮 */
.float-r {
    position: fixed;
    right: 20px;
    top: 45%;
    z-index: 999;
}
.float-item {
    width: 60px;
    height: 60px;
    background: rgba(231,76,60,0.8);
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    cursor: pointer;
    font-size: 12px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
/* 底部 */
footer {
    background: var(--primary);
    color: white;
    padding: 30px 0;
    text-align: center;
}
/* 案例详情页样式 */
.case-banner {
    margin-top: 80px;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url(https://picsum.photos/1920/400?random=10);
    background-size: cover;
    color: white;
    padding: 60px 0;
    text-align: center;
}
.service-module {
    padding: 40px 0;
    border-bottom: 1px solid #eee;
}
.customer-comment {
    background-color: var(--light);
    padding: 40px;
    border-radius: 8px;
    margin: 40px 0;
}
.comment-author {
    display: flex;
    align-items: center;
    margin-top: 20px;
}
.comment-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 15px;
}
/* 响应式适配 */
@media (max-width: 768px) {
    .float-r {
        display: none;
    }
    .hero {
        padding: 80px 0;
    }
    .section {
        padding: 40px 0;
    }
}