"use client"

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarLayoutFloatingOverlay from '@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay';
import HeroBillboardSplit from '@/components/sections/hero/HeroBillboardSplit';
import AboutMetric from '@/components/sections/about/AboutMetric';
import FeatureCardThree from '@/components/sections/feature/featureCardThree/FeatureCardThree';
import MetricCardEleven from '@/components/sections/metrics/MetricCardEleven';
import TestimonialCardFive from '@/components/sections/testimonial/TestimonialCardFive';
import ContactInline from '@/components/sections/contact/ContactInline';
import FooterBaseCard from '@/components/sections/footer/FooterBaseCard';
import { Sparkles, Award, Users, Globe } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="text-stagger"
      defaultTextAnimation="reveal-blur"
      borderRadius="pill"
      contentWidth="mediumLarge"
      sizing="largeSmallSizeMediumTitles"
      background="grid"
      cardStyle="solid-accent"
      primaryButtonStyle="neon-glow-border"
      secondaryButtonStyle="outline"
      headingFontWeight="light"
    >
      <div id="nav" data-section="nav">
        <NavbarLayoutFloatingOverlay
          brandName="Bella Italia"
          navItems={[
            { name: "Home", id: "hero" },
            { name: "About", id: "about" },
            { name: "Menu", id: "menu" },
            { name: "Reservations", id: "contact" }
          ]}
          button={{
            text: "Reserve Now",
            href: "contact"
          }}
        />
      </div>
      
      <div id="hero" data-section="hero">
        <HeroBillboardSplit
          tag="Authentic Italian Cuisine"
          tagIcon={Sparkles}
          title="Welcome to Bella Italia"
          description="Experience the flavors of Italy in an elegant setting. From handmade pasta to finest wines, every dish tells a story of tradition and passion."
          buttons={[
            { text: "Reserve Your Table", href: "contact" },
            { text: "View Menu", href: "menu" }
          ]}
          imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766237433258-270lxdto.jpg"
          imageAlt="Beautiful Italian pasta dish"
          frameStyle="browser"
        />
      </div>
      
      <div id="about" data-section="about">
        <AboutMetric
          title="A Legacy of Italian Excellence"
          metrics={[
            { icon: Award, label: "Years of Tradition", value: "30+" },
            { icon: Users, label: "Happy Guests", value: "10K+" },
            { icon: Sparkles, label: "Signature Dishes", value: "40+" },
            { icon: Globe, label: "Italian Ingredients", value: "100%" }
          ]}
          useInvertedBackground="noInvert"
        />
      </div>
      
      <div id="menu" data-section="menu">
        <FeatureCardThree
          title="Our Menu Highlights"
          description="Discover our most beloved dishes crafted with passion and the finest Italian ingredients"
          tag="Featured"
          tagIcon={Sparkles}
          features={[
            {
              id: "01",
              title: "Spaghetti Carbonara",
              description: "Classic Roman pasta with pecorino, guanciale, and egg yolk. A timeless masterpiece.",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766237434264-kf7vqb4g.jpg",
              imageAlt: "Spaghetti Carbonara"
            },
            {
              id: "02",
              title: "Risotto ai Funghi",
              description: "Creamy arborio rice with fresh mushrooms, truffle oil, and aged parmesan.",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767024784349-gg7h345a.jpg",
              imageAlt: "Risotto ai Funghi"
            },
            {
              id: "03",
              title: "Tiramisu",
              description: "The ultimate Italian dessert with espresso-soaked ladyfingers and mascarpone cream.",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766183833897-i2cgqm4f.jpg",
              imageAlt: "Tiramisu Dessert"
            }
          ]}
          textboxLayout="default"
          gridVariant="uniform-all-items-equal"
          animationType="slide-up"
          useInvertedBackground="noInvert"
        />
      </div>
      
      <div id="ambiance" data-section="ambiance">
        <MetricCardEleven
          title="Experience Bella Italia"
          description="Step into our warm, intimate atmosphere designed for unforgettable moments"
          tag="Ambiance"
          tagIcon={Sparkles}
          metrics={[
            {
              id: "1",
              value: "50",
              title: "Elegant Seats",
              description: "Intimate dining for special occasions",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766184305846-8js4eyi9.jpg",
              imageAlt: "Beautifully set dining table"
            },
            {
              id: "2",
              value: "200+",
              title: "Wine Selection",
              description: "Curated Italian wines from renowned regions",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766269121928-gx6e7hv0.jpg",
              imageAlt: "Premium Italian wine collection"
            }
          ]}
          textboxLayout="default"
          useInvertedBackground="noInvert"
          animationType="slide-up"
        />
      </div>
      
      <div id="testimonials" data-section="testimonials">
        <TestimonialCardFive
          title="What Our Guests Say"
          description="Real stories from people who've experienced the magic of Bella Italia"
          tag="Reviews"
          tagIcon={Sparkles}
          testimonials={[
            {
              id: "1",
              name: "Maria Rossi, Food Critic",
              date: "Date: 15 November 2024",
              title: "A Taste of True Italy",
              quote: "Bella Italia captured the essence of Roman cuisine. The carbonara was absolutely perfect, and the service was impeccable. This is my new favorite restaurant in the city.",
              tag: "Premium Diner",
              avatarSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766278832486-x5i5x871.jpg",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766183837505-ll9mx7sj.jpg",
              imageAlt: "Restaurant dining atmosphere"
            },
            {
              id: "2",
              name: "Giovanni Ferrari, Chef",
              date: "Date: 8 October 2024",
              title: "Authentic and Exceptional",
              quote: "As a culinary professional, I appreciate restaurants that respect tradition while maintaining excellence. Bella Italia does both beautifully. Their handmade pasta is remarkable.",
              tag: "Industry Professional",
              avatarSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766183872185-r63000od.jpg",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766183827933-jsmix0wr.jpg",
              imageAlt: "Chef in Italian kitchen"
            },
            {
              id: "3",
              name: "Elena Moretti, Wine Enthusiast",
              date: "Date: 22 September 2024",
              title: "Perfect Wine Pairings",
              quote: "The sommelier's recommendations were spot-on. Each wine pairing elevated the dining experience. I've been back four times already and keep discovering new favorites.",
              tag: "Regular Guest",
              avatarSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766278833750-0np7gm3z.jpg",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766269121928-gx6e7hv0.jpg",
              imageAlt: "Wine collection display"
            },
            {
              id: "4",
              name: "Marco Bellini, Family",
              date: "Date: 5 September 2024",
              title: "Made Our Anniversary Unforgettable",
              quote: "We celebrated our 25th anniversary at Bella Italia and it was magical. The ambiance, the food, the attention to detail - everything was perfect. Thank you for making it special.",
              tag: "Anniversary Celebration",
              avatarSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766183840246-543e8kk4.jpg",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766184305846-8js4eyi9.jpg",
              imageAlt: "Romantic dinner setup"
            }
          ]}
          textboxLayout="default"
          useInvertedBackground="noInvert"
        />
      </div>
      
      <div id="contact" data-section="contact">
        <ContactInline
          text="Ready to experience Bella Italia?"
          inputPlaceholder="Enter your email for reservations"
          buttonText="Reserve Now"
          useInvertedBackground="noInvert"
        />
      </div>
      
      <div id="footer" data-section="footer">
        <FooterBaseCard
          logoText="Bella Italia"
          columns={[
            {
              title: "Restaurant",
              items: [
                { label: "Menu", href: "#menu" },
                { label: "Hours", href: "#" },
                { label: "Location", href: "#" },
                { label: "Private Events", href: "#" }
              ]
            },
            {
              title: "Dining",
              items: [
                { label: "Reservations", href: "#contact" },
                { label: "Catering", href: "#" },
                { label: "Wine List", href: "#" },
                { label: "Chef's Table", href: "#" }
              ]
            },
            {
              title: "Company",
              items: [
                { label: "About Us", href: "#about" },
                { label: "Our Story", href: "#" },
                { label: "Careers", href: "#" },
                { label: "Contact", href: "#contact" }
              ]
            },
            {
              title: "Legal",
              items: [
                { label: "Privacy Policy", href: "#" },
                { label: "Terms of Service", href: "#" },
                { label: "Accessibility", href: "#" }
              ]
            }
          ]}
          copyrightText="© 2025 Bella Italia | Authentic Italian Cuisine"
        />
      </div>
    </ThemeProvider>
  );
}