"use client"

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleMinimal from '@/components/navbar/NavbarStyleMinimal';
import HeroSplitKpi from '@/components/sections/hero/HeroSplitKpi';
import SplitAbout from '@/components/sections/about/SplitAbout';
import FeatureCardMedia from '@/components/sections/feature/FeatureCardMedia';
import ProductCardThree from '@/components/sections/product/ProductCardThree';
import TestimonialCardThirteen from '@/components/sections/testimonial/TestimonialCardThirteen';
import MetricCardTen from '@/components/sections/metrics/MetricCardTen';
import ContactCenter from '@/components/sections/contact/ContactCenter';
import FooterBaseReveal from '@/components/sections/footer/FooterBaseReveal';
import { Award, Heart, BookOpen, Leaf, ChefHat, Calendar } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="shift-hover"
      defaultTextAnimation="reveal-blur"
      borderRadius="pill"
      contentWidth="mediumLarge"
      sizing="largeSmall"
      background="aurora"
      cardStyle="inset"
      primaryButtonStyle="diagonal-gradient"
      secondaryButtonStyle="glass"
      headingFontWeight="light"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleMinimal
          brandName="Trattoria Milano"
          button={{
            text: "Reserve a Table",            href: "contact"
          }}
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroSplitKpi
          title="Authentic Italian Excellence"
          description="Experience the finest Italian cuisine in an elegant setting. From traditional recipes passed down through generations to modern interpretations of classic dishes, every plate tells a story of passion and mastery."
          tag="Michelin Recognized"
          tagIcon={Award}
          background={{
            variant: "glowing-orb"
          }}
          kpis={[
            {
              value: "25+",              label: "Years of Excellence"
            },
            {
              value: "50+",              label: "Premium Wine Selections"
            },
            {
              value: "4.9★",              label: "Guest Rating"
            }
          ]}
          enableKpiAnimation={true}
          imageSrc="http://img.b2bpic.net/free-photo/gourmet-meal-served-with-wine_23-2148516896.jpg"
          imageAlt="Elegant Italian restaurant dining experience"
          imagePosition="right"
          buttons={[
            {
              text: "Reserve Now",              href: "contact"
            },
            {
              text: "View Menu",              href: "#specialties"
            }
          ]}
        />
      </div>

      <div id="about" data-section="about">
        <SplitAbout
          title="Our Heritage"
          description="Trattoria Milano stands as a beacon of Italian culinary tradition in the heart of the city. Founded by Chef Marco Benedetti, a third-generation restaurateur from Milan, our commitment to authenticity and quality remains unwavering."
          tag="Family Tradition"
          tagIcon={Heart}
          textboxLayout="default"
          useInvertedBackground="invertDefault"
          imagePosition="right"
          bulletPoints={[
            {
              title: "Authentic Recipes",              description: "Time-honored recipes sourced directly from our sister restaurant in Milan, prepared with traditional techniques.",              icon: BookOpen
            },
            {
              title: "Premium Ingredients",              description: "Imported fresh pasta, San Marzano tomatoes, and seasonal ingredients directly from Italian suppliers.",              icon: Leaf
            },
            {
              title: "Expert Preparation",              description: "Our team of certified Italian chefs brings decades of experience and passion to every dish.",              icon: ChefHat
            },
            {
              title: "Warm Ambiance",              description: "Elegant dining rooms decorated with Italian artwork, creating an authentic Mediterranean atmosphere."
            }
          ]}
          imageSrc="http://img.b2bpic.net/free-photo/people-having-dinner-luxurious-restaurants_23-2151081864.jpg"
          imageAlt="Elegant restaurant interior with warm lighting"
        />
      </div>

      <div id="specialties" data-section="specialties">
        <FeatureCardMedia
          title="Signature Specialties"
          description="Discover our most celebrated dishes, each a masterpiece of Italian culinary art"
          tag="Featured Dishes"
          textboxLayout="default"
          useInvertedBackground="noInvert"
          animationType="slide-up"
          features={[
            {
              id: "pasta-al-ragù",              title: "Tagliatelle al Ragù",              description: "Handmade ribbon pasta with a slow-simmered meat sauce, a Bolognese masterpiece that takes 8 hours to prepare.",              tag: "Traditional",              imageSrc: "http://img.b2bpic.net/free-photo/world-cuisine-with-delicious-food_23-2151890027.jpg",              imageAlt: "Tagliatelle al Ragù pasta dish"
            },
            {
              id: "branzino",              title: "Branzino al Forno",              description: "Whole Mediterranean sea bass, herb-roasted with fennel, lemon, and our signature olive oil blend.",              tag: "Seafood",              imageSrc: "http://img.b2bpic.net/free-photo/plate-mushroom-risotto-topped-with-grated-cheese_141793-469.jpg",              imageAlt: "Roasted branzino fish dish"
            },
            {
              id: "ossobuco",              title: "Ossobuco alla Milanese",              description: "Braised veal shank with saffron risotto, a Milanese classic that represents the pinnacle of Italian comfort cuisine.",              tag: "Heritage",              imageSrc: "http://img.b2bpic.net/free-photo/close-up-large-tube-pasta-with-chicken-cherry-tomato-with-chopped-parsley_141793-1840.jpg",              imageAlt: "Ossobuco with risotto"
            }
          ]}
        />
      </div>

      <div id="wines" data-section="wines">
        <ProductCardThree
          title="Wine Selection"
          description="Curated Italian wines to complement every course, selected by our sommelier"
          tag="Premium Collection"
          textboxLayout="default"
          useInvertedBackground="invertDefault"
          animationType="slide-up"
          gridVariant="three-columns-all-equal-width"
          products={[
            {
              id: "barolo",              name: "Barolo Riserva",              price: "By Glass / Bottle",              imageSrc: "http://img.b2bpic.net/free-photo/barrels-wine-cellar_1398-4745.jpg",              imageAlt: "Barolo wine glass"
            },
            {
              id: "prosecco",              name: "Prosecco DOC Valdobbiadene",              price: "By Glass / Bottle",              imageSrc: "http://img.b2bpic.net/free-photo/cellar-with-bottles_1136-132.jpg",              imageAlt: "Prosecco wine glass"
            },
            {
              id: "chianti",              name: "Chianti Classico Riserva",              price: "By Glass / Bottle",              imageSrc: "http://img.b2bpic.net/free-photo/barrels-wine-cellar_1398-4745.jpg",              imageAlt: "Chianti wine glass"
            }
          ]}
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardThirteen
          title="Guest Experiences"
          description="Hear from those who have celebrated special moments at Trattoria Milano"
          tag="Reviews"
          textboxLayout="default"
          useInvertedBackground="noInvert"
          animationType="slide-up"
          showRating={true}
          testimonials={[
            {
              id: "1",              name: "Isabella Rossi",              handle: "@isabella_food_critic",              testimonial: "The most authentic Italian dining experience I've had outside of Rome. Every dish is a celebration of tradition and craftsmanship. Truly exceptional.",              rating: 5,
              imageSrc: "http://img.b2bpic.net/free-photo/mid-shot-pizza-chef-posing_23-2148785710.jpg",              imageAlt: "Isabella Rossi"
            },
            {
              id: "2",              name: "Marco Benedetti",              handle: "@chef_marco",              testimonial: "Celebrated our anniversary here and it was perfect. The ambiance, the service, and the food—everything was flawless. We'll be back.",              rating: 5,
              imageSrc: "http://img.b2bpic.net/free-photo/high-angle-chef-male-kitchen_23-2148471868.jpg",              imageAlt: "Marco Benedetti"
            },
            {
              id: "3",              name: "Sophia Leonardo",              handle: "@sophia_travels",              testimonial: "Finally found a place that honors Italian culinary tradition. The chef's passion is evident in every plate. Worth every penny.",              rating: 5,
              imageSrc: "http://img.b2bpic.net/free-photo/portrait-confident-male-chef-kitchen_23-2147863584.jpg",              imageAlt: "Sophia Leonardo"
            },
            {
              id: "4",              name: "Giovanni Moretti",              handle: "@giovanni_wine_lover",              testimonial: "The wine pairing was exceptional. The sommelier truly understands Italian viticulture. A must-visit for any wine enthusiast.",              rating: 5,
              imageSrc: "http://img.b2bpic.net/free-photo/female-chef-kitchen-dressed-apron-uniform_23-2149720713.jpg",              imageAlt: "Giovanni Moretti"
            },
            {
              id: "5",              name: "Elena Ferraro",              handle: "@elena_luxury",              testimonial: "Impeccable service, stunning presentation, and flavors that transport you to Italy. This is what fine dining should be.",              rating: 5,
              imageSrc: "http://img.b2bpic.net/free-photo/mid-shot-pizza-chef-posing_23-2148785710.jpg",              imageAlt: "Elena Ferraro"
            },
            {
              id: "6",              name: "Alessandro Romano",              handle: "@alessandro_dining",              testimonial: "The ossobuco is legendary. I've been back seven times and it's never disappointed. A true gem of a restaurant.",              rating: 5,
              imageSrc: "http://img.b2bpic.net/free-photo/high-angle-chef-male-kitchen_23-2148471868.jpg",              imageAlt: "Alessandro Romano"
            }
          ]}
        />
      </div>

      <div id="experience" data-section="experience">
        <MetricCardTen
          title="The Trattoria Milano Experience"
          description="What makes us special: commitment to excellence in every detail"
          tag="Why Choose Us"
          textboxLayout="default"
          useInvertedBackground="invertDefault"
          animationType="slide-up"
          metrics={[
            {
              id: "1",              title: "Chef's Tasting Menu",              subtitle: "A 7-course journey through Italian culinary excellence",              category: "Premium Experience",              value: "$185 per person"
            },
            {
              id: "2",              title: "Wine Pairing Service",              subtitle: "Expert sommelier recommendations for every course",              category: "Sommelier Selection",              value: "$65 per person"
            },
            {
              id: "3",              title: "Private Dining Rooms",              subtitle: "Intimate settings for up to 20 guests with custom menus",              category: "Special Events",              value: "Starting at $200"
            },
            {
              id: "4",              title: "Cooking Classes",              subtitle: "Learn traditional Italian cooking from our master chefs",              category: "Interactive",              value: "$150 per person"
            }
          ]}
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactCenter
          tag="Make Your Reservation"
          title="Dine With Us"
          description="Reserve your table and experience the finest in Italian cuisine. Our team looks forward to welcoming you."
          tagIcon={Calendar}
          useInvertedBackground="noInvert"
          inputPlaceholder="your@email.com"
          buttonText="Reserve"
          termsText="We'll contact you within 24 hours to confirm your reservation. We respect your privacy."
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterBaseReveal
          columns={[
            {
              title: "Restaurant",              items: [
                {
                  label: "About Us",                  href: "about"
                },
                {
                  label: "Menu",                  href: "specialties"
                },
                {
                  label: "Wine List",                  href: "wines"
                },
                {
                  label: "Events",                  href: "#"
                }
              ]
            },
            {
              title: "Contact",              items: [
                {
                  label: "Reserve a Table",                  href: "contact"
                },
                {
                  label: "(555) 123-4567",                  href: "tel:+15551234567"
                },
                {
                  label: "info@trattoriamilano.com",                  href: "mailto:info@trattoriamilano.com"
                },
                {
                  label: "123 Via Milano St",                  href: "#"
                }
              ]
            },
            {
              title: "Hours",              items: [
                {
                  label: "Lunch: 12-3 PM",                  href: "#"
                },
                {
                  label: "Dinner: 6-11 PM",                  href: "#"
                },
                {
                  label: "Closed Mondays",                  href: "#"
                },
                {
                  label: "Private Events Available",                  href: "contact"
                }
              ]
            }
          ]}
          copyrightText="© 2025 Trattoria Milano. All rights reserved. Authentic Italian Excellence."
        />
      </div>
    </ThemeProvider>
  );
}