"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered';
import HeroLogo from '@/components/sections/hero/HeroLogo';
import MetricSplitMediaAbout from '@/components/sections/about/MetricSplitMediaAbout';
import FeatureCardSix from '@/components/sections/feature/FeatureCardSix';
import ProductCardTwo from '@/components/sections/product/ProductCardTwo';
import MetricCardOne from '@/components/sections/metrics/MetricCardOne';
import TestimonialCardSix from '@/components/sections/testimonial/TestimonialCardSix';
import FooterCard from '@/components/sections/footer/FooterCard';
import { TrendingUp, BarChart3, Zap, Star, Linkedin, Twitter, Mail } from 'lucide-react';
import Link from 'next/link';

export default function HomePage() {
  return (
    <ThemeProvider
      defaultButtonVariant="elastic-effect"
      defaultTextAnimation="reveal-blur"
      borderRadius="sharp"
      contentWidth="mediumSmall"
      sizing="mediumSizeLargeTitles"
      background="aurora"
      cardStyle="gradient-bordered"
      primaryButtonStyle="primary-glow"
      secondaryButtonStyle="glass"
      headingFontWeight="semibold"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleCentered 
          brandName="Show Your Idea"
          navItems={[
            { name: "Home", id: "/" },
            { name: "About", id: "/about" },
            { name: "Services", id: "/services" },
            { name: "Portfolio", id: "/portfolio" },
            { name: "Contact", id: "/contact" }
          ]}
          button={{ text: "Pitch Your Idea", href: "/contact" }}
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroLogo 
          logoText="Show Your Idea"
          description="Transform your entrepreneurial vision into reality. We identify, mentor, and invest in the brightest startups shaping tomorrow."
          buttons={[
            { text: "Submit Your Pitch", href: "/contact" },
            { text: "Explore Opportunities", href: "/services" }
          ]}
          imageSrc="https://img.b2bpic.net/free-photo/lifestyle-people-office_23-2149173732.jpg"
          imageAlt="Investment agency office with entrepreneurs collaborating"
          showDimOverlay={true}
        />
      </div>

      <div id="about" data-section="about">
        <MetricSplitMediaAbout 
          tag="About Us"
          title="Catalyzing Innovation Through Strategic Investment"
          description="Show Your Idea is a forward-thinking investment agency dedicated to identifying and nurturing exceptional entrepreneurial talent. With over a decade of experience in startup ecosystems, we provide more than capital—we offer strategic guidance, industry connections, and mentorship to help founders navigate the complex journey from concept to market leader."
          metrics={[
            { value: "200+", title: "Companies Funded" },
            { value: "$500M+", title: "Capital Deployed" }
          ]}
          imageSrc="https://img.b2bpic.net/free-photo/inclusive-workspace-atmosphere-office-job_23-2149571034.jpg"
          imageAlt="Show Your Idea team collaborating with entrepreneurs"
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="portfolio" data-section="portfolio">
        <ProductCardTwo 
          title="Portfolio Highlights"
          description="Discover the exceptional companies we've invested in and continue to support"
          tag="Success Stories"
          products={[
            {
              id: "1",              brand: "TechVenture",              name: "CloudScale Pro",              price: "Series B: $25M",              rating: 5,
              reviewCount: "4.9k",              imageSrc: "https://img.b2bpic.net/free-photo/start-up-business-goals-strategy_53876-124798.jpg"
            },
            {
              id: "2", 
              brand: "HealthTech",              name: "MediFlow",              price: "Series A: $12M",              rating: 5,
              reviewCount: "3.2k",              imageSrc: "https://img.b2bpic.net/free-photo/close-up-smiley-colleagues-table_23-2149006872.jpg"
            },
            {
              id: "3",              brand: "FinanceAI",              name: "AutoInvest", 
              price: "Series C: $40M",              rating: 5,
              reviewCount: "5.1k",              imageSrc: "https://img.b2bpic.net/free-photo/digital-growth-innovation-business_23-2151964657.jpg"
            }
          ]}
          gridVariant="three-columns-all-equal-width"
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground="invertDefault"
        />
      </div>

      <div id="metrics" data-section="metrics">
        <MetricCardOne 
          title="Our Impact By The Numbers"
          description="Measurable results that demonstrate our commitment to entrepreneur success"
          tag="Key Achievements"
          metrics={[
            {
              id: "1",              value: "200+",              title: "Companies Invested",              description: "Active portfolio across diverse sectors",              icon: TrendingUp
            },
            {
              id: "2",              value: "92%", 
              title: "Survival Rate",              description: "Portfolio companies 3+ years post-investment",              icon: BarChart3
            },
            {
              id: "3",              value: "15x",              title: "Average Return",              description: "Multiple on invested capital across portfolio",              icon: Zap
            },
            {
              id: "4",              value: "50+",              title: "Unicorns Created",              description: "$1B+ valuation companies in network",              icon: Star
            }
          ]}
          gridVariant="uniform-all-items-equal"
          animationType="scale-rotate"
          textboxLayout="default"
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardSix 
          title="Founder Success Stories"
          description="Hear from entrepreneurs whose ideas became thriving companies"
          tag="Testimonials"
          testimonials={[
            {
              id: "1",              name: "Emily Richardson",              handle: "Founder, CloudScale Pro",              testimonial: "Show Your Idea didn't just fund us—they believed in our vision when others doubted. The mentorship and network access proved invaluable.",              imageSrc: "https://img.b2bpic.net/free-photo/man-woman-discussing-hiring-application-queue-waiting-join-job-interview-meeting-nervous-people-with-employment-papers-cv-having-conversation-office-lobby-work-selection_482257-44175.jpg"
            },
            {
              id: "2",              name: "James Wilson",              handle: "CEO, MediFlow",              testimonial: "Within 18 months of their investment, we scaled from 5 to 50 team members. Their strategic guidance was crucial to our growth.",              imageSrc: "https://img.b2bpic.net/free-photo/medium-shot-people-learning_23-2149300715.jpg"
            },
            {
              id: "3",              name: "Priya Kapoor", 
              handle: "Founder, FinanceAI",              testimonial: "The connections made through Show Your Idea's network opened doors we never imagined. Best partnership decision we made.",              imageSrc: "https://img.b2bpic.net/free-photo/close-up-colleagues-learning-work_23-2149300714.jpg"
            },
            {
              id: "4",              name: "Marcus Thompson",              handle: "CEO, TechVenture",              testimonial: "From pitch to Series B, they've been our trusted advisors. Their experience in scaling startups is unmatched.",              imageSrc: "https://img.b2bpic.net/free-photo/close-up-people-studying-language-together_23-2149300725.jpg"
            },
            {
              id: "5",              name: "Lisa Chen",              handle: "Founder, InnovateLab",              testimonial: "Show Your Idea understood our market opportunity and helped us navigate critical pivots. Exceptional partners.",              imageSrc: "https://img.b2bpic.net/free-photo/medium-shot-people-learning-office_23-2149300720.jpg"
            },
            {
              id: "6",              name: "Robert Hassan",              handle: "Co-Founder, GrowthCo",              testimonial: "They're more than investors—they're mentors, advisors, and believers in entrepreneurial excellence. Transformed our trajectory.",              imageSrc: "https://img.b2bpic.net/free-photo/group-entrepreneurs-cooperating-while-creating-mind-map-whiteboard-office-focus-is-businesswoman-writing-adhesive-notes_637285-7036.jpg"
            }
          ]}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground="invertDefault"
          speed={40}
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterCard 
          logoText="Show Your Idea"
          copyrightText="© 2025 Show Your Idea | Transforming Ideas Into Impact"
          socialLinks={[
            { icon: Linkedin, href: "https://linkedin.com/company/show-your-idea", ariaLabel: "LinkedIn" },
            { icon: Twitter, href: "https://twitter.com/showyouridea", ariaLabel: "Twitter" },
            { icon: Mail, href: "mailto:info@showyouridea.com", ariaLabel: "Email" }
          ]}
        />
      </div>
    </ThemeProvider>
  );
}