"use client"

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleFullscreen from '@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen';
import HeroBillboard from '@/components/sections/hero/HeroBillboard';
import AboutPhoneTimeline from '@/components/sections/about/AboutPhoneTimeline';
import ProductCardSeven from '@/components/sections/product/ProductCardSeven';
import FeatureCardEight from '@/components/sections/feature/FeatureCardEight';
import MetricCardFive from '@/components/sections/metrics/MetricCardFive';
import TestimonialCardEight from '@/components/sections/testimonial/TestimonialCardEight';
import ContactInline from '@/components/sections/contact/ContactInline';
import FooterBaseSocial from '@/components/sections/footer/FooterBaseSocial';
import { Instagram, Facebook, Mail } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="shift-hover"
      defaultTextAnimation="reveal-blur"
      borderRadius="sharp"
      contentWidth="smallMedium"
      sizing="largeSmallSizeMediumTitles"
      background="none"
      cardStyle="inset"
      primaryButtonStyle="radial-glow"
      secondaryButtonStyle="glass"
      headingFontWeight="medium"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleFullscreen 
          navItems={[
            { name: "Home", id: "home" },
            { name: "Menu", id: "menu" },
            { name: "About", id: "about" },
            { name: "Contact", id: "contact" },
            { name: "Reserve", id: "reserve" }
          ]}
          brandName="Bella Italia"
          bottomLeftText="Fine Italian Dining"
          bottomRightText="reservations@bellaitalia.com"
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroBillboard
          title="Welcome to Bella Italia"
          description="Experience authentic Italian cuisine crafted with passion and the finest ingredients. Reserve your table for an unforgettable evening."
          tag="Fine Italian Dining"
          imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766183837505-ll9mx7sj.jpg"
          imageAlt="Elegant Italian restaurant interior with warm lighting"
          frameStyle="card"
          buttons={[
            { text: "Reserve a Table", href: "contact" },
            { text: "View Menu", href: "menu" }
          ]}
        />
      </div>

      <div id="about" data-section="about">
        <AboutPhoneTimeline
          title="Our Story"
          description="For over 20 years, Bella Italia has been bringing the authentic flavors of Italy to your table. Our family-run restaurant honors traditional recipes passed down through generations, using only the finest imported ingredients and seasonal produce."
          tag="About Us"
          phoneOne={{
            imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767208562849-1t30txjq.jpg",
            imageAlt: "Digital menu showcase on mobile device"
          }}
          phoneTwo={{
            imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767208563681-xt4uczu3.jpg",
            imageAlt: "Restaurant reservation booking interface"
          }}
          textboxLayout="default"
          useInvertedBackground="noInvert"
          buttons={[
            { text: "Reserve Now", href: "contact" }
          ]}
        />
      </div>

      <div id="menu" data-section="menu">
        <ProductCardSeven
          title="Signature Dishes"
          description="Discover our most beloved Italian classics, prepared with authentic recipes and the finest ingredients"
          tag="Menu"
          products={[
            {
              id: "1",
              name: "Pasta Carbonara",
              price: "€18",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766237433258-270lxdto.jpg",
              imageAlt: "Traditional pasta carbonara with egg and guanciale"
            },
            {
              id: "2",
              name: "Risotto ai Funghi",
              price: "€16",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767208559718-65rhl43y.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-1767208561440-etkfzab9.jpg",
              imageAlt: "Classic Italian tiramisu with cocoa powder"
            }
          ]}
          gridVariant="uniform-all-items-equal"
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="features" data-section="features">
        <FeatureCardEight
          title="The Bella Italia Experience"
          description="From sourcing ingredients to plating each dish, every step reflects our commitment to excellence"
          tag="Our Process"
          features={[
            {
              id: 1,
              title: "Authentic Recipes",
              description: "Traditional Italian recipes passed down through family generations, honoring centuries of culinary tradition",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766183827933-jsmix0wr.jpg",
              imageAlt: "Professional Italian chef preparing fresh ingredients"
            },
            {
              id: 2,
              title: "Premium Ingredients",
              description: "Only the finest imported Italian products and locally sourced seasonal produce for maximum freshness",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767208560522-qeyjzsgd.jpg",
              imageAlt: "Selection of premium Italian wines and products"
            },
            {
              id: 3,
              title: "Elegant Dining",
              description: "Carefully designed ambiance with warm lighting, attentive service, and a welcoming atmosphere",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767208558447-5xu9v366.jpg",
              imageAlt: "Beautifully set dining table with elegant place settings"
            }
          ]}
          textboxLayout="default"
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="metrics" data-section="metrics">
        <MetricCardFive
          title="Our Achievements"
          description="Trusted by thousands of diners seeking authentic Italian experiences"
          tag="Milestones"
          metrics={[
            {
              id: "1",
              value: "20+",
              description: "Years of serving authentic Italian cuisine and creating unforgettable memories"
            },
            {
              id: "2",
              value: "5000+",
              description: "Happy customers who return year after year for our exceptional food and service"
            },
            {
              id: "3",
              value: "100%",
              description: "Fresh, authentic recipes using traditional Italian methods and premium ingredients"
            }
          ]}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardEight
          title="What Our Guests Say"
          description="Real experiences from diners who have celebrated special moments at Bella Italia"
          tag="Reviews"
          testimonials={[
            {
              id: "1",
              name: "Maria Rossi",
              role: "Visitor",
              company: "Rome",
              rating: 5,
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766154635301-vse33sxl.jpg",
              imageAlt: "Maria Rossi"
            },
            {
              id: "2",
              name: "Giovanni Ferrari",
              role: "Regular Guest",
              company: "Milan",
              rating: 5,
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766140152452-p4x3ah4p.jpg",
              imageAlt: "Giovanni Ferrari"
            },
            {
              id: "3",
              name: "Elena Moretti",
              role: "Food Enthusiast",
              company: "Florence",
              rating: 5,
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766183841431-v1xtegko.jpg",
              imageAlt: "Elena Moretti"
            },
            {
              id: "4",
              name: "Marco Bonini",
              role: "Frequent Visitor",
              company: "Venice",
              rating: 5,
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766183842429-uezzjpov.jpg",
              imageAlt: "Marco Bonini"
            },
            {
              id: "5",
              name: "Sophia De Luca",
              role: "Chef",
              company: "Bologna",
              rating: 5,
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766183843211-zal0n8gj.jpg",
              imageAlt: "Sophia De Luca"
            },
            {
              id: "6",
              name: "Antonio Ricci",
              role: "Wine Connoisseur",
              company: "Tuscany",
              rating: 5,
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766183844045-gbini56u.jpg",
              imageAlt: "Antonio Ricci"
            }
          ]}
          textboxLayout="default"
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactInline
          text="Ready to join us for an unforgettable evening?"
          inputPlaceholder="Enter your email"
          buttonText="Reserve Table"
          useInvertedBackground="noInvert"
          animationType="reveal-blur"
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterBaseSocial
          description="Experience authentic Italian cuisine in an elegant setting. Bella Italia brings the warmth of Italy to your table with traditional recipes and premium ingredients."
          logoText="Bella Italia"
          copyrightText="© 2025 Bella Italia. All rights reserved."
          columns={[
            {
              title: "Restaurant",
              items: [
                { label: "Menu", href: "menu" },
                { label: "Reserve", href: "contact" },
                { label: "About", href: "about" }
              ]
            },
            {
              title: "Info",
              items: [
                { label: "Hours: Tue-Sun 5PM-11PM", href: "contact" },
                { label: "Address: Via Roma 42, Centro", href: "contact" },
                { label: "Phone: +1 (555) 123-4567", href: "contact" }
              ]
            },
            {
              title: "Legal",
              items: [
                { label: "Privacy Policy", href: "privacy" },
                { label: "Terms of Service", href: "terms" },
                { label: "Cookie Policy", href: "cookies" }
              ]
            }
          ]}
          socialLinks={[
            { icon: Instagram, href: "https://instagram.com", ariaLabel: "Instagram" },
            { icon: Facebook, href: "https://facebook.com", ariaLabel: "Facebook" },
            { icon: Mail, href: "mailto:reservations@bellaitalia.com", ariaLabel: "Email" }
          ]}
        />
      </div>
    </ThemeProvider>
  );
}