"use client";

import NavbarLayoutFloatingOverlay from '@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay';
import ProductCardThree from '@/components/sections/product/ProductCardThree';
import FeatureCardThree from '@/components/sections/feature/featureCardThree/FeatureCardThree';
import MetricCardEleven from '@/components/sections/metrics/MetricCardEleven';
import FooterMedia from '@/components/sections/footer/FooterMedia';
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import { Target, TrendingUp } from 'lucide-react';

export default function PortfolioPage() {
  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="portfolio-companies" data-section="portfolio-companies">
        <ProductCardThree
          title="Portfolio Highlights"
          description="Meet some of the innovative companies we're backing and the founders changing their industries."
          tag="Featured Investments"
          textboxLayout="default"
          gridVariant="three-columns-all-equal-width"
          animationType="slide-up"
          products={[
            {
              id: "1",              name: "CloudSync",              price: "Series A",              imageSrc: "https://images.unsplash.com/photo-1552664730-d307ca884978?w=800&h=600&fit=crop",              imageAlt: "CloudSync tech startup"
            },
            {
              id: "2",              name: "PayFlow",              price: "Series B",              imageSrc: "https://images.unsplash.com/photo-1552664730-d307ca884978?w=800&h=600&fit=crop",              imageAlt: "PayFlow SaaS platform"
            },
            {
              id: "3",              name: "ChainVault",              price: "Seed",              imageSrc: "https://images.unsplash.com/photo-1552664730-d307ca884978?w=800&h=600&fit=crop",              imageAlt: "ChainVault fintech"
            }
          ]}
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="investment-sectors" data-section="investment-sectors">
        <FeatureCardThree
          title="Investment Sectors"
          description="We focus on high-growth sectors where technology creates meaningful disruption and scalable business models."
          tag="Focus Areas"
          tagIcon={Target}
          textboxLayout="default"
          gridVariant="three-columns-all-equal-width"
          animationType="slide-up"
          features={[
            {
              id: "01",              title: "Fintech Innovation",              description: "Digital banking, payment solutions, blockchain technology, and financial infrastructure modernization.",              imageSrc: "https://images.unsplash.com/photo-1552664730-d307ca884978?w=800&h=600&fit=crop",              imageAlt: "Fintech innovation"
            },
            {
              id: "02",              title: "B2B SaaS Platforms",              description: "Enterprise software, automation tools, data analytics, and cloud-native business solutions.",              imageSrc: "https://images.unsplash.com/photo-1552664730-d307ca884978?w=800&h=600&fit=crop",              imageAlt: "SaaS platforms"
            },
            {
              id: "03",              title: "Deep Tech",              description: "Artificial intelligence, machine learning, IoT, cybersecurity, and emerging technologies.",              imageSrc: "https://images.unsplash.com/photo-1552664730-d307ca884978?w=800&h=600&fit=crop",              imageAlt: "Deep technology"
            }
          ]}
          useInvertedBackground="invertDefault"
        />
      </div>

      <div id="portfolio-metrics" data-section="portfolio-metrics">
        <MetricCardEleven
          title="Portfolio Success Metrics"
          description="Our portfolio companies consistently achieve exceptional growth and market validation."
          tag="Performance"
          tagIcon={TrendingUp}
          textboxLayout="default"
          animationType="slide-up"
          metrics={[
            {
              id: "1",              value: "€2B+",              title: "Combined Portfolio Value",              description: "Total valuation across all investments",              imageSrc: "https://images.unsplash.com/photo-1552664730-d307ca884978?w=800&h=600&fit=crop",              imageAlt: "Portfolio valuation"
            },
            {
              id: "2",              value: "85%",              title: "Success Rate",              description: "Companies achieving Series A milestones",              imageSrc: "https://images.unsplash.com/photo-1552664730-d307ca884978?w=800&h=600&fit=crop",              imageAlt: "Success metrics"
            }
          ]}
          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>
  );
}
