"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import ContactCTA from '@/components/sections/contact/ContactCTA';
import FooterBaseReveal from '@/components/sections/footer/FooterBaseReveal';
import HeroLogoBillboard from '@/components/sections/hero/HeroLogoBillboard';
import MediaAbout from '@/components/sections/about/MediaAbout';
import MetricCardFourteen from '@/components/sections/metrics/MetricCardFourteen';
import NavbarStyleApple from '@/components/navbar/NavbarStyleApple/NavbarStyleApple';
import ProductCardFour from '@/components/sections/product/ProductCardFour';
import TestimonialCardSix from '@/components/sections/testimonial/TestimonialCardSix';

export default function LandingPage() {
  return (
    <ThemeProvider
        defaultButtonVariant="text-shift"
        defaultTextAnimation="background-highlight"
        borderRadius="soft"
        contentWidth="mediumSmall"
        sizing="largeSmall"
        background="blurBottom"
        cardStyle="soft-shadow"
        primaryButtonStyle="diagonal-gradient"
        secondaryButtonStyle="solid"
        headingFontWeight="extrabold"
    >
      <ReactLenis root>
  <div id="nav" data-section="nav">
      <NavbarStyleApple
      navItems={[
        {
          name: "Início",          id: "#hero"},
        {
          name: "Sobre",          id: "#sobre"},
        {
          name: "Cardápio",          id: "#cardapio"},
        {
          name: "Contato",          id: "#contato"},
      ]}
      brandName="André Lanches"
    />
  </div>

  <div id="hero" data-section="hero">
      <HeroLogoBillboard
      background={{
        variant: "radial-gradient"}}
      logoText="André Lanches"
      description="O sabor que conquista Fernandópolis. Lanches grandes, sabor marcante e atendimento que faz você voltar sempre."
      buttons={[
        {
          text: "Ver Cardápio",          href: "#cardapio"},
        {
          text: "Pedir no WhatsApp",          href: "https://wa.me/5517997870320?text=Olá!%20Vim%20pelo%20site%20do%20André%20Lanches%20e%20gostaria%20de%20fazer%20um%20pedido."},
      ]}
      imageSrc="http://img.b2bpic.net/free-photo/high-angle-delicious-burger-composition_23-2148868224.jpg"
      imageAlt="André Lanches Gourmet"
      mediaAnimation="slide-up"
    />
  </div>

  <div id="sobre" data-section="sobre">
      <MediaAbout
      useInvertedBackground={false}
      title="Tradição em Fernandópolis"
      description="O André Lanches é referência na cidade, conhecido por lanches grandes, ótimo custo-benefício e um atendimento familiar que transforma clientes em amigos. Qualidade, sabor e tradição em cada pedido."
      imageSrc="http://img.b2bpic.net/free-photo/modern-restaurant-kitchen-with-wood-fired-oven_23-2151949233.jpg"
      imageAlt="Nossa cozinha profissional"
    />
  </div>

  <div id="cardapio" data-section="cardapio">
      <ProductCardFour
      animationType="slide-up"
      textboxLayout="default"
      gridVariant="two-columns-alternating-heights"
      useInvertedBackground={false}
      products={[
        {
          id: "p1",          name: "X-Bacon Famoso",          price: "R$ 28,00",          variant: "Gourmet",          imageSrc: "http://img.b2bpic.net/free-photo/big-sandwich-hamburger-burger-with-beef-cheese-tomato-fried-bacon_2829-14006.jpg"},
        {
          id: "p2",          name: "X-Tudo Especial",          price: "R$ 35,00",          variant: "Clássico",          imageSrc: "http://img.b2bpic.net/free-photo/front-view-delicious-burger-composition_23-2148868215.jpg"},
        {
          id: "p3",          name: "Double Cheese",          price: "R$ 38,00",          variant: "Gourmet",          imageSrc: "http://img.b2bpic.net/free-photo/meat-burger-served-with-french-fries-sauces_140725-6710.jpg"},
        {
          id: "p4",          name: "X-Egg Bacon",          price: "R$ 30,00",          variant: "Favorito",          imageSrc: "http://img.b2bpic.net/free-photo/small-beef-burger-with-pickles-cucumber-onion-lettuce-tomato-served-with-fries_140725-1617.jpg"},
        {
          id: "p5",          name: "Burger da Casa",          price: "R$ 25,00",          variant: "Econômico",          imageSrc: "http://img.b2bpic.net/free-photo/front-view-delicious-burger-assortment_23-2148868225.jpg"},
        {
          id: "p6",          name: "Chicken Crispy",          price: "R$ 29,00",          variant: "Especial",          imageSrc: "http://img.b2bpic.net/free-photo/front-view-meat-burger-with-fries-ketchup-mayonnaise-stand-with-knife_141793-12201.jpg"},
      ]}
      title="Nosso Cardápio Gourmet"
      description="Escolha seu lanche favorito e peça agora pelo WhatsApp com entrega rápida."
    />
  </div>

  <div id="metrics" data-section="metrics">
      <MetricCardFourteen
      useInvertedBackground={false}
      title="Nossa trajetória"
      tag="Qualidade Comprovada"
      metrics={[
        {
          id: "m1",          value: "4.6",          description: "Avaliação média"},
        {
          id: "m2",          value: "194",          description: "Avaliações no Google"},
        {
          id: "m3",          value: "100%",          description: "Sabor e satisfação"},
      ]}
      metricsAnimation="slide-up"
    />
  </div>

  <div id="testemunhos" data-section="testemunhos">
      <TestimonialCardSix
      animationType="slide-up"
      textboxLayout="default"
      useInvertedBackground={false}
      testimonials={[
        {
          id: "t1",          name: "Sarah Johnson",          handle: "@sarahj",          testimonial: "Incomparável, muito bom! O melhor lanche que já comi.",          imageSrc: "http://img.b2bpic.net/free-photo/happy-waiter-holding-plates-with-food-looking-camera-while-serving-guests-restaurant_637285-1707.jpg"},
        {
          id: "t2",          name: "Michael Chen",          handle: "@mchen",          testimonial: "Entrega rápida e lanche delicioso. Recomendo muito!",          imageSrc: "http://img.b2bpic.net/free-photo/smiling-man-using-smartphone-cafe_1170-719.jpg"},
        {
          id: "t3",          name: "Emily Rodriguez",          handle: "@emilyr",          testimonial: "Lugar ótimo, família e preço justo. Atendimento nota 10.",          imageSrc: "http://img.b2bpic.net/free-photo/people-cheering-with-wine-glasses-luxurious-restaurant_23-2150517411.jpg"},
        {
          id: "t4",          name: "David Kim",          handle: "@dkim",          testimonial: "Lanches enormes e sabor muito marcante. Voltarei sempre.",          imageSrc: "http://img.b2bpic.net/free-photo/young-woman-eating-delicious-tiramisu-cafe_1303-25270.jpg"},
        {
          id: "t5",          name: "Lisa Wang",          handle: "@lisaw",          testimonial: "Sabor único e ingredientes super frescos. Nota 1000!",          imageSrc: "http://img.b2bpic.net/free-photo/confident-senior-man-looking-camera_23-2148036714.jpg"},
      ]}
      title="O que nossos clientes dizem"
      description="Veja por que somos os favoritos em Fernandópolis."
    />
  </div>

  <div id="contato" data-section="contato">
      <ContactCTA
      useInvertedBackground={false}
      background={{
        variant: "radial-gradient"}}
      tag="Faça seu pedido agora"
      title="André Lanches"
      description="Av. Líbero de Almeida Silvares, 3253 - Bairro Coester, Fernandópolis - SP. Aberto até 00:00. Clique abaixo para pedir no WhatsApp."
      buttons={[
        {
          text: "Pedir no WhatsApp",          href: "https://wa.me/5517997870320?text=Olá!%20Vim%20pelo%20site%20do%20André%20Lanches%20e%20gostaria%20de%20fazer%20um%20pedido."},
      ]}
    />
  </div>

  <div id="footer" data-section="footer">
      <FooterBaseReveal
      logoText="André Lanches"
      columns={[
        {
          title: "Endereço",          items: [
            {
              label: "Av. Líbero de Almeida Silvares, 3253, Fernandópolis - SP",              href: "#"},
          ],
        },
        {
          title: "Horário",          items: [
            {
              label: "Aberto até 00:00",              href: "#"},
          ],
        },
        {
          title: "Contato",          items: [
            {
              label: "(17) 99787-0320",              href: "https://wa.me/5517997870320"},
          ],
        },
      ]}
      copyrightText="© 2026 André Lanches. Todos os direitos reservados."
    />
  </div>
      </ReactLenis>
    </ThemeProvider>
  );
}
