"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="Have a specific request? Let us help."
      buttons={[
        {
          text: "Email Us",
          href: "mailto:info@rowleys.com",
        },
      ]}
    />
  </div>

  <div id="about" data-section="about">
      <SplitAbout
      textboxLayout="default"
      useInvertedBackground={false}
      title="Visit Us"
      description="Located in the heart of Downtown Dubai."
      imageSrc="http://img.b2bpic.net/free-vector/elegant-vintage-restaurant_23-2147538172.jpg"
      mediaAnimation="slide-up"
      bulletPoints={[
        {
          title: "Open Daily",
          description: "6:00 PM - Midnight",
        },
        {
          title: "Valet Service",
          description: "Complimentary for guests.",
        },
      ]}
    />
  </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>
  );
}
