"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import FaqDouble from '@/components/sections/faq/FaqDouble';
import FooterLogoEmphasis from '@/components/sections/footer/FooterLogoEmphasis';
import NavbarLayoutFloatingInline from '@/components/navbar/NavbarLayoutFloatingInline';
import TextAbout from '@/components/sections/about/TextAbout';

export default function AboutPage() {
  return (
    <ThemeProvider
        defaultButtonVariant="elastic-effect"
        defaultTextAnimation="background-highlight"
        borderRadius="rounded"
        contentWidth="smallMedium"
        sizing="mediumLargeSizeMediumTitles"
        background="noiseDiagonalGradient"
        cardStyle="glass-elevated"
        primaryButtonStyle="gradient"
        secondaryButtonStyle="layered"
        headingFontWeight="normal"
    >
      <ReactLenis root>
        <div id="nav" data-section="nav">
          <NavbarLayoutFloatingInline
            navItems={[
              { name: "Home", id: "/" },
              { name: "Shop", id: "/shop" },
              { name: "About", id: "/about" },
              { name: "Affiliate", id: "/affiliate" },
            ]}
            brandName="Noor Arte"
            button={{ text: "Contact", href: "/affiliate" }}
          />
        </div>

        <div id="about-content" data-section="about-content">
          <TextAbout
            useInvertedBackground={false}
            title="The Soul of Noor Arte"
          />
        </div>

        <div id="about-faq" data-section="about-faq">
          <FaqDouble
            textboxLayout="default"
            useInvertedBackground={true}
            faqs={[
              { id: "f1", title: "Are materials genuine?", content: "Yes, we use solid silver and authentic enamels." },
              { id: "f2", title: "Where is it made?", content: "Every piece is crafted by masters." },
              { id: "f3", title: "Care instructions?", content: "Polish softly and avoid chemicals." },
            ]}
            title="Heritage & Questions"
            faqsAnimation="slide-up"
            description="Learn more about our materials, craft, and care guidelines."
          />
        </div>

        <div id="footer" data-section="footer">
          <FooterLogoEmphasis
            columns={[
              { items: [{ label: "Shop All", href: "/shop" }, { label: "About", href: "/about" }, { label: "Affiliate", href: "/affiliate" }] },
              { items: [{ label: "Terms", href: "/terms" }, { label: "Privacy", href: "/privacy" }, { label: "Shipping", href: "/shipping" }] },
            ]}
            logoText="Noor Arte"
          />
        </div>
      </ReactLenis>
    </ThemeProvider>
  );
}