"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleMinimal from '@/components/navbar/NavbarStyleMinimal';
import HeroBillboardRotatedCarousel from '@/components/sections/hero/HeroBillboardRotatedCarousel';
import MetricSplitMediaAbout from '@/components/sections/about/MetricSplitMediaAbout';
import FeatureCardSix from '@/components/sections/feature/FeatureCardSix';
import MetricCardTwo from '@/components/sections/metrics/MetricCardTwo';
import TestimonialCardFifteen from '@/components/sections/testimonial/TestimonialCardFifteen';
import FooterBase from '@/components/sections/footer/FooterBase';
import { TrendingUp, Award, Lightbulb, BarChart3 } from 'lucide-react';

export default function HomePage() {
  return (
    <ThemeProvider
      defaultButtonVariant="hover-bubble"
      defaultTextAnimation="entrance-slide"
      borderRadius="rounded"
      contentWidth="compact"
      sizing="mediumLargeSizeLargeTitles"
      background="none"
      cardStyle="outline"
      primaryButtonStyle="flat"
      secondaryButtonStyle="layered"
      headingFontWeight="medium"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleMinimal
          brandName="Kapital"
          button={{
            text: "Schedule Consultation",
            href: "/contact"
          }}
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroBillboardRotatedCarousel
          title="Grow Your Wealth with Strategic Investment Solutions"
          description="Expert-led investment management designed to build long-term wealth. We combine data-driven insights with personalized strategies to maximize your returns."
          tag="Investment Excellence"
          tagIcon={TrendingUp}
          buttons={[
            { text: "Start Investing", href: "/contact" },
            { text: "Explore Strategies", href: "/services" }
          ]}
          background={{ variant: "radial-gradient" }}
          carouselItems={[
            {
              id: "1",
              imageSrc: "https://img.b2bpic.net/free-photo/businessman-analyzing-financial-data-computer_9975-22514.jpg",
              imageAlt: "Financial chart and portfolio growth"
            },
            {
              id: "2",
              imageSrc: "https://img.b2bpic.net/free-vector/flat-design-waterfall-chart-collection_23-2148584203.jpg",
              imageAlt: "Wealth management and investment planning"
            },
            {
              id: "3",
              imageSrc: "https://img.b2bpic.net/free-photo/technological-devices-with-statistics-documents_1232-485.jpg",
              imageAlt: "Market analysis and trading dashboard"
            },
            {
              id: "4",
              imageSrc: "https://img.b2bpic.net/free-vector/flat-waterfall-chart-collection_23-2148597357.jpg",
              imageAlt: "Portfolio diversification strategies"
            },
            {
              id: "5",
              imageSrc: "https://img.b2bpic.net/free-vector/social-media-analysis-design-graphs_53876-114315.jpg",
              imageAlt: "Wealth building and financial success"
            },
            {
              id: "6",
              imageSrc: "https://img.b2bpic.net/free-vector/gradient-waterfall-chart-collection_23-2148593633.jpg",
              imageAlt: "Investment opportunities and asset allocation"
            }
          ]}
          autoPlay={true}
          autoPlayInterval={5000}
        />
      </div>

      <div id="about" data-section="about">
        <MetricSplitMediaAbout
          tag="About Kapital"
          tagIcon={Award}
          title="Trusted by High-Net-Worth Individuals and Institutions"
          description="Since 2010, Kapital has been delivering exceptional investment returns through disciplined portfolio management, rigorous market research, and unwavering commitment to our clients' financial goals. Our team of seasoned advisors brings decades of combined experience in wealth management, equity markets, and alternative investments."
          metrics={[
            { value: "15+", title: "Years of Investment Excellence" },
            { value: "$2.8B", title: "Assets Under Management" }
          ]}
          imageSrc="https://img.b2bpic.net/free-photo/business-meeting-office_1268-21517.jpg"
          imageAlt="Kapital investment team in office"
          useInvertedBackground="invertDefault"
        />
      </div>

      <div id="metrics" data-section="metrics">
        <MetricCardTwo
          title="Proven Track Record"
          description="Delivering consistent results that speak for themselves"
          tag="Performance Metrics"
          tagIcon={BarChart3}
          textboxLayout="default"
          useInvertedBackground="noInvert"
          gridVariant="uniform-all-items-equal"
          animationType="slide-up"
          metrics={[
            { id: "1", value: "12.8%", description: "Average Annual Return (10-Year Average)" },
            { id: "2", value: "2,400+", description: "Satisfied Clients Worldwide" },
            { id: "3", value: "94%", description: "Client Retention Rate" },
            { id: "4", value: "$520M", description: "Wealth Created for Clients Last Year" }
          ]}
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardFifteen
          testimonial="Kapital transformed my investment approach. Their personalized strategies and transparent communication have helped me grow my wealth significantly. I trust their expertise completely."
          rating={5}
          author="Margaret Chen, CEO of TechVentures"
          avatars={[
            { src: "https://img.b2bpic.net/free-photo/smiling-homosexual-man-official-suit-looking-camera-close-up-shot-happy-gay-getting-dressed-wedding-ceremony-standing-hotel-room-with-his-partner-background-love-emotion-concept_74855-22675.jpg", alt: "Margaret Chen" },
            { src: "https://img.b2bpic.net/free-photo/close-up-portrait-young-handsome-successful-man_1163-5475.jpg", alt: "James Robertson" },
            { src: "https://img.b2bpic.net/free-photo/close-up-competitive-employee_1098-2870.jpg", alt: "Sarah Williams" },
            { src: "https://img.b2bpic.net/free-photo/closeup-handsome-middle-aged-business-leader_1262-4822.jpg", alt: "David Martinez" },
            { src: "https://img.b2bpic.net/free-photo/portrait-grey-haired-businessman-standing_74855-10324.jpg", alt: "Lisa Anderson" },
            { src: "https://img.b2bpic.net/free-photo/positive-middle-aged-business-leader-window_1262-5388.jpg", alt: "Michael Foster" }
          ]}
          useInvertedBackground="invertDefault"
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterBase
          logoText="Kapital"
          copyrightText="© 2025 Kapital Investment Agency. All rights reserved."
          columns={[
            {
              title: "Services",
              items: [
                { label: "Wealth Management", href: "/services" },
                { label: "Portfolio Management", href: "/services" },
                { label: "Financial Planning", href: "/services" },
                { label: "Alternative Investments", href: "/services" }
              ]
            },
            {
              title: "Company",
              items: [
                { label: "About Us", href: "/about" },
                { label: "Our Team", href: "/about" },
                { label: "Blog", href: "#" },
                { label: "Careers", href: "#" }
              ]
            },
            {
              title: "Support",
              items: [
                { label: "FAQ", href: "/support" },
                { label: "Contact Us", href: "/contact" },
                { label: "Privacy Policy", href: "#" },
                { label: "Terms of Service", href: "#" }
              ]
            }
          ]}
        />
      </div>
    </ThemeProvider>
  );
}