"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import FooterLogoReveal from '@/components/sections/footer/FooterLogoReveal';
import NavbarStyleApple from '@/components/navbar/NavbarStyleApple/NavbarStyleApple';
import ProductCardOne from '@/components/sections/product/ProductCardOne';

export default function LandingPage() {
  return (
    <ThemeProvider
        defaultButtonVariant="text-stagger"
        defaultTextAnimation="background-highlight"
        borderRadius="pill"
        contentWidth="medium"
        sizing="medium"
        background="none"
        cardStyle="glass-depth"
        primaryButtonStyle="shadow"
        secondaryButtonStyle="solid"
        headingFontWeight="semibold"
    >
      <ReactLenis root>
  <div id="nav" data-section="nav">
      <NavbarStyleApple
      navItems={[
        {
          name: "Home",
          id: "/",
        },
        {
          name: "Meniu",
          id: "/menu",
        },
        {
          name: "Despre Noi",
          id: "/about",
        },
        {
          name: "Contact",
          id: "/contact",
        },
      ]}
      brandName="Velvet Brew"
    />
  </div>

  <div id="product" data-section="product">
      <ProductCardOne
      animationType="slide-up"
      textboxLayout="default"
      gridVariant="uniform-all-items-equal"
      useInvertedBackground={false}
      title="Băuturi calde"
      description="Colecția noastră de cafea."
      products={[
        {
          id: "p1",
          name: "Espresso",
          price: "35 MDL",
          imageSrc: "http://img.b2bpic.net/free-photo/highend-craft-cocktail-isolated-black-background_181624-57533.jpg",
        },
        {
          id: "p2",
          name: "Cappuccino",
          price: "45 MDL",
          imageSrc: "http://img.b2bpic.net/free-photo/vertical-shot-iced-cocktail-with-dried-lemons-black-board_181624-57689.jpg",
        },
      ]}
    />
  </div>

  <div id="footer" data-section="footer">
      <FooterLogoReveal
      logoText="Velvet Brew Café"
      leftLink={{
        text: "Program: L-V 08:00-22:00",
        href: "#",
      }}
      rightLink={{
        text: "+373 600 12 345",
        href: "tel:+37360012345",
      }}
    />
  </div>
      </ReactLenis>
    </ThemeProvider>
  );
}
