"use client"

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleMinimal from '@/components/navbar/NavbarStyleMinimal';
import HeroSplitLarge from '@/components/sections/hero/HeroSplitLarge';
import TagMediaSplitAbout from '@/components/sections/about/TagMediaSplitAbout';
import ProductCardTwo from '@/components/sections/product/ProductCardTwo';
import TestimonialCardEight from '@/components/sections/testimonial/TestimonialCardEight';
import ContactCenter from '@/components/sections/contact/ContactCenter';
import FooterSocial from '@/components/sections/footer/FooterSocial';
import { Calendar, Facebook, Heart, Instagram, Utensils } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="hover-bubble"
      defaultTextAnimation="background-highlight"
      borderRadius="sharp"
      contentWidth="small"
      sizing="mediumLarge"
      background="plain"
      cardStyle="elevated"
      primaryButtonStyle="radial-glow"
      secondaryButtonStyle="radial-glow"
      headingFontWeight="semibold"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleMinimal
          brandName="Trattoria"
          button={{
            text: "Reserve Table",
            href: "contact"
          }}
        />
      </div>
      
      <div id="hero" data-section="hero">
        <HeroSplitLarge
          title="Welcome to Trattoria"
          description="Experience authentic Italian cuisine crafted with passion and tradition. From handmade pasta to fresh seafood, every dish tells a story of Italy."
          tag="Fine Dining"
          tagIcon={Utensils}
          buttons={[
            {
              text: "Reserve Now",
              href: "contact"
            },
            {
              text: "View Menu",
              href: "products"
            }
          ]}
          imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767009173127-61t61aq3.jpg"
          imageAlt="Elegant dining room with warm ambiance"
        />
      </div>
      
      <div id="about" data-section="about">
        <TagMediaSplitAbout
          title="Our Story"
          description="Trattoria brings the warmth and flavors of Italy to your table"
          textboxLayout="default"
          contentTag="TRADITION"
          contentTagIcon={Heart}
          contentTitle="Passion for Italian Heritage"
          contentDescription="For over a decade, Trattoria has been dedicated to delivering authentic Italian dining. Our chefs honor traditional recipes while embracing seasonal ingredients, ensuring every plate reflects the true spirit of Italy."
          contentButtons={[
            {
              text: "Learn More",
              href: "#"
            }
          ]}
          imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767009174104-qhnas1dg.jpg"
          imageAlt="Professional kitchen with Italian chef"
          imagePosition="right"
          useInvertedBackground="noInvert"
        />
      </div>
      
      <div id="products" data-section="products">
        <ProductCardTwo
          title="Signature Dishes"
          description="Experience our most beloved creations"
          textboxLayout="default"
          useInvertedBackground="noInvert"
          gridVariant="three-columns-all-equal-width"
          animationType="slide-up"
          products={[
            {
              id: "1",
              brand: "House Special",
              name: "Handmade Tagliatelle al Ragù",
              price: "$24.00",
              rating: 5,
              reviewCount: "287",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767009175729-qjtutsm5.jpg",
              imageAlt: "Fresh handmade pasta with meat sauce"
            },
            {
              id: "2",
              brand: "Chef Selection",
              name: "Risotto ai Frutti di Mare",
              price: "$28.00",
              rating: 5,
              reviewCount: "342",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767009176946-znd0gbd5.jpg",
              imageAlt: "Creamy seafood risotto"
            },
            {
              id: "3",
              brand: "Premium",
              name: "Spaghetti alle Vongole Veraci",
              price: "$26.00",
              rating: 5,
              reviewCount: "198",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767009177992-sxfh74ej.jpg",
              imageAlt: "Fresh clam spaghetti"
            }
          ]}
        />
      </div>
      
      <div id="testimonials" data-section="testimonials">
        <TestimonialCardEight
          title="Guest Experiences"
          description="What our valued guests say about dining at Trattoria"
          textboxLayout="default"
          useInvertedBackground="noInvert"
          testimonials={[
            {
              id: "1",
              name: "Maria Rossi",
              role: "Food Critic",
              company: "Gourmet Weekly",
              rating: 5,
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767009179501-4du4a87z.jpg",
              imageAlt: "Maria Rossi"
            },
            {
              id: "2",
              name: "Giovanni Marco",
              role: "Chef",
              company: "Culinary Institute",
              rating: 5,
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767009180421-pcb3mfji.jpg",
              imageAlt: "Giovanni Marco"
            },
            {
              id: "3",
              name: "Elena Fontana",
              role: "Restaurant Owner",
              company: "Bella Italia Group",
              rating: 5,
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767009181266-z38ci1di.jpg",
              imageAlt: "Elena Fontana"
            },
            {
              id: "4",
              name: "Marco Giordano",
              role: "Sommelier",
              company: "Wine Collective",
              rating: 5,
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767009182088-d3bndrxr.jpg",
              imageAlt: "Marco Giordano"
            }
          ]}
        />
      </div>
      
      <div id="contact" data-section="contact">
        <ContactCenter
          tag="Reservations"
          title="Reserve Your Table"
          description="Join us for an unforgettable culinary experience. Book your reservation or get in touch with any questions."
          tagIcon={Calendar}
          useInvertedBackground="noInvert"
          inputPlaceholder="your@email.com"
          buttonText="Get In Touch"
          termsText="We will respond to your inquiry within 24 hours."
        />
      </div>
      
      <div id="footer" data-section="footer">
        <FooterSocial
          logoText="Trattoria"
          columns={[
            {
              title: "Restaurant",
              items: [
                {
                  label: "About Us",
                  href: "about"
                },
                {
                  label: "Signature Dishes",
                  href: "products"
                },
                {
                  label: "Reviews",
                  href: "testimonials"
                }
              ]
            },
            {
              title: "Dining",
              items: [
                {
                  label: "Reserve Table",
                  href: "contact"
                },
                {
                  label: "Opening Hours",
                  href: "#"
                },
                {
                  label: "Contact Us",
                  href: "contact"
                }
              ]
            },
            {
              title: "Legal",
              items: [
                {
                  label: "Terms of Service",
                  href: "#"
                },
                {
                  label: "Privacy Policy",
                  href: "#"
                }
              ]
            }
          ]}
          socialLinks={[
            {
              icon: Instagram,
              href: "https://instagram.com",
              ariaLabel: "Instagram"
            },
            {
              icon: Facebook,
              href: "https://facebook.com",
              ariaLabel: "Facebook"
            }
          ]}
          copyrightText="© Trattoria, Inc. 2025. All rights reserved."
        />
      </div>
    </ThemeProvider>
  );
}