"use client";

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

export default function MenuPage() {
  return (
    <ThemeProvider
        defaultButtonVariant="expand-hover"
        defaultTextAnimation="background-highlight"
        borderRadius="rounded"
        contentWidth="compact"
        sizing="mediumLargeSizeLargeTitles"
        background="blurBottom"
        cardStyle="gradient-radial"
        primaryButtonStyle="gradient"
        secondaryButtonStyle="layered"
        headingFontWeight="normal"
    >
      <ReactLenis root>
        <div id="nav" data-section="nav">
          <NavbarLayoutFloatingOverlay
            navItems={[
              { name: "Home", id: "#home" },
              { name: "About", id: "#about" },
              { name: "Features", id: "#features" },
              { name: "Solutions", id: "#solutions" },
              { name: "Menu", id: "/menu" },
              { name: "Cart", id: "/cart" },
              { name: "Orders", id: "/order-tracking" },
              { name: "Pricing", id: "#pricing" },
              { name: "Testimonials", id: "#testimonials" },
              { name: "Contact", id: "#contact" },
            ]}
            brandName="ReservaFlow"
            button={{ text: "Start Free Trial", href: "#contact" }}
          />
        </div>

        <ProductCardOne
          animationType="slide-up"
          textboxLayout="default"
          gridVariant="three-columns-all-equal-width"
          useInvertedBackground={false}
          carouselMode="buttons"
          products={[
            { id: "p1", name: "Spicy Tuna Roll", price: "€12.50", imageSrc: "http://img.b2bpic.net/free-photo/top-view-sushi-rolls-plate-with-chopsticks_23-2148727221.jpg", imageAlt: "Spicy Tuna Roll" },
            { id: "p2", name: "Margherita Pizza", price: "€14.00", imageSrc: "http://img.b2bpic.net/free-photo/pizza-pizza-ready-eat-hot_1203-3453.jpg", imageAlt: "Margherita Pizza" },
            { id: "p3", name: "Classic Cheeseburger", price: "€15.50", imageSrc: "http://img.b2bpic.net/free-photo/burger-fries_144627-2856.jpg", imageAlt: "Classic Cheeseburger" },
            { id: "p4", name: "Caesar Salad", price: "€9.75", imageSrc: "http://img.b2bpic.net/free-photo/fresh-caesar-salad_1220-4316.jpg", imageAlt: "Caesar Salad" },
            { id: "p5", name: "Pasta Carbonara", price: "€16.25", imageSrc: "http://img.b2bpic.net/free-photo/close-up-plate-pasta-carbonara-with-bacon-parmesan_23-2148491845.jpg", imageAlt: "Pasta Carbonara" },
            { id: "p6", name: "Chocolate Lava Cake", price: "€8.00", imageSrc: "http://img.b2bpic.net/free-photo/close-up-delicious-chocolate-cake_23-2149306059.jpg", imageAlt: "Chocolate Lava Cake" }
          ]}
          title="Our Delicious Menu"
          description="Browse our exquisite selection of dishes, crafted with the freshest ingredients."
        />

        <div id="footer" data-section="footer">
          <FooterBaseReveal
            logoText="ReservaFlow"
            columns={[
              {
                title: "Platform",                items: [
                  { label: "Reservation Management", href: "#features" },
                  { label: "Online Ordering", href: "#features" },
                  { label: "Loyalty Programs", href: "#features" },
                  { label: "Admin Analytics", href: "#features" }
                ]
              },
              {
                title: "Solutions",                items: [
                  { label: "Fine Dining", href: "#solutions" },
                  { label: "Hotels & Resorts", href: "#solutions" },
                  { label: "Cafés & Casual", href: "#solutions" }
                ]
              },
              {
                title: "Company",                items: [
                  { label: "About Us", href: "#about" },
                  { label: "Pricing", href: "#pricing" },
                  { label: "Testimonials", href: "#testimonials" },
                  { label: "Contact", href: "#contact" }
                ]
              },
              {
                title: "Legal",                items: [
                  { label: "Privacy Policy", href: "#" },
                  { label: "Terms of Service", href: "#" },
                  { label: "Cookie Policy", href: "#" }
                ]
              }
            ]}
            copyrightText="© 2023 ReservaFlow. All rights reserved."
          />
        </div>
      </ReactLenis>
    </ThemeProvider>
  );
}