"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 ProductCardOne from '@/components/sections/product/ProductCardOne';

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="product" data-section="product">
      <ProductCardOne
      animationType="slide-up"
      textboxLayout="default"
      gridVariant="uniform-all-items-equal"
      useInvertedBackground={false}
      title="The Selection"
      description="Our finest cuts and curated sides."
      products={[
        {
          id: "menu-1",
          name: "Wagyu Striploin",
          price: "AED 420",
          imageSrc: "http://img.b2bpic.net/free-photo/tasty-grilled-steak-served-dark-closeup_1220-7723.jpg",
        },
        {
          id: "menu-2",
          name: "Grilled Asparagus",
          price: "AED 60",
          imageSrc: "http://img.b2bpic.net/free-photo/top-view-beef-steak-served-with-boiled-asparagus-spinach-sauce_140725-5091.jpg",
        },
      ]}
    />
  </div>

  <div id="contact" data-section="contact">
      <ContactText
      useInvertedBackground={false}
      background={{
        variant: "plain",
      }}
      text="View our full menu and plan your next dinner."
      buttons={[
        {
          text: "Download PDF",
          href: "/menu.pdf",
        },
      ]}
    />
  </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>
  );
}
