/* Fixed Contact Buttons - 固定咨询按钮 */

/* PC端样式 - 隐藏 */
.fixed-contact-buttons {
    display: none;
}

.fixed-contact-buttons.hidden {
    opacity: 0;
    visibility: hidden;
}

.fixed-contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 280px;
    height: 70px;
    background: linear-gradient(135deg, #C9A961 0%, #B8954A 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 35px;
    font-size: 1.8rem;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(201, 169, 97, 0.4);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.05em;
}

.fixed-contact-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.fixed-contact-btn:hover::before {
    left: 100%;
}

.fixed-contact-btn:hover {
    transform: translateX(-5px);
    box-shadow: 0 6px 20px rgba(201, 169, 97, 0.6);
    color: #fff;
}

.fixed-contact-btn i {
    margin-right: 10px;
    font-size: 2.0rem;
}

/* 隐藏网页咨询按钮的信封图标 */
.fixed-contact-btn.web-btn i {
    display: none;
}

/* 电话按钮特殊样式 */
.fixed-contact-btn.phone-btn {
    background: linear-gradient(135deg, #C9A961 0%, #B8954A 100%);
}

.fixed-contact-btn.phone-btn:hover {
    background: linear-gradient(135deg, #D4B56D 0%, #C9A961 100%);
}

/* 网页咨询按钮特殊样式 */
.fixed-contact-btn.web-btn {
    background: linear-gradient(135deg, #C9A961 0%, #B8954A 100%);
}

.fixed-contact-btn.web-btn:hover {
    background: linear-gradient(135deg, #D4B56D 0%, #C9A961 100%);
}

/* 移动端样式 */
@media screen and (max-width: 767px) {
    .fixed-contact-buttons {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        top: auto;
        transform: none;
        flex-direction: row;
        gap: 0;
        background: #fff;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
        padding: 10px;
        z-index: 999;
    }

    .fixed-contact-buttons.hidden {
        opacity: 0;
        visibility: hidden;
        transform: translateY(100%);
    }

    .fixed-contact-btn {
        flex: 1;
        width: auto;
        height: 60px;
        border-radius: 8px;
        font-size: 1.4rem;
        margin: 0 5px;
    }

    .fixed-contact-btn:first-child {
        margin-left: 0;
    }

    .fixed-contact-btn:last-child {
        margin-right: 0;
    }

    .fixed-contact-btn:hover {
        transform: none;
    }

    .fixed-contact-btn i {
        margin-right: 5px;
        font-size: 1.6rem;
    }

    /* 移动端文字调整 */
    .fixed-contact-btn .btn-text {
        font-size: 1.3rem;
    }

    /* 移动端电话号码显示 */
    .fixed-contact-btn.phone-btn .btn-text {
        display: flex;
        flex-direction: column;
        align-items: center;
        line-height: 1.2;
    }

    .fixed-contact-btn.phone-btn .btn-text small {
        font-size: 0.9rem;
        font-weight: normal;
    }
}

/* 平板端样式 (768px - 991px) */
@media screen and (min-width: 768px) and (max-width: 991px) {
    .fixed-contact-buttons {
        right: 20px;
    }

    .fixed-contact-btn {
        width: 240px;
        height: 60px;
        font-size: 1.6rem;
    }

    .fixed-contact-btn i {
        font-size: 1.8rem;
    }
}

/* 小屏幕PC端 (992px - 1199px) */
@media screen and (min-width: 992px) and (max-width: 1199px) {
    .fixed-contact-buttons {
        right: 25px;
    }

    .fixed-contact-btn {
        width: 260px;
        height: 65px;
        font-size: 1.7rem;
    }

    .fixed-contact-btn i {
        font-size: 1.9rem;
    }
}

/* 超小移动端 (max-width: 375px) */
@media screen and (max-width: 375px) {
    .fixed-contact-btn {
        font-size: 1.2rem;
        height: 55px;
    }

    .fixed-contact-btn i {
        font-size: 1.4rem;
        margin-right: 3px;
    }

    .fixed-contact-btn .btn-text {
        font-size: 1.1rem;
    }
}

/* 动画效果 */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInBottom {
    from {
        opacity: 0;
        transform: translateY(100%);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* PC端入场动画 */
@media screen and (min-width: 768px) {
    .fixed-contact-buttons {
        animation: slideInRight 0.5s ease-out;
    }
}

/* 移动端入场动画 */
@media screen and (max-width: 767px) {
    .fixed-contact-buttons {
        animation: slideInBottom 0.5s ease-out;
    }
}

/* 打印时隐藏 */
@media print {
    .fixed-contact-buttons {
        display: none !important;
    }
}

