"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import ContactCenter from '@/components/sections/contact/ContactCenter';
import FaqDouble from '@/components/sections/faq/FaqDouble';
import FeatureCardTwentyOne from '@/components/sections/feature/FeatureCardTwentyOne';
import FooterMedia from '@/components/sections/footer/FooterMedia';
import HeroOverlayTestimonial from '@/components/sections/hero/HeroOverlayTestimonial';
import NavbarLayoutFloatingInline from '@/components/navbar/NavbarLayoutFloatingInline';
import ProductCardThree from '@/components/sections/product/ProductCardThree';
import SocialProofOne from '@/components/sections/socialProof/SocialProofOne';
import TestimonialCardTen from '@/components/sections/testimonial/TestimonialCardTen';
import TextAbout from '@/components/sections/about/TextAbout';

export default function LandingPage() {
  return (
    <ThemeProvider
        defaultButtonVariant="expand-hover"
        defaultTextAnimation="entrance-slide"
        borderRadius="soft"
        contentWidth="medium"
        sizing="mediumLargeSizeLargeTitles"
        background="noise"
        cardStyle="soft-shadow"
        primaryButtonStyle="double-inset"
        secondaryButtonStyle="solid"
        headingFontWeight="semibold"
    >
      <ReactLenis root>
  <div id="nav" data-section="nav">
      <NavbarLayoutFloatingInline
      navItems={[
        {
          name: "Home",          id: "#hero"},
        {
          name: "Products",          id: "#products"},
        {
          name: "About Us",          id: "#about"},
        {
          name: "Features",          id: "#features"},
        {
          name: "Testimonials",          id: "#testimonials"},
        {
          name: "FAQ",          id: "#faq"},
        {
          name: "Contact",          id: "#contact"},
      ]}
      brandName="New Kandy Hardware"
      button={{
        text: "Shop Now",        href: "#products"}}
      animateOnLoad={true}
    />
  </div>

  <div id="hero" data-section="hero">
      <HeroOverlayTestimonial
      title="Quality Hardware Solutions for Kandy Homes"
      description="From tools to building materials, find everything you need for your next project. Fast delivery across the Kadugannawa area."
      testimonials={[
        {
          name: "Nimali S.",          handle: "@HomeRenovatorSL",          testimonial: "New Kandy Hardware always has what I need for my DIY projects. Their staff are so helpful and knowledgeable!",          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/excited-female-manual-worker-looking-with-bugged-eyes-full-happiness-opened-mouth-while-being-promoted-holding-drilling-machine-blueprint-her-hands-isolated-yellow-wall_273609-7904.jpg",          imageAlt: "Nimali S. avatar"},
        {
          name: "Rohan D.",          handle: "@KandyBuilds",          testimonial: "As a contractor, I rely on New Kandy for bulk supplies. Excellent quality, competitive prices, and prompt delivery.",          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/young-construction-worker-safety-helmet-glasses_176474-86014.jpg",          imageAlt: "Rohan D. avatar"},
        {
          name: "Priya L.",          handle: "@LocalCraftsSL",          testimonial: "Their online ordering system is a lifesaver. Quick and efficient, perfect for busy professionals like me.",          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/pretty-woman-with-hammer_23-2147771845.jpg",          imageAlt: "Priya L. avatar"},
        {
          name: "Chamara F.",          handle: "@CeylonConstruct",          testimonial: "Great variety and very fair pricing. New Kandy Hardware is my go-to for all construction needs in Kadugannawa.",          rating: 5,
          imageSrc: "asset://hero-testimonial-4",          imageAlt: "Chamara F. avatar"},
        {
          name: "Anusha R.",          handle: "@IslandHomes",          testimonial: "Found unique items I couldn't get elsewhere. Fantastic service, truly a gem in the Kandy region!",          rating: 5,
          imageSrc: "asset://hero-testimonial-5",          imageAlt: "Anusha R. avatar"},
      ]}
      buttons={[
        {
          text: "Browse Our Products",          href: "#products"},
      ]}
      avatars={[
        {
          src: "http://img.b2bpic.net/free-photo/business-woman-smiling-with-top-hat-thumbs-up_1187-1549.jpg",          alt: "Customer avatar 1"},
        {
          src: "http://img.b2bpic.net/free-photo/professional-woman-standing-with-coffee-busy-street-smiling-camera_1258-123421.jpg",          alt: "Customer avatar 2"},
        {
          src: "http://img.b2bpic.net/free-photo/front-view-male-engineer-sitting-his-working-place-job-business-contractor-agenda-corporate-builder-property-plan-document_140725-155310.jpg",          alt: "Customer avatar 3"},
        {
          src: "http://img.b2bpic.net/free-photo/gray-haired-mature-senior-woman-stylish-knitted-jumper-expressing-excitement-joy-looking-with-broad-beaming-smile-holding-hands-as-if-squeezing-something-human-reactions-feelings_343059-2690.jpg",          alt: "Customer avatar 4"},
        {
          src: "http://img.b2bpic.net/free-photo/female-artist-with-wooden-box-brushes_23-2148002288.jpg",          alt: "Female artist with wooden box of brushes"},
      ]}
      avatarText="Join thousands of satisfied customers!"
      imageSrc="http://img.b2bpic.net/free-photo/mechanic-working-workshop_1170-2534.jpg"
      imageAlt="Wide range of hardware products inside New Kandy Hardware store"
      showBlur={true}
      textPosition="bottom"
    />
  </div>

  <div id="about" data-section="about">
      <TextAbout
      useInvertedBackground={true}
      tag="Our Story"
      title="Serving Kadugannawa with Top-Quality Hardware for Generations"
    />
  </div>

  <div id="features" data-section="features">
      <FeatureCardTwentyOne
      useInvertedBackground={false}
      title="Your Reliable Partner for Every Project"
      description="Discover the advantages of sourcing your hardware from New Kandy. We ensure you have access to the best products and services."
      tag="Why Choose Us"
      accordionItems={[
        {
          id: "feature-1",          title: "Extensive Product Range",          content: "From basic hand tools to specialized building materials, our vast inventory covers all your hardware and home improvement needs. We stock trusted brands and quality products for every project size."},
        {
          id: "feature-2",          title: "Fast & Convenient Delivery",          content: "Enjoy hassle-free delivery services across the Kadugannawa area. Order online and get your supplies delivered directly to your doorstep or construction site, saving you time and effort."},
        {
          id: "feature-3",          title: "Expert Advice & Support",          content: "Our experienced team is always ready to provide professional advice, helping you choose the right products and solutions for your specific requirements. We're here to assist you every step of the way."},
      ]}
      imageSrc="http://img.b2bpic.net/free-photo/still-life-wood-engraving-workshop_23-2149185407.jpg"
      imageAlt="Assortment of hand tools and power tools"
      mediaAnimation="slide-up"
    />
  </div>

  <div id="products" data-section="products">
      <ProductCardThree
      animationType="slide-up"
      textboxLayout="default"
      gridVariant="three-columns-all-equal-width"
      useInvertedBackground={true}
      products={[
        {
          id: "prod-1",          name: "Cordless Impact Drill",          price: "LKR 18,500",          imageSrc: "http://img.b2bpic.net/free-photo/man-working-cutting-mdf-board_23-2149384836.jpg",          imageAlt: "Cordless impact drill"},
        {
          id: "prod-2",          name: "Claw Hammer",          price: "LKR 1,200",          imageSrc: "http://img.b2bpic.net/free-photo/construction-worker-using-hammer-job-site_23-2150530704.jpg",          imageAlt: "Claw hammer"},
        {
          id: "prod-3",          name: "Premium Interior Paint",          price: "LKR 4,800",          imageSrc: "http://img.b2bpic.net/free-photo/top-view-painting-materials_23-2147961527.jpg",          imageAlt: "Can of premium interior paint"},
        {
          id: "prod-4",          name: "PVC Pipe Set (5 pcs)",          price: "LKR 3,450",          imageSrc: "http://img.b2bpic.net/free-photo/minimalist-construction-pvc-pipes-composition_23-2149106871.jpg",          imageAlt: "Set of PVC pipes"},
        {
          id: "prod-5",          name: "Safety Goggles & Gloves",          price: "LKR 950",          imageSrc: "http://img.b2bpic.net/free-photo/front-view-portrait-successful-architect_23-2148242910.jpg",          imageAlt: "Safety goggles and work gloves"},
        {
          id: "prod-6",          name: "Assorted Screw & Bolt Kit",          price: "LKR 2,100",          imageSrc: "http://img.b2bpic.net/free-photo/abstract-clear-metallic-background-close-up_23-2148859942.jpg",          imageAlt: "Assorted screws and bolts"},
      ]}
      title="Explore Our Wide Range of Hardware"
      description="From power tools to plumbing essentials, we have everything you need to build, renovate, and repair."
      tag="Our Catalog"
    />
  </div>

  <div id="partners" data-section="partners">
      <SocialProofOne
      textboxLayout="default"
      useInvertedBackground={false}
      names={[
        "Lanka Cement",        "Kandy Construction",        "Kadugannawa Builders",        "Power Tools Inc.",        "Aqua Plumbing Solutions",        "Green Garden Supplies",        "Ceylon Paints"]}
      title="Trusted by Professionals & Local Communities"
      description="We partner with leading brands and local businesses to bring you the best quality products and reliable services."
      tag="Our Network"
    />
  </div>

  <div id="testimonials" data-section="testimonials">
      <TestimonialCardTen
      textboxLayout="default"
      useInvertedBackground={true}
      testimonials={[
        {
          id: "test-1",          title: "Exceptional Service!",          quote: "New Kandy Hardware made my recent home renovation so much easier. The team was incredibly helpful in guiding me to the right materials.",          name: "Amara Perera",          role: "Homeowner, Kandy",          imageSrc: "http://img.b2bpic.net/free-photo/customer-experience-creative-collage_23-2149371200.jpg",          imageAlt: "Amara Perera"},
        {
          id: "test-2",          title: "Reliable Supplier for Contractors",          quote: "For all our construction projects, New Kandy Hardware is our first choice. Their bulk ordering and delivery are consistently efficient.",          name: "Sunil Rajapakse",          role: "Lead Contractor, Kandy Builders",          imageSrc: "http://img.b2bpic.net/free-photo/man-with-red-helmet-celebrating-with-raised-fist_1187-3250.jpg",          imageAlt: "Sunil Rajapakse"},
        {
          id: "test-3",          title: "Convenient Online Shopping",          quote: "I love the convenience of ordering online and having everything delivered to my workshop. Saves me so much time!",          name: "Tharanga Mendis",          role: "Workshop Owner, Kadugannawa",          imageSrc: "http://img.b2bpic.net/free-photo/dreamy-beautiful-female-with-warm-blue-eyes-positive-smile-dressed-casually-has-dark-hair-tied-knot-drinks-fresh-cocktail-being-pleased-spend-free-time-cafeteria-summer-rest-leisure_273609-3039.jpg",          imageAlt: "Tharanga Mendis"},
        {
          id: "test-4",          title: "Quality Products Guaranteed",          quote: "Every product I've bought from New Kandy Hardware has been of the highest quality. They truly stand by their promise.",          name: "Dilini Wijesinghe",          role: "DIY Enthusiast, Peradeniya",          imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-woman-sitting-table_23-2148819925.jpg",          imageAlt: "Dilini Wijesinghe"},
        {
          id: "test-5",          title: "Best Prices in the Region",          quote: "We always get the best value for our money at New Kandy. Their prices are unbeatable, especially for larger orders.",          name: "Kasun De Silva",          role: "Property Developer, Kandy",          imageSrc: "http://img.b2bpic.net/free-photo/businessman-showing-thumbs-up-sign_93675-133117.jpg",          imageAlt: "Kasun De Silva"},
      ]}
      title="What Our Valued Customers Say"
      description="Hear from homeowners, contractors, and DIY enthusiasts about their experience with New Kandy Hardware."
      tag="Customer Stories"
    />
  </div>

  <div id="faq" data-section="faq">
      <FaqDouble
      textboxLayout="default"
      useInvertedBackground={false}
      faqs={[
        {
          id: "faq-1",          title: "What are your delivery areas?",          content: "We offer fast and reliable delivery services across the entire Kadugannawa area and surrounding regions in Kandy. Please contact us for specific inquiries about your location."},
        {
          id: "faq-2",          title: "How can I place an online order?",          content: "You can easily place an order through our website by browsing our product catalog, adding items to your cart, and proceeding to checkout. We will contact you for payment and delivery arrangements."},
        {
          id: "faq-3",          title: "Do you offer bulk discounts for contractors?",          content: "Yes, we provide special pricing and bulk discounts for contractors and property developers. Please get in touch with our sales team to discuss your project requirements."},
        {
          id: "faq-4",          title: "What types of products do you stock?",          content: "Our inventory includes a comprehensive range of building materials, hand tools, power tools, plumbing supplies, electrical fittings, paints, and general hardware items for both residential and commercial use."},
        {
          id: "faq-5",          title: "Can I return or exchange products?",          content: "Yes, we have a clear return and exchange policy for products purchased. Please refer to our 'Terms and Conditions' or contact customer service for more details regarding eligibility."},
      ]}
      title="Frequently Asked Questions"
      description="Find answers to common questions about our products, ordering, delivery, and services."
      tag="Quick Answers"
      faqsAnimation="slide-up"
    />
  </div>

  <div id="contact" data-section="contact">
      <ContactCenter
      useInvertedBackground={true}
      background={{
        variant: "radial-gradient"}}
      tag="Get In Touch"
      title="Visit Us or Order Online"
      description="Our team is ready to assist you with your hardware needs. Reach out to us or find our store location for expert advice and quality products."
      inputPlaceholder="Your email address"
      buttonText="Send Inquiry"
      termsText="By submitting your inquiry, you agree to our privacy policy."
    />
  </div>

  <div id="footer" data-section="footer">
      <FooterMedia
      imageSrc="http://img.b2bpic.net/free-photo/natural-beautiful-winter-landscape_23-2150264611.jpg"
      imageAlt="New Kandy Hardware storefront at dusk"
      logoText="New Kandy Hardware"
      columns={[
        {
          title: "Products",          items: [
            {
              label: "Tools",              href: "#products"},
            {
              label: "Building Materials",              href: "#products"},
            {
              label: "Plumbing & Electrical",              href: "#products"},
            {
              label: "Paints & Finishes",              href: "#products"},
          ],
        },
        {
          title: "Company",          items: [
            {
              label: "About Us",              href: "#about"},
            {
              label: "Our Features",              href: "#features"},
            {
              label: "Testimonials",              href: "#testimonials"},
            {
              label: "Contact Us",              href: "#contact"},
          ],
        },
        {
          title: "Support",          items: [
            {
              label: "FAQ",              href: "#faq"},
            {
              label: "Delivery Info",              href: "#"},
            {
              label: "Return Policy",              href: "#"},
            {
              label: "Privacy Policy",              href: "#"},
          ],
        },
      ]}
      copyrightText="© 2024 New Kandy Hardware. All rights reserved."
    />
  </div>
      </ReactLenis>
    </ThemeProvider>
  );
}
