"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import FaqDouble from '@/components/sections/faq/FaqDouble';
import FooterSimple from '@/components/sections/footer/FooterSimple';
import NavbarLayoutFloatingInline from '@/components/navbar/NavbarLayoutFloatingInline';
import SocialProofOne from '@/components/sections/socialProof/SocialProofOne';
import TestimonialCardTwelve from '@/components/sections/testimonial/TestimonialCardTwelve';

export default function LandingPage() {
  return (
    <ThemeProvider
        defaultButtonVariant="expand-hover"
        defaultTextAnimation="entrance-slide"
        borderRadius="pill"
        contentWidth="small"
        sizing="mediumLargeSizeLargeTitles"
        background="noise"
        cardStyle="glass-elevated"
        primaryButtonStyle="flat"
        secondaryButtonStyle="glass"
        headingFontWeight="medium"
    >
      <ReactLenis root>
  <div id="nav" data-section="nav">
      <NavbarLayoutFloatingInline
      navItems={[
        {
          name: "Home",
          id: "/",
        },
        {
          name: "Services",
          id: "/services",
        },
        {
          name: "About Us",
          id: "/about",
        },
        {
          name: "Projects",
          id: "/projects",
        },
        {
          name: "Reviews",
          id: "/reviews",
        },
        {
          name: "Contact",
          id: "/contact",
        },
      ]}
      brandName="Leeds Building & Tiling Ltd"
      button={{
        text: "Get Free Quote",
        href: "/contact",
      }}
      animateOnLoad={true}
    />
  </div>

  <div id="customer-reviews" data-section="customer-reviews">
      <TestimonialCardTwelve
      useInvertedBackground={false}
      testimonials={[
        {
          id: "review-1",
          name: "Sarah J.",
          imageSrc: "http://img.b2bpic.net/free-photo/excited-joyful-beautiful-woman-gesturing-with-hand_74855-2753.jpg",
          imageAlt: "Sarah Johnson, client",
        },
        {
          id: "review-2",
          name: "Michael C.",
          imageSrc: "http://img.b2bpic.net/free-photo/head-shot-happy-beautiful-young-woman-posing-indoors-looking-camera-smiling_74855-10218.jpg",
          imageAlt: "Michael Chen, client",
        },
        {
          id: "review-3",
          name: "Emily R.",
          imageSrc: "http://img.b2bpic.net/free-photo/cheerful-woman-sitting-laughing-sofa-home_171337-19484.jpg",
          imageAlt: "Emily Rodriguez, client",
        },
        {
          id: "review-4",
          name: "David K.",
          imageSrc: "http://img.b2bpic.net/free-photo/joyful-smiling-guy-glasses-man-shows-thumbs-up-sits-cafe-with-laptop-recommends-website_1258-245425.jpg",
          imageAlt: "David Kim, client",
        },
        {
          id: "review-5",
          name: "Laura P.",
          imageSrc: "http://img.b2bpic.net/free-photo/front-view-young-female-drinking-tea_23-2148375081.jpg",
          imageAlt: "Laura Price, client",
        },
        {
          id: "review-6",
          name: "James & Chloe",
          imageSrc: "http://img.b2bpic.net/free-photo/loving-couple-relaxing-sofa_329181-2740.jpg",
          imageAlt: "James and Chloe, clients",
        },
      ]}
      cardTitle="What Our Valued Clients Say"
      cardTag="4.9 Star Rated Builder"
      cardAnimation="slide-up"
    />
  </div>

  <div id="review-faq" data-section="review-faq">
      <FaqDouble
      textboxLayout="default"
      useInvertedBackground={true}
      faqs={[
        {
          id: "review-faq1",
          title: "How do you ensure customer satisfaction?",
          content: "We maintain open communication, provide regular updates, and ensure every detail aligns with your expectations and our high standards.",
        },
        {
          id: "review-faq2",
          title: "Can I see previous customer reviews?",
          content: "Absolutely. We encourage potential clients to read our extensive collection of testimonials and reviews, available both here and on third-party platforms.",
        },
        {
          id: "review-faq3",
          title: "What if I have feedback during the project?",
          content: "Your feedback is crucial. We have a clear process for addressing any concerns or adjustments needed throughout the project lifecycle.",
        },
      ]}
      title="Common Questions About Our Services"
      description="We aim for complete transparency. Here are answers to questions often asked by our clients."
      faqsAnimation="slide-up"
    />
  </div>

  <div id="social-proof-logos" data-section="social-proof-logos">
      <SocialProofOne
      textboxLayout="default"
      useInvertedBackground={false}
      names={[
        "Local Housing Authority",
        "Leeds Council Approved",
        "Home Builder's Guild",
        "Federation of Master Builders",
        "Local Trades Directory",
        "Approved Contractor Scheme",
        "Trusted Traders Leeds",
      ]}
      title="Trusted by Homeowners Across Leeds"
      description="Our reputation is built on reliability, quality, and community trust."
      buttons={[
        {
          text: "Get Your Free Quote",
          href: "/contact",
        },
      ]}
    />
  </div>

  <div id="footer" data-section="footer">
      <FooterSimple
      columns={[
        {
          title: "Services",
          items: [
            {
              label: "Bathroom Renovations",
              href: "/services#bathrooms",
            },
            {
              label: "Kitchen Remodelling",
              href: "/services#kitchens",
            },
            {
              label: "Extensions",
              href: "/services#extensions",
            },
            {
              label: "General Building",
              href: "/services#general-building",
            },
            {
              label: "Repointing & Brickwork",
              href: "/services#brickwork",
            },
          ],
        },
        {
          title: "Company",
          items: [
            {
              label: "About Us",
              href: "/about",
            },
            {
              label: "Our Projects",
              href: "/projects",
            },
            {
              label: "Client Reviews",
              href: "/reviews",
            },
            {
              label: "Contact Us",
              href: "/contact",
            },
          ],
        },
        {
          title: "Contact",
          items: [
            {
              label: "Call Us: 07552 198577",
              href: "tel:07552198577",
            },
            {
              label: "Email: info@leedsbuildingtiling.co.uk",
              href: "mailto:info@leedsbuildingtiling.co.uk",
            },
            {
              label: "Leeds, West Yorkshire",
              href: "#",
            },
          ],
        },
      ]}
      bottomLeftText="© 2024 Leeds Building & Tiling Ltd. All rights reserved."
      bottomRightText="Privacy Policy"
    />
  </div>
      </ReactLenis>
    </ThemeProvider>
  );
}
