"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import ContactText from '@/components/sections/contact/ContactText';
import FooterBaseCard from '@/components/sections/footer/FooterBaseCard';
import NavbarStyleApple from '@/components/navbar/NavbarStyleApple/NavbarStyleApple';
import SplitAbout from '@/components/sections/about/SplitAbout';

export default function LandingPage() {
  return (
    <ThemeProvider
        defaultButtonVariant="hover-bubble"
        defaultTextAnimation="entrance-slide"
        borderRadius="rounded"
        contentWidth="mediumLarge"
        sizing="largeSmall"
        background="circleGradient"
        cardStyle="solid"
        primaryButtonStyle="gradient"
        secondaryButtonStyle="solid"
        headingFontWeight="bold"
    >
      <ReactLenis root>
  <div id="nav" data-section="nav">
      <NavbarStyleApple
      navItems={[
        {
          name: "Home",
          id: "/",
        },
        {
          name: "Menu",
          id: "/menu",
        },
        {
          name: "Reservations",
          id: "/reservations",
        },
        {
          name: "About",
          id: "/about",
        },
        {
          name: "Contact",
          id: "/contact",
        },
      ]}
      brandName="Rowleys"
    />
  </div>

  <div id="contact" data-section="contact">
      <ContactText
      useInvertedBackground={false}
      background={{
        variant: "plain",
      }}
      text="Book your table in our exclusive dining area."
      buttons={[
        {
          text: "Reserve Now",
          href: "/book",
        },
      ]}
    />
  </div>

  <div id="about" data-section="about">
      <SplitAbout
      textboxLayout="default"
      useInvertedBackground={false}
      title="Special Occasions"
      description="We cater to corporate events and private celebrations."
      imageSrc="http://img.b2bpic.net/free-photo/luxurious-wedding-banquet-elegant-crockery-silverware-glassware-generated-by-ai_188544-17315.jpg"
      mediaAnimation="slide-up"
      bulletPoints={[
        {
          title: "Private Booths",
          description: "Enjoy intimacy and seclusion.",
        },
        {
          title: "Custom Menus",
          description: "Tailored for your event needs.",
        },
      ]}
    />
  </div>

  <div id="footer" data-section="footer">
      <FooterBaseCard
      logoText="Rowleys"
      columns={[
        {
          title: "Navigation",
          items: [
            {
              label: "Menu",
              href: "/menu",
            },
            {
              label: "About",
              href: "/about",
            },
            {
              label: "Reservations",
              href: "/reservations",
            },
          ],
        },
        {
          title: "Location",
          items: [
            {
              label: "Downtown Dubai",
              href: "#",
            },
            {
              label: "Parking Info",
              href: "#",
            },
          ],
        },
        {
          title: "Contact",
          items: [
            {
              label: "+971 4 000 0000",
              href: "tel:+97140000000",
            },
            {
              label: "reservations@rowleys.com",
              href: "mailto:reservations@rowleys.com",
            },
          ],
        },
      ]}
      copyrightText="© 2025 Rowleys Steakhouse"
    />
  </div>
      </ReactLenis>
    </ThemeProvider>
  );
}
