/* Botones flotantes */
.float-buttons-container {
    position: fixed;
    right: 20px;
    bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 9999;
}

.float-button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.float-button:hover {
    transform: scale(1.1);
    color: white;
    text-decoration: none;
}

/* Botón de WhatsApp */
.float-button.whatsapp {
    background-color: #25D366;
    order: -1; /* Asegura que WhatsApp siempre esté arriba */
    opacity: 1 !important;
    visibility: visible !important;
}

.float-button.whatsapp:hover {
    background-color: #22c15e;
    transform: scale(1.1);
}

/* Botón de volver arriba */
.float-button.btn-back-to-top {
    background-color: var(--primaryColor);
    border: none;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

.float-button.btn-back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.float-button.btn-back-to-top:hover {
    background-color: var(--secondaryColor);
    transform: scale(1.1);
}

/* Media queries para dispositivos móviles */
@media (max-width: 768px) {
    .float-buttons-container {
        right: 15px;
        bottom: 15px;
        gap: 10px;
    }

    .float-button {
        width: 45px;
        height: 45px;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .float-buttons-container {
        right: 15px;
        bottom: 15px;
    }

    .float-button {
        width: 45px;
        height: 45px;
    }
}
