"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import ContactSplit from '@/components/sections/contact/ContactSplit';
import FaqDouble from '@/components/sections/faq/FaqDouble';
import FooterCard from '@/components/sections/footer/FooterCard';
import HeroLogoBillboard from '@/components/sections/hero/HeroLogoBillboard';
import NavbarStyleApple from '@/components/navbar/NavbarStyleApple/NavbarStyleApple';
import ProductCardThree from '@/components/sections/product/ProductCardThree';
import SocialProofOne from '@/components/sections/socialProof/SocialProofOne';
import { Github, Twitter } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
        defaultButtonVariant="hover-bubble"
        defaultTextAnimation="reveal-blur"
        borderRadius="rounded"
        contentWidth="medium"
        sizing="mediumLarge"
        background="none"
        cardStyle="glass-depth"
        primaryButtonStyle="gradient"
        secondaryButtonStyle="glass"
        headingFontWeight="semibold"
    >
      <ReactLenis root>
  <div id="nav" data-section="nav">
      <NavbarStyleApple
      navItems={[
        {
          name: "Spreadsheet",
          id: "#spreadsheet",
        },
        {
          name: "Finds",
          id: "#finds",
        },
        {
          name: "Community",
          id: "#contact",
        },
      ]}
      brandName="cadenreps.pl"
    />
  </div>

  <div id="hero" data-section="hero">
      <HeroLogoBillboard
      background={{
        variant: "plain",
      }}
      logoText="cadenreps.pl"
      description="More than just your spreadsheet. Join the largest community of trusted finds and sellers."
      buttons={[
        {
          text: "Browse Finds",
          href: "#finds",
        },
        {
          text: "Join Community",
          href: "#contact",
        },
      ]}
      imageSrc="http://img.b2bpic.net/free-photo/3d-render-abstract-background-with-digital-particle-design_1048-12790.jpg"
      imageAlt="cadenreps hero background"
      mediaAnimation="slide-up"
    />
  </div>

  <div id="finds" data-section="finds">
      <ProductCardThree
      animationType="slide-up"
      textboxLayout="default"
      gridVariant="three-columns-all-equal-width"
      useInvertedBackground={false}
      products={[
        {
          id: "p1",
          name: "Nike TN Black",
          price: "$120",
          imageSrc: "http://img.b2bpic.net/free-photo/bride-s-wedding-shoes-stand-wood-floor-outdoor_8353-9649.jpg",
          imageAlt: "Black sneakers",
        },
        {
          id: "p2",
          name: "Nike TN White",
          price: "$120",
          imageSrc: "http://img.b2bpic.net/free-photo/denim-sneakers-street-style_53876-15369.jpg",
          imageAlt: "White sneakers",
        },
        {
          id: "p3",
          name: "Sport Runner X",
          price: "$140",
          imageSrc: "http://img.b2bpic.net/free-photo/young-female-ballerina-wearing-pointe-shoe-sneaker-indoors-botanical-garden_23-2149344175.jpg",
          imageAlt: "Sport runner sneakers",
        },
        {
          id: "p4",
          name: "Street Classic",
          price: "$90",
          imageSrc: "http://img.b2bpic.net/free-photo/close-up-military-protection-item-background_23-2149341300.jpg",
          imageAlt: "Street classic sneakers",
        },
        {
          id: "p5",
          name: "Pro Trainer",
          price: "$160",
          imageSrc: "http://img.b2bpic.net/free-photo/mysterious-creature-spooky-forest_23-2151531966.jpg",
          imageAlt: "Pro trainer sneakers",
        },
        {
          id: "p6",
          name: "Air Elite",
          price: "$180",
          imageSrc: "http://img.b2bpic.net/free-photo/person-wearing-black-leather-boots_250224-308.jpg",
          imageAlt: "Air elite sneakers",
        },
      ]}
      title="Newest Finds"
      description="Latest W2C drops from trusted sellers."
    />
  </div>

  <div id="faq" data-section="faq">
      <FaqDouble
      textboxLayout="split"
      useInvertedBackground={false}
      faqs={[
        {
          id: "f1",
          title: "How do I use the spreadsheet?",
          content: "Simply access the link provided in the finds section and filter by your preference.",
        },
        {
          id: "f2",
          title: "Are these links safe?",
          content: "We only verify links from trusted sellers within our community database.",
        },
        {
          id: "f3",
          title: "How can I join the community?",
          content: "Click the Join Community button above to be redirected to our Discord server.",
        },
        {
          id: "f4",
          title: "How often is the list updated?",
          content: "Our team updates the spreadsheet daily to ensure all links are active and high-quality.",
        },
        {
          id: "f5",
          title: "What payment methods are safe?",
          content: "We recommend using secure payment methods like PayPal or platform-integrated checkout services.",
        },
      ]}
      title="Community FAQ"
      description="Everything you need to know about navigating the spreadsheet and community."
      faqsAnimation="slide-up"
    />
  </div>

  <div id="socialProof" data-section="socialProof">
      <SocialProofOne
      textboxLayout="default"
      useInvertedBackground={false}
      title="Trusted by the Best"
      description="Our community is powered by thousands of active members and top-tier reviewers."
      names={[
        "SneakerHeat",
        "RepCommunity",
        "FashionFinds",
        "TrustRep",
        "StyleVault",
      ]}
    />
  </div>

  <div id="contact" data-section="contact">
      <ContactSplit
      useInvertedBackground={false}
      background={{
        variant: "plain",
      }}
      tag="Join Us"
      title="Become a member"
      description="Sign up for updates on new drops and community events."
      imageSrc="http://img.b2bpic.net/free-photo/optical-fiber-background_23-2149301533.jpg"
      imageAlt="Contact background"
      mediaAnimation="slide-up"
    />
  </div>

  <div id="footer" data-section="footer">
      <FooterCard
      logoText="cadenreps.pl"
      copyrightText="© 2025 | CadenReps. All rights reserved."
      socialLinks={[
        {
          icon: Twitter,
          href: "#",
          ariaLabel: "Twitter",
        },
        {
          icon: Github,
          href: "#",
          ariaLabel: "GitHub",
        },
      ]}
    />
  </div>
      </ReactLenis>
    </ThemeProvider>
  );
}
