"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleFullscreen from '@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen';
import ContactSplitForm from '@/components/sections/contact/ContactSplitForm';
import FooterBase from '@/components/sections/footer/FooterBase';

export default function ContactPage() {
  const handleSubmit = (data: Record<string, string>) => {
    console.log('Form submitted:', data);
  };

  return (
    <ThemeProvider
      defaultButtonVariant="shift-hover"
      defaultTextAnimation="background-highlight"
      borderRadius="rounded"
      contentWidth="medium"
      sizing="largeSmallSizeLargeTitles"
      background="circleGradient"
      cardStyle="glass-depth"
      primaryButtonStyle="inset-glow"
      secondaryButtonStyle="radial-glow"
      headingFontWeight="extrabold"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleFullscreen
          navItems={[
            { name: "Home", id: "/" },
            { name: "About", id: "/about" },
            { name: "Strategy", id: "/strategy" },
            { name: "Team", id: "/team" },
            { name: "Contact", id: "/contact" }
          ]}
          brandName="PitchDrive"
          bottomLeftText="Based in Belgium"
          bottomRightText="hello@pitchdrive.io"
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactSplitForm
          title="Ready to Pitch?"
          description="We'd love to hear your vision. Submit your pitch deck or schedule a conversation with our team to explore how we can accelerate your company's growth."
          useInvertedBackground="noInvert"
          mediaPosition="right"
          imageSrc="https://img.b2bpic.net/free-photo/diverse-work-team-multinational-company-analyzing-performance-metrics-projections-staff_482257-132812.jpg"
          imageAlt="PitchDrive team collaborating on investment opportunities"
          inputs={[
            {
              name: "founder_name",
              type: "text",
              placeholder: "Founder Name",
              required: true
            },
            {
              name: "company_email",
              type: "email",
              placeholder: "Company Email",
              required: true
            },
            {
              name: "company_name",
              type: "text",
              placeholder: "Company Name",
              required: true
            },
            {
              name: "website",
              type: "url",
              placeholder: "Company Website",
              required: false
            }
          ]}
          textarea={{
            name: "pitch_message",
            placeholder: "Tell us about your company, vision, and how we can help accelerate your growth...",
            rows: 5,
            required: true
          }}
          buttonText="Submit Pitch"
          onSubmit={handleSubmit}
        />
      </div>

      <FooterBase
        logoText="PitchDrive"
        copyrightText="© 2025 PitchDrive VC | Belgium"
        columns={[
          {
            title: "Company",
            items: [
              { label: "About", href: "/about" },
              { label: "Team", href: "/team" },
              { label: "Portfolio", href: "#" },
              { label: "Blog", href: "#" }
            ]
          },
          {
            title: "Resources",
            items: [
              { label: "Pitch Guide", href: "#" },
              { label: "FAQ", href: "#" },
              { label: "Investment Criteria", href: "#" },
              { label: "Contact", href: "/contact" }
            ]
          },
          {
            title: "Connect",
            items: [
              { label: "LinkedIn", href: "https://linkedin.com" },
              { label: "Twitter", href: "https://twitter.com" },
              { label: "Email", href: "mailto:hello@pitchdrive.io" }
            ]
          }
        ]}
      />
    </ThemeProvider>
  );
}