"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import AboutMetric from '@/components/sections/about/AboutMetric';
import FeatureCardTen from '@/components/sections/feature/FeatureCardTen';
import FooterBase from '@/components/sections/footer/FooterBase';
import HeroSplitKpi from '@/components/sections/hero/HeroSplitKpi';
import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered';
import SocialProofOne from '@/components/sections/socialProof/SocialProofOne';
import TestimonialCardSixteen from '@/components/sections/testimonial/TestimonialCardSixteen';
import { Award, Briefcase, Calendar, Cog, Home, Hammer, MessageCircle, Paintbrush, Sparkles, Star, Brush, ClipboardCheck } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
        defaultButtonVariant="directional-hover"
        defaultTextAnimation="reveal-blur"
        borderRadius="rounded"
        contentWidth="mediumLarge"
        sizing="largeSmallSizeMediumTitles"
        background="noise"
        cardStyle="glass-depth"
        primaryButtonStyle="radial-glow"
        secondaryButtonStyle="layered"
        headingFontWeight="extrabold"
    >
      <ReactLenis root>
  <div id="nav" data-section="nav">
      <NavbarStyleCentered
      navItems={[
        {
          name: "Home",          id: "/"},
        {
          name: "Services",          id: "/services"},
        {
          name: "Gallery",          id: "/gallery"},
        {
          name: "Contact",          id: "/contact"},
      ]}
      button={{
        text: "Get a Free Quote",        href: "/contact"}}
      logoSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3EsInlEOoSiMI8mFEzeygc6zaoo/uploaded-1780963238289-ovhlz3j6.png"
      logoAlt="FloorCraft Logo"
      brandName="FloorCraft"
    />
  </div>

  <div id="hero" data-section="hero">
      <HeroSplitKpi
      background={{
        variant: "radial-gradient"}}
      imagePosition="right"
      title="FloorCraft: Family Craftsmanship Underfoot Since 2012"
      description="Your home deserves the touch of experienced hands. We're a family-owned business specializing in hardwood floor installation, sanding, and restoration, built on trust and personal relationships."
      kpis={[
        {
          value: "12+",          label: "Years in Business"},
        {
          value: "500+",          label: "Projects Completed"},
        {
          value: "5-Star",          label: "Customer Satisfaction"},
      ]}
      enableKpiAnimation={true}
      tag="Trusted & Experienced"
      buttons={[
        {
          text: "Explore Services",          href: "/services"},
        {
          text: "Get a Free Quote",          href: "/contact"},
      ]}
      buttonAnimation="slide-up"
      imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3EsInlEOoSiMI8mFEzeygc6zaoo/uploaded-1780963238290-d9zo6f2r.png"
      imageAlt="Newly installed hardwood floor in a modern kitchen"
      mediaAnimation="slide-up"
      avatars={[
        {
          src: "http://img.b2bpic.net/free-photo/portrait-smiling-businesswoman-office_329181-19228.jpg",          alt: "Satisfied client"},
        {
          src: "http://img.b2bpic.net/free-photo/confident-smart-girl-got-everything-control-portrait-optimistic-goodlooking-girl-with-fair-hair-tanned-skin-winking-showing-okay-perfect-gesture-standing-blue-wall_1258-308436.jpg",          alt: "Happy homeowner"},
        {
          src: "http://img.b2bpic.net/free-photo/beautiful-young-female-with-hair-bun-having-joyful-look-smiling-cheerfully-happy-with-some-positive-news_273609-9042.jpg",          alt: "Project supervisor"},
        {
          src: "http://img.b2bpic.net/free-photo/medium-shot-model-expressing-emotion_23-2151912686.jpg",          alt: "Client testimonial"},
        {
          src: "http://img.b2bpic.net/free-photo/human-facial-expressions-portrait-serious-young-unshaven-male-with-curly-hair-keeping-chin-his-hands-with-pensive-look-thinking-something-posing-indoors_343059-1822.jpg",          alt: "Trusted customer"},
      ]}
      avatarText="Join Our Growing Family of Satisfied Customers!"
      marqueeItems={[
        {
          type: "text",          text: "Hardwood Installation"},
        {
          type: "text",          text: "Floor Refinishing"},
        {
          type: "text",          text: "Custom Designs"},
        {
          type: "text",          text: "Dust-Free Sanding"},
        {
          type: "text",          text: "Free Consultations"},
      ]}
    />
  </div>

  <div id="about" data-section="about">
      <AboutMetric
      useInvertedBackground={true}
      title="Our Family's Promise: Quality You Can Stand On"
      metrics={[
        {
          icon: Award,
          label: "Unmatched Craftsmanship",          value: "Premium Finishes"},
        {
          icon: Briefcase,
          label: "Personalized Service",          value: "Client-Focused"},
        {
          icon: Cog,
          label: "Experienced Professionals",          value: "Since 2012"},
      ]}
      metricsAnimation="slide-up"
    />
  </div>

  <div id="home-features" data-section="home-features">
      <FeatureCardTen
      animationType="slide-up"
      textboxLayout="default"
      useInvertedBackground={false}
      features={[
        {
          title: "Hardwood Floor Installation",          description: "Expert installation of all hardwood types, ensuring a seamless and durable finish that enhances your home's aesthetic.",          media: {
            imageSrc: "http://img.b2bpic.net/free-photo/ai-generated-modern-styled-entryway_23-2150692391.jpg",            imageAlt: "Hardwood floor installation"},
          items: [
            {
              icon: Home,
              text: "New Installations"},
            {
              icon: Hammer,
              text: "Material Sourcing"},
            {
              icon: Star,
              text: "Quality Guaranteed"},
          ],
          reverse: false,
        },
        {
          title: "Professional Floor Sanding",          description: "Restore the natural beauty of your existing hardwood floors with our dust-free sanding and refinishing services, bringing them back to life.",          media: {
            imageSrc: "http://img.b2bpic.net/free-photo/man-is-working-with-mosquito-wire-screen-installation_1150-6580.jpg",            imageAlt: "Floor sanding service"},
          items: [
            {
              icon: Brush,
              text: "Refinishing"},
            {
              icon: Sparkles,
              text: "Dustless System"},
            {
              icon: Paintbrush,
              text: "Stain Matching"},
          ],
          reverse: true,
        },
        {
          title: "Free Estimates & Consultation",          description: "Start your flooring project with confidence. We offer complimentary, no-obligation estimates and expert advice tailored to your needs.",          media: {
            imageSrc: "http://img.b2bpic.net/free-photo/ruler-plans_23-2147785546.jpg",            imageAlt: "Free flooring estimate"},
          items: [
            {
              icon: ClipboardCheck,
              text: "Detailed Quotes"},
            {
              icon: MessageCircle,
              text: "Expert Advice"},
            {
              icon: Calendar,
              text: "Flexible Scheduling"},
          ],
          reverse: false,
        },
      ]}
      title="Experience the Art of Flooring with FloorCraft"
      description="From classic hardwoods to modern finishes, our family's expertise ensures your floors are a masterpiece. Explore our comprehensive services designed to bring beauty and durability to your home."
    />
  </div>

  <div id="home-testimonials" data-section="home-testimonials">
      <TestimonialCardSixteen
      textboxLayout="default"
      useInvertedBackground={true}
      animationType="depth-3d"
      testimonials={[
        {
          id: "1",          name: "Sarah Johnson",          role: "Homeowner",          company: "Atlanta, GA",          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/portrait-attractive-stylish-senior-caucasian-female-pensioner-with-pixie-short-hairstyle-spending-day-home-standing-living-room-wearing-elegant-blue-dress-smiling-happily_343059-2673.jpg",          imageAlt: "Sarah Johnson"},
        {
          id: "2",          name: "Michael Chen",          role: "Residential Developer",          company: "Macon, GA",          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/close-up-man-with-bright-smile_23-2148563438.jpg",          imageAlt: "Michael Chen"},
        {
          id: "3",          name: "Emily Rodriguez",          role: "Interior Designer",          company: "Alpharetta, GA",          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/glad-brunette-young-woman-smiles-happily-keeps-thumbs-up-shows-approval-sign-satisfied-with-service-good-feedback-says-its-excellent-dressed-casual-pink-t-shirt-isolated-white-background_273609-61011.jpg",          imageAlt: "Emily Rodriguez"},
        {
          id: "4",          name: "David Kim",          role: "First-Time Homeowner",          company: "Savannah, GA",          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/smiling-pretty-curly-haired-lady-showing-thumb-up-park_1262-20821.jpg",          imageAlt: "David Kim"},
        {
          id: "5",          name: "Jessica Lee",          role: "Property Manager",          company: "Roswell, GA",          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/portrait-beauty-businesswoman-leaning-against-brick-wall_613910-773.jpg",          imageAlt: "Jessica Lee"},
      ]}
      kpiItems={[
        {
          value: "5.0",          label: "Average Rating"},
        {
          value: "98%",          label: "Client Retention"},
        {
          value: "100%",          label: "Satisfaction"},
      ]}
      title="What Our Family of Customers Says"
      description="Hearing from our satisfied clients is the greatest reward. Their trust in our craftsmanship and personal approach is the foundation of our business."
    />
  </div>

  <div id="social-proof" data-section="social-proof">
      <SocialProofOne
      textboxLayout="default"
      useInvertedBackground={false}
      names={[
        "WoodMark Supplies",        "Elite Builders",        "Design Innovations",        "GreenWood Co.",        "Luxury Living Homes",        "Community Craftsmen",        "Certified Flooring Pros"]}
      title="Our Trusted Partners & Featured Brands"
      description="We collaborate with leading suppliers and home builders to ensure every FloorCraft project meets the highest standards of quality and aesthetics."
      speed={40}
    />
  </div>

  <div id="footer" data-section="footer">
      <FooterBase
      columns={[
        {
          title: "Navigation",          items: [
            {
              label: "Home",              href: "/"},
            {
              label: "Services",              href: "/services"},
            {
              label: "Gallery",              href: "/gallery"},
            {
              label: "Contact",              href: "/contact"},
          ],
        },
        {
          title: "Services",          items: [
            {
              label: "Hardwood Installation",              href: "/services#hardwood-installation"},
            {
              label: "Floor Sanding",              href: "/services#floor-sanding"},
            {
              label: "Free Estimates",              href: "/services#free-estimates"},
            {
              label: "Custom Designs",              href: "/services#custom-designs"},
          ],
        },
        {
          title: "About Us",          items: [
            {
              label: "Our Story",              href: "/#about"},
            {
              label: "Testimonials",              href: "/#home-testimonials"},
            {
              label: "Service Areas",              href: "/services#service-areas"},
            {
              label: "FAQs",              href: "/contact#faq"},
          ],
        },
      ]}
      logoSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3EsInlEOoSiMI8mFEzeygc6zaoo/uploaded-1780963238289-ovhlz3j6.png"
      logoAlt="FloorCraft Logo"
      logoText="FloorCraft"
      copyrightText="© 2024 FloorCraft. All rights reserved."
    />
  </div>
      </ReactLenis>
    </ThemeProvider>
  );
}
