"use client";

import Link from "next/link";
import { HelpCircle } from "lucide-react";
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarLayoutFloatingInline from '@/components/navbar/NavbarLayoutFloatingInline';
import FaqDouble from '@/components/sections/faq/FaqDouble';
import ContactSplitForm from '@/components/sections/contact/ContactSplitForm';
import FooterMedia from '@/components/sections/footer/FooterMedia';

export default function ContactPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="elastic-effect"
      defaultTextAnimation="background-highlight"
      borderRadius="pill"
      contentWidth="compact"
      sizing="largeSmall"
      background="plain"
      cardStyle="glass-elevated"
      primaryButtonStyle="double-inset"
      secondaryButtonStyle="radial-glow"
      headingFontWeight="bold"
    >
      <div id="nav" data-section="nav">
        <NavbarLayoutFloatingInline
          brandName="PitchDrive"
          navItems={[
            { name: "About", id: "/about" },
            { name: "Portfolio", id: "/portfolio" },
            { name: "Team", id: "/team" },
            { name: "Contact", id: "/contact" }
          ]}
          button={{
            text: "Get Started",
            href: "/contact"
          }}
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactSplitForm
          title="Get in Touch"
          description="Ready to pitch your startup to PitchDrive? We'd love to hear about your vision and see if we're a good fit for your journey."
          inputs={[
            { name: "founder_name", type: "text", placeholder: "Your Name", required: true },
            { name: "company_name", type: "text", placeholder: "Company Name", required: true },
            { name: "email", type: "email", placeholder: "Email Address", required: true },
            { name: "phone", type: "tel", placeholder: "Phone Number", required: false }
          ]}
          textarea={{
            name: "pitch",
            placeholder: "Tell us about your startup, vision, and why you're looking for investment...",
            rows: 6,
            required: true
          }}
          imageSrc="https://img.b2bpic.net/free-photo/two-businesspeople-with-laptop-sitting-restaurant_23-2147876708.jpg"
          imageAlt="PitchDrive VC office in Antwerp"
          mediaPosition="right"
          useInvertedBackground="noInvert"
          buttonText="Submit Pitch"
          onSubmit={(data) => console.log('Form submitted:', data)}
        />
      </div>

      <div id="faq" data-section="faq">
        <FaqDouble
          title="Frequently Asked Questions"
          description="Everything you need to know about investing with PitchDrive"
          tag="Support"
          tagIcon={HelpCircle}
          textboxLayout="default"
          useInvertedBackground="invertDefault"
          animationType="smooth"
          faqs={[
            {
              id: "1",
              title: "What stage of companies do you invest in?",
              content: "We focus on early-stage startups, typically from pre-seed through Series B. Our sweet spot is companies with proven product-market fit and experienced founding teams looking to scale."
            },
            {
              id: "2",
              title: "What are typical check sizes?",
              content: "Our initial investments range from €500K to €3M, with follow-on investment capacity up to €5M. We're flexible with check sizes based on company needs and growth trajectory."
            },
            {
              id: "3",
              title: "How long is your investment process?",
              content: "From initial pitch to funding decision typically takes 4-8 weeks. We move quickly for exceptional founders, but conduct thorough due diligence to ensure alignment."
            },
            {
              id: "4",
              title: "Do you take board seats?",
              content: "We typically take observer rights or a board seat depending on the deal structure and investment size. Our goal is to be supportive partners without being overly hands-on."
            },
            {
              id: "5",
              title: "What industries are you focused on?",
              content: "Primary focus areas include SaaS, fintech, AI/ML, climate tech, and B2B marketplaces. We're open to exceptional founders in adjacent sectors with clear market opportunities."
            },
            {
              id: "6",
              title: "How do we submit our pitch?",
              content: "Visit our contact page to submit your pitch deck, team information, and a brief company overview. We review all submissions and typically respond within 2 weeks."
            }
          ]}
        />
      </div>

      <FooterMedia
        imageSrc="https://img.b2bpic.net/free-photo/two-businesspeople-with-laptop-sitting-restaurant_23-2147876708.jpg"
        imageAlt="PitchDrive VC - Antwerp headquarters"
        logoText="PitchDrive VC"
        copyrightText="© 2024 PitchDrive VC. All rights reserved. Based in Antwerp, Belgium."
        columns={[
          {
            title: "Company",
            items: [
              { label: "About Us", href: "/about" },
              { label: "Portfolio", href: "/portfolio" },
              { label: "Team", href: "/team" }
            ]
          },
          {
            title: "Resources",
            items: [
              { label: "Investment Process", href: "/about" },
              { label: "FAQ", href: "/contact" },
              { label: "Blog", href: "#" }
            ]
          },
          {
            title: "Contact",
            items: [
              { label: "Antwerp, Belgium", href: "#" },
              { label: "hello@pitchdrive.vc", href: "mailto:hello@pitchdrive.vc" },
              { label: "LinkedIn", href: "https://linkedin.com" }
            ]
          }
        ]}
      />
    </ThemeProvider>
  );
}