"use client";

import NavbarLayoutFloatingOverlay from '@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay';
import ContactSplitForm from '@/components/sections/contact/ContactSplitForm';
import MetricCardEleven from '@/components/sections/metrics/MetricCardEleven';
import TestimonialAboutCard from '@/components/sections/about/TestimonialAboutCard';
import FooterMedia from '@/components/sections/footer/FooterMedia';
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import { Mail, TrendingUp, Award } from 'lucide-react';

export default function ContactPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="hover-bubble"
      defaultTextAnimation="background-highlight"
      borderRadius="pill"
      contentWidth="small"
      sizing="largeSmall"
      background="floatingGradient"
      cardStyle="soft-shadow"
      primaryButtonStyle="primary-glow"
      secondaryButtonStyle="solid"
      headingFontWeight="bold"
    >
      <div id="nav" data-section="nav">
        <NavbarLayoutFloatingOverlay
          brandName="Pitchdrive"
          navItems={[
            { name: "Home", id: "/" },
            { name: "About", id: "/about" },
            { name: "Portfolio", id: "/portfolio" },
            { name: "Contact", id: "/contact" }
          ]}
          button={{
            text: "Start Pitching",            href: "/contact"
          }}
        />
      </div>

      <div id="contact-form" data-section="contact-form">
        <ContactSplitForm
          title="Ready to Pitch?"
          description="Send us your deck and let's explore how Pitchdrive can help scale your vision. We respond to promising founders within 48 hours."
          inputs={[
            {
              name: "founder_name",              type: "text",              placeholder: "Founder 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: "message",            placeholder: "Tell us about your startup and why you're seeking investment",            rows: 5,
            required: true
          }}
          imageSrc="https://images.unsplash.com/photo-1552664730-d307ca884978?w=1200&h=800&fit=crop"
          imageAlt="Contact us at Pitchdrive"
          mediaPosition="right"
          buttonText="Submit Pitch"
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="response-commitment" data-section="response-commitment">
        <TestimonialAboutCard
          tag="Our Commitment"
          tagIcon={Award}
          title="We review every submission personally and respond within 48 hours"
          description="Pitchdrive Team"
          subdescription="Investment Partners"
          icon={Mail}
          imageSrc="https://images.unsplash.com/photo-1552664730-d307ca884978?w=1200&h=800&fit=crop"
          imageAlt="Pitchdrive investment team"
          useInvertedBackground="invertDefault"
        />
      </div>

      <div id="contact-stats" data-section="contact-stats">
        <MetricCardEleven
          title="We're Here to Help"
          description="Connect with Europe's most founder-friendly venture capital firm."
          tag="Contact Stats"
          tagIcon={TrendingUp}
          textboxLayout="default"
          animationType="slide-up"
          metrics={[
            {
              id: "1",              value: "48h",              title: "Response Time",              description: "Average time to initial founder response",              imageSrc: "https://images.unsplash.com/photo-1552664730-d307ca884978?w=800&h=600&fit=crop",              imageAlt: "Quick response time"
            },
            {
              id: "2",              value: "500+",              title: "Pitches Reviewed",              description: "Startup applications reviewed annually",              imageSrc: "https://images.unsplash.com/photo-1552664730-d307ca884978?w=800&h=600&fit=crop",              imageAlt: "Pitch reviews"
            }
          ]}
          useInvertedBackground="noInvert"
        />
      </div>

      <FooterMedia
        imageSrc="https://images.unsplash.com/photo-1552664730-d307ca884978?w=1200&h=800&fit=crop"
        imageAlt="Brussels skyline"
        logoText="Pitchdrive"
        copyrightText="© 2025 Pitchdrive. All rights reserved. Based in Brussels, Belgium."
        columns={[
          {
            title: "Company",            items: [
              { label: "About", href: "/about" },
              { label: "Portfolio", href: "/portfolio" },
              { label: "Contact", href: "/contact" }
            ]
          },
          {
            title: "Resources",            items: [
              { label: "Pitch Deck Template", href: "#" },
              { label: "Founder Resources", href: "#" },
              { label: "Blog", href: "#" }
            ]
          },
          {
            title: "Contact",            items: [
              { label: "hello@pitchdrive.be", href: "mailto:hello@pitchdrive.be" },
              { label: "Brussels, Belgium", href: "#" },
              { label: "LinkedIn", href: "#" }
            ]
          }
        ]}
      />
    </ThemeProvider>
  );
}
