import { MessageCircle, Phone } from "lucide-react";
import { SITE, telHref } from "@/lib/site";

export function CtaBand({ title = "Need trained security staff today?" }: { title?: string }) {
  return (
    <section className="bg-gradient-navy text-primary-foreground">
      <div className="mx-auto max-w-7xl px-4 py-16 flex flex-col md:flex-row items-center justify-between gap-6">
        <div>
          <h2 className="font-display text-3xl md:text-4xl">{title}</h2>
          <p className="mt-2 text-primary-foreground/75">Get guards deployed fast. Call or WhatsApp us for a free quote.</p>
        </div>
        <div className="grid w-full min-w-0 gap-3 sm:flex sm:w-auto sm:flex-wrap md:shrink-0">
          <a href={telHref(0)} className="inline-flex items-center justify-center gap-2 rounded-md bg-gradient-gold px-4 py-3 text-sm sm:px-6 sm:text-base font-semibold text-accent-foreground shadow-gold"><Phone className="h-5 w-5 shrink-0" /> Call {SITE.phoneDisplay[0]}</a>
          <a href={SITE.whatsapp} target="_blank" rel="noreferrer" className="inline-flex items-center justify-center gap-2 rounded-md bg-whatsapp px-4 py-3 font-semibold text-primary-foreground"><MessageCircle className="h-5 w-5 shrink-0" /> WhatsApp</a>
        </div>
      </div>
    </section>
  );
}
