/* 全局通用样式 - 河北澹海科技 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: "Microsoft YaHei", "微软雅黑", sans-serif;
    color: #333;
    background-color: #f8f9fa;
    scroll-behavior: smooth;
}
a {
    text-decoration: none !important;
}
/* 导航栏 */
.navbar {
    background-color: #0a2463 !important;
    z-index: 999;
}
.navbar-brand img {
    max-height: 40px;
}
/* 按钮样式 */
.btn-danhai {
    background-color: #3e92cc;
    color: #fff;
    border: none;
    padding: 10px 30px;
    border-radius: 5px;
    transition: all 0.3s ease;
}
.btn-danhai:hover {
    background-color: #0a2463;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(10,36,99,0.3);
}
/* 板块标题 */
.section-title {
    position: relative;
    margin-bottom: 50px;
    text-align: center;
    padding-top: 80px;
}
.section-title h2 {
    font-size: 32px;
    font-weight: 700;
    color: #0a2463;
}
.section-title::after {
    content: "";
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #3e92cc;
}
/* 卡片样式 */
.card-danhai {
    border: none;
    box-shadow: 0 5px 15px rgba(10,36,99,0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
    height: 100%;
}
.card-danhai:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(10,36,99,0.2);
}
/* 底部样式 */
footer {
    background-color: #0a2463;
    color: #fff;
    padding: 50px 0 20px;
    margin-top: 80px;
}
footer a {
    color: #fff !important;
    transition: all 0.3s;
}
footer a:hover {
    color: #3e92cc !important;
}
/* 回到顶部按钮 */
#backToTop {
    width: 50px;
    height: 50px;
    display: none;
    justify-content: center;
    align-items: center;
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99;
    border-radius: 50%;
}
/* 案例卡片 */
.case-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}
.case-card .card-title {
    font-weight: 700;
    color: #0a2463;
}
/* 业务卡片 */
.business-card {
    padding: 40px;
    margin-bottom: 40px;
}
.business-card .business-icon {
    font-size: 48px;
    color: #3e92cc;
    margin-bottom: 20px;
}
.business-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: #0a2463;
    margin-bottom: 20px;
}
.business-card ul {
    list-style: none;
    padding-left: 0;
}
.business-card ul li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}
.business-card ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #3e92cc;
    font-weight: 700;
}
.business-card:hover {
    background-color: #0a2463;
    color: #fff;
}
.business-card:hover h3, .business-card:hover .business-icon {
    color: #fff;
}
/* 荣誉卡片 */
.honor-card {
    text-align: center;
    padding: 20px;
}
.honor-card img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    margin-bottom: 15px;
}
/* BIM可视化平台专属 */
#viewer-container {
    width: 100%;
    height: calc(100vh - 76px);
    position: relative;
}
.control-panel {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 100;
    background: rgba(10,36,99,0.9);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #3e92cc;
    color: #fff;
}
#model-info {
    position: absolute;
    bottom: 20px;
    left: 20px;
    z-index: 100;
    background: rgba(10,36,99,0.9);
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #3e92cc;
    color: #fff;
}
/* 响应式适配 */
@media (max-width: 768px) {
    .banner h1 {
        font-size: 28px !important;
    }
    .section-title h2 {
        font-size: 24px;
    }
    .control-panel {
        padding: 15px;
        top: 10px;
        left: 10px;
        width: 80%;
    }
    #model-info {
        bottom: 10px;
        left: 10px;
        width: 80%;
        font-size: 14px;
    }
}