"use client";

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

export default function FaqPage() {
  return (
    <ThemeProvider defaultButtonVariant="text-stagger" defaultTextAnimation="entrance-slide" borderRadius="rounded" contentWidth="medium" sizing="medium" background="circleGradient" cardStyle="glass-elevated" primaryButtonStyle="gradient" secondaryButtonStyle="glass" headingFontWeight="normal">
      <ReactLenis root>
        <div id="nav" data-section="nav">
          <NavbarStyleApple
            navItems={[
              { name: "Home", id: "/" },
              { name: "About", id: "/about" },
              { name: "Pricing", id: "/pricing" },
              { name: "FAQ", id: "/faq" },
              { name: "Contact", id: "/contact" },
            ]}
          />
        </div>
        <div id="faq" data-section="faq">
          <FaqSplitText
            sideTitle="Frequently Asked Questions"
            sideDescription="Have questions? We've got answers."
            faqsAnimation="slide-up"
            useInvertedBackground={false}
            faqs={[
              { id: "1", title: "How do I use these tabs?", content: "Simply chew and brush as usual!" },
              { id: "2", title: "Are they safe?", content: "Yes, they are dentist-formulated and natural." },
            ]}
          />
        </div>
        <div id="footer" data-section="footer">
          <FooterLogoEmphasis
            logoText="SMILETABS"
            columns={[
              { items: [{ label: "Shop", href: "/shop" }] },
              { items: [{ label: "FAQ", href: "/faq" }, { label: "Contact", href: "/contact" }] },
            ]}
          />
        </div>
      </ReactLenis>
    </ThemeProvider>
  );
}