"use client";

import NavbarLayoutFloatingOverlay from '@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay';
import HeroBillboardCarousel from '@/components/sections/hero/HeroBillboardCarousel';
import TestimonialAboutCard from '@/components/sections/about/TestimonialAboutCard';
import FeatureCardThree from '@/components/sections/feature/featureCardThree/FeatureCardThree';
import MetricCardEleven from '@/components/sections/metrics/MetricCardEleven';
import ContactSplitForm from '@/components/sections/contact/ContactSplitForm';
import FooterMedia from '@/components/sections/footer/FooterMedia';
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import { Award, Rocket, Target, TrendingUp, Sparkles } from 'lucide-react';

export default function HomePage() {
  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="hero" data-section="hero">
        <HeroBillboardCarousel
          title="Empower Your Startup Vision"
          description="Pitchdrive is Belgium's premier venture capital firm, partnering with innovative startups to drive transformative growth and create lasting impact across Europe."
          background={{ variant: "sparkles-gradient" }}
          tag="VC Fund"
          tagIcon={Sparkles}
          buttons={[
            { text: "Submit Pitch", href: "/contact" },
            { text: "Our Portfolio", href: "/portfolio" }
          ]}
          mediaItems={[
            {
              imageSrc: "https://images.unsplash.com/photo-1552664730-d307ca884978?w=1200&h=800&fit=crop",              imageAlt: "Venture capital investment"
            },
            {
              imageSrc: "https://images.unsplash.com/photo-1517694712202-14dd9538aa97?w=1200&h=800&fit=crop",              imageAlt: "Technology innovation"
            },
            {
              imageSrc: "https://images.unsplash.com/photo-1579621970563-430f63602022?w=1200&h=800&fit=crop",              imageAlt: "Financial growth"
            },
            {
              imageSrc: "https://images.unsplash.com/photo-1552664730-d307ca884978?w=1200&h=800&fit=crop",              imageAlt: "Team collaboration"
            },
            {
              imageSrc: "https://images.unsplash.com/photo-1552664730-d307ca884978?w=1200&h=800&fit=crop",              imageAlt: "Success stories"
            }
          ]}
        />
      </div>

      <div id="about" data-section="about">
        <TestimonialAboutCard
          tag="About Pitchdrive"
          tagIcon={Award}
          title="Building Europe's Most Promising Companies"
          description="Since 2018, Pitchdrive has invested in over 50 innovative startups across fintech, SaaS, and deep tech sectors."
          subdescription="Headquartered in Brussels, Belgium"
          icon={Rocket}
          imageSrc="https://images.unsplash.com/photo-1552664730-d307ca884978?w=1200&h=800&fit=crop"
          imageAlt="Pitchdrive office and workspace"
          useInvertedBackground="invertDefault"
        />
      </div>

      <div id="investment-focus" data-section="investment-focus" style={{ marginTop: '-2rem' }}>
        <FeatureCardThree
          title="What We Look For"
          description="Our investment philosophy centers on founders with ambitious vision, proven execution ability, and products addressing real market problems."
          tag="Investment Focus"
          tagIcon={Target}
          textboxLayout="default"
          gridVariant="four-items-2x2-equal-grid"
          animationType="slide-up"
          features={[
            {
              id: "01",              title: "Strategic Guidance",              description: "Expert mentorship from successful entrepreneurs and industry leaders to accelerate growth and overcome challenges.",              imageSrc: "https://images.unsplash.com/photo-1552664730-d307ca884978?w=800&h=600&fit=crop",              imageAlt: "Strategic business guidance"
            },
            {
              id: "02",              title: "Network Access",              description: "Connect with our extensive network of partners, customers, and fellow portfolio founders for exponential growth.",              imageSrc: "https://images.unsplash.com/photo-1552664730-d307ca884978?w=800&h=600&fit=crop",              imageAlt: "Network and partnerships"
            },
            {
              id: "03",              title: "Capital Injection",              description: "Flexible funding rounds tailored to your growth stage, from seed to Series B and beyond.",              imageSrc: "https://images.unsplash.com/photo-1552664730-d307ca884978?w=800&h=600&fit=crop",              imageAlt: "Investment capital"
            },
            {
              id: "04",              title: "Active Support",              description: "Ongoing operational support including recruitment, legal, and technical expertise whenever you need it.",              imageSrc: "https://images.unsplash.com/photo-1552664730-d307ca884978?w=800&h=600&fit=crop",              imageAlt: "Operational support"
            }
          ]}
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="metrics" data-section="metrics">
        <MetricCardEleven
          title="Our Track Record"
          description="Proven results and measurable impact across our portfolio."
          tag="Results"
          tagIcon={TrendingUp}
          textboxLayout="default"
          animationType="slide-up"
          metrics={[
            {
              id: "1",              value: "€150M+",              title: "Assets Under Management",              description: "Capital deployed across portfolio companies",              imageSrc: "https://images.unsplash.com/photo-1552664730-d307ca884978?w=800&h=600&fit=crop",              imageAlt: "Investment metrics"
            },
            {
              id: "2",              value: "50+",              title: "Portfolio Companies",              description: "Innovative startups backed since 2018",              imageSrc: "https://images.unsplash.com/photo-1552664730-d307ca884978?w=800&h=600&fit=crop",              imageAlt: "Portfolio growth"
            }
          ]}
          useInvertedBackground="invertDefault"
        />
      </div>

      <div id="contact" data-section="contact">
        <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
            }
          ]}
          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>

      <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>
  );
}
