/* Animated Call Button Styles */

.animated-call-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #01939A; /* Основной бирюзовый цвет из вашей палитры */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    transition: transform 0.3s ease;
    animation: shake 1.5s ease infinite 2s;
}

/* Pulse animations */
.animated-call-button::before,
.animated-call-button::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background-color: #01939A; /* Основной бирюзовый цвет из вашей палитры */
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
}
.simple-call-button:hover {
    transform: scale(1.1);
    background-color: #006064; /* Более темный бирюзовый при наведении */
}
.animated-call-button::before {
    animation: pulse 2s infinite;
}

.animated-call-button::after {
    animation: pulse 2s infinite 0.5s;
}

/* Phone icon styling */
.animated-call-button svg {
    width: 26px;
    height: 26px;
}



/* Animation keyframes */
@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.5);
        opacity: 0.3;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

@keyframes shake {
    0%, 100% {
        transform: rotate(0);
    }
    2%, 6%, 10% {
        transform: rotate(-10deg);
    }
    4%, 8%, 12% {
        transform: rotate(10deg);
    }
    14% {
        transform: rotate(0);
    }
    15%, 100% {
        transform: rotate(0);
    }
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .animated-call-button {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
    
    .animated-call-button svg {
        width: 22px;
        height: 22px;
    }
}
