"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 FaqDouble from '@/components/sections/faq/FaqDouble';
import ContactSplit from '@/components/sections/contact/ContactSplit';
import FooterBase from '@/components/sections/footer/FooterBase';
import { TrendingUp, Award, Lightbulb, BarChart3, HelpCircle, Phone } 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="noInvert"
        />
      </div>

      <div id="features" data-section="features">
        <FeatureCardSix
          title="Our Investment Process"
          description="A systematic approach to wealth creation, backed by research and executed with precision"
          tag="How We Work"
          tagIcon={Lightbulb}
          textboxLayout="default"
          useInvertedBackground="noInvert"
          features={[
            {
              id: 1,
              title: "Comprehensive Financial Assessment",              description: "We analyze your complete financial picture, goals, risk tolerance, and time horizon to create a personalized investment roadmap tailored to your unique circumstances.",              imageSrc: "https://img.b2bpic.net/free-photo/businessman-analyzing-financial-data-computer_9975-22514.jpg"
            },
            {
              id: 2,
              title: "Strategic Portfolio Construction",              description: "Our experts build diversified portfolios across equities, fixed income, real estate, and alternative investments, optimized for your specific wealth objectives and market conditions.",              imageSrc: "https://img.b2bpic.net/free-vector/flat-design-waterfall-chart-collection_23-2148584203.jpg"
            },
            {
              id: 3,
              title: "Active Management & Monitoring",              description: "We continuously monitor market trends and portfolio performance, making strategic adjustments to ensure your investments remain aligned with your goals and risk parameters.",              imageSrc: "https://img.b2bpic.net/free-photo/technological-devices-with-statistics-documents_1232-485.jpg"
            },
            {
              id: 4,
              title: "Quarterly Reviews & Reporting",              description: "Transparent communication is key. We provide detailed quarterly reports, performance analysis, and strategic recommendations to keep you informed every step of your investment journey.",              imageSrc: "https://img.b2bpic.net/free-vector/flat-waterfall-chart-collection_23-2148597357.jpg"
            }
          ]}
        />
      </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="noInvert"
        />
      </div>

      <div id="faq" data-section="faq">
        <FaqDouble
          title="Frequently Asked Questions"
          description="Find answers to common questions about our investment services and processes"
          tag="Support"
          tagIcon={HelpCircle}
          textboxLayout="default"
          useInvertedBackground="noInvert"
          animationType="smooth"
          faqs={[
            {
              id: "1",              title: "What is the minimum investment to get started with Kapital?",              content: "We work with clients at various investment levels. Our standard minimum is $250,000, but we offer tailored solutions for larger portfolios. We recommend discussing your specific situation with one of our advisors."
            },
            {
              id: "2",              title: "How do you structure your investment fees?",              content: "We use a transparent fee structure based on assets under management, typically ranging from 0.5% to 1.5% annually depending on portfolio size and complexity. There are no hidden fees or transaction costs."
            },
            {
              id: "3",              title: "What investment options do you offer?",              content: "We provide access to equities, bonds, real estate investment trusts, hedge funds, private equity, commodities, and cryptocurrency investments. Your portfolio is customized based on your goals and risk tolerance."
            },
            {
              id: "4",              title: "How often will I receive updates on my portfolio?",              content: "You'll receive detailed quarterly performance reports, access to our online client portal for real-time tracking, and annual strategy reviews. Additional consultations are available upon request."
            },
            {
              id: "5",              title: "Can I withdraw my investments at any time?",              content: "Yes, most holdings can be liquidated within 3-5 business days. Some alternative investments may have specific withdrawal schedules. We'll discuss liquidity options during your initial consultation."
            },
            {
              id: "6",              title: "How do you manage risk in volatile markets?",              content: "We employ sophisticated risk management strategies including diversification, hedging, dynamic asset allocation, and continuous market monitoring. Our goal is to smooth returns across market cycles."
            }
          ]}
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactSplit
          tag="Get Started"
          title="Ready to Build Your Wealth?"
          description="Schedule a complimentary consultation with one of our investment advisors. We'll discuss your financial goals and create a personalized investment strategy."
          useInvertedBackground="noInvert"
          imageSrc="https://img.b2bpic.net/free-photo/workers-long-wooden-table_1262-810.jpg"
          imageAlt="Investment consultation meeting"
          mediaPosition="right"
          tagIcon={Phone}
          inputPlaceholder="your@email.com"
          buttonText="Schedule Consultation"
          termsText="By scheduling a consultation, you agree to our Terms of Service and Privacy Policy. We'll contact you within 24 business hours."
        />
      </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: "/blog" },
                { 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>
  );
}