"use client";

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

export default function ContactPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="text-stagger"
      defaultTextAnimation="entrance-slide"
      borderRadius="pill"
      contentWidth="medium"
      sizing="medium"
      background="none"
      cardStyle="glass-elevated"
      primaryButtonStyle="metallic"
      secondaryButtonStyle="glass"
      headingFontWeight="medium"
    >
      <ReactLenis root>
        <div id="nav" data-section="nav">
          <NavbarLayoutFloatingOverlay
            brandName="Webild"
            navItems={[
              { name: "Work", id: "/#work" },
              { name: "Services", id: "/services" },
              { name: "About", id: "/#about" },
              { name: "Contact", id: "/contact" }
            ]}
            button={{ text: "Get Started", href: "/contact" }}
          />
        </div>
        <div id="contact" data-section="contact">
          <ContactCenter
            tag="Get in Touch"
            tagIcon={Phone}
            title="Let's Build Something Extraordinary Together."
            description="Have a project in mind or a question? Reach out to us, and let's start a conversation."
            background={{ variant: "rotated-rays-animated" }}
            buttonText="Send Message"
            inputPlaceholder="Your Name / Email / Message..."
            useInvertedBackground={false}
          />
        </div>
        <div id="footer" data-section="footer">
          <FooterBase
            logoText="Webild"
            copyrightText="© 2026 | Webild"
            columns={[
              {
                title: "Company",              items: [
                  { label: "About", href: "/#about" },
                  { label: "Services", href: "/services" },
                  { label: "Work", href: "/#work" },
                  { 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: "#" }
                ]
              }
            ]}
          />
        </div>
      </ReactLenis>
    </ThemeProvider>
  );
}
