import { jsx, jsxs } from "react/jsx-runtime";
import { Send, MessageCircle, Instagram, Radio } from "lucide-react";
import { u as useSiteSettings } from "./useSiteSettings-7O51JHh5.js";
function Contact() {
  const { settings } = useSiteSettings();
  const message = "Halo, Pergam Store! Saya ingin bertanya tentang produk Anda.";
  const waLink = `https://wa.me/${settings.whatsappNumber}?text=${encodeURIComponent(message)}`;
  const waLink2 = settings.whatsappNumber2 ? `https://wa.me/${settings.whatsappNumber2}?text=${encodeURIComponent(message)}` : null;
  const waLinkStatic = `https://wa.me/6282125473032?text=${encodeURIComponent("Halo Bang Pergam, saya ingin bertanya tentang Join PP/PT.")}`;
  return /* @__PURE__ */ jsx("section", { id: "contact", className: "section-shell", children: /* @__PURE__ */ jsx("div", { className: "section-container", children: /* @__PURE__ */ jsxs("div", { className: "card-surface relative overflow-hidden rounded-[2rem] p-5 shadow-card sm:p-8 md:p-12", children: [
    /* @__PURE__ */ jsx("div", { className: "absolute -right-20 -top-24 h-64 w-64 rounded-full bg-primary/20 blur-3xl" }),
    /* @__PURE__ */ jsx("div", { className: "absolute -bottom-24 left-10 h-56 w-56 rounded-full bg-accent/60 blur-3xl dark:bg-primary/10" }),
    /* @__PURE__ */ jsxs("div", { className: "relative grid gap-8 lg:grid-cols-[0.9fr_1.1fr] lg:items-center", children: [
      /* @__PURE__ */ jsxs("div", { children: [
        /* @__PURE__ */ jsxs("div", { className: "section-kicker", children: [
          /* @__PURE__ */ jsx(Send, { className: "h-3.5 w-3.5" }),
          "Kontak"
        ] }),
        /* @__PURE__ */ jsx("h2", { className: "mt-4 font-display text-3xl font-extrabold leading-tight text-foreground sm:text-5xl", children: "Siap order atau butuh rekomendasi?" }),
        /* @__PURE__ */ jsx("p", { className: "mt-4 text-sm leading-7 text-muted-foreground sm:text-base", children: "Hubungi admin untuk cek stock, rental, partner, atau layanan promosi. Semua CTA tetap mengarah ke channel yang sudah dikonfigurasi admin." })
      ] }),
      /* @__PURE__ */ jsxs("div", { className: "grid gap-3", children: [
        /* @__PURE__ */ jsxs(
          "a",
          {
            href: waLink,
            target: "_blank",
            rel: "noopener noreferrer",
            className: "btn-primary w-full",
            children: [
              /* @__PURE__ */ jsx(MessageCircle, { className: "h-4 w-4" }),
              "Wa Khusus Stock"
            ]
          }
        ),
        waLink2 && /* @__PURE__ */ jsxs(
          "a",
          {
            href: waLink2,
            target: "_blank",
            rel: "noopener noreferrer",
            className: "btn-primary w-full",
            children: [
              /* @__PURE__ */ jsx(MessageCircle, { className: "h-4 w-4" }),
              "Wa Khusus Rental"
            ]
          }
        ),
        /* @__PURE__ */ jsxs(
          "a",
          {
            href: waLinkStatic,
            target: "_blank",
            rel: "noopener noreferrer",
            className: "btn-primary w-full",
            children: [
              /* @__PURE__ */ jsx(MessageCircle, { className: "h-4 w-4" }),
              "Wa Khusus Join PP/PT"
            ]
          }
        ),
        /* @__PURE__ */ jsxs("div", { className: "grid grid-cols-1 gap-3 sm:grid-cols-2", children: [
          /* @__PURE__ */ jsxs(
            "a",
            {
              href: settings.instagramUrl,
              target: "_blank",
              rel: "noopener noreferrer",
              className: "btn-secondary w-full",
              children: [
                /* @__PURE__ */ jsx(Instagram, { className: "h-4 w-4" }),
                "Instagram"
              ]
            }
          ),
          settings.tiktokUrl && /* @__PURE__ */ jsxs(
            "a",
            {
              href: settings.tiktokUrl,
              target: "_blank",
              rel: "noopener noreferrer",
              className: "btn-secondary w-full",
              children: [
                /* @__PURE__ */ jsx(Radio, { className: "h-4 w-4" }),
                "TikTok"
              ]
            }
          ),
          settings.whatsappChannelUrl && /* @__PURE__ */ jsxs(
            "a",
            {
              href: settings.whatsappChannelUrl,
              target: "_blank",
              rel: "noopener noreferrer",
              className: "btn-soft w-full sm:col-span-2",
              children: [
                /* @__PURE__ */ jsx(MessageCircle, { className: "h-4 w-4" }),
                "Saluran WhatsApp"
              ]
            }
          )
        ] })
      ] })
    ] })
  ] }) }) });
}
export {
  Contact as C
};
