"use client";

import NavbarStyleApple from '@/components/navbar/NavbarStyleApple/NavbarStyleApple';
import HeroSplitKpi from '@/components/sections/hero/HeroSplitKpi';
import TestimonialAboutCard from '@/components/sections/about/TestimonialAboutCard';
import FeatureCardNineteen from '@/components/sections/feature/FeatureCardNineteen';
import ProductCardOne from '@/components/sections/product/ProductCardOne';
import TestimonialCardOne from '@/components/sections/testimonial/TestimonialCardOne';
import ContactInline from '@/components/sections/contact/ContactInline';
import FooterBase from '@/components/sections/footer/FooterBase';
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import { Heart, ChefHat } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="elastic-effect"
      defaultTextAnimation="background-highlight"
      borderRadius="pill"
      contentWidth="small"
      sizing="largeSizeMediumTitles"
      background="none"
      cardStyle="elevated"
      primaryButtonStyle="gradient"
      secondaryButtonStyle="radial-glow"
      headingFontWeight="medium"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleApple 
          brandName="Bella Italia"
          navItems={[
            { name: "Home", id: "hero" },
            { name: "About", id: "about" },
            { name: "Menu", id: "menu" },
            { name: "Gallery", id: "gallery" },
            { name: "Contact", id: "contact" }
          ]}
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroSplitKpi
          title="Bella Italia"
          description="Authentic Italian cuisine crafted with passion and tradition. Discover the flavors of Italy in every dish."
          tag="Est. 2010"
          kpis={[
            { value: "150+", label: "Seats" },
            { value: "45+", label: "Menu Items" },
            { value: "Open Daily", label: "5pm - 11pm" }
          ]}
          imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766183837505-ll9mx7sj.jpg"
          imageAlt="Elegant Italian restaurant dining room"
          imagePosition="right"
          buttons={[
            { text: "Reserve a Table", href: "contact" }
          ]}
        />
      </div>

      <div id="about" data-section="about">
        <TestimonialAboutCard
          tag="Our Story"
          tagIcon={Heart}
          title="A family tradition brought to life with authentic Italian passion and homemade recipes passed down through generations."
          description="Marco Rossi"
          subdescription="Founder & Chef"
          icon={ChefHat}
          imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766183827933-jsmix0wr.jpg"
          imageAlt="Marco Rossi, founder and head chef"
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="menu" data-section="menu">
        <FeatureCardNineteen
          title="Signature Dishes"
          description="Experience our most beloved creations"
          tag="Menu"
          features={[
            {
              id: 1,
              tag: "Pasta",
              title: "Pappardelle al Ragù",
              subtitle: "Rich and savory perfection",
              description: "Wide ribbon pasta in a slow-cooked traditional Bolognese sauce made with premium beef, tomatoes, and aromatic vegetables. Finished with aged Parmigiano-Reggiano.",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766237433258-270lxdto.jpg"
            },
            {
              id: 2,
              tag: "Risotto",
              title: "Risotto ai Funghi Porcini",
              subtitle: "Earthy and luxurious",
              description: "Creamy Arborio rice infused with wild porcini mushrooms, butter, and Parmesan. A rustic yet elegant dish that celebrates Italian autumn flavors.",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766183829154-9c5vkkws.jpg"
            }
          ]}
          textboxLayout="default"
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="gallery" data-section="gallery">
        <ProductCardOne
          title="Restaurant Gallery"
          description="Experience the warmth and elegance of our dining spaces"
          products={[
            {
              id: "1",
              name: "Main Dining Room",
              price: "Intimate",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766184305846-8js4eyi9.jpg",
              imageAlt: "Main dining room with soft lighting"
            },
            {
              id: "2",
              name: "Wine Bar",
              price: "Cozy",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766184308554-4dbq1jfa.jpg",
              imageAlt: "Wine bar and lounge area"
            },
            {
              id: "3",
              name: "Private Events",
              price: "Elegant",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766237434264-kf7vqb4g.jpg",
              imageAlt: "Private event space setup"
            }
          ]}
          gridVariant="three-columns-all-equal-width"
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardOne
          title="Guest Reviews"
          description="What our patrons say about their experience"
          testimonials={[
            {
              id: "1",
              name: "Elena Benedetti",
              role: "Regular Guest",
              company: "Local Food Enthusiast",
              rating: 5,
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767212107110-taftyvnt.jpg"
            },
            {
              id: "2",
              name: "Sophia Moretti",
              role: "Visitor",
              company: "Travel Writer",
              rating: 5,
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767212108267-nu0vcpcc.jpg"
            },
            {
              id: "3",
              name: "Giovanni Russo",
              role: "Monthly Regular",
              company: "Wine Collector",
              rating: 5,
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767212109549-dnbv9ch7.jpg"
            },
            {
              id: "4",
              name: "Lucia Gallo",
              role: "Special Events Host",
              company: "Wedding Planner",
              rating: 5,
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766278832486-x5i5x871.jpg"
            },
            {
              id: "5",
              name: "Francesca Tosi",
              role: "Frequent Visitor",
              company: "Corporate Events",
              rating: 5,
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767212110417-grkyg9dy.jpg"
            },
            {
              id: "6",
              name: "Antonio Carbone",
              role: "Local Resident",
              company: "Neighborhood Regular",
              rating: 5,
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767212111177-bzoi1ejz.jpg"
            }
          ]}
          gridVariant="three-columns-all-equal-width"
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactInline
          text="Ready to join us for an unforgettable Italian dining experience?"
          inputPlaceholder="Enter your email"
          buttonText="Reserve Now"
          useInvertedBackground="noInvert"
          animationType="background-highlight"
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterBase
          logoText="Bella Italia"
          copyrightText="© 2025 Bella Italia Restaurant. All rights reserved."
          columns={[
            {
              title: "Hours",
              items: [
                { label: "Monday - Thursday: 5pm - 10pm" },
                { label: "Friday - Saturday: 5pm - 11pm" },
                { label: "Sunday: 5pm - 10pm" },
                { label: "Closed on Christmas" }
              ]
            },
            {
              title: "Location",
              items: [
                { label: "123 Italian Street" },
                { label: "New York, NY 10001" },
                { label: "Phone: (555) 123-4567" },
                { label: "Email: info@bellaitalia.com" }
              ]
            },
            {
              title: "Connect",
              items: [
                { label: "Facebook", href: "https://facebook.com" },
                { label: "Instagram", href: "https://instagram.com" },
                { label: "Reviews", href: "https://google.com" },
                { label: "Reservations", href: "contact" }
              ]
            }
          ]}
        />
      </div>
    </ThemeProvider>
  );
}