"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleFullscreen from '@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen';
import HeroLogo from '@/components/sections/hero/HeroLogo';
import AboutMetric from '@/components/sections/about/AboutMetric';
import FeatureCardSix from '@/components/sections/feature/FeatureCardSix';
import MetricCardThree from '@/components/sections/metrics/MetricCardThree';
import TestimonialCardThirteen from '@/components/sections/testimonial/TestimonialCardThirteen';
import ContactText from '@/components/sections/contact/ContactText';
import FooterBaseReveal from '@/components/sections/footer/FooterBaseReveal';
import { Utensils, Calendar, Users, Award, MapPin, ChefHat, Star, Heart, Wine, Quote } from 'lucide-react';

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="elastic-effect"
      defaultTextAnimation="reveal-blur"
      borderRadius="pill"
      contentWidth="compact"
      sizing="largeSizeMediumTitles"
      background="circleGradient"
      cardStyle="solid"
      primaryButtonStyle="radial-glow"
      secondaryButtonStyle="layered"
      headingFontWeight="bold"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleFullscreen 
          brandName="Osteria Veneziana"
          navItems={[
            { name: "Home", id: "hero" },
            { name: "About", id: "about" },
            { name: "Menu", id: "dishes" },
            { name: "Reviews", id: "testimonials" },
            { name: "Contact", id: "contact" }
          ]}
          bottomLeftText="Located in Venice, Italy"
          bottomRightText="hello@osteriaveneziama.it"
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroLogo
          logoText="Osteria Veneziana"
          description="Experience centuries of culinary tradition. Indulge in handcrafted pasta, fresh seafood, and time-honored recipes."
          buttons={[
            { text: "Make a Reservation", href: "#contact" },
            { text: "View Menu", href: "#dishes" }
          ]}
          imageSrc="https://img.b2bpic.net/free-photo/side-view-fried-chicken-with-baked-potatoes-wooden-board-glass-red-wine-table_140725-12806.jpg"
          imageAlt="Elegant Italian restaurant interior with Venetian ambiance"
          showDimOverlay={true}
        />
      </div>

      <div id="about" data-section="about">
        <AboutMetric 
          title="A Legacy of Excellence Rooted in Venetian Heritage and Italian Passion"
          useInvertedBackground="noInvert"
          metrics={[
            { icon: Calendar, label: "Years of Tradition", value: "39+" },
            { icon: Users, label: "Satisfied Guests", value: "50K+" },
            { icon: Award, label: "Chef Expertise", value: "Master" },
            { icon: MapPin, label: "Grand Canal Location", value: "Venice" }
          ]}
        />
      </div>

      <div id="dishes" data-section="dishes">
        <FeatureCardSix 
          title="Our Signature Dishes"
          description="Each dish tells a story of Venetian culinary excellence, crafted from the finest seasonal ingredients and traditional recipes passed down through generations."
          tag="Culinary Journey"
          tagIcon={ChefHat}
          features={[
            {
              id: 1,
              title: "Handmade Tagliatelle al Ragù",              description: "Traditional egg pasta with rich Bolognese sauce, slow-cooked for hours with prime beef and aromatic vegetables. A masterpiece of simplicity and flavor.",              imageSrc: "https://img.b2bpic.net/free-photo/top-view-fresh-ingredients-dark-surface_23-2147606593.jpg",              imageAlt: "Tagliatelle al Ragù - traditional Italian pasta dish"
            },
            {
              id: 2,
              title: "Risotto ai Frutti di Mare",              description: "Creamy Arborio rice infused with the flavors of the Adriatic Sea. Fresh prawns, mussels, and clams combine with delicate seafood stock for an unforgettable taste.",              imageSrc: "https://img.b2bpic.net/free-photo/front-view-cooked-dough-with-sauce-meat-dark-surface-dark-pasta-dough_140725-81855.jpg",              imageAlt: "Risotto ai Frutti di Mare - Venetian seafood risotto"
            },
            {
              id: 3,
              title: "Tiramisu Tradizionale",              description: "Our iconic homemade tiramisu, layers of espresso-soaked ladyfingers, mascarpone cream, and cocoa powder. A true Italian classic that melts on your palate.",              imageSrc: "https://img.b2bpic.net/free-photo/top-view-sliced-dough-with-tomato-sauce-tomatoes-dark-background-dough-food-pasta-dinner_140725-80233.jpg",              imageAlt: "Tiramisu Tradizionale - authentic Italian dessert"
            }
          ]}
          textboxLayout="default"
          useInvertedBackground="invertDefault"
        />
      </div>

      <div id="metrics" data-section="metrics">
        <MetricCardThree 
          title="What Guests Love About Us"
          description="Discover why Osteria Veneziana has become Venice's most beloved culinary destination for authentic Italian dining."
          metrics={[
            { id: "1", icon: Star, title: "Rating", value: "4.9/5" },
            { id: "2", icon: Award, title: "Michelin Recognition", value: "Bib" },
            { id: "3", icon: Heart, title: "Guest Return Rate", value: "87%" },
            { id: "4", icon: Wine, title: "Wine Selections", value: "200+" }
          ]}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardThirteen 
          title="Guest Experiences"
          description="Hear from travelers and locals who have experienced the magic of dining at Osteria Veneziana."
          tag="Reviews"
          tagIcon={Quote}
          testimonials={[
            {
              id: "1",              name: "Marco Rossi",              handle: "Travel Writer, Rome",              testimonial: "The most authentic Italian dining experience I've had outside of my hometown. Every dish reflects years of dedication to culinary excellence. Absolutely phenomenal.",              imageSrc: "https://img.b2bpic.net/free-photo/close-up-portrait-young-handsome-successful-man_1163-5475.jpg",              imageAlt: "Marco Rossi - Travel Writer",              rating: 5
            },
            {
              id: "2",              name: "Elena Bergamasco",              handle: "Hotel Concierge, Venice",              testimonial: "I recommend Osteria Veneziana to every guest. The combination of exquisite food, warm hospitality, and the intimate Venetian atmosphere creates memories that last a lifetime.",              imageSrc: "https://img.b2bpic.net/free-photo/smiling-homosexual-man-official-suit-looking-camera-close-up-shot-happy-gay-getting-dressed-wedding-ceremony-standing-hotel-room-with-his-partner-background-love-emotion-concept_74855-22675.jpg",              imageAlt: "Elena Bergamasco - Hotel Concierge",              rating: 5
            },
            {
              id: "3",              name: "Giovanni Moretti",              handle: "Chef, Milano",              testimonial: "As a chef myself, I'm impressed by their dedication to tradition without sacrificing innovation. The handmade pasta alone is worth the journey to Venice.",              imageSrc: "https://img.b2bpic.net/free-photo/portrait-businessman-conference-room-thinking-about-future_482257-25787.jpg",              imageAlt: "Giovanni Moretti - Chef",              rating: 5
            },
            {
              id: "4",              name: "Sophie Laurent",              handle: "Food Critic, Paris",              testimonial: "Osteria Veneziana represents everything beautiful about Italian cuisine. The passion in every plate and the warmth of the staff make it a destination restaurant.",              imageSrc: "https://img.b2bpic.net/free-photo/close-up-competitive-employee_1098-2870.jpg",              imageAlt: "Sophie Laurent - Food Critic",              rating: 5
            }
          ]}
          showRating={true}
          carouselMode="auto"
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground="invertDefault"
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactText 
          text="Ready to embark on an unforgettable culinary journey through Venice? Reserve your table at Osteria Veneziana and experience authentic Italian flavors in an enchanting Venetian setting."
          animationType="reveal-blur"
          useInvertedBackground="noInvert"
          buttons={[
            { text: "Reserve Table", href: "mailto:hello@osteriaveneziama.it?subject=Reservation%20Request" },
            { text: "Call Us", href: "tel:+39041234567" }
          ]}
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterBaseReveal 
          columns={[
            {
              title: "Restaurant",              items: [
                { label: "About Us", href: "#about" },
                { label: "Our Menu", href: "#dishes" },
                { label: "Reservations", href: "#contact" },
                { label: "Careers", href: "#" }
              ]
            },
            {
              title: "Contact",              items: [
                { label: "Phone: +39 041 234 567", href: "tel:+39041234567" },
                { label: "Email: hello@osteriaveneziama.it", href: "mailto:hello@osteriaveneziama.it" },
                { label: "Grand Canal, Venice", href: "#" },
                { label: "Open Daily 12-23:00", href: "#" }
              ]
            },
            {
              title: "Follow Us",              items: [
                { label: "Instagram", href: "https://instagram.com" },
                { label: "Facebook", href: "https://facebook.com" },
                { label: "TripAdvisor", href: "https://tripadvisor.com" },
                { label: "Google Reviews", href: "https://google.com" }
              ]
            }
          ]}
          copyrightText="© 2024 Osteria Veneziana. All rights reserved. Authentic Italian dining in Venice."
        />
      </div>
    </ThemeProvider>
  );
}
