"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import ContactSplitForm from '@/components/sections/contact/ContactSplitForm';
import FeatureCardNine from '@/components/sections/feature/FeatureCardNine';
import FooterCard from '@/components/sections/footer/FooterCard';
import HeroBillboard from '@/components/sections/hero/HeroBillboard';
import MediaAbout from '@/components/sections/about/MediaAbout';
import NavbarLayoutFloatingInline from '@/components/navbar/NavbarLayoutFloatingInline';
import ProductCardTwo from '@/components/sections/product/ProductCardTwo';
import SocialProofOne from '@/components/sections/socialProof/SocialProofOne';
import TestimonialCardFive from '@/components/sections/testimonial/TestimonialCardFive';

export default function LandingPage() {
  return (
    <ThemeProvider
        defaultButtonVariant="icon-arrow"
        defaultTextAnimation="background-highlight"
        borderRadius="soft"
        contentWidth="small"
        sizing="mediumSizeLargeTitles"
        background="noiseDiagonalGradient"
        cardStyle="gradient-radial"
        primaryButtonStyle="diagonal-gradient"
        secondaryButtonStyle="radial-glow"
        headingFontWeight="normal"
    >
      <ReactLenis root>
  <div id="nav" data-section="nav">
      <NavbarLayoutFloatingInline
      navItems={[
        {
          name: "Menu",
          id: "menu",
        },
        {
          name: "Story",
          id: "about",
        },
        {
          name: "Reservations",
          id: "contact",
        },
      ]}
      brandName="La Viola"
      button={{
        text: "Call Now",
        href: "tel:+48575624342",
      }}
    />
  </div>

  <div id="hero" data-section="hero">
      <HeroBillboard
      background={{
        variant: "sparkles-gradient",
      }}
      title="Authentic Italian Pizza & Pasta in Warsaw"
      description="Fresh ingredients, handmade recipes, unforgettable taste in the heart of Warsaw."
      buttons={[
        {
          text: "Call Now",
          href: "tel:+48575624342",
        },
        {
          text: "Reserve a Table",
          href: "#contact",
        },
      ]}
      imageSrc="http://img.b2bpic.net/free-photo/close-up-delicious-pizza_23-2150852171.jpg"
      mediaAnimation="blur-reveal"
      avatars={[
        {
          src: "http://img.b2bpic.net/free-photo/view-pizza-cutter-arrangement_23-2148574228.jpg",
          alt: "Authentic pizza prep",
        },
        {
          src: "http://img.b2bpic.net/free-photo/top-view-margherita-pizza-topped-with-rocket_141793-2150.jpg",
          alt: "Margherita pizza slice",
        },
        {
          src: "http://img.b2bpic.net/free-photo/delicious-pizza-with-leaves-top-view_23-2149298094.jpg",
          alt: "Italian pizza fresh basil",
        },
        {
          src: "http://img.b2bpic.net/free-photo/top-view-pizza-frame-with-copy-space_23-2148574220.jpg",
          alt: "Gourmet pizza dinner",
        },
        {
          src: "http://img.b2bpic.net/free-photo/delicious-pizza-with-fresh-cheese_23-2150096958.jpg",
          alt: "Delicious pizza cheese",
        },
      ]}
      marqueeItems={[
        {
          type: "text",
          text: "Handmade Pasta",
        },
        {
          type: "text",
          text: "Wood-fired Pizza",
        },
        {
          type: "text",
          text: "Fresh Ingredients",
        },
        {
          type: "text",
          text: "Authentic Atmosphere",
        },
        {
          type: "text",
          text: "Warsaw Siekierki",
        },
      ]}
    />
  </div>

  <div id="features" data-section="features">
      <FeatureCardNine
      animationType="slide-up"
      textboxLayout="default"
      useInvertedBackground={false}
      features={[
        {
          title: "Artisanal Dough",
          description: "Hand-kneaded daily for 48 hours.",
          phoneOne: {
            imageSrc: "http://img.b2bpic.net/free-photo/male-hand-gloves-making-dough-marble-table_2831-7926.jpg",
          },
          phoneTwo: {
            imageSrc: "http://img.b2bpic.net/free-photo/high-angle-delicious-pizza-with-tomatoes-parmesan-cheese_23-2148753756.jpg",
          },
          imageSrc: "http://img.b2bpic.net/free-photo/close-up-delicious-pizza_23-2150852171.jpg",
          imageAlt: "fresh pizza dough preparation",
        },
        {
          title: "Fresh Pasta",
          description: "Homemade recipes passed through generations.",
          phoneOne: {
            imageSrc: "http://img.b2bpic.net/free-photo/chicken-caesar-table-top-view_140725-6547.jpg",
          },
          phoneTwo: {
            imageSrc: "http://img.b2bpic.net/free-photo/top-view-italian-pasta-cooked-tasty-salted-inside-round-green-plate-with-greens-raw-pasta-pink-desk_140725-24394.jpg",
          },
          imageSrc: "http://img.b2bpic.net/free-photo/woman-blue-hat-sits-windowsill-cafe_8353-194.jpg",
          imageAlt: "fresh pizza dough preparation",
        },
        {
          title: "Warm Vibe",
          description: "The cozy heart of Siekierki.",
          phoneOne: {
            imageSrc: "http://img.b2bpic.net/free-photo/top-view-pizza-caesar_140725-12439.jpg",
          },
          phoneTwo: {
            imageSrc: "http://img.b2bpic.net/free-photo/high-angle-dining-table-with-cutlery_23-2150312256.jpg",
          },
          imageSrc: "http://img.b2bpic.net/free-photo/pipe-rigate-pasta-wooden-board-towel-marble-surface_114579-80976.jpg",
          imageAlt: "fresh pizza dough preparation",
        },
      ]}
      showStepNumbers={true}
      title="Why La Viola?"
      description="Experience true artisanal craft in every bite."
    />
  </div>

  <div id="menu" data-section="menu">
      <ProductCardTwo
      animationType="slide-up"
      textboxLayout="default"
      gridVariant="three-columns-all-equal-width"
      useInvertedBackground={false}
      products={[
        {
          id: "1",
          brand: "Signature",
          name: "Margherita",
          price: "38 PLN",
          rating: 5,
          reviewCount: "120",
          imageSrc: "http://img.b2bpic.net/free-photo/top-view-pizza-caesar_140725-12439.jpg",
        },
        {
          id: "2",
          brand: "Homemade",
          name: "Carbonara",
          price: "42 PLN",
          rating: 5,
          reviewCount: "95",
          imageSrc: "http://img.b2bpic.net/free-photo/pipe-rigate-pasta-wooden-board-towel-marble-surface_114579-80976.jpg",
        },
        {
          id: "3",
          brand: "Tradition",
          name: "Pierogi Italiani",
          price: "35 PLN",
          rating: 4,
          reviewCount: "80",
          imageSrc: "http://img.b2bpic.net/free-photo/hand-taking-pinch-flour-from-wooden-bowl-gray_114579-39125.jpg",
        },
        {
          id: "4",
          brand: "Premium",
          name: "Prosciutto Pizza",
          price: "48 PLN",
          rating: 5,
          reviewCount: "60",
          imageSrc: "http://img.b2bpic.net/free-photo/side-view-chef-baking-delicious-pizza_23-2150134276.jpg",
        },
        {
          id: "5",
          brand: "Dolce",
          name: "Lemon Tart",
          price: "22 PLN",
          rating: 5,
          reviewCount: "45",
          imageSrc: "http://img.b2bpic.net/free-photo/top-closer-view-dried-raisins-from-grape-with-fresh-green-grapes-light-blue-surface-dry-raisin-fruit-color-photo_140725-53954.jpg",
        },
        {
          id: "6",
          brand: "Chef",
          name: "Seasonal Pasta",
          price: "45 PLN",
          rating: 4,
          reviewCount: "35",
          imageSrc: "http://img.b2bpic.net/free-photo/penne-pasta-with-tomato-sauce-beef-grated-cheese_140725-1594.jpg",
        },
      ]}
      title="Menu Highlights"
      description="Premium ingredients, authentic recipes."
    />
  </div>

  <div id="about" data-section="about">
      <MediaAbout
      useInvertedBackground={false}
      title="The Story of La Viola"
      description="Nestled in Siekierki, La Viola was born from a simple dream: to bring true, warm Italian hospitality to Warsaw. Our kitchen is an extension of our home, where every plate of handmade pasta and wood-fired pizza tells a story of tradition, fresh ingredients, and love for community."
      imageSrc="http://img.b2bpic.net/free-photo/person-putting-lettuce-leaves-bowl-kitchen_23-2147810113.jpg"
    />
  </div>

  <div id="testimonials" data-section="testimonials">
      <TestimonialCardFive
      textboxLayout="split"
      useInvertedBackground={false}
      testimonials={[
        {
          id: "1",
          name: "Anna K.",
          date: "Jan 2025",
          title: "Amazing Pizza",
          quote: "Best pizza in the neighborhood, authentic dough!",
          tag: "Regular",
          avatarSrc: "http://img.b2bpic.net/free-photo/adorable-young-female-with-dark-long-hair-dressed-striped-t-shirt-coffee-shop-drinks-fresh-juice-espresso_273609-2791.jpg",
          imageSrc: "http://img.b2bpic.net/free-photo/close-up-delicious-pizza_23-2150852171.jpg",
          imageAlt: "portrait young woman restaurant",
        },
        {
          id: "2",
          name: "Piotr W.",
          date: "Dec 2024",
          title: "Great Vibe",
          quote: "Kind service and amazing atmosphere, love it.",
          tag: "Dining",
          avatarSrc: "http://img.b2bpic.net/free-photo/portrait-adorable-blue-eyed-female-model-with-hair-knot-wears-overalls-enjoys-drinking-fruit-smoothie-looks-happily-somewhere-while-sits-cozy-restaurant-beautiful-teenage-girl-coffee-shop_273609-3038.jpg",
          imageSrc: "http://img.b2bpic.net/free-photo/male-hand-gloves-making-dough-marble-table_2831-7926.jpg",
          imageAlt: "portrait young woman restaurant",
        },
        {
          id: "3",
          name: "Magda J.",
          date: "Dec 2024",
          title: "Top Quality",
          quote: "Chicago-level pizza quality in Siekierki.",
          tag: "Takeaway",
          avatarSrc: "http://img.b2bpic.net/free-photo/medium-shot-smiley-woman-with-coffee-cup_23-2149005429.jpg",
          imageSrc: "http://img.b2bpic.net/free-photo/chicken-caesar-table-top-view_140725-6547.jpg",
          imageAlt: "portrait young woman restaurant",
        },
        {
          id: "4",
          name: "Tomasz B.",
          date: "Nov 2024",
          title: "Super Fresh",
          quote: "Homemade pasta is out of this world.",
          tag: "Dining",
          avatarSrc: "http://img.b2bpic.net/free-photo/distracted-student-sitting-class_1153-23.jpg",
          imageSrc: "http://img.b2bpic.net/free-photo/woman-blue-hat-sits-windowsill-cafe_8353-194.jpg",
          imageAlt: "portrait young woman restaurant",
        },
        {
          id: "5",
          name: "Karolina S.",
          date: "Oct 2024",
          title: "Highly Recommended",
          quote: "Warm hospitality, we felt like family.",
          tag: "Regular",
          avatarSrc: "http://img.b2bpic.net/free-photo/medium-shot-woman-holding-pizza-slice_23-2148773528.jpg",
          imageSrc: "http://img.b2bpic.net/free-photo/top-view-pizza-caesar_140725-12439.jpg",
          imageAlt: "portrait young woman restaurant",
        },
      ]}
      title="Loved by Locals"
      description="What our guests say about us."
    />
  </div>

  <div id="proof" data-section="proof">
      <SocialProofOne
      textboxLayout="default"
      useInvertedBackground={false}
      names={[
        "Google Rating 4.9",
        "TripAdvisor Top Choice",
        "Siekierki Local Favorite",
        "Warsaw Dining Award",
        "Authentic Italian Certified",
        "Premium Ingredients Partner",
        "Community Trusted Business",
      ]}
      title="Trusted by Warsaw"
      description="High ratings and local recognition."
    />
  </div>

  <div id="contact" data-section="contact">
      <ContactSplitForm
      useInvertedBackground={false}
      title="Reserve or Inquire"
      description="Join us for an unforgettable Italian dinner in Siekierki."
      inputs={[
        {
          name: "name",
          type: "text",
          placeholder: "Your Name",
        },
        {
          name: "phone",
          type: "tel",
          placeholder: "Phone Number",
        },
      ]}
      textarea={{
        name: "message",
        placeholder: "Reservation details or questions...",
      }}
      imageSrc="http://img.b2bpic.net/free-photo/portrait-young-beautiful-african-american-fashion-model-woman-wear-green-top-black-shiny-wet-look-pants_627829-4672.jpg"
    />
  </div>

  <div id="footer" data-section="footer">
      <FooterCard
      logoText="La Viola"
      copyrightText="© 2025 La Viola Warsaw."
    />
  </div>
      </ReactLenis>
    </ThemeProvider>
  );
}
