"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import AboutMetric from '@/components/sections/about/AboutMetric';
import ContactCenter from '@/components/sections/contact/ContactCenter';
import FaqDouble from '@/components/sections/faq/FaqDouble';
import FeatureCardThree from '@/components/sections/feature/featureCardThree/FeatureCardThree';
import FooterLogoEmphasis from '@/components/sections/footer/FooterLogoEmphasis';
import HeroSplitTestimonial from '@/components/sections/hero/HeroSplitTestimonial';
import MetricCardOne from '@/components/sections/metrics/MetricCardOne';
import NavbarStyleApple from '@/components/navbar/NavbarStyleApple/NavbarStyleApple';
import SocialProofOne from '@/components/sections/socialProof/SocialProofOne';
import TestimonialCardTwo from '@/components/sections/testimonial/TestimonialCardTwo';
import { Award, DollarSign, Gauge, Lightbulb, MessageSquare, Sparkles, Target, TrendingUp, Users, Zap } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
        defaultButtonVariant="hover-magnetic"
        defaultTextAnimation="entrance-slide"
        borderRadius="pill"
        contentWidth="mediumLarge"
        sizing="largeSmallSizeMediumTitles"
        background="floatingGradient"
        cardStyle="outline"
        primaryButtonStyle="gradient"
        secondaryButtonStyle="solid"
        headingFontWeight="light"
    >
      <ReactLenis root>
  <div id="nav" data-section="nav">
      <NavbarStyleApple
      navItems={[
        {
          name: "Home",
          id: "#home",
        },
        {
          name: "Services",
          id: "#services",
        },
        {
          name: "Results",
          id: "#results",
        },
        {
          name: "Testimonials",
          id: "#testimonials",
        },
        {
          name: "FAQ",
          id: "#faq",
        },
        {
          name: "Contact",
          id: "#contact",
        },
      ]}
      brandName="Hamilton Business Consulting"
    />
  </div>

  <div id="home" data-section="home">
      <HeroSplitTestimonial
      useInvertedBackground={false}
      background={{
        variant: "sparkles-gradient",
      }}
      imagePosition="right"
      title="Drive Your Business Forward with Expert Consulting"
      description="Hamilton Business Consulting provides strategic insights and actionable plans to unlock your company's full potential. Partner with us to navigate challenges and achieve sustainable growth."
      testimonials={[
        {
          name: "Alex P.",
          handle: "CEO, Innovate Solutions",
          testimonial: "Hamilton Business Consulting transformed our strategy. Their insights were invaluable, leading to significant market growth.",
          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/beauty-style-fashion-age-concept-close-up-portrait-positive-elegant-60-year-old-female-with-gray-hair-wrinkled-face-posing-against-white-brick-wall_344912-1854.jpg",
          imageAlt: "Alex P.",
        },
        {
          name: "Sarah J.",
          handle: "Founder, Visionary Corp",
          testimonial: "Working with Hamilton was a game-changer. Their expertise helped us streamline operations and boost profitability.",
          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/portrait-grey-haired-businessman-standing_74855-10324.jpg",
          imageAlt: "Sarah J.",
        },
        {
          name: "Michael D.",
          handle: "Director, Global Ventures",
          testimonial: "The team at Hamilton provides exceptional value. Their tailored approach delivered measurable results for our complex needs.",
          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/portrait-young-attractive-woman-elegant-hotel-cafeteria_657883-403.jpg",
          imageAlt: "Michael D.",
        },
        {
          name: "Emily R.",
          handle: "VP Operations, Quantum Tech",
          testimonial: "Professional, insightful, and results-driven. Hamilton Business Consulting is our trusted partner for strategic guidance.",
          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/portrait-businesswoman-desk_23-2147626512.jpg",
          imageAlt: "Emily R.",
        },
        {
          name: "David W.",
          handle: "Owner, Startup Hub",
          testimonial: "From business planning to market analysis, Hamilton's support was crucial for our successful launch and early growth.",
          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/close-up-entrepreneur-with-corporate-job-looking-camera-business-office-portrait-young-man-preparing-work-planning-development-industry-with-technology-computer_482257-29387.jpg",
          imageAlt: "David W.",
        },
      ]}
      tag="Trusted Advisors"
      tagIcon={Sparkles}
      buttons={[
        {
          text: "Get a Free Consultation",
          href: "#contact",
        },
        {
          text: "Learn More About Us",
          href: "#about",
        },
      ]}
      avatars={[
        {
          src: "http://img.b2bpic.net/free-photo/close-up-positive-businesswoman_1098-3531.jpg",
          alt: "Client 1",
        },
        {
          src: "http://img.b2bpic.net/free-photo/front-view-smiley-woman-cozy-office_23-2149739353.jpg",
          alt: "Client 2",
        },
        {
          src: "http://img.b2bpic.net/free-photo/young-businessman-working-from-his-office-concept-hard-work_181624-33428.jpg",
          alt: "Client 3",
        },
        {
          src: "http://img.b2bpic.net/free-photo/medium-shot-smiley-man-work_23-2149362876.jpg",
          alt: "Client 4",
        },
        {
          src: "http://img.b2bpic.net/free-photo/close-up-shot-successful-beautiful-confident-senior-businesswoman-her-fifties-with-gray-hair-blue-wise-eyes-posing-indoors-keeping-arms-folded-looking-with-charming-smile_344912-1851.jpg",
          alt: "Close up shot of successful beautiful confident senior businesswoman in her fifties with gray hair and blue wise eyes posing indoors, keeping arms folded, looking with charming smile",
        },
      ]}
      avatarText="Join 49+ businesses thriving"
      imageSrc="http://img.b2bpic.net/free-photo/three-business-colleagues-watching-presentation_1262-20836.jpg"
      imageAlt="Business consulting meeting in a modern office"
      mediaAnimation="slide-up"
      fixedMediaHeight={true}
      marqueeItems={[
        {
          type: "image",
          src: "asset://home-marquee-logo-1",
          alt: "Global Solutions Group Logo",
        },
        {
          type: "text-icon",
          text: "Strategic Vision",
          icon: Lightbulb,
        },
        {
          type: "image",
          src: "http://img.b2bpic.net/free-vector/geometric-snowflake-logo_779267-2932.jpg",
          alt: "Innovate Ventures Corp Logo",
        },
        {
          type: "text",
          text: "Sustainable Growth",
        },
        {
          type: "image",
          src: "asset://home-marquee-logo-3",
          alt: "Future Forward Enterprises Logo",
        },
      ]}
    />
  </div>

  <div id="about" data-section="about">
      <AboutMetric
      useInvertedBackground={true}
      title="Your Partner in Strategic Growth"
      metrics={[
        {
          icon: Users,
          label: "Clients Empowered",
          value: "250+",
        },
        {
          icon: TrendingUp,
          label: "Average Growth",
          value: "35%",
        },
        {
          icon: Award,
          label: "Years of Expertise",
          value: "15+",
        },
      ]}
      metricsAnimation="slide-up"
    />
  </div>

  <div id="services" data-section="services">
      <FeatureCardThree
      animationType="slide-up"
      textboxLayout="default"
      gridVariant="three-columns-all-equal-width"
      useInvertedBackground={false}
      features={[
        {
          title: "Brand Development",
          description: "Craft a powerful and consistent brand identity that resonates with your target audience and stands out in the market.",
          imageSrc: "http://img.b2bpic.net/free-photo/tag-trademark-copyright-business-marketing-icon-concept_53876-123706.jpg",
          imageAlt: "Brand Development illustration",
        },
        {
          title: "Business Planning & Strategy",
          description: "Develop robust business plans, market analysis, and strategic roadmaps for sustainable growth and competitive advantage.",
          imageSrc: "http://img.b2bpic.net/free-photo/business-colleagues-partners-watching-content-laptop-discussing-project_74855-8821.jpg",
          imageAlt: "Business Planning illustration",
        },
        {
          title: "Business Startup Consulting",
          description: "Guidance through every stage of your startup journey, from concept validation to launch and scaling strategies.",
          imageSrc: "http://img.b2bpic.net/free-photo/business-accessories-objects-top-view_1150-7578.jpg",
          imageAlt: "Business Startup illustration",
        },
        {
          title: "Market Analysis & Entry",
          description: "Gain deep insights into your market, competitors, and customer behavior to make informed decisions for expansion.",
          imageSrc: "http://img.b2bpic.net/free-photo/teleworker-home-office-gathering-information-from-internet-seminar_482257-119301.jpg",
          imageAlt: "Market Analysis illustration",
        },
        {
          title: "Marketing & Social Media Strategy",
          description: "Develop effective marketing campaigns and social media presence to enhance visibility and engage your customers.",
          imageSrc: "http://img.b2bpic.net/free-photo/man-woman-posing-together-retro-style-with-camera-beverage_23-2149525834.jpg",
          imageAlt: "Marketing Strategy illustration",
        },
        {
          title: "Strategic Growth & Rescues",
          description: "Identify opportunities for accelerated growth, optimize operations, and implement effective recovery strategies for struggling businesses.",
          imageSrc: "http://img.b2bpic.net/free-photo/silhouette-looking-future_1134-399.jpg",
          imageAlt: "Strategic Growth illustration",
        },
      ]}
      title="Comprehensive Consulting Services"
      description="We offer a full spectrum of business consulting services designed to address your unique challenges and drive tangible results."
    />
  </div>

  <div id="results" data-section="results">
      <MetricCardOne
      animationType="slide-up"
      textboxLayout="default"
      gridVariant="uniform-all-items-equal"
      useInvertedBackground={true}
      metrics={[
        {
          id: "m1",
          icon: DollarSign,
          value: "20%+",
          title: "Revenue Growth",
          description: "Average increase in client revenue post-engagement.",
        },
        {
          id: "m2",
          icon: Target,
          value: "95%",
          title: "Client Satisfaction",
          description: "High client retention and satisfaction rates.",
        },
        {
          id: "m3",
          icon: Zap,
          value: "30%",
          title: "Operational Efficiency",
          description: "Reduction in operational costs through process optimization.",
        },
        {
          id: "m4",
          icon: Gauge,
          value: "50%+",
          title: "Market Expansion",
          description: "Clients achieving successful market entry or expansion.",
        },
      ]}
      title="Tangible Results You Can Trust"
      description="Our commitment to excellence and data-driven approach consistently delivers measurable improvements for our clients."
    />
  </div>

  <div id="testimonials" data-section="testimonials">
      <TestimonialCardTwo
      animationType="slide-up"
      textboxLayout="default"
      useInvertedBackground={false}
      testimonials={[
        {
          id: "t1",
          name: "David S.",
          role: "CEO, Synergy Group",
          testimonial: "Hamilton Business Consulting provided unparalleled strategic guidance. Their insights were critical to our recent market expansion and increased profitability. A truly invaluable partner.",
          imageSrc: "http://img.b2bpic.net/free-photo/close-up-successful-woman-with-blue-shirt_1098-3627.jpg",
          imageAlt: "David S.",
        },
        {
          id: "t2",
          name: "Maria K.",
          role: "Founder, Innovate Labs",
          testimonial: "The team at Hamilton helped us refine our business model and attract key investors. Their expertise in market analysis is simply outstanding.",
          imageSrc: "http://img.b2bpic.net/free-photo/smiling-successful-middle-aged-business-leader_1262-5690.jpg",
          imageAlt: "Maria K.",
        },
        {
          id: "t3",
          name: "John P.",
          role: "Operations Director, Global Corp",
          testimonial: "We saw a remarkable improvement in our operational efficiency thanks to Hamilton's meticulous process optimization. Highly recommend their services!",
          imageSrc: "http://img.b2bpic.net/free-photo/close-up-labor-union-member_23-2150969905.jpg",
          imageAlt: "John P.",
        },
        {
          id: "t4",
          name: "Lisa B.",
          role: "Marketing Manager, Evolve Digital",
          testimonial: "Their brand development strategies completely revitalized our presence. Hamilton Business Consulting truly understands how to create impact.",
          imageSrc: "http://img.b2bpic.net/free-photo/portrait-businessman-conference-room-thinking-about-future_482257-25787.jpg",
          imageAlt: "Lisa B.",
        },
        {
          id: "t5",
          name: "Robert F.",
          role: "Startup Advisor, Ascend Capital",
          testimonial: "Hamilton Business Consulting is my go-to recommendation for any startup looking for solid, actionable advice. They turn complex challenges into clear opportunities.",
          imageSrc: "http://img.b2bpic.net/free-photo/businessman-explaining-infographic-elements-sheet-his-female-colleague_23-2147899658.jpg",
          imageAlt: "Robert F.",
        },
        {
          id: "t6",
          name: "Jessica L.",
          role: "Small Business Owner, Local Eats",
          testimonial: "Thanks to Hamilton, my small business not only survived a tough period but is now thriving. Their personalized support was exactly what I needed.",
          imageSrc: "http://img.b2bpic.net/free-photo/cheerful-businesswoman-with-hands-crossed_1098-20032.jpg",
          imageAlt: "Jessica L.",
        },
      ]}
      title="What Our Clients Say"
      description="Hear directly from business leaders who have experienced significant growth and success with Hamilton Business Consulting."
    />
  </div>

  <div id="social-proof" data-section="social-proof">
      <SocialProofOne
      textboxLayout="default"
      useInvertedBackground={true}
      names={[
        "Global Innovators Inc.",
        "Market Dynamics LLC",
        "Future Solutions Co.",
        "Enterprise Growth Group",
        "Digital Horizons Ltd.",
        "Strategic Alliance Corp.",
        "Apex Ventures Group",
      ]}
      title="Trusted by Leading Businesses"
      description="We partner with companies of all sizes, from ambitious startups to established enterprises, helping them achieve their strategic objectives."
      speed={40}
      showCard={false}
    />
  </div>

  <div id="faq" data-section="faq">
      <FaqDouble
      textboxLayout="default"
      useInvertedBackground={false}
      faqs={[
        {
          id: "faq1",
          title: "What types of businesses do you consult for?",
          content: "We work with a diverse range of businesses, from startups and small enterprises to mid-sized companies across various industries. Our adaptable approach ensures tailored solutions for each client.",
        },
        {
          id: "faq2",
          title: "How do you start a new consulting engagement?",
          content: "Every engagement begins with a complimentary initial consultation to understand your business, challenges, and goals. Following this, we propose a customized plan and scope of work.",
        },
        {
          id: "faq3",
          title: "What makes Hamilton Business Consulting different?",
          content: "Our strength lies in our blend of deep industry experience, data-driven methodologies, and a personalized approach that fosters long-term client relationships and measurable results.",
        },
        {
          id: "faq4",
          title: "Can you help with business rescue and turnaround?",
          content: "Yes, we specialize in identifying critical issues, developing recovery strategies, and implementing action plans to steer businesses back towards profitability and stability.",
        },
        {
          id: "faq5",
          title: "What is the typical duration of a consulting project?",
          content: "Project durations vary depending on complexity and scope. Some projects might be short-term (a few weeks), while others are long-term strategic partnerships (several months to a year).",
        },
        {
          id: "faq6",
          title: "Do you offer ongoing support after a project is complete?",
          content: "Absolutely. We believe in sustaining success. We offer various post-project support options, including follow-up sessions, performance monitoring, and retainer-based advisory services.",
        },
      ]}
      title="Frequently Asked Questions"
      description="Find answers to common questions about our consulting services, process, and how we can best support your business needs."
      faqsAnimation="slide-up"
    />
  </div>

  <div id="contact" data-section="contact">
      <ContactCenter
      useInvertedBackground={true}
      background={{
        variant: "gradient-bars",
      }}
      tag="Let's Connect"
      title="Ready to Grow Your Business?"
      description="Schedule a free consultation today to discuss your vision and how Hamilton Business Consulting can help you achieve your strategic objectives."
      tagIcon={MessageSquare}
      inputPlaceholder="Enter your email for updates"
      buttonText="Get Started"
      termsText="By clicking Get Started you're confirming that you agree with our Privacy Policy and Terms of Service."
      onSubmit={(email) => console.log(email)}
    />
  </div>

  <div id="footer" data-section="footer">
      <FooterLogoEmphasis
      columns={[
        {
          items: [
            {
              label: "About Us",
              href: "#about",
            },
            {
              label: "Our Services",
              href: "#services",
            },
            {
              label: "Client Stories",
              href: "#testimonials",
            },
          ],
        },
        {
          items: [
            {
              label: "FAQ",
              href: "#faq",
            },
            {
              label: "Contact",
              href: "#contact",
            },
            {
              label: "Privacy Policy",
              href: "#",
            },
          ],
        },
      ]}
      logoText="Hamilton Business Consulting"
    />
  </div>
      </ReactLenis>
    </ThemeProvider>
  );
}
