"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarLayoutFloatingInline from '@/components/navbar/NavbarLayoutFloatingInline';
import ContactSplit from '@/components/sections/contact/ContactSplit';
import FooterLogoEmphasis from '@/components/sections/footer/FooterLogoEmphasis';
import Link from 'next/link';

export default function ContactPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="text-stagger"
      defaultTextAnimation="reveal-blur"
      borderRadius="sharp"
      contentWidth="medium"
      sizing="medium"
      background="none"
      cardStyle="inset"
      primaryButtonStyle="flat"
      secondaryButtonStyle="glass"
      headingFontWeight="semibold"
    >
      <div id="nav" data-section="nav">
        <NavbarLayoutFloatingInline
          brandName="Pitchdrive"
          navItems={[
            { name: "Home", id: "/" },
            { name: "About", id: "/about" },
            { name: "Portfolio", id: "/portfolio" },
            { name: "Team", id: "/team" },
            { name: "Contact", id: "/contact" }
          ]}
          button={{
            text: "Apply for Funding",            href: "/contact"
          }}
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactSplit
          tag="Get Funded"
          title="Ready to Pitch Your Vision?"
          description="Join the next generation of breakthrough founders backed by Pitchdrive. Submit your pitch deck and let's explore how we can help scale your company."
          useInvertedBackground="noInvert"
          imageSrc="https://img.b2bpic.net/free-photo/target-development-business-investment_53876-124850.jpg"
          imageAlt="Startup investment opportunity"
          mediaPosition="right"
          inputPlaceholder="your@startup.com"
          buttonText="Submit Pitch"
          termsText="We'll review your submission within 2 weeks. By submitting, you agree to our terms and confidentiality agreement."
          onSubmit={(email) => {
            console.log('Pitch submission:', email);
          }}
        />
      </div>

      <FooterLogoEmphasis
        logoText="Pitchdrive"
        columns={[
          {
            items: [
              { label: "About", href: "/about" },
              { label: "Portfolio", href: "/portfolio" },
              { label: "Team", href: "/team" }
            ]
          },
          {
            items: [
              { label: "Investment Thesis", href: "/portfolio" },
              { label: "Submit Your Pitch", href: "/contact" },
              { label: "Contact", href: "/contact" }
            ]
          },
          {
            items: [
              { label: "Antwerp, Belgium", href: "#" },
              { label: "hello@pitchdrive.eu", href: "mailto:hello@pitchdrive.eu" },
              { label: "LinkedIn", href: "https://linkedin.com" }
            ]
          }
        ]}
      />
    </ThemeProvider>
  );
}