"use client"

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleMinimal from '@/components/navbar/NavbarStyleMinimal';
import HeroBillboardScroll from '@/components/sections/hero/HeroBillboardScroll';
import AboutMetric from '@/components/sections/about/AboutMetric';
import ProductCardTwo from '@/components/sections/product/ProductCardTwo';
import TestimonialCardTwelve from '@/components/sections/testimonial/TestimonialCardTwelve';
import ContactFaq from '@/components/sections/contact/ContactFaq';
import FooterBaseSocial from '@/components/sections/footer/FooterBaseSocial';
import { Users, Award, ChefHat, Heart, Phone, Facebook, Instagram, Twitter } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="elastic-effect"
      defaultTextAnimation="entrance-slide"
      borderRadius="pill"
      contentWidth="compact"
      sizing="mediumLarge"
      background="animatedAurora"
      cardStyle="elevated"
      primaryButtonStyle="shadow"
      secondaryButtonStyle="solid"
      headingFontWeight="bold"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleMinimal
          brandName="Bella Italia"
          button={{
            text: "Reserve Table",
            href: "contact"
          }}
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroBillboardScroll
          tag="Welcome to Italian Cuisine"
          title="Authentic Italian Flavors"
          description="Experience the true taste of Italy with our handcrafted dishes prepared using traditional recipes and the finest ingredients."
          imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766183837505-ll9mx7sj.jpg"
          imageAlt="Elegant Italian restaurant dining"
          buttons={[
            {
              text: "Reserve Now",
              href: "contact"
            },
            {
              text: "View Menu",
              href: "menu"
            }
          ]}
        />
      </div>

      <div id="about" data-section="about">
        <AboutMetric
          title="Serving authentic Italian cuisine since 1995 with passion, quality, and tradition in every dish"
          metrics={[
            {
              icon: Users,
              label: "Happy Customers",
              value: "15K+"
            },
            {
              icon: Award,
              label: "Years of Excellence",
              value: "29"
            },
            {
              icon: ChefHat,
              label: "Master Chefs",
              value: "8"
            },
            {
              icon: Heart,
              label: "Signature Dishes",
              value: "50+"
            }
          ]}
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="menu" data-section="menu">
        <ProductCardTwo
          title="Our Signature Menu"
          description="Discover our carefully curated selection of authentic Italian dishes"
          tag="Culinary Favorites"
          textboxLayout="default"
          useInvertedBackground="noInvert"
          products={[
            {
              id: "1",
              brand: "Bella Italia",
              name: "Fettuccine Alfredo",
              price: "$18.99",
              rating: 5,
              reviewCount: "342",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766183829154-9c5vkkws.jpg",
              imageAlt: "Creamy fettuccine alfredo"
            },
            {
              id: "2",
              brand: "Bella Italia",
              name: "Risotto ai Funghi",
              price: "$16.99",
              rating: 5,
              reviewCount: "287",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766183829918-12xa97ao.jpg",
              imageAlt: "Creamy mushroom risotto"
            },
            {
              id: "3",
              brand: "Bella Italia",
              name: "Branzino al Forno",
              price: "$24.99",
              rating: 5,
              reviewCount: "156",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766183832020-sqgzqvxa.jpg",
              imageAlt: "Baked sea bass"
            }
          ]}
          gridVariant="three-columns-all-equal-width"
          animationType="slide-up"
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardTwelve
          cardTitle="Loved by thousands of guests who return for the authentic Italian experience"
          cardTag="Guest Reviews"
          testimonials={[
            {
              id: "1",
              name: "Maria Rossi",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767387306323-wkzu0brj.jpg",
              imageAlt: "Maria Rossi"
            },
            {
              id: "2",
              name: "Marco Benedetti",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767387307371-5xcfk54s.jpg",
              imageAlt: "Marco Benedetti"
            },
            {
              id: "3",
              name: "Sofia Russo",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767387308158-c3l1yo5b.jpg",
              imageAlt: "Sofia Russo"
            },
            {
              id: "4",
              name: "Giuseppe Moretti",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766321576736-ix2lum2h.jpg",
              imageAlt: "Giuseppe Moretti"
            }
          ]}
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactFaq
          ctaTitle="Make a Reservation"
          ctaDescription="Book your table at Bella Italia today and enjoy an unforgettable dining experience"
          ctaIcon={Phone}
          ctaButton={{
            text: "Reserve Table",
            href: "https://www.example.com/reservation"
          }}
          faqs={[
            {
              id: "1",
              title: "What are your operating hours?",
              content: "We are open Monday to Sunday from 11:00 AM to 11:00 PM. We close on major holidays. Private events can be arranged outside regular hours."
            },
            {
              id: "2",
              title: "Do you accommodate dietary restrictions?",
              content: "Absolutely! We offer vegetarian, vegan, and gluten-free options. Please inform your server of any dietary needs when ordering."
            },
            {
              id: "3",
              title: "Can we host private events?",
              content: "Yes, we have a beautiful private dining room available for groups of 20-80 guests. Contact us for special event packages and customized menus."
            },
            {
              id: "4",
              title: "What is your cancellation policy?",
              content: "Reservations can be cancelled up to 24 hours in advance. We appreciate advance notice for party changes of 5 or more guests."
            }
          ]}
          useInvertedBackground="noInvert"
          animationType="slide-up"
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterBaseSocial
          logoText="Bella Italia"
          description="Authentic Italian cuisine crafted with passion, tradition, and the finest ingredients. Experience Italy in every bite."
          columns={[
            {
              title: "Menu",
              items: [
                {
                  label: "Pasta",
                  href: "menu"
                },
                {
                  label: "Risotto",
                  href: "menu"
                },
                {
                  label: "Seafood",
                  href: "menu"
                },
                {
                  label: "Desserts",
                  href: "menu"
                }
              ]
            },
            {
              title: "About",
              items: [
                {
                  label: "Our Story",
                  href: "about"
                },
                {
                  label: "Team",
                  href: "about"
                },
                {
                  label: "Catering",
                  href: "contact"
                }
              ]
            },
            {
              title: "Contact",
              items: [
                {
                  label: "Reservations",
                  href: "contact"
                },
                {
                  label: "Location",
                  href: "contact"
                },
                {
                  label: "Hours",
                  href: "contact"
                }
              ]
            },
            {
              title: "Legal",
              items: [
                {
                  label: "Privacy Policy",
                  href: "privacy"
                },
                {
                  label: "Terms of Service",
                  href: "terms"
                }
              ]
            }
          ]}
          socialLinks={[
            {
              icon: Facebook,
              href: "https://facebook.com",
              ariaLabel: "Facebook"
            },
            {
              icon: Instagram,
              href: "https://instagram.com",
              ariaLabel: "Instagram"
            },
            {
              icon: Twitter,
              href: "https://twitter.com",
              ariaLabel: "Twitter"
            }
          ]}
          copyrightText="© 2025 Bella Italia. All rights reserved."
        />
      </div>
    </ThemeProvider>
  );
}
