/* 悬浮菜单样式 */
.float-menu {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.float-menu-item {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.float-menu-item i {
    font-size: 20px;
    color: #333;
    transition: color 0.3s ease;
}

/* 悬停效果 */
.float-menu-item:hover {
    background-color: #007bff;
    transform: scale(1.1);
}

.float-menu-item:hover i {
    color: #fff;
}

/* 电话提示框 */
.phone-tooltip {
    position: absolute;
    right: 60px;
    background-color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.phone-tooltip:after {
    content: '';
    position: absolute;
    top: 50%;
    right: -6px;
    transform: translateY(-50%);
    border-left: 6px solid #fff;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
}

#float-phone:hover .phone-tooltip {
    opacity: 1;
    visibility: visible;
    right: 65px;
}

/* 微信二维码 */
.wechat-qrcode {
    position: absolute;
    right: 60px;
    background-color: #fff;
    padding: 10px;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    width: 150px;
    text-align: center;
}

.wechat-qrcode img {
    width: 100%;
    height: auto;
    display: block;
}

.wechat-qrcode:after {
    content: '';
    position: absolute;
    top: 50%;
    right: -6px;
    transform: translateY(-50%);
    border-left: 6px solid #fff;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
}

#float-wechat:hover .wechat-qrcode {
    opacity: 1;
    visibility: visible;
    right: 65px;
}

/* 返回顶部按钮 */
#float-top {
    opacity: 0.5;
    transition: opacity 0.3s ease, background-color 0.3s ease, transform 0.3s ease;
}

/* 媒体查询 - 移动端不显示 */
@media (max-width: 767px) {
    .float-menu {
        display: none;
    }
}