"use client";
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarLayoutFloatingOverlay from '@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay';
import ContactSplitForm from '@/components/sections/contact/ContactSplitForm';
import FooterMedia from '@/components/sections/footer/FooterMedia';

export default function ContactPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="hover-bubble"
      defaultTextAnimation="background-highlight"
      borderRadius="rounded"
      contentWidth="medium"
      sizing="mediumLargeSizeLargeTitles"
      background="floatingGradient"
      cardStyle="gradient-radial"
      primaryButtonStyle="primary-glow"
      secondaryButtonStyle="radial-glow"
      headingFontWeight="semibold"
    >
      <div id="nav" data-section="nav">
        <NavbarLayoutFloatingOverlay 
          brandName="Pitchdrive"
          navItems={[
            { name: "Home", id: "/" },
            { name: "About", id: "/about" },
            { name: "Portfolio", id: "/portfolio" },
            { name: "Team", id: "/team" }
          ]}
          button={{
            text: "Submit a Pitch",
            href: "/contact"
          }}
        />
      </div>

      <div id="contact" data-section="contact" className="mx-auto px-4 md:px-6 pt-32">
        <ContactSplitForm 
          title="Submit Your Pitch"
          description="Ready to transform your vision into reality? Tell us about your company, team, and the problem you're solving. Our team reviews all submissions and responds within 2 weeks."
          inputs={[
            {
              name: "company_name",
              type: "text",
              placeholder: "Company Name",
              required: true
            },
            {
              name: "founder_name",
              type: "text",
              placeholder: "Founder Name",
              required: true
            },
            {
              name: "email",
              type: "email",
              placeholder: "Email Address",
              required: true
            },
            {
              name: "website",
              type: "text",
              placeholder: "Company Website (optional)",
              required: false
            }
          ]}
          textarea={{
            name: "pitch_summary",
            placeholder: "Tell us about your company, team, and market opportunity. Share your vision and why you're the right team to execute.",
            rows: 5,
            required: true
          }}
          useInvertedBackground="noInvert"
          imageSrc="https://img.b2bpic.net/free-photo/close-up-young-business-team-working_23-2149153838.jpg"
          imageAlt="Pitchdrive pitch submission process"
          mediaPosition="right"
          buttonText="Submit Pitch"
          onSubmit={(data) => console.log('Pitch submitted:', data)}
        />
      </div>

      <FooterMedia 
        logoText="Pitchdrive"
        imageSrc="https://img.b2bpic.net/free-photo/graph-growth-development-improvement-profit-success-concept_53876-133598.jpg"
        imageAlt="Pitchdrive venture capital"
        copyrightText="© 2025 Pitchdrive AG. All rights reserved."
        columns={[
          {
            title: "Company",
            items: [
              { label: "Home", href: "/" },
              { label: "About Us", href: "/about" },
              { label: "Team", href: "/team" },
              { label: "Careers", href: "#" }
            ]
          },
          {
            title: "Investment",
            items: [
              { label: "Portfolio", href: "/portfolio" },
              { label: "Submit Pitch", href: "/contact" },
              { label: "Fund Structure", href: "#" },
              { label: "LPs", href: "#" }
            ]
          },
          {
            title: "Resources",
            items: [
              { label: "Blog", href: "#" },
              { label: "Insights", href: "#" },
              { label: "Contact", href: "/contact" },
              { label: "Privacy Policy", href: "#" }
            ]
          }
        ]}
      />
    </ThemeProvider>
  );
}