"use client";

import ReactLenis from "lenis/react";
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarLayoutFloatingOverlay from "@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay";
import ContactSplitForm from "@/components/sections/contact/ContactSplitForm";
import FooterBase from "@/components/sections/footer/FooterBase";
import { Mail, Phone, MapPin, Sparkles } from "lucide-react";

const NAV_ITEMS = [
  { name: "Home", id: "/" },
  { name: "Portfolio", id: "/portfolio" },
  { name: "Services", id: "/services" },
  { name: "About", id: "/about" },
  { name: "Contact", id: "/contact" }
];

const FOOTER_COLUMNS = [
  {
    title: "Company",    items: [
      { label: "About", href: "/about" },
      { label: "Services", href: "/services" },
      { label: "Work", href: "/portfolio" },
      { label: "Contact", href: "/contact" }
    ]
  },
  {
    title: "Services",    items: [
      { label: "Web Development", href: "/services" },
      { label: "SEO", href: "/services" },
      { label: "Branding", href: "/services" },
      { label: "UI/UX Design", href: "/services" }
    ]
  },
  {
    title: "Connect",    items: [
      { label: "Twitter", href: "#" },
      { label: "LinkedIn", href: "#" },
      { label: "Instagram", href: "#" },
      { label: "Dribbble", href: "#" }
    ]
  }
];

export default function ContactPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="text-stagger"
      defaultTextAnimation="entrance-slide"
      borderRadius="pill"
      contentWidth="medium"
      sizing="medium"
      background="none"
      cardStyle="glass-elevated"
      primaryButtonStyle="gradient"
      secondaryButtonStyle="glass"
      headingFontWeight="medium"
    >
      <ReactLenis root>
        <NavbarLayoutFloatingOverlay
          brandName="Webild"
          navItems={NAV_ITEMS}
          button={{ text: "Get Started", href: "/contact" }}
        />
        <ContactSplitForm
          title="Get in Touch"
          description="We'd love to hear from you! Fill out the form below or reach out directly."
          inputs={[
            { name: "name", type: "text", placeholder: "Your Name", required: true },
            { name: "email", type: "email", placeholder: "Your Email", required: true },
            { name: "subject", type: "text", placeholder: "Subject" }
          ]}
          textarea={{ name: "message", placeholder: "Your Message", rows: 5, required: true }}
          buttonText="Send Message"
          imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/default/templates/web-agency-2/shot-7.webp"
          imageAlt="Contact Us"
          mediaPosition="right"
          useInvertedBackground={false}
          mediaAnimation="slide-up"
        />
        <FooterBase
          logoText="Webild"
          copyrightText="© 2026 | Webild"
          columns={FOOTER_COLUMNS}
        />
      </ReactLenis>
    </ThemeProvider>
  );
}
