"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import ContactSplit from '@/components/sections/contact/ContactSplit';
import FaqSplitText from '@/components/sections/faq/FaqSplitText';
import FeatureCardSeven from '@/components/sections/feature/FeatureCardSeven';
import FooterBaseReveal from '@/components/sections/footer/FooterBaseReveal';
import HeroCarouselLogo from '@/components/sections/hero/heroCarouselLogo/HeroCarouselLogo';
import NavbarLayoutFloatingInline from '@/components/navbar/NavbarLayoutFloatingInline';
import TestimonialCardOne from '@/components/sections/testimonial/TestimonialCardOne';

export default function LandingPage() {
  return (
    <ThemeProvider
        defaultButtonVariant="elastic-effect"
        defaultTextAnimation="background-highlight"
        borderRadius="rounded"
        contentWidth="compact"
        sizing="largeSizeMediumTitles"
        background="noise"
        cardStyle="inset"
        primaryButtonStyle="shadow"
        secondaryButtonStyle="radial-glow"
        headingFontWeight="normal"
    >
      <ReactLenis root>
  <div id="nav" data-section="nav">
      <NavbarLayoutFloatingInline
      navItems={[
        {
          name: "Home",
          id: "hero",
        },
        {
          name: "Services",
          id: "services",
        },
        {
          name: "Reviews",
          id: "testimonials",
        },
        {
          name: "Contact",
          id: "contact",
        },
      ]}
      brandName="LCP Partners"
      button={{
        text: "Request a Free Consultation",
        href: "#contact",
      }}
    />
  </div>

  <div id="hero" data-section="hero">
      <HeroCarouselLogo
      logoText="LCP Business Partners"
      description="Accounting That Puts Your Business First. Reliable compliance, tax strategies that save you money, and proactive advice tailored to your goals."
      buttons={[
        {
          text: "Request a Free Consultation",
          href: "#contact",
        },
      ]}
      slides={[
        {
          imageSrc: "http://img.b2bpic.net/free-photo/young-analyst_1098-14054.jpg",
          imageAlt: "Financial advisor and client consulting",
        },
        {
          imageSrc: "http://img.b2bpic.net/free-photo/serious-businessman-working-office-analyzing-business-plans-there-are-people-background_637285-187.jpg",
          imageAlt: "Serious businessman working in the office and analyzing business plans",
        },
        {
          imageSrc: "http://img.b2bpic.net/free-photo/serious-businessman-sitting-office-reading-business-reports-there-are-people-background_637285-218.jpg",
          imageAlt: "Serious businessman sitting in the office and reading business reports",
        },
        {
          imageSrc: "http://img.b2bpic.net/free-photo/business-discussion_1098-19467.jpg",
          imageAlt: "Business discussion between professionals",
        },
        {
          imageSrc: "http://img.b2bpic.net/free-photo/executives-finishing-up-meeting_1098-1179.jpg",
          imageAlt: "Executives finishing up a meeting",
        },
      ]}
    />
  </div>

  <div id="services" data-section="services">
      <FeatureCardSeven
      animationType="slide-up"
      textboxLayout="split"
      useInvertedBackground={false}
      features={[
        {
          title: "Tax & Compliance",
          description: "Expert BAS preparation, income tax, and payroll services to keep you stress-free.",
          imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=4qwf6v",
          imageAlt: "Tax compliance icon",
        },
        {
          title: "Cloud Bookkeeping",
          description: "Streamline your financials with seamless Xero and MYOB integration.",
          imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=4aboey",
          imageAlt: "Bookkeeping icon",
        },
        {
          title: "Business Advisory",
          description: "Strategic cashflow forecasting and KPI dashboards to drive your business forward.",
          imageSrc: "http://img.b2bpic.net/free-photo/dynamic-data-visualization-3d_23-2151904303.jpg",
          imageAlt: "Advisory icon",
        },
      ]}
      title="Accounting Services"
      description="Comprehensive financial solutions to help your business grow and stay compliant."
    />
  </div>

  <div id="testimonials" data-section="testimonials">
      <TestimonialCardOne
      textboxLayout="default"
      gridVariant="three-columns-all-equal-width"
      useInvertedBackground={false}
      testimonials={[
        {
          id: "1",
          name: "Sarah J.",
          role: "Owner",
          company: "Retail Boutique",
          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/business-lady-looking-copyspace-with-interest_1262-2957.jpg",
        },
        {
          id: "2",
          name: "Michael D.",
          role: "CEO",
          company: "Tech Solutions",
          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/people-having-dinner-luxurious-restaurants_23-2151081913.jpg",
        },
        {
          id: "3",
          name: "Emily R.",
          role: "Director",
          company: "Growth Co.",
          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/portrait-handsome-man-smiling_23-2148729669.jpg",
        },
        {
          id: "4",
          name: "David K.",
          role: "Manager",
          company: "Construction Firm",
          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/closeup-happy-middle-aged-business-leader_1262-4823.jpg",
        },
        {
          id: "5",
          name: "Jessica L.",
          role: "Consultant",
          company: "Design Studio",
          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/confident-businessman-glasses-looking-camera-cross-arms-chest-standing-white-backgroun_1258-113177.jpg",
        },
      ]}
      title="What Our Clients Say"
      description="Trusted by local businesses. 5.0★ Google ratings and counting."
    />
  </div>

  <div id="faq" data-section="faq">
      <FaqSplitText
      useInvertedBackground={false}
      sideTitle="Commonly Asked Questions"
      sideDescription="Not sure how we can help your business? Here are answers to some of the most frequent questions we receive from our clients."
      faqs={[
        {
          id: "q1",
          title: "Do you offer remote services?",
          content: "Yes, we fully embrace cloud-based accounting and can support your business from anywhere in the country.",
        },
        {
          id: "q2",
          title: "Are you specialists in my industry?",
          content: "We work with a wide range of SMEs, including retail, tech, construction, and professional services.",
        },
        {
          id: "q3",
          title: "What is the cost of a consultation?",
          content: "The initial discovery session is completely free. We'll assess your needs and propose a tailored plan for you.",
        },
        {
          id: "q4",
          title: "Can you handle tax audits?",
          content: "Yes, we are highly experienced in navigating the complexities of tax audits and compliance matters.",
        },
      ]}
      faqsAnimation="slide-up"
    />
  </div>

  <div id="contact" data-section="contact">
      <ContactSplit
      useInvertedBackground={false}
      background={{
        variant: "gradient-bars",
      }}
      tag="Let's Talk"
      title="Request a Free Consultation"
      description="Ready to take your business to the next level? Reach out for a free strategy session."
      imageSrc="http://img.b2bpic.net/free-photo/two-businesspersons_23-2147626401.jpg"
      mediaAnimation="slide-up"
      inputPlaceholder="Enter your email"
    />
  </div>

  <div id="footer" data-section="footer">
      <FooterBaseReveal
      logoText="LCP Business Partners"
      columns={[
        {
          title: "Services",
          items: [
            {
              label: "Tax & Compliance",
              href: "#services",
            },
            {
              label: "Cloud Bookkeeping",
              href: "#services",
            },
            {
              label: "Business Advisory",
              href: "#services",
            },
          ],
        },
        {
          title: "About",
          items: [
            {
              label: "Our Team",
              href: "#",
            },
            {
              label: "Privacy Policy",
              href: "#",
            },
          ],
        },
        {
          title: "Contact",
          items: [
            {
              label: "Book a Consult",
              href: "#contact",
            },
            {
              label: "Email Us",
              href: "mailto:info@lcpaccounting.com",
            },
          ],
        },
      ]}
      copyrightText="© 2024 LCP Business Partners Accounting Pty. Ltd."
    />
  </div>
      </ReactLenis>
    </ThemeProvider>
  );
}
