"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleCentered from "@/components/navbar/NavbarStyleCentered/NavbarStyleCentered";
import HeroSplitTestimonial from "@/components/sections/hero/HeroSplitTestimonial";
import SplitAbout from "@/components/sections/about/SplitAbout";
import FeatureCardSeven from "@/components/sections/feature/FeatureCardSeven";
import MetricCardTwo from "@/components/sections/metrics/MetricCardTwo";
import TestimonialCardTwelve from "@/components/sections/testimonial/TestimonialCardTwelve";
import SocialProofOne from "@/components/sections/socialProof/SocialProofOne";
import FooterSimple from "@/components/sections/footer/FooterSimple";
import { TrendingUp, Star, Calendar, Award, Users, Heart } from "lucide-react";
import Link from "next/link";

export default function HomePage() {
  const navItems = [
    { name: "Home", id: "/" },
    { name: "Services", id: "/services" },
    { name: "About", id: "/about" },
    { name: "Contact", id: "/contact" },
  ];

  const footerColumns = [
    {
      title: "Navigation",      items: [
        { label: "Home", href: "/" },
        { label: "Services", href: "/services" },
        { label: "About", href: "/about" },
        { label: "Contact", href: "/contact" },
      ],
    },
    {
      title: "Services",      items: [
        { label: "Mutual Funds", href: "/services" },
        { label: "Equity Investments", href: "/services" },
        { label: "Insurance Planning", href: "/services" },
        { label: "Loans", href: "/services" },
        { label: "Real Estate", href: "/services" },
      ],
    },
    {
      title: "Connect",      items: [
        { label: "Email Us", href: "mailto:info@evergrowwealth.com" },
        { label: "WhatsApp", href: "#" },
        { label: "Call Now", href: "tel:+919876543210" },
        { label: "Book Appointment", href: "/contact" },
      ],
    },
    {
      title: "Legal",      items: [
        { label: "Privacy Policy", href: "#" },
        { label: "Terms of Service", href: "#" },
        { label: "Disclaimer", href: "#" },
        { label: "SEBI Compliance", href: "#" },
      ],
    },
  ];

  return (
    <ThemeProvider
      defaultButtonVariant="expand-hover"
      defaultTextAnimation="entrance-slide"
      borderRadius="rounded"
      contentWidth="mediumLarge"
      sizing="mediumLargeSizeMediumTitles"
      background="noiseDiagonalGradient"
      cardStyle="outline"
      primaryButtonStyle="radial-glow"
      secondaryButtonStyle="glass"
      headingFontWeight="extrabold"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleCentered
          navItems={navItems}
          button={{ text: "Book Consultation", href: "/contact" }}
          brandName="EVERGROW WEALTH"
        />
      </div>

      <div id="hero" data-section="hero" className="py-20 md:py-32">
        <HeroSplitTestimonial
          title="Grow Your Wealth with Confidence"
          description="Expert financial guidance from Preeti Goyal and her team since 2017. We specialize in mutual funds, equity investments, insurance planning, loans, and property advisory to help you build long-term wealth."
          tag="Since 2017"
          tagIcon={TrendingUp}
          tagAnimation="entrance-slide"
          buttons={[
            { text: "Start Investing", href: "/services" },
            { text: "Book Free Consultation", href: "/contact" },
          ]}
          buttonAnimation="slide-up"
          imageSrc="http://img.b2bpic.net/free-photo/agent-office-using-software-laptop-build-emergency-fund-plan-family_482257-112015.jpg"
          imageAlt="Financial planning and wealth growth illustration"
          mediaAnimation="slide-up"
          imagePosition="right"
          testimonials={[
            {
              name: "Rajesh Patel",              handle: "Business Owner",              testimonial: "EVERGROW WEALTH transformed my financial portfolio. Highly recommend!",              rating: 5,
              imageSrc: "http://img.b2bpic.net/free-photo/positive-confident-businesswoman-wearing-formal-suit-standing-with-arms-folded_74855-10328.jpg"},
            {
              name: "Priya Sharma",              handle: "IT Professional",              testimonial: "Professional advice and transparent guidance. Best decision for my family's future.",              rating: 5,
              imageSrc: "http://img.b2bpic.net/free-photo/close-up-portrait-young-handsome-successful-man_1163-5475.jpg"},
            {
              name: "Amit Kumar",              handle: "Entrepreneur",              testimonial: "Expert insights into real estate and equity investments. Preeti's team is outstanding.",              rating: 5,
              imageSrc: "http://img.b2bpic.net/free-photo/positive-confident-businesswoman-wearing-formal-suit-standing-with-arms-folded_74855-10328.jpg"},
          ]}
          testimonialRotationInterval={5000}
          useInvertedBackground={false}
          background={{ variant: "glowing-orb" }}
          className="min-h-screen"
          ariaLabel="Hero section with testimonials"
        />
      </div>

      <div id="about" data-section="about" className="py-16 md:py-28">
        <SplitAbout
          title="About EVERGROW WEALTH"
          description="Founded in 2017 by Preeti Goyal, EVERGROW WEALTH is a trusted financial product consulting firm dedicated to helping individuals and families build lasting wealth. With over 7 years of industry experience, we've guided countless clients through complex financial decisions with personalized, transparent advice."
          tag="Our Story"
          tagAnimation="entrance-slide"
          textboxLayout="default"
          useInvertedBackground={false}
          bulletPoints={[
            {
              title: "Founded in 2017",              description: "Established with a mission to democratize financial expertise and make quality advisory accessible to all.",              icon: Calendar,
            },
            {
              title: "7+ Years Experience",              description: "Deep industry knowledge across mutual funds, equities, insurance, loans, and real estate sectors.",              icon: Award,
            },
            {
              title: "100+ Happy Clients",              description: "Strong track record of satisfied clients who have achieved their financial goals with our guidance.",              icon: Users,
            },
            {
              title: "Client-Centric Approach",              description: "We prioritize your financial well-being with personalized strategies tailored to your unique needs.",              icon: Heart,
            },
          ]}
          imageSrc="http://img.b2bpic.net/free-photo/portrait-woman-working-business-with-computer_482257-20185.jpg"
          imageAlt="Preeti Goyal, Founder of EVERGROW WEALTH"
          mediaAnimation="slide-up"
          imagePosition="right"
          buttons={[{ text: "Learn More", href: "/services" }]}
          buttonAnimation="slide-up"
          ariaLabel="About EVERGROW WEALTH section"
        />
      </div>

      <div id="services" data-section="services" className="py-16 md:py-28">
        <FeatureCardSeven
          title="Our Core Services"
          description="Comprehensive financial solutions designed to address every aspect of your wealth management journey. From investments to insurance, we cover it all."
          tag="Services"
          tagAnimation="entrance-slide"
          buttons={[{ text: "Explore All Services", href: "/services" }]}
          buttonAnimation="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
          animationType="slide-up"
          features={[
            {
              id: 1,
              title: "Mutual Funds",              description: "Expert guidance on mutual fund selection, diversification, and portfolio optimization to maximize your returns and minimize risk.",              imageSrc: "http://img.b2bpic.net/free-photo/invest-investment-financial-income-profit-costs-concept_53876-134068.jpg",              imageAlt: "Mutual funds investment portfolio"},
            {
              id: 2,
              title: "Equity Investments",              description: "Personalized equity investment strategies backed by thorough market analysis and research to build wealth through stock market opportunities.",              imageSrc: "http://img.b2bpic.net/free-photo/invest-investment-financial-income-profit-costs-concept_53876-134068.jpg",              imageAlt: "Equity investment market analysis"},
            {
              id: 3,
              title: "Insurance Planning",              description: "Comprehensive life and general insurance solutions to protect your family's future and secure your financial legacy.",              imageSrc: "http://img.b2bpic.net/free-photo/happy-daughter-embracing-kissing-her-working-parents-home_637285-12186.jpg",              imageAlt: "Life and general insurance planning"},
            {
              id: 4,
              title: "Loan Assistance",              description: "Seamless support for personal loans, business loans, and home financing. We help you find the best terms and rates.",              imageSrc: "http://img.b2bpic.net/free-photo/this-is-your-booking-trip-young-man-planning-vacation-about-sign-purchase-agreement-with-travel-agent_662251-2163.jpg",              imageAlt: "Loan assistance and financing options"},
            {
              id: 5,
              title: "Property & Real Estate Advisory",              description: "Strategic guidance on real estate investments, property purchases, and portfolio diversification in the property market.",              imageSrc: "http://img.b2bpic.net/free-photo/real-estate-agent-holding-toy-house_23-2147764163.jpg",              imageAlt: "Real estate and property investment advisory"},
          ]}
          ariaLabel="Our services section"
        />
      </div>

      <div id="why-choose-us" data-section="why-choose-us" className="py-16 md:py-24">
        <MetricCardTwo
          title="Why Choose EVERGROW WEALTH"
          description="We combine expertise, transparency, and personalized service to deliver exceptional results for your financial future."
          tag="Our Advantages"
          tagAnimation="entrance-slide"
          textboxLayout="default"
          useInvertedBackground={false}
          gridVariant="uniform-all-items-equal"
          animationType="scale-rotate"
          metrics={[
            { id: "1", value: "100+", description: "Happy Clients Served" },
            { id: "2", value: "7+", description: "Years of Experience" },
            { id: "3", value: "₹ Crores", description: "Assets Under Advisory" },
            { id: "4", value: "100%", description: "Transparent Advisory" },
          ]}
          ariaLabel="Why choose us metrics section"
        />
      </div>

      <div id="testimonials" data-section="testimonials" className="py-16 md:py-28">
        <TestimonialCardTwelve
          testimonials={[
            {
              id: "1",              name: "Rajesh Patel",              imageSrc: "http://img.b2bpic.net/free-photo/positive-confident-businesswoman-wearing-formal-suit-standing-with-arms-folded_74855-10328.jpg",              imageAlt: "Rajesh Patel"},
            {
              id: "2",              name: "Priya Sharma",              imageSrc: "http://img.b2bpic.net/free-photo/close-up-portrait-young-handsome-successful-man_1163-5475.jpg",              imageAlt: "Priya Sharma"},
            {
              id: "3",              name: "Amit Kumar",              imageSrc: "http://img.b2bpic.net/free-photo/positive-confident-businesswoman-wearing-formal-suit-standing-with-arms-folded_74855-10328.jpg",              imageAlt: "Amit Kumar"},
            {
              id: "4",              name: "Neha Gupta",              imageSrc: "http://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",              imageAlt: "Neha Gupta"},
          ]}
          cardTitle="Join 100+ Clients Who Trust EVERGROW WEALTH for Expert Financial Guidance"
          cardTag="Client Success Stories"
          cardTagIcon={Star}
          cardAnimation="slide-up"
          useInvertedBackground={false}
          ariaLabel="Client testimonials section"
        />
      </div>

      <div id="social-proof" data-section="social-proof" className="py-12 md:py-20">
        <SocialProofOne
          title="Trusted by Leading Financial Institutions"
          description="Our partnerships and collaborations with industry-leading organizations demonstrate our credibility and commitment to excellence."
          tag="Partners"
          tagAnimation="entrance-slide"
          textboxLayout="default"
          useInvertedBackground={false}
          names={[
            "HDFC Bank",            "ICICI Securities",            "Axis Mutual Fund",            "SBI Life Insurance",            "LIC India",            "Kotak Mahindra Bank",            "HDFC Life Insurance",            "Bajaj Finance"]}
          speed={40}
          showCard={true}
          ariaLabel="Social proof and partners section"
        />
      </div>

      <div id="cta" data-section="cta" className="py-20 md:py-32">
        <HeroSplitTestimonial
          title="Let's Plan Your Financial Future Today"
          description="Take the first step towards building lasting wealth. Our expert advisors are ready to create a personalized financial strategy for you and your family."
          tag="Ready to Grow?"
          tagAnimation="entrance-slide"
          buttons={[
            { text: "Book Free Consultation", href: "/contact" },
            { text: "Call Us Now", href: "#" },
          ]}
          buttonAnimation="slide-up"
          imageSrc="http://img.b2bpic.net/free-photo/jars-with-money-yellow-piggy-bank_23-2148305985.jpg"
          imageAlt="Financial planning consultation"
          mediaAnimation="slide-up"
          imagePosition="left"
          testimonials={[
            {
              name: "Secure & Confidential",              handle: "100% Privacy Protected",              testimonial: "Your financial information is safeguarded with the highest security standards.",              rating: 5,
              imageSrc: "http://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"},
          ]}
          useInvertedBackground={false}
          background={{ variant: "radial-gradient" }}
          ariaLabel="Call to action section"
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterSimple
          columns={footerColumns}
          bottomLeftText="© 2024 EVERGROW WEALTH. All rights reserved."
          bottomRightText="Trusted Financial Guidance Since 2017"
          ariaLabel="Site footer"
        />
      </div>
    </ThemeProvider>
  );
}