"use client"

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered';
import HeroLogoBillboard from '@/components/sections/hero/HeroLogoBillboard';
import TestimonialAboutCard from '@/components/sections/about/TestimonialAboutCard';
import ProductCardOne from '@/components/sections/product/ProductCardOne';
import TestimonialCardFifteen from '@/components/sections/testimonial/TestimonialCardFifteen';
import ContactCenter from '@/components/sections/contact/ContactCenter';
import FooterLogoEmphasis from '@/components/sections/footer/FooterLogoEmphasis';
import { Heart } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="expand-hover"
      defaultTextAnimation="entrance-slide"
      borderRadius="pill"
      contentWidth="mediumSmall"
      sizing="mediumLargeSizeLargeTitles"
      background="animatedGrid"
      cardStyle="solid-accent-light"
      primaryButtonStyle="neon-glow-border"
      secondaryButtonStyle="glass"
      headingFontWeight="semibold"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleCentered
          brandName="Trattoria"
          navItems={[
            { name: "Home", id: "hero" },
            { name: "About", id: "about" },
            { name: "Menu", id: "menu" },
            { name: "Reviews", id: "testimonials" },
            { name: "Contact", id: "contact" }
          ]}
          button={{ text: "Reserve Table", href: "contact" }}
        />
      </div>
      
      <div id="hero" data-section="hero">
        <HeroLogoBillboard
          logoText="Trattoria"
          description="Authentic Italian cuisine crafted with passion. Fresh ingredients, time-honored recipes, and a warm welcome await you."
          imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766183832020-sqgzqvxa.jpg"
          imageAlt="Beautiful homemade Italian pasta dish"
          frameStyle="card"
          logoLineHeight={1.2}
        />
      </div>
      
      <div id="about" data-section="about">
        <TestimonialAboutCard
          tag="Our Story"
          title="Three generations of Italian culinary excellence brought to your table."
          description="Founded in 2005"
          subdescription="By the Romano family"
          icon={Heart}
          imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766183827933-jsmix0wr.jpg"
          imageAlt="Chef preparing fresh italian ingredients"
          useInvertedBackground="noInvert"
        />
      </div>
      
      <div id="menu" data-section="menu">
        <ProductCardOne
          title="Signature Dishes"
          description="Experience our most beloved creations, each prepared with the finest ingredients"
          tag="Menu"
          textboxLayout="default"
          products={[
            {
              id: "1",
              name: "Spaghetti Carbonara",
              price: "$18",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766183830869-g93nmh02.jpg",
              imageAlt: "Classic spaghetti carbonara with fresh eggs and guanciale"
            },
            {
              id: "2",
              name: "Risotto ai Funghi",
              price: "$16",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766183829154-9c5vkkws.jpg",
              imageAlt: "Creamy mushroom risotto with truffle oil"
            },
            {
              id: "3",
              name: "Tiramisu",
              price: "$8",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767194365242-gwpiggvg.jpg",
              imageAlt: "Classic tiramisu with mascarpone and cocoa"
            }
          ]}
          gridVariant="three-columns-all-equal-width"
          animationType="slide-up"
          useInvertedBackground="noInvert"
        />
      </div>
      
      <div id="testimonials" data-section="testimonials">
        <TestimonialCardFifteen
          testimonial="The most authentic Italian experience I've had outside of Italy. Every dish is a masterpiece. Will definitely return!"
          rating={5}
          author="Maria Rossi"
          avatars={[
            {
              src: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766154635301-vse33sxl.jpg",
              alt: "Maria Rossi"
            },
            {
              src: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767284606648-so4lg838.jpg",
              alt: "Customer"
            },
            {
              src: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767284607625-aa7wvc11.jpg",
              alt: "Customer"
            },
            {
              src: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766183842429-uezzjpov.jpg",
              alt: "Customer"
            }
          ]}
          useInvertedBackground="noInvert"
        />
      </div>
      
      <div id="contact" data-section="contact">
        <ContactCenter
          tag="Reservations"
          title="Join us for an unforgettable evening"
          description="Subscribe to our newsletter for special offers and new menu items, or call us directly to reserve your table."
          inputPlaceholder="Enter your email"
          buttonText="Subscribe"
          termsText="We respect your privacy. Unsubscribe anytime."
          useInvertedBackground="noInvert"
        />
      </div>
      
      <div id="footer" data-section="footer">
        <FooterLogoEmphasis
          logoText="Trattoria"
          columns={[
            {
              items: [
                { label: "Home", href: "hero" },
                { label: "Menu", href: "menu" },
                { label: "About", href: "about" }
              ]
            },
            {
              items: [
                { label: "Contact", href: "contact" },
                { label: "Reservations", href: "tel:+1234567890" }
              ]
            }
          ]}
        />
      </div>
    </ThemeProvider>
  );
}