"use client";

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

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="Grow With Social"
          navItems={[
            { name: "Domov", id: "/" },
            { name: "Práca", id: "/#work" },
            { name: "Služby", id: "/#services" },
            { name: "O nás", id: "/about" },
            { name: "Kontakt", id: "/contact" }
          ]}
        />

        <ContactSplit
          tag="Get in Touch"
          title="Let's Start Your Next Project"
          description="Tell us about your ideas, and we'll help you bring them to life. Reach out today for a consultation."
          background={{ variant: "rotated-rays-animated" }}
          mediaPosition="right"
          inputPlaceholder="Your Email Address"
          useInvertedBackground={false}
          onSubmit={(email) => console.log("Contact form submitted with email:", email)}
        />

        <FooterBase
          logoText="Grow With Social"
          copyrightText="© 2026 | Grow With Social"
          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: "/#" },
                { label: "SEO", href: "/#" },
                { label: "Branding", href: "/#" },
                { label: "UI/UX Design", href: "/#" },
              ],
            },
            {
              title: "Connect",              items: [
                { label: "Twitter", href: "/#" },
                { label: "LinkedIn", href: "/#" },
                { label: "Instagram", href: "/#" },
                { label: "Dribbble", href: "/#" },
              ],
            },
          ]}
        />
      </ReactLenis>
    </ThemeProvider>
  );
}