/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 100px; /* Сдвинули левее для кнопки связи */
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #EC4E0F 0%, #D1450E 100%);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(236, 78, 15, 0.4);
    z-index: 999998;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.8);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.scroll-to-top:hover {
    background: linear-gradient(135deg, #D1450E 0%, #B83A0C 100%);
    box-shadow: 0 6px 16px rgba(236, 78, 15, 0.5);
    transform: translateY(-3px) scale(1.05);
}

.scroll-to-top:active {
    transform: translateY(0) scale(0.95);
}

.scroll-to-top svg {
    width: 24px;
    height: 24px;
}

/* Contact Button */
.contact-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #6E3514 0%, #8B4513 100%);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(110, 53, 20, 0.4);
    z-index: 999998;
    opacity: 1;
    visibility: visible;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-button:hover {
    background: linear-gradient(135deg, #8B4513 0%, #A0522D 100%);
    box-shadow: 0 6px 16px rgba(110, 53, 20, 0.5);
    transform: translateY(-3px) scale(1.05);
}

.contact-button:active {
    transform: translateY(0) scale(0.95);
}

.contact-button svg {
    width: 24px;
    height: 24px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 80px; /* Поднимаем выше на мобильных, чтобы не перекрывалось */
        right: 20px;
        width: 45px;
        height: 45px;
    }
    
    .scroll-to-top svg {
        width: 20px;
        height: 20px;
    }
    
    .contact-button {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
    
    .contact-button svg {
        width: 20px;
        height: 20px;
    }
}

/* Animation for smooth appearance */
@keyframes scrollButtonPulse {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-5px) scale(1.05);
    }
}

/* Убрали анимацию пульсации */


