"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import ContactCenter from '@/components/sections/contact/ContactCenter';
import FeatureBorderGlow from '@/components/sections/feature/featureBorderGlow/FeatureBorderGlow';
import FooterCard from '@/components/sections/footer/FooterCard';
import NavbarStyleFullscreen from '@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen';
import { Clock, Facebook, Instagram, MapPin, Phone } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
        defaultButtonVariant="text-shift"
        defaultTextAnimation="entrance-slide"
        borderRadius="soft"
        contentWidth="smallMedium"
        sizing="mediumLargeSizeMediumTitles"
        background="none"
        cardStyle="gradient-mesh"
        primaryButtonStyle="shadow"
        secondaryButtonStyle="solid"
        headingFontWeight="semibold"
    >
      <ReactLenis root>
  <div id="nav" data-section="nav">
      <NavbarStyleFullscreen
      navItems={[
        {
          name: "Home",
          id: "/",
        },
        {
          name: "Services",
          id: "/services",
        },
        {
          name: "About Us",
          id: "/about",
        },
        {
          name: "Testimonials",
          id: "/#testimonials",
        },
        {
          name: "Contact",
          id: "/contact",
        },
      ]}
      logoSrc="http://img.b2bpic.net/free-vector/flat-design-squeegee-logo_23-2150178642.jpg"
      logoAlt="Preston's House Cleaning Logo"
      brandName="Preston's House Cleaning"
      button={{
        text: "Get a Free Quote",
        href: "/contact",
      }}
    />
  </div>

  <div id="contact-form" data-section="contact-form">
      <ContactCenter
      useInvertedBackground={true}
      background={{
        variant: "downward-rays-static",
      }}
      tag="Get in Touch"
      title="Ready for a Spotless Space?"
      description="Contact Preston's House Cleaning today for dependable, professional cleaning services and a free quote. We are available 24 hours a day to serve you."
      tagAnimation="none"
      inputPlaceholder="Enter your email for a quick response"
      buttonText="Get My Free Quote"
      termsText="By clicking 'Get My Free Quote', you agree to our terms and conditions."
      onSubmit={() => {}}
    />
  </div>

  <div id="contact-details" data-section="contact-details">
      <FeatureBorderGlow
      animationType="slide-up"
      textboxLayout="default"
      useInvertedBackground={false}
      features={[
        {
          icon: Phone,
          title: "Call Us Anytime",
          description: "Reach us 24/7 for a free quote or urgent cleaning needs: (404) 405-1384",
        },
        {
          icon: MapPin,
          title: "Our Location",
          description: "Visit our office at 78 Cherry Blossom Walk, Dallas, GA 30132 (by appointment)",
        },
        {
          icon: Clock,
          title: "Business Hours",
          description: "We are available 24 Hours a day, 7 days a week to accommodate your schedule.",
        },
      ]}
      title="Reach Out to Us"
      description="We're always ready to help with your cleaning needs. Contact us through your preferred method."
    />
  </div>

  <div id="footer" data-section="footer">
      <FooterCard
      logoText="Preston's House Cleaning"
      copyrightText="© 2024 Preston's House Cleaning. All rights reserved. | 78 Cherry Blossom Walk, Dallas, GA 30132 | (404) 405-1384"
      socialLinks={[
        {
          icon: Facebook,
          href: "#",
          ariaLabel: "Facebook",
        },
        {
          icon: Instagram,
          href: "#",
          ariaLabel: "Instagram",
        },
      ]}
    />
  </div>
      </ReactLenis>
    </ThemeProvider>
  );
}
