"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import ContactCenter from '@/components/sections/contact/ContactCenter';
import FaqDouble from '@/components/sections/faq/FaqDouble';
import FeatureCardThree from '@/components/sections/feature/featureCardThree/FeatureCardThree';
import FooterLogoReveal from '@/components/sections/footer/FooterLogoReveal';
import HeroSplitDoubleCarousel from '@/components/sections/hero/HeroSplitDoubleCarousel';
import MetricCardTwo from '@/components/sections/metrics/MetricCardTwo';
import NavbarStyleFullscreen from '@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen';
import ProductCardOne from '@/components/sections/product/ProductCardOne';
import SplitAbout from '@/components/sections/about/SplitAbout';
import TeamCardSix from '@/components/sections/team/TeamCardSix';
import TestimonialCardFive from '@/components/sections/testimonial/TestimonialCardFive';

export default function LandingPage() {
  return (
    <ThemeProvider
        defaultButtonVariant="elastic-effect"
        defaultTextAnimation="background-highlight"
        borderRadius="soft"
        contentWidth="medium"
        sizing="largeSmallSizeMediumTitles"
        background="floatingGradient"
        cardStyle="gradient-mesh"
        primaryButtonStyle="gradient"
        secondaryButtonStyle="layered"
        headingFontWeight="semibold"
    >
      <ReactLenis root>
  <div id="nav" data-section="nav">
      <NavbarStyleFullscreen
      navItems={[
        {
          name: "Home",          id: "#home"},
        {
          name: "Menu",          id: "#menu"},
        {
          name: "About Us",          id: "#about"},
        {
          name: "Testimonials",          id: "#testimonials"},
        {
          name: "Contact",          id: "#contact"},
      ]}
      logoSrc="http://img.b2bpic.net/free-vector/flat-logos-collection-vintage-pizzeria_23-2150220616.jpg"
      logoAlt="Pizzeria Daniel Logo"
      brandName="Pizzeria Daniel"
    />
  </div>

  <div id="home" data-section="home">
      <HeroSplitDoubleCarousel
      background={{
        variant: "plain"}}
      title="Taste the Tradition. Experience Pizzeria Daniel."
      description="Authentic Italian pizzas crafted with the freshest ingredients and a passion for flavor. Join us for a culinary journey."
      leftCarouselItems={[
        {
          imageSrc: "http://img.b2bpic.net/free-photo/top-view-delicious-pizza-box_23-2149962670.jpg",          imageAlt: "Delicious pepperoni pizza"},
        {
          imageSrc: "http://img.b2bpic.net/free-photo/view-fluffy-pizza-arrangement_23-2148574239.jpg",          imageAlt: "Vibrant vegetable pizza"},
        {
          imageSrc: "http://img.b2bpic.net/free-photo/diet-cheese-vegetable-olive-closeup_1122-2450.jpg",          imageAlt: "A slice of melted cheese pizza"},
        {
          imageSrc: "http://img.b2bpic.net/free-photo/experienced-chef-is-putting-his-pizza-oven-using-special-giant-spatula_613910-3392.jpg",          imageAlt: "Chef preparing pizza dough"},
        {
          imageSrc: "http://img.b2bpic.net/free-photo/top-view-yummy-creamy-cake-with-fruits-candies-black-table_140725-104675.jpg",          imageAlt: "Hot pizza coming out of the oven"},
        {
          imageSrc: "http://img.b2bpic.net/free-photo/delicious-pizza-outdoors_23-2150900905.jpg",          imageAlt: "Friends enjoying pizza at the restaurant"},
      ]}
      rightCarouselItems={[
        {
          imageSrc: "http://img.b2bpic.net/free-photo/male-hands-kneading-dough-sprinkled-with-flour-table_23-2147872763.jpg",          imageAlt: "Chef preparing pizza dough"},
        {
          imageSrc: "http://img.b2bpic.net/free-photo/top-view-mushroom-pizza-sliced-with-cheese-olives-dark-desk-food-italian-pizza-bake-dough-meal_140725-101999.jpg",          imageAlt: "Hot pizza coming out of the oven"},
        {
          imageSrc: "http://img.b2bpic.net/free-photo/three-firends-together-eating-pizza-cafe_1303-26155.jpg",          imageAlt: "Friends enjoying pizza at the restaurant"},
        {
          imageSrc: "http://img.b2bpic.net/free-photo/delicious-pizza-traditional-italian-pizza_1328-3992.jpg",          imageAlt: "Delicious pepperoni pizza"},
        {
          imageSrc: "http://img.b2bpic.net/free-photo/view-tasty-food-assortment_23-2148601664.jpg",          imageAlt: "Vibrant vegetable pizza"},
        {
          imageSrc: "http://img.b2bpic.net/free-photo/view-delicious-pizza-anime-style_23-2151061972.jpg",          imageAlt: "A slice of melted cheese pizza"},
      ]}
      tag="Since 1999"
      buttons={[
        {
          text: "View Our Menu",          href: "#menu"},
        {
          text: "Order Now",          href: "#contact"},
      ]}
      carouselPosition="right"
      showMarqueeCard={true}
      avatars={[
        {
          src: "http://img.b2bpic.net/free-photo/arm-close-up-woman-with-shopping-bags_1098-2428.jpg",          alt: "Smiling woman customer"},
        {
          src: "http://img.b2bpic.net/free-photo/happy-young-elegant-man-smiling_23-2148332976.jpg",          alt: "Happy man customer"},
        {
          src: "http://img.b2bpic.net/free-photo/positive-brunette-woman-laughing-sincerely-striped-background-shorthaired-girl-orange-sweatshirt-smiling-outdoors_197531-29500.jpg",          alt: "Young person smiling"},
        {
          src: "http://img.b2bpic.net/free-photo/5-star-customer-review_23-2151952994.jpg",          alt: "Customer profile image"},
        {
          src: "http://img.b2bpic.net/free-photo/young-person-holding-rose-valentines_1048-17886.jpg",          alt: "Friendly face avatar"},
      ]}
      avatarText="Join our 100K+ happy customers!"
      marqueeItems={[
        {
          type: "text",          text: "Fresh Ingredients"},
        {
          type: "text",          text: "Authentic Recipes"},
        {
          type: "text",          text: "Hand-Tossed Perfection"},
        {
          type: "text",          text: "Speedy Delivery"},
        {
          type: "text",          text: "Cozy Atmosphere"},
      ]}
    />
  </div>

  <div id="about" data-section="about">
      <SplitAbout
      textboxLayout="default"
      useInvertedBackground={false}
      title="Our Story: A Family Legacy of Flavor"
      description="Pizzeria Daniel began with a simple recipe and a big dream. For over two decades, we've perfected the art of pizza making, blending traditional Italian techniques with the freshest local ingredients. Every dish tells a story of passion, quality, and community."
      bulletPoints={[
        {
          title: "Authentic Recipes",          description: "Passed down through generations, ensuring a taste of true Italy."},
        {
          title: "Finest Ingredients",          description: "Sourced locally and imported from Italy for unparalleled freshness."},
        {
          title: "Hand-Tossed Perfection",          description: "Our dough is made fresh daily and hand-tossed to create the perfect crust."},
        {
          title: "Warm Atmosphere",          description: "A cozy, family-friendly dining experience for everyone."},
      ]}
      imageSrc="http://img.b2bpic.net/free-photo/margherita-pizza-delight_23-2151950796.jpg"
      imageAlt="Cozy interior of Pizzeria Daniel"
      mediaAnimation="slide-up"
    />
  </div>

  <div id="menu" data-section="menu">
      <ProductCardOne
      animationType="slide-up"
      textboxLayout="default"
      gridVariant="three-columns-all-equal-width"
      useInvertedBackground={true}
      products={[
        {
          id: "p1",          name: "Classic Margherita",          price: "$18.00",          imageSrc: "http://img.b2bpic.net/free-photo/top-view-pizza-frame-with-copy-space_23-2148574220.jpg",          imageAlt: "Classic Margherita pizza"},
        {
          id: "p2",          name: "Spicy Diavola",          price: "$22.00",          imageSrc: "http://img.b2bpic.net/free-photo/pizza-restaurant-table_7939-2552.jpg",          imageAlt: "Spicy Diavola pizza with pepperoni"},
        {
          id: "p3",          name: "Vegetarian Delight",          price: "$20.00",          imageSrc: "http://img.b2bpic.net/free-photo/top-view-dough-tomatoes-arrangement_23-2148601638.jpg",          imageAlt: "Colorful Vegetarian pizza"},
        {
          id: "p4",          name: "Quattro Formaggi",          price: "$23.00",          imageSrc: "http://img.b2bpic.net/free-photo/margarita-pizza-with-melted-cheese-cut-into-slices_114579-3002.jpg",          imageAlt: "Four cheese Quattro Formaggi pizza"},
        {
          id: "p5",          name: "Prosciutto e Funghi",          price: "$24.00",          imageSrc: "http://img.b2bpic.net/free-photo/pizza-table-light-blue-color_58702-761.jpg",          imageAlt: "Prosciutto and mushroom pizza"},
        {
          id: "p6",          name: "Daniel's Special",          price: "$26.00",          imageSrc: "http://img.b2bpic.net/free-photo/side-view-man-sprinkles-kutab-with-sumach-with-yogurt_141793-3879.jpg",          imageAlt: "Chef Daniel's special pizza"},
        {
          id: "p7",          name: "Capricciosa",          price: "$21.00",          imageSrc: "http://img.b2bpic.net/free-photo/high-angle-woman-cutting-pizza_23-2150317024.jpg",          imageAlt: "Capricciosa pizza with artichokes"},
        {
          id: "p8",          name: "Marinara",          price: "$17.00",          imageSrc: "http://img.b2bpic.net/free-photo/top-view-pizza-slices-with-toppings_23-2148601642.jpg",          imageAlt: "Marinara pizza with garlic and oregano"},
      ]}
      title="Our Signature Pizzas"
      description="Explore our delicious range of traditional and specialty pizzas, crafted to satisfy every craving."
    />
  </div>

  <div id="features" data-section="features">
      <FeatureCardThree
      animationType="slide-up"
      textboxLayout="default"
      gridVariant="two-columns-alternating-heights"
      useInvertedBackground={false}
      features={[
        {
          title: "Fresh, Local Ingredients",          description: "We partner with local farmers to bring you the freshest produce daily, enhancing every flavor.",          imageSrc: "http://img.b2bpic.net/free-photo/different-seasonal-autumn-vegetables-fruits-old-background_1220-1653.jpg",          imageAlt: "Fresh vegetables"},
        {
          title: "Artisan Hand-Tossed Crusts",          description: "Our master pizzaiolos meticulously hand-toss each dough, ensuring a perfect, crispy base.",          imageSrc: "http://img.b2bpic.net/free-photo/top-view-mushroom-pizza-with-cheese-olives-dark-desk-food-italian-pizza-bake-dough-meal_140725-102004.jpg",          imageAlt: "Artisan pizza crust"},
        {
          title: "Fast & Reliable Delivery",          description: "Enjoy Pizzeria Daniel's deliciousness from the comfort of your home with our speedy service.",          imageSrc: "http://img.b2bpic.net/free-photo/delivery-man-wearing-red-uniform-cap-facial-protective-mask-holding-pizza-boxes-standing-with-hand-near-mouth-telling-secret-isolated-blue-space_141793-22579.jpg",          imageAlt: "Pizza delivery person"},
      ]}
      title="The Daniel Difference"
      description="What makes Pizzeria Daniel truly special? It's our unwavering commitment to quality and tradition."
    />
  </div>

  <div id="testimonials" data-section="testimonials">
      <TestimonialCardFive
      textboxLayout="default"
      useInvertedBackground={true}
      testimonials={[
        {
          id: "t1",          name: "Maria S.",          date: "July 20, 2024",          title: "Best Pizza in Town!",          quote: "Pizzeria Daniel never disappoints! The Margherita is heavenly, and the crust is simply perfect. A true gem!",          tag: "Food Lover",          avatarSrc: "http://img.b2bpic.net/free-photo/smiley-girl-holding-shopping-bags_23-2148225666.jpg",          avatarAlt: "Maria S.",          imageSrc: "http://img.b2bpic.net/free-photo/plate-with-food_1098-12937.jpg",          imageAlt: "People sharing a pizza"},
        {
          id: "t2",          name: "Giovanni R.",          date: "July 18, 2024",          title: "Authentic Italian Taste",          quote: "Being Italian, I can truly say this is the most authentic pizza I've had outside of Italy. Bellissimo!",          tag: "Italian Expat",          avatarSrc: "http://img.b2bpic.net/free-photo/successful-young-man-stylish-hat-relaxing-alone-cozy-cafeteria-lunch-break-looking-with-happy-expression_273609-1935.jpg",          avatarAlt: "Giovanni R.",          imageSrc: "http://img.b2bpic.net/free-photo/group-friends-eating-pizza-home-together_23-2150419418.jpg",          imageAlt: "Pizza slice being served"},
        {
          id: "t3",          name: "Sophia L.",          date: "July 15, 2024",          title: "Family Favorite!",          quote: "My kids absolutely love Pizzeria Daniel. It's our go-to for family pizza night. Always fresh and delicious!",          tag: "Happy Mom",          avatarSrc: "http://img.b2bpic.net/free-photo/happy-girl-takes-selfie-with-her-phone-emotions-concept_169016-64227.jpg",          avatarAlt: "Sophia L.",          imageSrc: "http://img.b2bpic.net/free-photo/friends-sharing-pizza_23-2147644229.jpg",          imageAlt: "Family eating pizza at home"},
        {
          id: "t4",          name: "David K.",          date: "July 12, 2024",          title: "Exceptional Quality",          quote: "From the ingredients to the service, everything about Pizzeria Daniel is top-notch. Highly recommend the Diavola!",          tag: "Regular Customer",          avatarSrc: "http://img.b2bpic.net/free-photo/man-looking-somethig-funny_1098-21824.jpg",          avatarAlt: "David K.",          imageSrc: "http://img.b2bpic.net/free-photo/pizza-oven-restaurant_1147-94.jpg",          imageAlt: "Pizza in a wood-fired oven"},
        {
          id: "t5",          name: "Elena P.",          date: "July 10, 2024",          title: "Cozy Ambiance",          quote: "Not just great pizza, but a wonderful atmosphere too. Perfect for a date night or a casual meal with friends.",          tag: "Local Foodie",          avatarSrc: "http://img.b2bpic.net/free-photo/smiling-young-beautiful-girl-looking-straight-ahead-wearing-white-t-shirt-isolated-purple_141793-86566.jpg",          avatarAlt: "Elena P.",          imageSrc: "http://img.b2bpic.net/free-photo/top-view-delicious-mushroom-pizza-with-cheese-olives-dark-purple-surface-meal-italian-food-dough-snack-pizza_140725-101753.jpg",          imageAlt: "Pizza on a cutting board"},
      ]}
      title="What Our Customers Say"
      description="Hear from the happy patrons who've made Pizzeria Daniel their favorite spot for authentic Italian pizza."
    />
  </div>

  <div id="metrics" data-section="metrics">
      <MetricCardTwo
      animationType="depth-3d"
      textboxLayout="default"
      gridVariant="uniform-all-items-equal"
      useInvertedBackground={false}
      metrics={[
        {
          id: "m1",          value: "25+",          description: "Years of Culinary Excellence"},
        {
          id: "m2",          value: "100K+",          description: "Pizzas Baked & Served"},
        {
          id: "m3",          value: "5-Star",          description: "Average Customer Rating"},
      ]}
      title="Our Journey in Numbers"
      description="Celebrate the milestones that define Pizzeria Daniel's legacy of flavor and passion."
    />
  </div>

  <div id="team" data-section="team">
      <TeamCardSix
      animationType="slide-up"
      textboxLayout="default"
      useInvertedBackground={true}
      gridVariant="three-columns-all-equal-width"
      members={[
        {
          id: "tm1",          name: "Даніель Россі",          role: "Шеф-кухар і Засновник",          imageSrc: "http://img.b2bpic.net/free-photo/male-chef-cook-wearing-black-uniform-cook-hat-looking-camera-with-confident-smile-face-with-crossed-hands-chest-standing-purple-background_141793-54319.jpg",          imageAlt: "Шеф-кухар Даніель Россі"},
        {
          id: "tm2",          name: "Марія Б'янкі",          role: "Головна Піцайоло",          imageSrc: "http://img.b2bpic.net/free-photo/concentrated-young-lady-baker-standing-with-arms-crossed_171337-16097.jpg",          imageAlt: "Марія Б'янкі, Головна Піцайоло"},
        {
          id: "tm3",          name: "Роберто Галло",          role: "Менеджер Ресторану",          imageSrc: "http://img.b2bpic.net/free-photo/confident-woman-standing-with-arms-crossed_107420-95955.jpg",          imageAlt: "Роберто Галло, Менеджер Ресторану"},
      ]}
      title="Зустрічайте Маестро Смаку"
      description="За кожною смачною піцою стоїть віддана команда, яка прагне принести вам найкраще."
    />
  </div>

  <div id="faq" data-section="faq">
      <FaqDouble
      useInvertedBackground={false}
      faqsAnimation="slide-up"
      faqs={[
        {
          id: "faq1",          title: "Чи пропонуєте ви послуги доставки?",          content: "Так, ми пропонуємо швидку та надійну доставку в радіусі 5 миль. Ви можете зробити замовлення онлайн або зателефонувавши нам безпосередньо."},
        {
          id: "faq2",          title: "Чи можу я зарезервувати столик?",          content: "Безумовно! Ми настійно рекомендуємо бронювати столики, особливо на вихідні вечори. Ви можете забронювати столик через наш веб-сайт або зателефонувавши нам."},
        {
          id: "faq3",          title: "Чи є безглютенові варіанти?",          content: "Ми пропонуємо смачну безглютенову основу для всіх наших піц. Будь ласка, повідомте наш персонал про будь-які дієтичні обмеження при замовленні."},
        {
          id: "faq4",          title: "Який у вас графік роботи?",          content: "Ми працюємо з вівторка по неділю з 12:00 до 22:00. По понеділках ми зачинені."},
      ]}
      title="Ваші Запитання, Наші Відповіді"
      description="Знайдіть швидкі відповіді на найпоширеніші запитання про послуги, меню та інше Pizzeria Daniel."
      textboxLayout="default"
    />
  </div>

  <div id="contact" data-section="contact">
      <ContactCenter
      useInvertedBackground={true}
      background={{
        variant: "radial-gradient"}}
      tag="Хочете шматочок?"
      title="Замовляйте Зараз або Забронюйте Свій Столик!"
      description="Готові поласувати найкращою італійською піцою в місті? Зробіть замовлення на самовивіз або доставку, або забронюйте столик для незабутнього обіду."
    />
  </div>

  <div id="footer" data-section="footer">
      <FooterLogoReveal
      logoText="Pizzeria Daniel"
      leftLink={{
        text: "Меню",        href: "#menu"}}
      rightLink={{
        text: "Контакти",        href: "#contact"}}
    />
  </div>
      </ReactLenis>
    </ThemeProvider>
  );
}
