"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import ProductCatalog from "@/components/ecommerce/productCatalog/ProductCatalog";
import NavbarStyleApple from '@/components/navbar/NavbarStyleApple/NavbarStyleApple';
import FooterMedia from '@/components/sections/footer/FooterMedia';
import { Leaf, Sparkles } from "lucide-react";

export default function ProductsPage() {
  return (
    <ThemeProvider
        defaultButtonVariant="icon-arrow"
        defaultTextAnimation="reveal-blur"
        borderRadius="rounded"
        contentWidth="mediumSmall"
        sizing="largeSmallSizeLargeTitles"
        background="noise"
        cardStyle="gradient-bordered"
        primaryButtonStyle="double-inset"
        secondaryButtonStyle="glass"
        headingFontWeight="normal"
    >
      <ReactLenis root>
        <div id="nav" data-section="nav">
          <NavbarStyleApple
            navItems={[
              {
                name: "Inicio",                id: "/"},
              {
                name: "Nosotros",                id: "/#about"},
              {
                name: "Valores",                id: "/#features"},
              {
                name: "Carta",                id: "/products"},
              {
                name: "Horarios",                id: "/#hours"},
              {
                name: "Reserva",                id: "/#reservation"},
              {
                name: "Reseñas",                id: "/#testimonials"},
              {
                name: "Contacto",                id: "/#contact"},
            ]}
            brandName="Don Pasquale"
          />
        </div>

        <div id="products-catalog" data-section="products-catalog">
          <ProductCatalog
            layout="page"
            title="Nuestra Carta Completa"
            description="Explora todas nuestras especialidades, desde pizzas artesanales hasta deliciosas pastas y postres italianos."
            products={[
              {
                id: "pizza-sorrentina",                name: "Pizza Sorrentina",                price: "14.50€",                imageSrc: "http://img.b2bpic.net/free-photo/view-pizza-wooden-background_23-2148601580.jpg",                imageAlt: "Pizza Sorrentina con tomate cherry",                rating: 4.5,
                reviewCount: "250"},
              {
                id: "pizza-4quesos",                name: "Pizza 4 Quesos",                price: "13.90€",                imageSrc: "http://img.b2bpic.net/free-photo/high-angle-pizza-with-cheese-cutlery_23-2148765336.jpg",                imageAlt: "Pizza de cuatro quesos",                rating: 4.8,
                reviewCount: "320"},
              {
                id: "pizza-diavola",                name: "Pizza Diavola",                price: "15.00€",                imageSrc: "http://img.b2bpic.net/free-photo/top-view-pepperoni-pizza-with-ingredients_23-2148765305.jpg",                imageAlt: "Pizza Diavola picante",                rating: 4.2,
                reviewCount: "180"},
              {
                id: "pizza-margherita",                name: "Pizza Margherita",                price: "12.50€",                imageSrc: "http://img.b2bpic.net/free-vector/italian-restaurant-template-design_23-2150191736.jpg",                imageAlt: "Pizza Margherita clásica",                rating: 4.7,
                reviewCount: "400"},
              {
                id: "tortellini-3quesos",                name: "Tortellini 3 Quesos",                price: "11.80€",                imageSrc: "http://img.b2bpic.net/free-photo/roasted-chicken-nuggets-boiled-pasta-white-bowl_114579-81612.jpg",                imageAlt: "Plato de Tortellini 3 Quesos",                rating: 4.6,
                reviewCount: "150"},
              {
                id: "lasagna",                name: "Lasaña Casera",                price: "12.50€",                imageSrc: "http://img.b2bpic.net/free-photo/customs-food-plate-high-angle_23-2149598955.jpg",                imageAlt: "Porción de lasaña tradicional",                rating: 4.9,
                reviewCount: "280"},
              {
                id: "tiramisu",                name: "Tiramisú",                price: "6.00€",                imageSrc: "http://img.b2bpic.net/free-photo/side-view-coffee-dessert-with-cream-chocolate-cup-coffee-beans-cup-tea-table_141793-3621.jpg",                imageAlt: "Postre Tiramisú italiano",                rating: 4.7,
                reviewCount: "200"},
              {
                id: "tarta-queso",                name: "Tarta de Queso",                price: "5.50€",                imageSrc: "http://img.b2bpic.net/free-photo/vertical-shot-cheese-cake-with-berries-top-wooden-plate-with-berries-side_181624-12453.jpg",                imageAlt: "Tarta de queso con frutos rojos",                rating: 4.4,
                reviewCount: "170"},
            ]}
            searchPlaceholder="Buscar plato..."
            emptyMessage="No encontramos ese plato en nuestra carta."
          />
        </div>

        <div id="footer" data-section="footer">
          <FooterMedia
            imageSrc="http://img.b2bpic.net/free-photo/delicious-pizza-indoors_23-2150901147.jpg"
            imageAlt="Ambiente de restaurante italiano"
            logoText="Don Pasquale"
            columns={[
              {
                title: "Explora",                items: [
                  {
                    label: "Inicio",                    href: "/"},
                  {
                    label: "Sobre Nosotros",                    href: "/#about"},
                  {
                    label: "Nuestra Carta",                    href: "/products"},
                ],
              },
              {
                title: "Contacto",                items: [
                  {
                    label: "Ubicación",                    href: "/#contact"},
                  {
                    label: "Teléfono",                    href: "tel:+34985512094"},
                  {
                    label: "Reservas",                    href: "/#reservation"},
                ],
              },
              {
                title: "Legal",                items: [
                  {
                    label: "Política de Privacidad",                    href: "#"},
                  {
                    label: "Términos de Servicio",                    href: "#"},
                ],
              },
            ]}
            copyrightText="© 2024 Don Pasquale. Todos los derechos reservados."
          />
        </div>
      </ReactLenis>
    </ThemeProvider>
  );
}
