/* ============================================
   华谦司法鉴定所 - 自定义样式
   从模板中提取的内联样式，便于 SEO 优化
   ============================================ */

/* --- 首页项目卡片动画 --- */
.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}
.project-card {
    transition: all 0.3s ease;
}

/* --- 首页H1样式 --- */
.home-h1 {
    font-size: 22px;
    color: #333;
    text-align: center;
    margin: 0;
    padding: 10px 0;
    font-weight: bold;
}

/* --- 轮播图 --- */
.slideBox .bd img {
    height: auto;
}

/* --- 右侧悬浮窗 --- */
.float-buttons {
    position: fixed;
    right: 20px;
    bottom: 150px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.sidle-qrcode {
    position: relative;
}
.float-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: #2563eb;
    color: #fff;
    text-decoration: none;
    border-radius: 50%;
    font-size: 14px;
    line-height: 1.2;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: background-color 0.3s;
}
.float-btn:hover {
    background-color: #0b4b6f;
}
.sidle-qrcode .show-qr-code {
    display: none;
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}
.sidle-qrcode:hover .show-qr-code {
    display: block;
}
.show-qr-code img {
    width: 120px;
    height: 120px;
    display: block;
}

/* --- 移动端适配 --- */
@media (max-width: 768px) {
    .float-buttons {
        right: 10px;
        bottom: 120px;
    }
    .float-btn {
        width: 50px;
        height: 50px;
        font-size: 12px;
    }
    .sidle-qrcode .show-qr-code {
        right: 60px;
    }
    .show-qr-code img {
        width: 100px;
        height: 100px;
    }
}
