"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import FaqBase from '@/components/sections/faq/FaqBase';
import FooterLogoEmphasis from '@/components/sections/footer/FooterLogoEmphasis';
import NavbarStyleApple from '@/components/navbar/NavbarStyleApple/NavbarStyleApple';
import PricingCardThree from '@/components/sections/pricing/PricingCardThree';

export default function LandingPage() {
  return (
    <ThemeProvider
        defaultButtonVariant="shift-hover"
        defaultTextAnimation="entrance-slide"
        borderRadius="soft"
        contentWidth="mediumSmall"
        sizing="largeSmall"
        background="grid"
        cardStyle="soft-shadow"
        primaryButtonStyle="shadow"
        secondaryButtonStyle="solid"
        headingFontWeight="light"
    >
      <ReactLenis root>
  <div id="nav" data-section="nav">
      <NavbarStyleApple
      navItems={[
        {
          name: "Home",
          id: "/",
        },
        {
          name: "Gallery",
          id: "/gallery",
        },
        {
          name: "My Orders",
          id: "/orders",
        },
      ]}
      brandName="Craveable Cakes"
    />
  </div>

  <div id="pricing" data-section="pricing">
      <PricingCardThree
      animationType="slide-up"
      textboxLayout="default"
      useInvertedBackground={false}
      title="Standard Packages"
      description="Easy, predictable, and delicious."
      plans={[
        {
          id: "plan1",
          name: "Basic Birthday",
          price: "800 ETB",
          features: [
            "Single layer",
            "Standard flavor",
            "Basic piping",
          ],
          buttons: [
            {
              text: "Order Now",
              href: "/orders",
            },
          ],
        },
      ]}
    />
  </div>

  <div id="faq" data-section="faq">
      <FaqBase
      textboxLayout="default"
      useInvertedBackground={false}
      title="Order Support"
      description="How we manage your orders."
      faqsAnimation="blur-reveal"
      faqs={[
        {
          id: "f1",
          title: "Track my order",
          content: "You will receive an SMS update once your cake is in the oven and out for delivery.",
        },
      ]}
    />
  </div>

  <div id="footer" data-section="footer">
      <FooterLogoEmphasis
      columns={[
        {
          items: [
            {
              label: "Shop Phone",
              href: "tel:+251110000000",
            },
            {
              label: "Email",
              href: "mailto:hello@craveablecakes.com",
            },
          ],
        },
        {
          items: [
            {
              label: "Instagram",
              href: "#",
            },
            {
              label: "Facebook",
              href: "#",
            },
            {
              label: "TikTok",
              href: "#",
            },
          ],
        },
      ]}
      logoText="Craveable Cakes"
    />
  </div>
      </ReactLenis>
    </ThemeProvider>
  );
}
