"use client";
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarLayoutFloatingOverlay from '@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay';
import ProductCardFour from '@/components/sections/product/ProductCardFour';
import MetricCardSeven from '@/components/sections/metrics/MetricCardSeven';
import FooterMedia from '@/components/sections/footer/FooterMedia';
import { Sparkles } from "lucide-react";

export default function PortfolioPage() {
  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: "Team", id: "/team" },
            { name: "Contact", id: "/contact" }
          ]}
          button={{
            text: "Submit a Pitch",
            href: "/contact"
          }}
        />
      </div>

      <div id="portfolio" data-section="portfolio" className="mx-auto px-4 md:px-6 pt-32">
        <ProductCardFour 
          title="Portfolio Companies"
          description="Transformative companies shaping tomorrow's markets. Strategic investments across deep tech, climate, and fintech sectors."
          tag="Featured Investments"
          tagIcon={Sparkles}
          textboxLayout="default"
          animationType="slide-up"
          useInvertedBackground="noInvert"
          products={[
            {
              id: "1",
              name: "CloudScale AI",
              price: "$45M Series A",
              variant: "Deep Tech | Infrastructure",
              imageSrc: "https://img.b2bpic.net/free-photo/portrait-smiling-coworkers-looking-revenue-figures-paperwork_482257-126641.jpg",
              imageAlt: "CloudScale AI - AI infrastructure platform"
            },
            {
              id: "2",
              name: "GreenEnergy Systems",
              price: "$32M Series B",
              variant: "Climate Tech | Energy",
              imageSrc: "https://img.b2bpic.net/free-photo/people-working-html-codes_23-2150038851.jpg",
              imageAlt: "GreenEnergy Systems - renewable energy innovation"
            },
            {
              id: "3",
              name: "FinFlow Analytics",
              price: "$28M Series A",
              variant: "Fintech | Compliance",
              imageSrc: "https://img.b2bpic.net/free-photo/businessman-checking-report-tablet_482257-120320.jpg",
              imageAlt: "FinFlow Analytics - financial compliance platform"
            }
          ]}
          gridVariant="uniform-all-items-equal"
          carouselMode="buttons"
        />
      </div>

      <div id="metrics" data-section="metrics" className="mx-auto px-4 md:px-6">
        <MetricCardSeven 
          title="Our Track Record"
          description="Proven investment returns and portfolio performance metrics demonstrating our expertise in capital deployment and value creation."
          textboxLayout="default"
          animationType="slide-up"
          useInvertedBackground="invertDefault"
          metrics={[
            {
              id: "1",
              value: "3.2x",
              title: "Average Return Multiple",
              items: [
                "Consistent outperformance",
                "Portfolio companies growing 40%+ YoY",
                "Zero complete losses"
              ]
            },
            {
              id: "2",
              value: "15",
              title: "Portfolio Companies",
              items: [
                "Across 3 core sectors",
                "Total portfolio valuation: €1.2B",
                "Average exit timeline: 5-7 years"
              ]
            },
            {
              id: "3",
              value: "$450M",
              title: "Assets Under Management",
              items: [
                "Deployed across 3 fund vehicles",
                "Strong institutional LP base",
                "Active deployment pipeline"
              ]
            },
            {
              id: "4",
              value: "92%",
              title: "LP Retention Rate",
              items: [
                "Multi-fund repeat investors",
                "Long-term partnership model",
                "Transparent communication"
              ]
            }
          ]}
          carouselMode="buttons"
          uniformGridCustomHeightClasses="min-h-80 2xl:min-h-90"
        />
      </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>
  );
}