import { MessageCircle } from "lucide-react";
import { whatsappUrl } from "@/lib/i18n";

export default function WhatsAppButton({ label }: { label: string }) {
  return (
    <a
      href={whatsappUrl()}
      target="_blank"
      rel="noopener"
      aria-label={label}
      title={label}
      className="fixed bottom-5 right-5 z-40 flex h-14 w-14 items-center justify-center rounded-full bg-forest text-cream shadow-xl ring-1 ring-gold/50 transition hover:scale-105 hover:bg-moss"
    >
      <MessageCircle size={24} strokeWidth={1.5} />
    </a>
  );
}
