"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleFullscreen from '@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen';
import HeroBillboardCarousel from '@/components/sections/hero/HeroBillboardCarousel';
import MetricSplitMediaAbout from '@/components/sections/about/MetricSplitMediaAbout';
import ProductCardTwo from '@/components/sections/product/ProductCardTwo';
import MetricCardTen from '@/components/sections/metrics/MetricCardTen';
import TestimonialCardSix from '@/components/sections/testimonial/TestimonialCardSix';
import FooterBaseCard from '@/components/sections/footer/FooterBaseCard';
import { Award, Briefcase, TrendingUp, Star, Zap } from 'lucide-react';
import Link from 'next/link';

export default function HomePage() {
  return (
    <ThemeProvider
      defaultButtonVariant="text-stagger"
      defaultTextAnimation="background-highlight"
      borderRadius="rounded"
      contentWidth="smallMedium"
      sizing="mediumLarge"
      background="floatingGradient"
      cardStyle="inset"
      primaryButtonStyle="primary-glow"
      secondaryButtonStyle="solid"
      headingFontWeight="bold"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleFullscreen
          brandName="Smart Money"
          navItems={[
            { name: "Home", id: "/" },
            { name: "About", id: "/about" },
            { name: "Investments", id: "/investments" },
            { name: "Pricing", id: "/pricing" },
            { name: "Contact", id: "/contact" }
          ]}
          bottomLeftText="Global Investment Solutions"
          bottomRightText="hello@smartmoney.com"
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroBillboardCarousel
          title="Smart Investments, Smarter Returns"
          description="Grow your wealth with expert-managed investment portfolios tailored to your financial goals. Join thousands of investors who trust Smart Money."
          background={{ variant: "sparkles-gradient" }}
          tag="Premium Investment Platform"
          tagIcon={Zap}
          buttons={[
            { text: "Get Started Today", href: "/contact" },
            { text: "Learn More", href: "/about" }
          ]}
          mediaItems={[
            { imageSrc: "https://img.b2bpic.net/free-photo/smartphone-pen-business-document_1232-477.jpg", imageAlt: "investment stock portfolio financial growth" },
            { imageSrc: "https://img.b2bpic.net/free-photo/top-view-business-report-with-technological-devices_1232-479.jpg", imageAlt: "wealth money investment prosperity success" },
            { imageSrc: "https://img.b2bpic.net/free-photo/desktop-with-business-graphs-devices_1232-476.jpg", imageAlt: "trading market finance analytics data" },
            { imageSrc: "https://img.b2bpic.net/free-photo/top-view-colorful-business-report-cup-coffee_1232-480.jpg", imageAlt: "portfolio investment wealth management strategy" },
            { imageSrc: "https://img.b2bpic.net/free-photo/technological-devices-with-statistics-documents_1232-485.jpg", imageAlt: "financial advisor consulting investment planning growth" }
          ]}
        />
      </div>

      <div id="about" data-section="about">
        <MetricSplitMediaAbout
          tag="About Smart Money"
          tagIcon={Award}
          title="Two Decades of Investment Excellence"
          description="Smart Money has guided investors through market cycles, economic shifts, and personal milestones since 2004. Our data-driven approach combines cutting-edge technology with time-tested investment principles to deliver consistent, meaningful returns. We manage over $15 billion in assets for clients ranging from first-time investors to high-net-worth individuals."
          metrics={[
            { value: "20+", title: "Years of Industry Leadership" },
            { value: "$15B", title: "Assets Under Management" }
          ]}
          imageSrc="https://img.b2bpic.net/free-photo/couple-cheerful-business-colleagues-watching-content-computer-monitor-smiling-laughing-while-sitting-workplace-business-communication-concept_74855-11647.jpg"
          imageAlt="Smart Money investment team in office"
          useInvertedBackground="invertDefault"
        />
      </div>

      <div id="investments" data-section="investments">
        <ProductCardTwo
          title="Investment Products"
          description="Explore our diverse range of investment solutions designed for every financial objective and risk tolerance."
          tag="Portfolio Options"
          tagIcon={Briefcase}
          textboxLayout="default"
          useInvertedBackground="noInvert"
          animationType="slide-up"
          gridVariant="three-columns-all-equal-width"
          products={[
            {
              id: "equity-portfolio",
              brand: "Smart Money",
              name: "Growth Equity Portfolio",
              price: "$5,000 min",
              rating: 5,
              reviewCount: "12.4k",
              imageSrc: "https://img.b2bpic.net/free-photo/laptop-with-graphs-statistics-glasses-table_169016-29438.jpg",
              imageAlt: "Growth Equity Portfolio investment option"
            },
            {
              id: "balanced-fund",
              brand: "Smart Money",
              name: "Balanced Income Fund",
              price: "$3,000 min",
              rating: 5,
              reviewCount: "8.9k",
              imageSrc: "https://img.b2bpic.net/free-photo/technological-devices-with-financial-reports_1232-488.jpg",
              imageAlt: "Balanced Income Fund investment option"
            },
            {
              id: "real-estate-trust",
              brand: "Smart Money",
              name: "Real Estate Investment Trust",
              price: "$10,000 min",
              rating: 5,
              reviewCount: "6.2k",
              imageSrc: "https://img.b2bpic.net/free-photo/laptop-with-graphs-statistics-glasses-table_169016-29669.jpg",
              imageAlt: "Real Estate Investment Trust option"
            }
          ]}
        />
      </div>

      <div id="metrics" data-section="metrics">
        <MetricCardTen
          title="Investment Performance"
          description="Track our consistent track record of delivering value to our clients."
          tag="Key Metrics"
          tagIcon={TrendingUp}
          textboxLayout="default"
          useInvertedBackground="invertDefault"
          animationType="slide-up"
          metrics={[
            {
              id: "1",
              title: "Average Annual Return",
              subtitle: "Last 10 Years Performance",
              category: "Returns",
              value: "9.8%"
            },
            {
              id: "2",
              title: "Client Satisfaction",
              subtitle: "Based on 2024 Survey",
              category: "Satisfaction",
              value: "98.2%"
            },
            {
              id: "3",
              title: "Active Clients Worldwide",
              subtitle: "Growing Community",
              category: "Community",
              value: "150K+"
            },
            {
              id: "4",
              title: "Average Client Tenure",
              subtitle: "Long-term Trust",
              category: "Loyalty",
              value: "12.5 yrs"
            }
          ]}
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardSix
          title="What Our Clients Say"
          description="Real experiences from investors who have grown their wealth with Smart Money."
          tag="Client Testimonials"
          tagIcon={Star}
          textboxLayout="default"
          useInvertedBackground="noInvert"
          animationType="slide-up"
          speed={40}
          topMarqueeDirection="left"
          testimonials={[
            {
              id: "1",
              name: "Margaret Sullivan",
              handle: "@margarets",
              testimonial: "Smart Money helped me retire 5 years earlier than I planned. Their personalized approach and consistent returns made all the difference.",
              imageSrc: "https://img.b2bpic.net/free-photo/young-businessman-happy-expression_1194-1588.jpg",
              imageAlt: "Margaret Sullivan"
            },
            {
              id: "2",
              name: "Robert Zhang",
              handle: "@rzhang_wealth",
              testimonial: "The best investment decision I made was trusting Smart Money with my portfolio. Professional, transparent, and genuinely invested in my success.",
              imageSrc: "https://img.b2bpic.net/free-photo/smiling-businessman-standing-airport_107420-85035.jpg",
              imageAlt: "Robert Zhang"
            },
            {
              id: "3",
              name: "Jennifer Park",
              handle: "@jpark_investor",
              testimonial: "After managing my own investments for years, Smart Money showed me what professional wealth management truly means. Outstanding results.",
              imageSrc: "https://img.b2bpic.net/free-photo/portrait-successful-young-businessman-with-his-arms-crossed-looking-camera_23-2148176207.jpg",
              imageAlt: "Jennifer Park"
            },
            {
              id: "4",
              name: "Michael Torres",
              handle: "@mtorres_biz",
              testimonial: "From my first consultation to quarterly reviews, the level of care and expertise is unmatched. My family's financial future feels secure.",
              imageSrc: "https://img.b2bpic.net/free-photo/young-businessman-happy-expression_1194-1664.jpg",
              imageAlt: "Michael Torres"
            },
            {
              id: "5",
              name: "Victoria Anderson",
              handle: "@v_anderson",
              testimonial: "Smart Money's tax optimization strategies alone have saved me thousands. Combined with stellar returns, they're worth every penny.",
              imageSrc: "https://img.b2bpic.net/free-photo/young-businessman-happy-expression_1194-1576.jpg",
              imageAlt: "Victoria Anderson"
            },
            {
              id: "6",
              name: "Christopher Lee",
              handle: "@c_lee_investments",
              testimonial: "20 years as a client and they still treat me like their most important investor. That's the Smart Money difference right there.",
              imageSrc: "https://img.b2bpic.net/free-photo/vertical-shot-well-dressed-male-leaning-against-wall-looking-camera_181624-15421.jpg",
              imageAlt: "Christopher Lee"
            }
          ]}
        />
      </div>

      <FooterBaseCard
        logoText="Smart Money"
        copyrightText="© 2025 Smart Money Investments. All rights reserved."
        columns={[
          {
            title: "Products",
            items: [
              { label: "Investment Solutions", href: "/investments" },
              { label: "Portfolio Management", href: "/investments" },
              { label: "Pricing", href: "/pricing" }
            ]
          },
          {
            title: "Company",
            items: [
              { label: "About Us", href: "/about" },
              { label: "Our Team", href: "/about" },
              { label: "Careers", href: "https://careers.smartmoney.com" }
            ]
          },
          {
            title: "Resources",
            items: [
              { label: "Investment Guide", href: "https://blog.smartmoney.com" },
              { label: "Market Insights", href: "https://blog.smartmoney.com" },
              { label: "FAQ", href: "/contact" }
            ]
          },
          {
            title: "Legal",
            items: [
              { label: "Privacy Policy", href: "https://smartmoney.com/privacy" },
              { label: "Terms of Service", href: "https://smartmoney.com/terms" },
              { label: "Compliance", href: "https://smartmoney.com/compliance" }
            ]
          }
        ]}
      />
    </ThemeProvider>
  );
}