"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import ContactSplit from '@/components/sections/contact/ContactSplit';
import FooterSimple from '@/components/sections/footer/FooterSimple';
import HeroSplitKpi from '@/components/sections/hero/HeroSplitKpi';
import MetricCardOne from '@/components/sections/metrics/MetricCardOne';
import NavbarStyleApple from '@/components/navbar/NavbarStyleApple/NavbarStyleApple';
import ProductCardTwo from '@/components/sections/product/ProductCardTwo';
import SocialProofOne from '@/components/sections/socialProof/SocialProofOne';
import TestimonialCardFive from '@/components/sections/testimonial/TestimonialCardFive';
import TextSplitAbout from '@/components/sections/about/TextSplitAbout';
import { CheckCircle, Gauge, Monitor, Sparkles, Star, TrendingUp, Zap } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
        defaultButtonVariant="bounce-effect"
        defaultTextAnimation="reveal-blur"
        borderRadius="rounded"
        contentWidth="mediumSmall"
        sizing="mediumLarge"
        background="noiseDiagonalGradient"
        cardStyle="soft-shadow"
        primaryButtonStyle="flat"
        secondaryButtonStyle="radial-glow"
        headingFontWeight="bold"
    >
      <ReactLenis root>
  <div id="nav" data-section="nav">
      <NavbarStyleApple
      navItems={[
        {
          name: "Home",          id: "#home"},
        {
          name: "About",          id: "#about"},
        {
          name: "Work",          id: "#work"},
        {
          name: "Clients",          id: "#clients"},
        {
          name: "Testimonials",          id: "#testimonials"},
        {
          name: "Contact",          id: "#contact"},
      ]}
      brandName="My Portfolio"
    />
  </div>

  <div id="home" data-section="home">
      <HeroSplitKpi
      background={{
        variant: "radial-gradient"}}
      imagePosition="right"
      title="Crafting Digital Experiences That Convert"
      description="I design and build high-converting websites and digital products that drive results. Let's create something impactful together."
      kpis={[
        {
          value: "100+",          label: "Projects Completed"},
        {
          value: "95%",          label: "Client Satisfaction"},
        {
          value: "3X",          label: "Conversion Lift"},
      ]}
      enableKpiAnimation={true}
      buttons={[
        {
          text: "View My Work",          href: "#work"},
        {
          text: "Get in Touch",          href: "#contact"},
      ]}
      imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3EvEZbugZJMMJKmRQ7QXba2nKnk/tmp/can-you-generate-a-picture-of-a-pc-setup-1781137469840-24fc73da.jpg"
      imageAlt="Professional portrait of a web designer in a suit"
      mediaAnimation="slide-up"
      avatars={[
        {
          src: "http://img.b2bpic.net/free-photo/portrait-smiling-blonde-businesswoman-formal-dressed-isolated-dark-textured-background_613910-5399.jpg",          alt: "Smiling blonde businesswoman"},
        {
          src: "http://img.b2bpic.net/free-photo/attractive-blond-business-woman-white-shirt-eyeglasses-crossed-arms-grey-background_613910-13618.jpg",          alt: "Blonde business woman with eyeglasses"},
        {
          src: "http://img.b2bpic.net/free-photo/content-caucasian-businesswoman-standing-with-folded-hands-portrait-confident-adult-beautiful-female-office-employer-black-blouse-posing-work-business-company-management-concept_74855-6952.jpg",          alt: "Caucasian businesswoman standing with folded hands"},
        {
          src: "http://img.b2bpic.net/free-photo/confident-young-businesswoman-with-folded-arms_1262-1775.jpg",          alt: "Young businesswoman with folded arms"},
        {
          src: "http://img.b2bpic.net/free-photo/businesswoman-with-black-glasses_1098-523.jpg",          alt: "Businesswoman with black glasses"},
      ]}
      avatarText="Trusted by 100+ clients "
      marqueeItems={[
        {
          type: "text-icon",          text: "Innovation",          icon: Sparkles,
        },
        {
          type: "text-icon",          text: "Efficiency",          icon: Gauge,
        },
        {
          type: "text-icon",          text: "User Experience",          icon: Monitor,
        },
        {
          type: "text-icon",          text: "Scalability",          icon: TrendingUp,
        },
        {
          type: "text-icon",          text: "Performance",          icon: Zap,
        },
      ]}
      marqueeSpeed={40}
      showMarqueeCard={true}
    />
  </div>

  <div id="about" data-section="about">
      <TextSplitAbout
      useInvertedBackground={true}
      title="A Passion for Pixel-Perfect Performance"
      description={[
        "As a dedicated web designer and developer, I specialize in transforming complex ideas into intuitive, aesthetically pleasing, and highly functional digital solutions. My approach combines strategic thinking with meticulous execution to ensure every project not only looks exceptional but also achieves its business objectives.",        "With years of experience across various industries, I've honed my skills in creating responsive, high-performance websites and user-centric applications. I thrive on problem-solving and am committed to staying at the forefront of design and development trends to deliver cutting-edge results for my clients." ]}
    />
  </div>

  <div id="achievements" data-section="achievements">
      <MetricCardOne
      animationType="slide-up"
      textboxLayout="default"
      gridVariant="uniform-all-items-equal"
      useInvertedBackground={false}
      carouselMode="buttons"
      metrics={[
        {
          id: "m1",          value: "100+",          title: "Successful Projects",          description: "Delivering exceptional web experiences for diverse clients.",          icon: CheckCircle,
        },
        {
          id: "m2",          value: "98%",          title: "Client Satisfaction",          description: "Building strong relationships through reliable and impactful work.",          icon: Star,
        },
        {
          id: "m3",          value: "+30%",          title: "Average Conversion Lift",          description: "Optimizing designs and user flows for measurable growth.",          icon: TrendingUp,
        },
      ]}
      title="My Impact, Quantified"
      description="Real results from real projects. See the difference my expertise makes in driving success for clients."
    />
  </div>

  <div id="work" data-section="work">
      <ProductCardTwo
      animationType="slide-up"
      textboxLayout="default"
      gridVariant="two-columns-alternating-heights"
      useInvertedBackground={true}
      products={[
        {
          id: "p1",          brand: "",          name: "Automotive Project ",          price: "",          rating: 5,
          reviewCount: "25",          imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3EvEZbugZJMMJKmRQ7QXba2nKnk/uploaded-1781134678368-5c2qrpas.png",          imageAlt: "AI SaaS Platform Dashboard"},
        {
          id: "p2",          brand: "",          name: "Automotive Project  ",          price: "",          rating: 5,
          reviewCount: "18",          imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3EvEZbugZJMMJKmRQ7QXba2nKnk/uploaded-1781134469186-xp7xy5lm.png",          imageAlt: "Corporate Website Homepage"},
        {
          id: "p3",          brand: "",          name: "Autobody project ",          price: "",          rating: 4,
          reviewCount: "30",          imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3EvEZbugZJMMJKmRQ7QXba2nKnk/uploaded-1781134490666-z1gftx3q.png",          imageAlt: "Online Course Platform UI"},
        {
          id: "p4",          brand: "",          name: "Autobody Project ",          price: "",          rating: 5,
          reviewCount: "12",          imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3EvEZbugZJMMJKmRQ7QXba2nKnk/uploaded-1781134511954-f922btm0.png",          imageAlt: "Modern Blog Interface"},
        {
          id: "p5",          brand: "",          name: "Roofing Project ",          price: "",          rating: 4,
          reviewCount: "22",          imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3EvEZbugZJMMJKmRQ7QXba2nKnk/uploaded-1781134662725-kuyphl0l.png",          imageAlt: "Real Estate Listing Website"},
        {
          id: "p6",          brand: "",          name: "Roofing Project ",          price: "",          rating: 5,
          reviewCount: "15",          imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3EvEZbugZJMMJKmRQ7QXba2nKnk/uploaded-1781134689001-yl8r30sw.png",          imageAlt: "Restaurant Online Ordering"},
      ]}
      title="Showcasing My Award-Winning Web Projects"
      description="Explore a selection of high-performing websites I've designed and developed for clients across various industries."
    />
  </div>

  <div id="testimonials" data-section="testimonials">
      <TestimonialCardFive
      textboxLayout="default"
      useInvertedBackground={false}
      testimonials={[
        {
          id: "1",          name: "Sarah Johnson",          date: "April 2026",          title: "Exceptional Vision & Execution",          quote: "Working with Ibrahim was a game-changer for our online presence. Their ability to translate our vision into a high-performing website exceeded all expectations. We saw immediate improvements in user engagement and conversions.",          tag: "SaaS Startup",          avatarSrc: "http://img.b2bpic.net/free-photo/serious-beautiful-businesswoman-standing-window_1262-1913.jpg",          avatarAlt: "Sarah Johnson avatar",          imageSrc: "http://img.b2bpic.net/free-photo/wooden-workspace-design_1048-1772.jpg",          imageAlt: "Team collaboration"},
        {
          id: "2",          name: "Michael Chen",          date: "February 2026",          title: "Strategic Design Partner",          quote: "Ibrahim is not just a designer; they're a strategic partner. Their insights into user experience and conversion optimization were invaluable. Our new platform is not only beautiful but incredibly effective.",          tag: "Fintech Company",          avatarSrc: "http://img.b2bpic.net/free-photo/portrait-smiley-modern-male_23-2148514900.jpg",          avatarAlt: "Michael Chen avatar",          imageSrc: "http://img.b2bpic.net/free-photo/empty-startup-office-displays-statistics_482257-119484.jpg",          imageAlt: "Data analytics dashboard"},
        {
          id: "3",          name: "Emily Rodriguez",          date: "January 2026",          title: "Flawless Execution",          quote: "The attention to detail and commitment to quality from Ibrahim are truly remarkable. Our project was delivered on time, within budget, and with flawless execution. Highly recommended!",          tag: "Marketing Agency",          avatarSrc: "http://img.b2bpic.net/free-photo/upbeat-saleswoman-hired-explain-vehicle-pricing-options-clients_482257-118422.jpg",          avatarAlt: "Emily Rodriguez avatar",          imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-people-chatting-desk_23-2149345216.jpg",          imageAlt: "Creative brainstorming"},
        {
          id: "4",          name: "David Kim",          date: "April 2026",          title: "Beyond Expectations",          quote: "I've worked with many developers, but Ibrahim's dedication stands out. They went above and beyond to ensure every feature functioned perfectly and that the design was pixel-perfect. A true professional.",          tag: "E-commerce Brand",          avatarSrc: "http://img.b2bpic.net/free-photo/portrait-employee-happy-be-back-work_23-2148727616.jpg",          avatarAlt: "David Kim avatar",          imageSrc: "http://img.b2bpic.net/free-photo/people-innovations-technology-businesspeople-studying-financial-data-touch-pad-pc-with-concentrated-look_273609-5536.jpg",          imageAlt: "Developers coding"},
        {
          id: "5",          name: "Jessica Lee",          date: "May 2026 ",          title: "Transformative Results",          quote: "Our old website was underperforming. Ibrahim transformed it into a modern, high-converting machine. The results speak for themselves: increased traffic, engagement, and sales!",          tag: "Consulting Firm",          avatarSrc: "http://img.b2bpic.net/free-photo/smiley-professional-businesswoman-with-glasses-presentation_23-2148824824.jpg",          avatarAlt: "Jessica Lee avatar",          imageSrc: "http://img.b2bpic.net/free-photo/executives-greeting-each-other_1098-2853.jpg",          imageAlt: "Business meeting"},
      ]}
      title="What My Clients Say"
      description="Hear directly from clients who have experienced the impact of my design and development work."
    />
  </div>

  <div id="clients" data-section="clients">
      <SocialProofOne
      textboxLayout="default"
      useInvertedBackground={true}
      names={[
        "Global Innovations",        "Digital Dynamics",        "Apex Solutions",        "Creative Edge Studio",        "FutureScape Tech",        "Catalyst Brands",        "Streamline Services"]}
      title="Trusted by Diverse Industries"
      description="My commitment to excellence has earned the trust of clients ranging from startups to established enterprises."
      speed={40}
      showCard={true}
    />
  </div>

  <div id="contact" data-section="contact">
      <ContactSplit
      useInvertedBackground={false}
      background={{
        variant: "plain"}}
      tag="Let's Collaborate"
      title="Ready to Start Your Next Project?"
      description="Whether you have a specific vision or need help defining your digital strategy, I'm here to help. Reach out and let's discuss how I can elevate your online presence. You can also email me directly at ibkhen99@gmail.com."
      imageSrc="http://img.b2bpic.net/free-photo/woman-using-smartphone-text-with-chat-bubbles_23-2151989429.jpg"
      imageAlt="Person working at a desk"
      mediaAnimation="slide-up"
      mediaPosition="right"
      inputPlaceholder="Enter your email"
      buttonText="Send Message"
      termsText="By sending a message, you're confirming that you agree with my privacy policy."
    />
  </div>

  <div id="footer" data-section="footer">
      <FooterSimple
      columns={[
        {
          title: "Services",          items: [
            {
              label: "Web Design",              href: "#work"},
            {
              label: "Development",              href: "#work"},
            {
            label: "UI/UX Strategy",              href: "#about"},
            {
              label: "Consulting",              href: "#contact"},
          ],
        },
        {
          title: "Company",          items: [
            {
              label: "About Me",              href: "#about"},
            {
              label: "Portfolio",              href: "#work"},
            {
              label: "Testimonials",              href: "#testimonials"},
            {
              label: "Contact",              href: "#contact"},
          ],
        },
        {
          title: "Social",          items: [
            {
              label: "LinkedIn",              href: "#"},
            {
              label: "Twitter",              href: "#"},
            {
              label: "Behance",              href: "#"},
          ],
        },
      ]}
      bottomLeftText="© 2024 Ibrahim. All rights reserved."
      bottomRightText="Built with Webild."
    />
  </div>
      </ReactLenis>
    </ThemeProvider>
  );
}