"use client";

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

export default function CartPage() {
  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>

        <section className="py-20 text-center">
          <TextAnimation
            title="Your Shopping Cart"
            type="entrance-slide"
            className="text-4xl font-bold mb-4"
          />
          <p className="text-lg text-foreground/80">
            Looks like your cart is empty. <a href="/menu" className="text-primary-cta hover:underline">Browse our menu</a> to add some delicious items!
          </p>
        </section>

        <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>
  );
}