"use client";

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

export default function LandingPage() {
  return (
    <ThemeProvider
        defaultButtonVariant="text-stagger"
        defaultTextAnimation="entrance-slide"
        borderRadius="pill"
        contentWidth="smallMedium"
        sizing="largeSizeMediumTitles"
        background="fluid"
        cardStyle="solid"
        primaryButtonStyle="diagonal-gradient"
        secondaryButtonStyle="layered"
        headingFontWeight="light"
    >
      <ReactLenis root>
  <div id="nav" data-section="nav">
      <NavbarStyleCentered
      navItems={[
        { name: "Home", id: "/" },
        { name: "Collections", id: "/collections" },
        { name: "Gallery", id: "/gallery" },
        { name: "Custom Orders", id: "/custom" },
        { name: "About", id: "/about" },
        { name: "Contact", id: "/contact" },
        { name: "Help", id: "/help" }
      ]}
      brandName="EverBloom Bridal"
    />
  </div>

  <div id="contact-section" data-section="contact-section">
      <ContactText
      useInvertedBackground={false}
      background={{ variant: "gradient-bars" }}
      text="Currently serving weddings in Bangalore. Contact us via WhatsApp to start your dream floral journey."
      buttons={[{ text: "Message on WhatsApp", href: "https://wa.me/919999999999" }]}
    />
  </div>

  <div id="contact" data-section="contact">
      <ContactSplitForm
      useInvertedBackground={false}
      title="Get In Touch"
      description="We are ready to design your day."
      inputs={[{ name: "name", type: "text", placeholder: "Your Name" }, { name: "email", type: "email", placeholder: "Email" }]}
      imageSrc="http://img.b2bpic.net/free-photo/decorative-flowers-buttonhole_1304-4063.jpg"
    />
  </div>

  <div id="footer" data-section="footer">
      <FooterLogoEmphasis
      columns={[{ items: [{ label: "Home", href: "/" }, { label: "Collections", href: "/collections" }, { label: "Gallery", href: "/gallery" }] }, { items: [{ label: "Custom Orders", href: "/custom" }, { label: "About", href: "/about" }, { label: "Contact", href: "/contact" }] }, { items: [{ label: "Instagram", href: "https://instagram.com" }, { label: "Help", href: "/help" }] }]}
      logoText="EverBloom Bridal"
    />
  </div>
      </ReactLenis>
    </ThemeProvider>
  );
}