"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import ContactSplitForm from '@/components/sections/contact/ContactSplitForm';
import FaqSplitMedia from '@/components/sections/faq/FaqSplitMedia';
import FeatureCardTwentyThree from '@/components/sections/feature/FeatureCardTwentyThree';
import FooterLogoReveal from '@/components/sections/footer/FooterLogoReveal';
import HeroBillboard from '@/components/sections/hero/HeroBillboard';
import MetricCardTwo from '@/components/sections/metrics/MetricCardTwo';
import NavbarStyleApple from '@/components/navbar/NavbarStyleApple/NavbarStyleApple';
import ProductCardOne from '@/components/sections/product/ProductCardOne';

export default function LandingPage() {
  return (
    <ThemeProvider
        defaultButtonVariant="hover-magnetic"
        defaultTextAnimation="reveal-blur"
        borderRadius="pill"
        contentWidth="mediumSmall"
        sizing="largeSizeMediumTitles"
        background="noise"
        cardStyle="gradient-radial"
        primaryButtonStyle="shadow"
        secondaryButtonStyle="solid"
        headingFontWeight="normal"
    >
      <ReactLenis root>
  <div id="nav">
      <NavbarStyleApple
      navItems={[
        { name: "Home", id: "hero" },
        { name: "Sobre", id: "sobre" },
        { name: "Produtos", id: "produtos" },
        { name: "Contato", id: "contato" }
      ]}
      brandName="Achadinhos da Froees"
    />
  </div>

  <div id="hero">
      <HeroBillboard
      background={{ variant: "sparkles-gradient" }}
      title="Os melhores achadinhos da Shopee pra você economizar com estilo ✨"
      description="Casa, beleza e utilidades com preços incríveis todos os dias. Seleção premium feita com carinho."
      buttons={[{ text: "Ver Produtos", href: "produtos" }]}
      imageSrc="http://img.b2bpic.net/free-photo/roses-shopping-bag-laptop-pink-background_23-2147940438.jpg?_wi=1"
      avatarText="Mais de 10k compradores felizes"
    />
  </div>

  <div id="sobre">
    <div className="py-20 px-6">
        <h2 className="text-4xl font-bold mb-4">Sobre Nós</h2>
        <p className="text-lg">Curadoria profissional de ofertas da Shopee para facilitar seu dia a dia.</p>
    </div>
  </div>

  <div id="produtos">
      <ProductCardOne
      animationType="slide-up"
      textboxLayout="default"
      gridVariant="four-items-2x2-equal-grid"
      useInvertedBackground={false}
      products={[
        { id: "p1", name: "Organizador de Pia Luxo", price: "R$ 49,90", imageSrc: "http://img.b2bpic.net/free-photo/open-drawers-kitchen-ergonomics-functional-space_169016-68869.jpg?_wi=3" },
        { id: "p2", name: "Espelho LED Moderno", price: "R$ 129,90", imageSrc: "http://img.b2bpic.net/free-photo/smiling-little-girl-combing-her-hair-bathroom-front-mirror-enjoying-looking-her-reflection-wearing-home-clothing-doing-beauty-procedures_176532-15718.jpg?_wi=2" }
      ]}
      title="Nossos Produtos"
      description="Selecão de itens essenciais para sua casa."
    />
  </div>

  <div id="contato">
      <ContactSplitForm
      useInvertedBackground={false}
      title="Entre em Contato"
      description="Fale com a gente para parcerias ou dúvidas."
      inputs={[
        { name: "nome", type: "text", placeholder: "Seu nome", required: true },
        { name: "email", type: "email", placeholder: "Seu e-mail", required: true }
      ]}
      buttonText="Enviar"
    />
  </div>

  <div id="footer">
      <FooterLogoReveal
      logoText="Achadinhos da Froees"
      leftLink={{ text: "Privacidade", href: "/privacidade" }}
      rightLink={{ text: "Termos de Uso", href: "/termos" }}
    />
  </div>
      </ReactLenis>
    </ThemeProvider>
  );
}