.floating-menu {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.floating-menu .main-button {
    background: var(--base-color);
    width: 65px;
    height: 65px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(213, 189, 165, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    overflow: hidden;
}

.floating-menu .main-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(213, 189, 165, 0.5);
}

.floating-menu .main-button i {
    transition: transform 0.3s ease;
}

.floating-menu.active .main-button i {
    transform: rotate(360deg);
}

.floating-menu .menu-buttons {
    position: absolute;
    bottom: 80px;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.floating-menu.active .menu-buttons {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.floating-menu .menu-button {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    border-radius: 30px;
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform: translateX(100px);
    opacity: 0;
}

.floating-menu.active .menu-button {
    transform: translateX(0);
    opacity: 1;
}

.floating-menu.active .menu-button:nth-child(1) {
    transition-delay: 0.1s;
}

.floating-menu.active .menu-button:nth-child(2) {
    transition-delay: 0.2s;
}

.floating-menu.active .menu-button:nth-child(3) {
    transition-delay: 0.3s;
}

.floating-menu.active .menu-button:nth-child(4) {
    transition-delay: 0.4s;
}

.floating-menu .menu-button i {
    width: 24px;
    height: 24px;
    color: #fff;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.floating-menu .menu-button span {
    color: #333;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    margin-left: 12px;
    transition: all 0.3s;
}

.floating-menu .menu-button.whatsapp {
    background: linear-gradient(145deg, #2BD371, #25D366);
}

.floating-menu .menu-button.phone {
    background: linear-gradient(145deg, #57B95C, #4CAF50);
}

.floating-menu .menu-button.email {
    background: linear-gradient(145deg, #ED4B3F, #EA4335);
}

.floating-menu .menu-button.appointment {
    background: var(--base-color);
}

.floating-menu .menu-button.whatsapp span,
.floating-menu .menu-button.phone span,
.floating-menu .menu-button.email span,
.floating-menu .menu-button.appointment span {
    color: white;
}

.floating-menu .menu-button:hover {
    transform: translateX(-10px) scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.floating-menu .menu-button:hover i {
    transform: rotate(15deg);
}

/* Pulse animation for main button */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(213, 189, 165, 0.5);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(213, 189, 165, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(213, 189, 165, 0);
    }
}

.floating-menu .main-button {
    animation: pulse 2s infinite;
}

/* Ripple effect for buttons */
.floating-menu .menu-button {
    position: relative;
    overflow: hidden;
}

.floating-menu .menu-button:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, .5);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%);
    transform-origin: 50% 50%;
}

.floating-menu .menu-button:hover:after {
    animation: ripple 1s ease-out;
}

@keyframes ripple {
    0% {
        transform: scale(0, 0);
        opacity: 0.5;
    }
    20% {
        transform: scale(25, 25);
        opacity: 0.3;
    }
    100% {
        opacity: 0;
        transform: scale(40, 40);
    }
}
