"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import ContactSplit from '@/components/sections/contact/ContactSplit';
import FaqSplitText from '@/components/sections/faq/FaqSplitText';
import FeatureCardTen from '@/components/sections/feature/FeatureCardTen';
import FooterLogoEmphasis from '@/components/sections/footer/FooterLogoEmphasis';
import HeroLogo from '@/components/sections/hero/HeroLogo';
import NavbarStyleFullscreen from '@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen';
import ProductCardFour from '@/components/sections/product/ProductCardFour';
import TestimonialCardTwo from '@/components/sections/testimonial/TestimonialCardTwo';
import TextAbout from '@/components/sections/about/TextAbout';

export default function LandingPage() {
  return (
    <ThemeProvider
        defaultButtonVariant="elastic-effect"
        defaultTextAnimation="reveal-blur"
        borderRadius="soft"
        contentWidth="compact"
        sizing="mediumLargeSizeLargeTitles"
        background="floatingGradient"
        cardStyle="subtle-shadow"
        primaryButtonStyle="flat"
        secondaryButtonStyle="solid"
        headingFontWeight="normal"
    >
      <ReactLenis root>
  <div id="nav" data-section="nav">
      <NavbarStyleFullscreen
      navItems={[
        {
          name: "Home",
          id: "hero",
        },
        {
          name: "Our Story",
          id: "about",
        },
        {
          name: "Menu",
          id: "products",
        },
        {
          name: "Contact",
          id: "contact",
        },
      ]}
      brandName="המאפייה"
    />
  </div>

  <div id="hero" data-section="hero">
      <HeroLogo
      logoText="המאפייה"
      description="Artisan Israeli baking, traditional kosher quality, and exquisite catering platters for your special moments."
      buttons={[
        {
          text: "View Menu",
          href: "#products",
        },
        {
          text: "Catering",
          href: "#contact",
        },
      ]}
      imageSrc="http://img.b2bpic.net/free-photo/top-view-delicious-sugar-cookies-with-pastries-orange-dark-surface-cake-sugar-biscuit-sweet-cookies-tea_140725-101830.jpg?_wi=1"
    />
  </div>

  <div id="about" data-section="about">
      <TextAbout
      useInvertedBackground={true}
      title="A Legacy of Freshness"
    />
  </div>

  <div id="products" data-section="products">
      <ProductCardFour
      animationType="slide-up"
      textboxLayout="default"
      gridVariant="three-columns-all-equal-width"
      useInvertedBackground={false}
      products={[
        {
          id: "1",
          name: "Breakfast Platter",
          price: "$45",
          variant: "Dairy",
          imageSrc: "http://img.b2bpic.net/free-photo/breakfast-valentine-s-day-fried-egg-shape-heart-toasts-sausage-baconnd-fresh-vegetables-english-breakfast-cup-coffee-top-view_2829-4122.jpg?_wi=1",
        },
        {
          id: "2",
          name: "Artisan Rugelach",
          price: "$25",
          variant: "Pastry",
          imageSrc: "http://img.b2bpic.net/free-photo/vertical-shot-raw-vegan-roll-made-from-hazelnuts-purple-grunge-tabletop_181624-35923.jpg?_wi=1",
        },
        {
          id: "3",
          name: "Shabbat Challah",
          price: "$12",
          variant: "Bread",
          imageSrc: "http://img.b2bpic.net/free-photo/3d-challah-dish-hanukkah_23-2151129132.jpg",
        },
        {
          id: "4",
          name: "Savory Borekas",
          price: "$30",
          variant: "Pastry",
          imageSrc: "http://img.b2bpic.net/free-photo/bakery-homemade-sweets-freshly-baked-cookies_114579-61374.jpg",
        },
        {
          id: "5",
          name: "Israeli Salad Bowl",
          price: "$35",
          variant: "Salad",
          imageSrc: "http://img.b2bpic.net/free-photo/greek-salad-bowl-lipstick-woman-perfume_140725-2529.jpg",
        },
        {
          id: "6",
          name: "Baklava Selection",
          price: "$28",
          variant: "Dessert",
          imageSrc: "http://img.b2bpic.net/free-photo/delicious-pastries-with-dried-pineapple-dark-board-high-quality-photo_114579-78339.jpg",
        },
      ]}
      title="Our Signature Platters"
      description="Hand-crafted Israeli delicacies, fresh from our oven daily."
    />
  </div>

  <div id="features" data-section="features">
      <FeatureCardTen
      textboxLayout="default"
      useInvertedBackground={true}
      features={[
        {
          title: "Kosher Certified",
          description: "Strict adherence to traditional kosher standards.",
          media: {
            imageSrc: "http://img.b2bpic.net/free-vector/halal-stamp-collection-with-golden-style_23-2147874784.jpg",
          },
          items: [],
          reverse: false,
          imageSrc: "http://img.b2bpic.net/free-photo/top-view-delicious-sugar-cookies-with-pastries-orange-dark-surface-cake-sugar-biscuit-sweet-cookies-tea_140725-101830.jpg?_wi=2",
          imageAlt: "kosher seal sign",
        },
        {
          title: "Daily Freshness",
          description: "Everything baked from scratch, every single morning.",
          media: {
            imageSrc: "http://img.b2bpic.net/free-photo/delicious-foccacia-dough-with-copy-space_23-2148925154.jpg",
          },
          items: [],
          reverse: true,
          imageSrc: "http://img.b2bpic.net/free-photo/breakfast-valentine-s-day-fried-egg-shape-heart-toasts-sausage-baconnd-fresh-vegetables-english-breakfast-cup-coffee-top-view_2829-4122.jpg?_wi=2",
          imageAlt: "kosher seal sign",
        },
        {
          title: "Custom Catering",
          description: "Professional platters tailored for any gathering.",
          media: {
            imageSrc: "http://img.b2bpic.net/free-photo/catering-buffet_1203-3719.jpg",
          },
          items: [],
          reverse: false,
          imageSrc: "http://img.b2bpic.net/free-photo/vertical-shot-raw-vegan-roll-made-from-hazelnuts-purple-grunge-tabletop_181624-35923.jpg?_wi=2",
          imageAlt: "kosher seal sign",
        },
      ]}
      title="Why Choose Us"
      description="Commitment to tradition, taste, and the finest kosher ingredients."
    />
  </div>

  <div id="testimonials" data-section="testimonials">
      <TestimonialCardTwo
      animationType="slide-up"
      textboxLayout="default"
      useInvertedBackground={false}
      testimonials={[
        {
          id: "1",
          name: "Sarah G.",
          role: "Regular",
          testimonial: "The best rugelach in town!",
          imageSrc: "http://img.b2bpic.net/free-photo/woman-with-two-raised-fingers_1187-1103.jpg",
        },
        {
          id: "2",
          name: "David M.",
          role: "Catering Client",
          testimonial: "My party guests couldn't stop eating the platters.",
          imageSrc: "http://img.b2bpic.net/free-photo/front-view-barista-cafe_23-2148436111.jpg",
        },
        {
          id: "3",
          name: "Rachel L.",
          role: "Foodie",
          testimonial: "Authentic Israeli tastes, so fresh.",
          imageSrc: "http://img.b2bpic.net/free-photo/young-beautiful-woman-gardener-apron-hat-holding-broken-green-chili-pepper-her-eyes-smiling_141793-37585.jpg",
        },
        {
          id: "4",
          name: "Jonathan K.",
          role: "Local",
          testimonial: "Shabbat challah is always perfect.",
          imageSrc: "http://img.b2bpic.net/free-photo/beautiful-teenagers-enjoying-amusement-park_23-2148624855.jpg",
        },
        {
          id: "5",
          name: "Tanya B.",
          role: "Catering Client",
          testimonial: "Top notch professionalism and flavor.",
          imageSrc: "http://img.b2bpic.net/free-photo/chef-cooking-kitchen-while-wearing-professional-attire_23-2151208273.jpg",
        },
      ]}
      title="Beloved by Our Community"
      description="Hear what our regulars say about our daily bakes."
    />
  </div>

  <div id="faq" data-section="faq">
      <FaqSplitText
      useInvertedBackground={true}
      faqs={[
        {
          id: "1",
          title: "Is everything kosher?",
          content: "Yes, we are 100% kosher certified.",
        },
        {
          id: "2",
          title: "Do you offer delivery?",
          content: "Yes, we deliver catering platters locally.",
        },
        {
          id: "3",
          title: "Can I place custom orders?",
          content: "Absolutely, contact us for large event requests.",
        },
      ]}
      sideTitle="Common Questions"
      faqsAnimation="slide-up"
    />
  </div>

  <div id="contact" data-section="contact">
      <ContactSplit
      useInvertedBackground={false}
      background={{
        variant: "plain",
      }}
      tag="Get In Touch"
      title="Ready for your next event?"
      description="Speak to our team about catering or special requests."
      imageSrc="http://img.b2bpic.net/free-photo/abstract-blur-coffee-shop_74190-4453.jpg"
      mediaAnimation="slide-up"
    />
  </div>

  <div id="footer" data-section="footer">
      <FooterLogoEmphasis
      columns={[
        {
          items: [
            {
              label: "Menu",
              href: "#products",
            },
            {
              label: "Catering",
              href: "#contact",
            },
          ],
        },
        {
          items: [
            {
              label: "About Us",
              href: "#about",
            },
            {
              label: "FAQs",
              href: "#faq",
            },
          ],
        },
      ]}
      logoText="המאפייה"
    />
  </div>
      </ReactLenis>
    </ThemeProvider>
  );
}
