"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import ContactCenter from '@/components/sections/contact/ContactCenter';
import FaqSplitText from '@/components/sections/faq/FaqSplitText';
import FooterLogoReveal from '@/components/sections/footer/FooterLogoReveal';
import HeroSplitDoubleCarousel from '@/components/sections/hero/HeroSplitDoubleCarousel';
import MetricCardEleven from '@/components/sections/metrics/MetricCardEleven';
import NavbarStyleApple from '@/components/navbar/NavbarStyleApple/NavbarStyleApple';
import ProductCardOne from '@/components/sections/product/ProductCardOne';
import TestimonialCardTwelve from '@/components/sections/testimonial/TestimonialCardTwelve';
import TextAbout from '@/components/sections/about/TextAbout';

export default function LandingPage() {
  return (
    <ThemeProvider
        defaultButtonVariant="icon-arrow"
        defaultTextAnimation="reveal-blur"
        borderRadius="rounded"
        contentWidth="medium"
        sizing="medium"
        background="circleGradient"
        cardStyle="solid"
        primaryButtonStyle="shadow"
        secondaryButtonStyle="radial-glow"
        headingFontWeight="normal"
    >
      <ReactLenis root>
  <div id="nav" data-section="nav">
      <NavbarStyleApple
      navItems={[
        { name: "Home", id: "hero" },
        { name: "Menu", id: "menu" },
        { name: "Eventi", id: "about" },
        { name: "Contatti", id: "contact" },
      ]}
      brandName="Taipei Lounge Bar"
    />
  </div>

  <div id="hero" data-section="hero">
      <HeroSplitDoubleCarousel
      background={{ variant: "plain" }}
      title="Taipei Lounge Bar. Eleganza e Sapore nel cuore di Savigliano."
      description="Dall'aperitivo al post-serata, un'esperienza culinaria unica che fonde la tradizione del bistrot con la creatività del nostro lounge bar."
      leftCarouselItems={[
        { imageSrc: "http://img.b2bpic.net/free-photo/retro-theatre-scene-celebrate-world-theatre-day_23-2151211471.jpg", imageAlt: "Taipei Lounge Bar Interior" },
        { imageSrc: "http://img.b2bpic.net/free-photo/classic-old-fashioned-library-space-with-elegant-wooden-interiors_482257-125296.jpg", imageAlt: "Taipei Lounge Bar Interior" },
        { imageSrc: "http://img.b2bpic.net/free-photo/happy-couple-lovely-date_23-2148422309.jpg", imageAlt: "Taipei Lounge Bar Interior" },
        { imageSrc: "http://img.b2bpic.net/free-photo/tables-chairs-restaurant-filtered-image-processed-vinta_1232-2764.jpg", imageAlt: "Taipei Lounge Bar Interior" },
        { imageSrc: "http://img.b2bpic.net/free-photo/there-are-glasses-wine-water-table-with-white-cloth-are-ready-dining_613910-17447.jpg", imageAlt: "Taipei Lounge Bar Interior" },
      ]}
      rightCarouselItems={[
        { imageSrc: "http://img.b2bpic.net/free-photo/italian-chef-is-putting-gourmet-freshly-made-pizza-stone-oven_613910-14667.jpg", imageAlt: "Pizza" },
        { imageSrc: "http://img.b2bpic.net/free-photo/pasta-with-pesto-parmesan_23-2152015851.jpg", imageAlt: "Tajarin" },
        { imageSrc: "http://img.b2bpic.net/free-photo/pizza-with-ham-mushroom_1203-8919.jpg", imageAlt: "Pizza" },
        { imageSrc: "http://img.b2bpic.net/free-photo/appetizer-main-course-marble-surface_114579-54648.jpg", imageAlt: "Tajarin" },
        { imageSrc: "http://img.b2bpic.net/free-photo/assorted-meat-pizza-with-jamon-olives_501050-772.jpg", imageAlt: "Pizza" },
      ]}
      buttons={[
        { text: "Prenota un Tavolo", href: "#contact" },
        { text: "Scopri il Menu", href: "https://taipei.digimenu.it" },
      ]}
      avatars={[
        { src: "http://img.b2bpic.net/free-photo/cheerful-couple-talking-while-eating-lunch-restaurant_637285-9017.jpg", alt: "Customer" },
        { src: "http://img.b2bpic.net/free-photo/friends-eating-conversating-restaurant_23-2148006704.jpg", alt: "Customer" },
        { src: "http://img.b2bpic.net/free-photo/friends-eating-pizza-side-view_23-2149872410.jpg", alt: "Customer" },
        { src: "http://img.b2bpic.net/free-photo/couple-enjoying-food-restaurant_23-2149269179.jpg", alt: "Customer" },
        { src: "http://img.b2bpic.net/free-photo/portrait-expressive-woman-posing-studio_344912-185.jpg", alt: "Customer" },
      ]}
      avatarText="Più di 500 clienti soddisfatti"
      marqueeItems={[
        { type: "image", src: "http://img.b2bpic.net/free-photo/vintage-light-lamp_1203-3094.jpg", alt: "Vintage Lamp" },
        { type: "image", src: "http://img.b2bpic.net/free-photo/high-angle-shot-fancy-restaurant-round-table-with-windows_181624-26298.jpg", alt: "Interior" },
        { type: "image", src: "http://img.b2bpic.net/free-photo/vintage-lamps-cafe_23-2147785789.jpg", alt: "Lighting" },
        { type: "image", src: "http://img.b2bpic.net/free-photo/view-from-ceiling-decorated-celebration-hall-with-round-tables_8353-10198.jpg", alt: "Hall" },
        { type: "image", src: "http://img.b2bpic.net/free-photo/sexy-brunette-girl-seductive-black-clothes-smokes-hookah-while-sitting-counter-nightclub_613910-19138.jpg", alt: "Nightclub" },
      ]}
    />
  </div>

  <div id="about" data-section="about">
      <TextAbout
      useInvertedBackground={true}
      title="Un ambiente unico, una cucina curata"
      buttons={[
        { text: "Contattaci", href: "#contact" },
      ]}
    />
  </div>

  <div id="menu" data-section="menu">
      <ProductCardOne
      animationType="slide-up"
      textboxLayout="default"
      gridVariant="three-columns-all-equal-width"
      useInvertedBackground={false}
      products={[
        { id: "p1", name: "Pizza Salsiccia e Cipolla", price: "12.00€", imageSrc: "http://img.b2bpic.net/free-photo/delicious-traditional-pizza-assortment_23-2148921316.jpg" },
        { id: "p2", name: "Tajarin con le cozze", price: "15.00€", imageSrc: "http://img.b2bpic.net/free-photo/pickle-tray-mushroom-bowl-accompanied-with-pasta-platter-marble-surface_114579-54655.jpg" },
        { id: "p3", name: "Cocktail d'Autore", price: "9.00€", imageSrc: "http://img.b2bpic.net/free-photo/baking-delicious-pizza-with-wood-fired-oven_23-2150134253.jpg" },
        { id: "p4", name: "Tagliata di Fassona", price: "22.00€", imageSrc: "http://img.b2bpic.net/free-photo/man-eating-bolognese-penne-pasta-garnished-with-herbs_140725-8738.jpg" },
        { id: "p5", name: "Hamburger Gourmet", price: "14.00€", imageSrc: "http://img.b2bpic.net/free-photo/cheese-mushroom-pizza-wooden-table-with-fork-knife_23-2147922446.jpg" },
        { id: "p6", name: "Dolce Taipei", price: "7.00€", imageSrc: "http://img.b2bpic.net/free-photo/selective-focus-shot-delicious-unique-dish-beautifully-designed-served_181624-19185.jpg" },
      ]}
      title="Le Nostre Specialità"
      description="Scopri i piatti iconici che i nostri clienti amano di più."
    />
  </div>

  <div id="gallery" data-section="gallery">
      <MetricCardEleven
      animationType="blur-reveal"
      textboxLayout="default"
      useInvertedBackground={true}
      metrics={[
        { id: "m1", value: "4.1/5", title: "Media Recensioni Google", description: "Clienti soddisfatti ogni giorno.", imageSrc: "http://img.b2bpic.net/free-photo/charming-african-american-woman-model-black-jacket-hat-waist-bag-relaxing-cafe-free-time-with-mobile-phone_627829-5382.jpg" },
        { id: "m2", value: "100%", title: "Eleganza Garantita", description: "Atmosfera moderna per i tuoi eventi.", imageSrc: "http://img.b2bpic.net/free-photo/peaceful-empty-library-featuring-wooden-shelves-vintage-green-lamps_482257-125711.jpg" },
        { id: "m3", value: "7/7", title: "Sempre aperti", description: "Prenota il tuo tavolo ora.", imageSrc: "http://img.b2bpic.net/free-photo/cocktail-refreshment-neo-futuristic-style_23-2151370374.jpg" },
      ]}
      title="Il Nostro Mondo"
      description="Vieni a trovarci a Savigliano."
    />
  </div>

  <div id="testimonials" data-section="testimonials">
      <TestimonialCardTwelve
      cardTag="Recensioni"
      useInvertedBackground={false}
      testimonials={[
        { id: "t1", name: "Marco Rossi", imageSrc: "http://img.b2bpic.net/free-photo/group-friends-eating-restaurant_23-2148395390.jpg" },
        { id: "t2", name: "Elena Bianchi", imageSrc: "http://img.b2bpic.net/free-photo/expressive-young-girl-posing-studio_176474-68234.jpg" },
        { id: "t3", name: "Luca Verdi", imageSrc: "http://img.b2bpic.net/free-photo/beautiful-cheerful-girl-with-tattooes-dreadlocks-is-sitting-food-court-while-drinking-coffee_613910-17170.jpg" },
        { id: "t4", name: "Anna Neri", imageSrc: "http://img.b2bpic.net/free-photo/portrait-handsome-asian-man-friends-reunion_23-2149244687.jpg" },
        { id: "t5", name: "Giulia Gialli", imageSrc: "http://img.b2bpic.net/free-photo/smiling-woman-relaxing-near-hot-beverage-gift_23-2147937136.jpg" },
        { id: "t6", name: "Paolo Blu", imageSrc: "http://img.b2bpic.net/free-photo/group-young-people-gathering-dinner_23-2148454163.jpg" },
      ]}
      cardTitle="Cosa dicono di noi"
      cardAnimation="slide-up"
    />
  </div>

  <div id="faq" data-section="faq">
      <FaqSplitText
      useInvertedBackground={true}
      faqs={[
        { id: "f1", title: "Dove si trova il locale?", content: "Siamo nel centro di Savigliano, CN." },
        { id: "f2", title: "È necessaria la prenotazione?", content: "Consigliata, specialmente nel weekend." },
        { id: "f3", title: "Avete opzioni vegetariane?", content: "Certamente, il nostro menu offre diverse opzioni." },
      ]}
      sideTitle="Domande Frequenti"
      faqsAnimation="blur-reveal"
    />
  </div>

  <div id="contact" data-section="contact">
      <ContactCenter
      useInvertedBackground={false}
      background={{ variant: "plain" }}
      tag="Contatti"
      title="Prenota ora il tuo tavolo"
      description="Siamo pronti ad accoglierti per colazioni, aperitivi, pizze e cene."
    />
  </div>

  <div id="footer" data-section="footer">
      <FooterLogoReveal
      logoText="Taipei Lounge Bar"
      leftLink={{ text: "Privacy Policy", href: "#" }}
      rightLink={{ text: "Instagram", href: "#" }}
    />
  </div>
      </ReactLenis>
    </ThemeProvider>
  );
}
