"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import ContactSplitForm from '@/components/sections/contact/ContactSplitForm';
import FooterSimple from '@/components/sections/footer/FooterSimple';
import NavbarLayoutFloatingInline from '@/components/navbar/NavbarLayoutFloatingInline';
import SplitAbout from '@/components/sections/about/SplitAbout';

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="get-in-touch" data-section="get-in-touch">
      <SplitAbout
      textboxLayout="default"
      useInvertedBackground={false}
      title="Get in Touch with Leeds Building & Tiling Ltd"
      description="We're here to help with your next building or renovation project. Reach out to us via phone or our convenient contact form."
      bulletPoints={[
        {
          title: "Call Us",
          description: "Directly on 07552 198577 for immediate assistance.",
        },
        {
          title: "Email Us",
          description: "Send your inquiries to info@leedsbuildingtiling.co.uk.",
        },
        {
          title: "Visit Us",
          description: "Based in Leeds, serving the local and surrounding areas.",
        },
      ]}
      mediaAnimation="opacity"
      imageSrc="http://img.b2bpic.net/free-photo/determined-businesswoman-speaking-phone-call-ensure-project-development_482257-128591.jpg"
      imageAlt="Modern office contact desk"
    />
  </div>

  <div id="contact-form" data-section="contact-form">
      <ContactSplitForm
      useInvertedBackground={true}
      title="Request Your Free Quote"
      description="Fill out the form below, and our team will get back to you promptly to discuss your project."
      inputs={[
        {
          name: "name",
          type: "text",
          placeholder: "Your Full Name",
          required: true,
        },
        {
          name: "phone",
          type: "tel",
          placeholder: "Phone Number",
          required: true,
        },
        {
          name: "email",
          type: "email",
          placeholder: "Email Address",
          required: true,
        },
      ]}
      multiSelect={{
        name: "projectType",
        label: "Type of Project",
        options: [
          "Bathroom Renovation",
          "Kitchen Remodelling",
          "Home Extension",
          "General Building Work",
          "Repointing & Brickwork",
          "Other",
        ],
      }}
      textarea={{
        name: "message",
        placeholder: "Describe your project in detail...",
        rows: 5,
        required: true,
      }}
      imageSrc="http://img.b2bpic.net/free-photo/architecture-plan-blueprint-layout-work-concept_53876-125433.jpg"
      imageAlt="Construction project planning"
      mediaPosition="right"
      buttonText="Submit Quote Request"
    />
  </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>
  );
}
