/**
 * 统一浮动按钮样式
 * 顺序：预算（上）→ 联系（中）→ 返回顶部（下）
 */

/* 浮动按钮容器 */
.float-buttons-container {
    position: fixed;
    right: 20px;
    bottom: 30px;
    z-index: 9998;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

/* 通用浮动按钮样式 */
.float-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
}

.float-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.float-btn i {
    font-size: 1.25rem;
}

.float-btn span {
    font-size: 0.6rem;
    font-weight: 600;
    margin-top: 2px;
}

/* 预算按钮 - 金色 */
.float-btn-budget {
    background: linear-gradient(135deg, #D4AF37 0%, #E8C547 100%);
    color: #1A1A1A;
}

.float-btn-budget:hover {
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
}

/* 联系按钮 - 金黄色 */
.float-btn-contact {
    background: linear-gradient(135deg, #D4AF37 0%, #E8C547 100%);
    color: #1A1A1A;
}

.float-btn-contact:hover {
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
}

/* 返回顶部按钮 - 深色 */
.float-btn-top {
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    color: #D4AF37;
    border: 1px solid #D4AF37;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.float-btn-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.float-btn-top:hover {
    background: linear-gradient(135deg, #D4AF37 0%, #E8C547 100%);
    color: #1A1A1A;
    border-color: transparent;
}

/* 响应式 */
@media (max-width: 480px) {
    .float-buttons-container {
        right: 15px;
        bottom: 20px;
        gap: 10px;
    }
    
    .float-btn {
        width: 50px;
        height: 50px;
    }
    
    .float-btn i {
        font-size: 1.1rem;
    }
    
    .float-btn span {
        font-size: 0.55rem;
    }
}
