"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import ContactCTA from '@/components/sections/contact/ContactCTA';
import FaqSplitText from '@/components/sections/faq/FaqSplitText';
import FeatureCardThree from '@/components/sections/feature/featureCardThree/FeatureCardThree';
import FooterBase from '@/components/sections/footer/FooterBase';
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 TeamCardFive from '@/components/sections/team/TeamCardFive';
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">
      <TeamCardFive
      animationType="slide-up"
      textboxLayout="default"
      useInvertedBackground={true}
      team={[
        {
          id: "tm1",
          name: "Daniel Rossi",
          role: "Head Chef & Founder",
          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: "Chef Daniel Rossi",
        },
        {
          id: "tm2",
          name: "Maria Bianchi",
          role: "Head Pizzaiola",
          imageSrc: "http://img.b2bpic.net/free-photo/concentrated-young-lady-baker-standing-with-arms-crossed_171337-16097.jpg",
          imageAlt: "Maria Bianchi, Head Pizzaiola",
        },
        {
          id: "tm3",
          name: "Roberto Gallo",
          role: "Restaurant Manager",
          imageSrc: "http://img.b2bpic.net/free-photo/confident-woman-standing-with-arms-crossed_107420-95955.jpg",
          imageAlt: "Roberto Gallo, Restaurant Manager",
        },
      ]}
      title="Meet the Maestros of Flavor"
      description="Behind every delicious pizza is a dedicated team passionate about bringing you the best."
    />
  </div>

  <div id="faq" data-section="faq">
      <FaqSplitText
      useInvertedBackground={false}
      faqs={[
        {
          id: "faq1",
          title: "Do you offer delivery services?",
          content: "Yes, we offer fast and reliable delivery within a 5-mile radius. You can place your order online or by calling us directly.",
        },
        {
          id: "faq2",
          title: "Can I make a reservation for a table?",
          content: "Absolutely! We highly recommend making reservations, especially for weekend evenings. You can book a table through our website or by calling us.",
        },
        {
          id: "faq3",
          title: "Are there gluten-free options available?",
          content: "We offer a delicious gluten-free crust option for all our pizzas. Please inform our staff about any dietary restrictions when ordering.",
        },
        {
          id: "faq4",
          title: "What are your operating hours?",
          content: "We are open Tuesday to Sunday from 12 PM to 10 PM. We are closed on Mondays.",
        },
      ]}
      sideTitle="Your Questions, Our Answers"
      sideDescription="Find quick answers to the most common questions about Pizzeria Daniel's services, menu, and more."
      faqsAnimation="slide-up"
      textPosition="left"
    />
  </div>

  <div id="contact" data-section="contact">
      <ContactCTA
      useInvertedBackground={true}
      background={{
        variant: "radial-gradient",
      }}
      tag="Craving a Slice?"
      title="Order Now or Book Your Table!"
      description="Ready to indulge in the best Italian pizza in town? Place an order for pickup or delivery, or make a reservation for an unforgettable dining experience."
      buttons={[
        {
          text: "Call to Order",
          href: "tel:+1234567890",
        },
        {
          text: "Make a Reservation",
          href: "#",
        },
      ]}
    />
  </div>

  <div id="footer" data-section="footer">
      <FooterBase
      columns={[
        {
          title: "Menu",
          items: [
            {
              label: "Classic Pizzas",
              href: "#menu",
            },
            {
              label: "Specialty Pizzas",
              href: "#menu",
            },
            {
              label: "Drinks",
              href: "#",
            },
            {
              label: "Desserts",
              href: "#",
            },
          ],
        },
        {
          title: "Company",
          items: [
            {
              label: "About Us",
              href: "#about",
            },
            {
              label: "Our Team",
              href: "#team",
            },
            {
              label: "Testimonials",
              href: "#testimonials",
            },
            {
              label: "FAQ",
              href: "#faq",
            },
          ],
        },
        {
          title: "Contact",
          items: [
            {
              label: "Reservations",
              href: "#contact",
            },
            {
              label: "Order Online",
              href: "#",
            },
            {
              label: "Location",
              href: "#",
            },
          ],
        },
      ]}
      logoText="Pizzeria Daniel"
      copyrightText="© 2024 Pizzeria Daniel. All rights reserved."
    />
  </div>
      </ReactLenis>
    </ThemeProvider>
  );
}
