"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleApple from '@/components/navbar/NavbarStyleApple/NavbarStyleApple';
import ProductCardTwo from '@/components/sections/product/ProductCardTwo';
import ContactText from '@/components/sections/contact/ContactText';
import FooterLogoEmphasis from '@/components/sections/footer/FooterLogoEmphasis';

export default function MenuPage() {
  const navItems = [{"name":"Home","id":"/"},{"name":"Menu","id":"/menu"},{"name":"About","id":"/about"},{"name":"Reservations","id":"/reservations"},{"name":"Contact","id":"/contact"}];

  return (
    <ThemeProvider
      defaultButtonVariant="text-stagger"
      defaultTextAnimation="background-highlight"
      borderRadius="rounded"
      contentWidth="mediumLarge"
      sizing="largeSmallSizeLargeTitles"
      background="aurora"
      cardStyle="outline"
      primaryButtonStyle="inset-glow"
      secondaryButtonStyle="solid"
      headingFontWeight="extrabold"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleApple 
          brandName="Bella Italia"
          navItems={navItems}
        />
      </div>
      <div id="products" data-section="products">
        <ProductCardTwo
          title="Our Signature Dishes"
          description="Explore a selection of our most popular and beloved Italian creations, prepared with expertise and passion."
          products={[
            {
              id: 'dish1',
              brand: 'Classic Pizza',
              name: 'Pizza Margherita',
              price: '$18.00',
              rating: 5,
              reviewCount: '1.2k',
              imageSrc: 'https://img.b2bpic.net/free-photo/top-view-sliced-margherita-pizza-topped-with-rocket_141793-2185.jpg',
              imageAlt: 'Delicious Pizza Margherita',
            },
            {
              id: 'dish2',
              brand: 'Handmade Pasta',
              name: 'Spaghetti Carbonara',
              price: '$22.00',
              rating: 5,
              reviewCount: '980',
              imageSrc: 'https://img.b2bpic.net/free-photo/pasta-dish-restaurant-table_7939-2483.jpg',
              imageAlt: 'Creamy Spaghetti Carbonara',
            },
            {
              id: 'dish3',
              brand: 'Sweet Delights',
              name: 'Authentic Tiramisu',
              price: '$10.00',
              rating: 5,
              reviewCount: '750',
              imageSrc: 'https://img.b2bpic.net/free-photo/front-view-delicious-tiramisuconcept_23-2148761669.jpg',
              imageAlt: 'Classic Tiramisu dessert',
            },
            {
              id: 'dish4',
              brand: 'Baked Perfection',
              name: 'Traditional Lasagna',
              price: '$24.00',
              rating: 5,
              reviewCount: '620',
              imageSrc: 'https://img.b2bpic.net/free-photo/classic-italian-lasagna-with-meat-vegetables_1220-7907.jpg',
              imageAlt: 'Hearty Italian Lasagna',
            },
          ]}
          gridVariant="four-items-2x2-equal-grid"
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
        />
      </div>
      <div id="synthesized-products" data-section="synthesized-products">
        <ProductCardTwo
          title="Pasta & Desserts"
          description="Indulge in our classic handmade pastas and exquisite desserts, crafted with love."
          products={[
            {
              id: 'dish5',
              brand: 'Pasta Fresca',
              name: 'Fettuccine Alfredo',
              price: '$21.00',
              rating: 5,
              reviewCount: '850',
              imageSrc: 'https://img.b2bpic.net/free-photo/pasta-dish-restaurant-table_7939-2483.jpg',
              imageAlt: 'Creamy Fettuccine Alfredo',
            },
            {
              id: 'dish6',
              brand: 'Dolce Vita',
              name: 'Panna Cotta',
              price: '$9.00',
              rating: 5,
              reviewCount: '550',
              imageSrc: 'https://img.b2bpic.net/free-photo/front-view-delicious-tiramisuconcept_23-2148761669.jpg',
              imageAlt: 'Silky Panna Cotta',
            },
          ]}
          gridVariant="two-columns-alternating-heights"
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground={true}
        />
      </div>
      <div id="contact" data-section="contact">
        <ContactText
          text="Found something you like? Book a table to enjoy the authentic taste of Italy."
          animationType="entrance-slide"
          buttons={[{ text: 'Make a Reservation', href: '/reservations' }]}
          background={{ variant: 'plain' }}
          useInvertedBackground={false}
        />
      </div>
      <FooterLogoEmphasis
        logoText="Bella Italia"
        columns={[
          { items: [{ label: 'Home', href: '/' }, { label: 'Menu', href: '/menu' }, { label: 'Specials', href: '/menu' }] },
          { items: [{ label: 'About Us', href: '/about' }, { label: 'Our Team', href: '/about' }, { label: 'Testimonials', href: '/' }] },
          { items: [{ label: 'Reservations', href: '/reservations' }, { label: 'Contact', href: '/contact' }, { label: 'Location', href: '/contact' }] },
        ]}
      />
    </ThemeProvider>
  );
}