"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import ContactSplitForm from '@/components/sections/contact/ContactSplitForm';
import FooterBase from '@/components/sections/footer/FooterBase';
import MetricCardSeven from '@/components/sections/metrics/MetricCardSeven';
import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered';

export default function LandingPage() {
  return (
    <ThemeProvider
        defaultButtonVariant="hover-bubble"
        defaultTextAnimation="entrance-slide"
        borderRadius="rounded"
        contentWidth="small"
        sizing="largeSmallSizeMediumTitles"
        background="floatingGradient"
        cardStyle="gradient-radial"
        primaryButtonStyle="diagonal-gradient"
        secondaryButtonStyle="glass"
        headingFontWeight="medium"
    >
      <ReactLenis root>
  <div id="nav" data-section="nav">
      <NavbarStyleCentered
      navItems={[
        {
          name: "Home",
          id: "/",
        },
        {
          name: "About Us",
          id: "/about",
        },
        {
          name: "Services",
          id: "/services",
        },
        {
          name: "Portfolio",
          id: "/portfolio",
        },
        {
          name: "Blog",
          id: "/blog",
        },
        {
          name: "FAQ",
          id: "/faq",
        },
      ]}
      button={{
        text: "Contact Us",
        href: "/contact",
      }}
      brandName="Lawyer & Associates"
    />
  </div>

  <div id="contact-page-form" data-section="contact-page-form">
      <ContactSplitForm
      useInvertedBackground={false}
      title="Get in Touch With Us"
      description="Please fill out the form below or use the contact information provided to reach our team. We look forward to assisting you."
      inputs={[
        {
          name: "name",
          type: "text",
          placeholder: "Your Full Name",
          required: true,
        },
        {
          name: "email",
          type: "email",
          placeholder: "Your Email Address",
          required: true,
        },
        {
          name: "subject",
          type: "text",
          placeholder: "Subject of Inquiry",
          required: true,
        },
      ]}
      textarea={{
        name: "message",
        placeholder: "Your Message",
        rows: 5,
        required: true,
      }}
      imageSrc="http://img.b2bpic.net/free-photo/interior-design-neoclassical-style-with-furnishings-decor_23-2151199354.jpg"
      imageAlt="Modern law firm reception"
      mediaAnimation="slide-up"
      mediaPosition="left"
      buttonText="Send Message"
    />
  </div>

  <div id="contact-metrics" data-section="contact-metrics">
      <MetricCardSeven
      animationType="slide-up"
      textboxLayout="default"
      useInvertedBackground={false}
      metrics={[
        {
          id: "call-response",
          value: "< 1 hr",
          title: "Call Response Time",
          items: [
            "Quick callback guarantee",
            "Prompt phone assistance",
            "Direct access to team",
          ],
        },
        {
          id: "email-response",
          value: "< 4 hrs",
          title: "Email Response Time",
          items: [
            "Timely email replies",
            "Detailed written communications",
            "Clarifying complex issues",
          ],
        },
        {
          id: "office-hours",
          value: "M-F 9-5",
          title: "Office Hours Support",
          items: [
            "Availability for walk-ins",
            "Scheduled appointments",
            "Extended hours by request",
          ],
        },
      ]}
      title="Our Commitment to Communication"
      description="Ensuring you always feel connected and informed."
    />
  </div>

  <div id="footer" data-section="footer">
      <FooterBase
      columns={[
        {
          title: "Services",
          items: [
            {
              label: "Corporate Law",
              href: "/services#corporate",
            },
            {
              label: "Family Law",
              href: "/services#family",
            },
            {
              label: "Real Estate",
              href: "/services#realestate",
            },
            {
              label: "Civil Litigation",
              href: "/services#litigation",
            },
          ],
        },
        {
          title: "Company",
          items: [
            {
              label: "About Us",
              href: "/about",
            },
            {
              label: "Our Team",
              href: "/about#team",
            },
            {
              label: "Case Portfolio",
              href: "/portfolio",
            },
            {
              label: "Blog",
              href: "/blog",
            },
          ],
        },
        {
          title: "Support",
          items: [
            {
              label: "Contact Us",
              href: "/contact",
            },
            {
              label: "FAQ",
              href: "/faq",
            },
            {
              label: "Privacy Policy",
              href: "#",
            },
            {
              label: "Terms of Service",
              href: "#",
            },
          ],
        },
      ]}
      logoText="Lawyer & Associates"
      copyrightText="© 2024 Lawyer & Associates. All rights reserved."
    />
  </div>
      </ReactLenis>
    </ThemeProvider>
  );
}
