"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleFullscreen from "@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen";
import SocialProofOne from "@/components/sections/socialProof/SocialProofOne";
import ContactCTA from "@/components/sections/contact/ContactCTA";
import FooterBaseReveal from "@/components/sections/footer/FooterBaseReveal";

export default function ConnectPage() {
  const navItems = [
    { name: "Home", id: "/" },
    { name: "Explore My Works", id: "/explore" },
    { name: "Vision", id: "/about" },
    { name: "Connect", id: "/connect" },
    { name: "Thoughts", id: "/thoughts" },
  ];

  const footerColumns = [
    {
      title: "Navigation",      items: [
        { label: "Home", href: "/" },
        { label: "Explore My Works", href: "/explore" },
        { label: "Vision", href: "/about" },
        { label: "Contact", href: "/contact" },
      ],
    },
    {
      title: "Connect",      items: [
        { label: "Calendly", href: "https://calendly.com/karu-navolab/growth-engine-demo-navo-lab" },
        { label: "Substack", href: "https://substack.com/@karuthompson" },
        { label: "X", href: "https://x.com/KaruThompson" },
        { label: "Email", href: "mailto:hello@example.com" },
      ],
    },
    {
      title: "Resources",      items: [
        { label: "Newsletter", href: "#" },
        { label: "Thoughts", href: "/thoughts" },
        { label: "Privacy", href: "#" },
        { label: "Terms", href: "#" },
      ],
    },
  ];

  return (
    <ThemeProvider
      defaultButtonVariant="elastic-effect"
      defaultTextAnimation="background-highlight"
      borderRadius="pill"
      contentWidth="smallMedium"
      sizing="largeSmallSizeMediumTitles"
      background="floatingGradient"
      cardStyle="layered-gradient"
      primaryButtonStyle="radial-glow"
      secondaryButtonStyle="layered"
      headingFontWeight="light"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleFullscreen
          navItems={navItems}
          brandName="Karu Thompson"
          bottomLeftText="Crafted with intention"
          bottomRightText="Let's connect"
        />
      </div>

      <div id="connect" data-section="connect">
        <SocialProofOne
          title="Connect With Me"
          description="Let's explore ideas together. Reach out through any of these channels—I'd love to hear from you."
          textboxLayout="default"
          useInvertedBackground={false}
          names={["Calendly", "Substack", "X", "Email", "Newsletter"]}
          speed={40}
          showCard={true}
        />
      </div>

      <div id="contact-cta" data-section="contact-cta">
        <ContactCTA
          tag="Direct Channels"
          title="Get in touch"
          description="Whether you have a specific project, want to collaborate, or simply want to chat about ideas, here are the best ways to reach me."
          background={{ variant: "plain" }}
          buttons={[
            { text: "Schedule on Calendly", href: "https://calendly.com/karu-navolab/growth-engine-demo-navo-lab" },
            { text: "Send an Email", href: "mailto:hello@example.com" },
          ]}
          buttonAnimation="blur-reveal"
          useInvertedBackground={true}
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterBaseReveal
          columns={footerColumns}
          copyrightText="© 2025 Karu Thompson. Crafted with intention and creative vision."
        />
      </div>
    </ThemeProvider>
  );
}
