"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import ContactCTA from '@/components/sections/contact/ContactCTA';
import FeatureCardTwentySix from '@/components/sections/feature/FeatureCardTwentySix';
import FooterCard from '@/components/sections/footer/FooterCard';
import HeroLogo from '@/components/sections/hero/HeroLogo';
import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered';
import ProductCardOne from '@/components/sections/product/ProductCardOne';
import TestimonialAboutCard from '@/components/sections/about/TestimonialAboutCard';
import TestimonialCardTwo from '@/components/sections/testimonial/TestimonialCardTwo';
import { Eye, Facebook, Instagram, MessageSquare, Utensils } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
        defaultButtonVariant="text-shift"
        defaultTextAnimation="entrance-slide"
        borderRadius="soft"
        contentWidth="mediumSmall"
        sizing="largeSmallSizeLargeTitles"
        background="fluid"
        cardStyle="gradient-bordered"
        primaryButtonStyle="double-inset"
        secondaryButtonStyle="radial-glow"
        headingFontWeight="bold"
    >
      <ReactLenis root>
  <div id="nav" data-section="nav">
      <NavbarStyleCentered
      navItems={[
        {
          name: "Home",          id: "#hero"},
        {
          name: "About Us",          id: "#about"},
        {
          name: "Menu",          id: "#menu"},
        {
          name: "Gallery",          id: "#gallery"},
        {
          name: "Reviews",          id: "#reviews"},
        {
          name: "Reservations",          id: "#reservations"},
      ]}
      brandName="L'antica Pizzeria DaPietro"
    />
  </div>

  <div id="hero" data-section="hero">
      <HeroLogo
      logoText="L'antica Pizzeria DaPietro"
      description="Authentic Neapolitan Pizza Experience\nTraditional wood-fired pizza crafted with passion in Tunis."
      buttons={[
        {
          text: "Reserve a Table",          href: "#reservations"},
        {
          text: "View Menu",          href: "#menu"},
      ]}
      imageSrc="http://img.b2bpic.net/free-photo/flat-lay-delicious-arugula-pizza_23-2148574288.jpg"
      videoSrc="http://img.b2bpic.net/free-photo/wood-fired-oven-delicious-pizza_23-2150235808.jpg"
      imageAlt="Authentic Neapolitan Pizza"
      videoAriaLabel="Video of authentic Italian pizza"
      showDimOverlay={true}
    />
  </div>

  <div id="about" data-section="about">
      <TestimonialAboutCard
      useInvertedBackground={true}
      tag="Our Story"
      title="L'antica Pizzeria DaPietro: Authentic Neapolitan Tradition"
      description="DaPietro is renowned in Tunisia for crafting authentic Neapolitan pizza. Each pizza is cooked in a traditional wood-fired oven, using only the finest, freshest Italian and local ingredients to deliver an unparalleled culinary experience."
      subdescription="Our commitment to original Italian recipes, premium ingredients, and a warm, family-friendly atmosphere ensures a certified, memorable pizza experience for every guest."
      icon={Utensils}
      imageSrc="http://img.b2bpic.net/free-photo/chef-kitchen-prepares-pizza_1157-21841.jpg"
      imageAlt="Traditional wood-fired pizza oven"
      mediaAnimation="slide-up"
    />
  </div>

  <div id="menu" data-section="menu">
      <ProductCardOne
      animationType="slide-up"
      textboxLayout="default"
      gridVariant="three-columns-all-equal-width"
      useInvertedBackground={false}
      products={[
        {
          id: "pizza-margherita",          name: "Margherita",          price: "22 DT",          imageSrc: "http://img.b2bpic.net/free-photo/pizza-with-tomato-slices-mozarella-herbs_114579-3769.jpg",          imageAlt: "Margherita Pizza"},
        {
          id: "pizza-pepperoni",          name: "Pepperoni",          price: "28 DT",          imageSrc: "http://img.b2bpic.net/free-photo/pizza-wooden-background_1232-2681.jpg",          imageAlt: "Pepperoni Pizza"},
        {
          id: "pizza-quattro-formaggi",          name: "Quattro Formaggi",          price: "30 DT",          imageSrc: "http://img.b2bpic.net/free-photo/half-view-margarita-pizza-garnished-with-basil_140725-8731.jpg",          imageAlt: "Quattro Formaggi Pizza"},
        {
          id: "pizza-tuna",          name: "Tuna Pizza",          price: "27 DT",          imageSrc: "http://img.b2bpic.net/free-photo/tuna-pizza-tomato-capers-cheese-onion-olives-top-view_141793-2490.jpg",          imageAlt: "Tuna Pizza"},
        {
          id: "pizza-napoli",          name: "Napoli Special",          price: "34 DT",          imageSrc: "http://img.b2bpic.net/free-photo/side-view-chef-preparing-pizza_23-2150235804.jpg",          imageAlt: "Napoli Special Pizza"},
        {
          id: "pizza-burrata",          name: "Burrata Pizza",          price: "36 DT",          imageSrc: "http://img.b2bpic.net/free-photo/delicious-fresh-cheese-salad_23-2150096950.jpg",          imageAlt: "Burrata Pizza"},
        {
          id: "pasta-alfredo",          name: "Alfredo Pasta",          price: "26 DT",          imageSrc: "http://img.b2bpic.net/free-photo/pasta-fettuccine-chicken-cheese-mushrooms-cream-sauce-mint-side-view_141793-12453.jpg",          imageAlt: "Alfredo Pasta"},
        {
          id: "pasta-carbonara",          name: "Carbonara",          price: "29 DT",          imageSrc: "http://img.b2bpic.net/free-photo/top-view-asian-ramen-noodles-black-plate-cut-lemon-cherry-tomatoes-sea-salt-black-pepper-small-bowls-dark-table_140725-145851.jpg",          imageAlt: "Carbonara Pasta"},
        {
          id: "pasta-lasagna",          name: "Lasagna",          price: "32 DT",          imageSrc: "http://img.b2bpic.net/free-photo/pasta-bake-with-penne-tomatoes-mozarella_661915-128.jpg",          imageAlt: "Lasagna"},
        {
          id: "dessert-tiramisu",          name: "Tiramisu",          price: "14 DT",          imageSrc: "http://img.b2bpic.net/free-photo/high-angle-tiramisu-small-jar_23-2148531563.jpg",          imageAlt: "Tiramisu"},
        {
          id: "dessert-chocolate-pizza",          name: "Chocolate Pizza",          price: "18 DT",          imageSrc: "http://img.b2bpic.net/free-photo/delicious-plum-pie-with-chemex-coffee-ingredients-with-fabric-wooden-table-with-fabric_181624-19889.jpg",          imageAlt: "Chocolate Pizza"},
        {
          id: "drink-cocacola",          name: "Coca Cola",          price: "5 DT",          imageSrc: "http://img.b2bpic.net/free-photo/ice-cola-glass_1203-6716.jpg",          imageAlt: "Coca Cola"},
        {
          id: "drink-mojito",          name: "Mojito",          price: "12 DT",          imageSrc: "http://img.b2bpic.net/free-photo/mojito-cocktail-with-slices-lime-mint-blue-table_114579-34079.jpg",          imageAlt: "Mojito"},
        {
          id: "drink-juice",          name: "Fresh Juice",          price: "10 DT",          imageSrc: "http://img.b2bpic.net/free-photo/homemade-ice-tea-filled-with-lemon-slices_140725-1794.jpg",          imageAlt: "Fresh Juice"},
      ]}
      title="Our Authentic Italian Menu"
      description="Savor the true taste of Italy with our meticulously crafted pizzas, pastas, and desserts, prepared with traditional recipes and premium ingredients."
    />
  </div>

  <div id="gallery" data-section="gallery">
      <FeatureCardTwentySix
      textboxLayout="default"
      useInvertedBackground={true}
      features={[
        {
          title: "Authentic Neapolitan Pizza",          description: "Every pizza is a masterpiece, crafted with traditional techniques and the freshest ingredients.",          imageSrc: "http://img.b2bpic.net/free-photo/high-angle-baking-delicious-pizza_23-2150235780.jpg",          imageAlt: "Close-up of Neapolitan pizza",          buttonIcon: Eye,
        },
        {
          title: "Traditional Wood-Fired Oven",          description: "The heart of our kitchen, delivering that unmistakable smoky flavor and perfect crust.",          imageSrc: "http://img.b2bpic.net/free-photo/italian-chef-is-putting-gourmet-freshly-made-pizza-stone-oven_613910-14676.jpg",          imageAlt: "Wood-fired oven",          buttonIcon: Eye,
        },
        {
          title: "Modern Interior Design",          description: "Dine in elegance within our sophisticated and warmly lit contemporary dining space.",          imageSrc: "http://img.b2bpic.net/free-photo/lamps-coffee-shop_116348-51.jpg",          imageAlt: "Modern restaurant interior",          buttonIcon: Eye,
        },
        {
          title: "Charming Outdoor Terrace",          description: "Enjoy your meal under the Tunisian sky on our beautifully appointed outdoor patio.",          imageSrc: "http://img.b2bpic.net/free-photo/lunch-setup-restaurant-near-window-floor-stand-lamp_140725-1572.jpg",          imageAlt: "Outdoor restaurant terrace",          buttonIcon: Eye,
        },
        {
          title: "Our Talented Chefs",          description: "Witness our passionate chefs skillfully preparing your meal with precision and artistry.",          imageSrc: "http://img.b2bpic.net/free-photo/close-up-ingredients-used-cooking_23-2149228737.jpg",          imageAlt: "Chefs preparing pizza",          buttonIcon: Eye,
        },
        {
          title: "Exquisite Food Photography",          description: "A close look at the vibrant colors and textures of our meticulously prepared dishes.",          imageSrc: "http://img.b2bpic.net/free-photo/dark-plate-with-pasta-dark-cloth_23-2148340391.jpg",          imageAlt: "Close-up food photography",          buttonIcon: Eye,
        },
      ]}
      title="Our Culinary Journey & Ambiance"
      description="Explore the passion behind every dish and the elegant atmosphere that makes L'antica Pizzeria DaPietro a truly special dining destination."
    />
  </div>

  <div id="reviews" data-section="reviews">
      <TestimonialCardTwo
      animationType="slide-up"
      textboxLayout="default"
      useInvertedBackground={false}
      testimonials={[
        {
          id: "1",          name: "Ahmed Ben Salah",          role: "Local Food Critic",          testimonial: "This is simply the best pizza in Tunisia! The crust, the sauce, the fresh toppings—everything is perfect. A true taste of Naples.",          imageSrc: "http://img.b2bpic.net/free-photo/young-beautiful-girl-sitting-cafe_176420-5900.jpg",          imageAlt: "Ahmed Ben Salah"},
        {
          id: "2",          name: "Leila Gharbi",          role: "Regular Customer",          testimonial: "Amazing atmosphere and truly authentic Italian taste. Every visit feels like a mini-vacation to Italy. Highly recommended for families!",          imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-old-man-having-meal-restaurant_23-2148214633.jpg",          imageAlt: "Leila Gharbi"},
        {
          id: "3",          name: "Omar Khedira",          role: "Travel Blogger",          testimonial: "The crust is incredible—perfectly charred and chewy. Service is excellent, and the attention to detail is remarkable. A must-try!",          imageSrc: "http://img.b2bpic.net/free-photo/friends-posing-with-pizza_23-2147640618.jpg",          imageAlt: "Omar Khedira"},
        {
          id: "4",          name: "Mariem Trabelsi",          role: "Chef & Food Enthusiast",          testimonial: "As a chef, I appreciate the dedication to authenticity. The ingredients are top-notch, and the wood-fired flavor is unparalleled.",          imageSrc: "http://img.b2bpic.net/free-photo/friends-eating-barbeque-cake-outdoor-party_23-2149366196.jpg",          imageAlt: "Mariem Trabelsi"},
        {
          id: "5",          name: "Karim Jlassi",          role: "Restaurant Owner",          testimonial: "DaPietro sets the standard for Italian pizzerias in Tunis. The ambiance is elegant, the staff is welcoming, and the food is consistently superb.",          imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-man-sitting-table_23-2150279928.jpg",          imageAlt: "Karim Jlassi"},
      ]}
      title="What Our Guests Say"
      description="Hear from our cherished customers about their authentic Neapolitan pizza experience and the warm, inviting atmosphere at DaPietro."
    />
  </div>

  <div id="reservations" data-section="reservations">
      <ContactCTA
      useInvertedBackground={true}
      background={{
        variant: "radial-gradient"}}
      tag="Plan Your Visit"
      title="Experience Authentic Italian Dining"
      description="Book your table at L'antica Pizzeria DaPietro for an unforgettable Neapolitan pizza experience. For reservations, please provide your name, phone, desired date, and number of guests. Our team will confirm your booking promptly. For any inquiries, feel free to reach out. Phone 1: +216 29 560 999 | Phone 2: +216 28 212 320 | Location: Les Jardins d’El Menzah 1, Tunis, Tunisia | Opening hours: Every day: 12:00 PM - 10:30 PM"
      buttons={[
        {
          text: "Reserve Your Table",          href: "https://example.com/reservation"},
        {
          text: "Contact Us",          href: "mailto:info@dapietro.tn"},
        {
          text: "WhatsApp",          href: "https://wa.me/21629560999"},
        {
          text: "Instagram",          href: "https://instagram.com/dapietro"},
        {
          text: "Facebook",          href: "https://facebook.com/dapietro"},
      ]}
    />
  </div>

  <div id="footer" data-section="footer">
      <FooterCard
      logoText="L'antica Pizzeria DaPietro"
      copyrightText="© 2024 L'antica Pizzeria DaPietro. All rights reserved."
      socialLinks={[
        {
          icon: MessageSquare,
          href: "https://wa.me/21629560999",          ariaLabel: "WhatsApp"},
        {
          icon: Instagram,
          href: "https://instagram.com/dapietro",          ariaLabel: "Instagram"},
        {
          icon: Facebook,
          href: "https://facebook.com/dapietro",          ariaLabel: "Facebook"},
      ]}
    />
  </div>
      </ReactLenis>
    </ThemeProvider>
  );
}
