"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import ContactSplit from '@/components/sections/contact/ContactSplit';
import FeatureCardTen from '@/components/sections/feature/FeatureCardTen';
import FooterBase from '@/components/sections/footer/FooterBase';
import HeroCarouselLogo from '@/components/sections/hero/heroCarouselLogo/HeroCarouselLogo';
import NavbarLayoutFloatingOverlay from '@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay';
import ProductCardOne from '@/components/sections/product/ProductCardOne';
import SplitAbout from '@/components/sections/about/SplitAbout';

export default function LandingPage() {
  return (
    <ThemeProvider
        defaultButtonVariant="bounce-effect"
        defaultTextAnimation="reveal-blur"
        borderRadius="soft"
        contentWidth="medium"
        sizing="medium"
        background="circleGradient"
        cardStyle="glass-elevated"
        primaryButtonStyle="gradient"
        secondaryButtonStyle="glass"
        headingFontWeight="normal"
    >
      <ReactLenis root>
        <div id="nav" data-section="nav">
          <NavbarLayoutFloatingOverlay
            navItems={[
              { name: "Home", id: "hero" },
              { name: "Menu", id: "menu" },
              { name: "Contato", id: "contact" },
            ]}
            brandName="GoGo Chicken"
            button={{ text: "Pedir Agora", href: "#contact" }}
          />
        </div>

        <div id="hero" data-section="hero">
          <HeroCarouselLogo
            logoText="GoGo Chicken"
            description="Korean Fried Chicken crocante, quente e viciante. Direto para você em Mogi das Cruzes."
            buttons={[
              { text: "Pedir no WhatsApp", href: "https://wa.me/5511999999999" },
              { text: "Ver Cardápio", href: "#menu" },
            ]}
            slides={[
              { imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3DXDhw0M33dVERfdlrvQZGtHSaP/uploaded-1778419700595-ektwrlh3.jpg?_wi=1", imageAlt: "Korean Fried Chicken protagonista" },
              { imageSrc: "http://img.b2bpic.net/free-photo/crispy-kentucky-fried-chicken_123827-22048.jpg", imageAlt: "Crispy Kentucky fried chicken" },
              { imageSrc: "http://img.b2bpic.net/free-photo/fried-chicken-korean-style_1339-5749.jpg", imageAlt: "fried chicken korean style" },
              { imageSrc: "http://img.b2bpic.net/free-photo/fried-chicken_1203-2792.jpg", imageAlt: "fried chicken" },
              { imageSrc: "http://img.b2bpic.net/free-photo/fried-chicken-with-fried-potatoes_140725-113374.jpg", imageAlt: "Fried chicken with fried potatoes" },
            ]}
          />
        </div>

        <div id="highlights" data-section="highlights">
          <FeatureCardTen
            animationType="slide-up"
            textboxLayout="split"
            useInvertedBackground={false}
            features={[
              {
                title: "Crocância Coreana",                description: "Fritura dupla para garantir o máximo de crocância.",                media: { imageSrc: "http://img.b2bpic.net/free-photo/close-up-high-protein-meal-baked-chicken_23-2149098840.jpg", imageAlt: "Chicken" },
                items: [],
                reverse: false
              }
            ]}
            title="Por que somos viciantes?"
            description="O verdadeiro sabor da Coreia com o toque brasileiro."
          />
        </div>

        <div id="menu" data-section="menu">
          <ProductCardOne
            textboxLayout="default"
            gridVariant="two-columns-alternating-heights"
            animationType="slide-up"
            useInvertedBackground={true}
            products={[
              { id: "p1", name: "Classic KFC", price: "R$ 45,00", imageSrc: "http://img.b2bpic.net/free-photo/vertical-shot-roasted-chicken-pieces-wooden-plate-some-seasoning-it_181624-28254.jpg" },
              { id: "p2", name: "Tteokbokki Especial", price: "R$ 35,00", imageSrc: "http://img.b2bpic.net/free-photo/palm-sugar-red-onions-dried-peppers-tomatoes-cucumbers-yard-long-beans-lettuce-bowl_1150-23050.jpg" },
              { id: "p3", name: "Tenders Crocantes", price: "R$ 30,00", imageSrc: "http://img.b2bpic.net/free-photo/fried-chicken-sauces-celebration_140725-113760.jpg" },
              { id: "p4", name: "Wings Hot", price: "R$ 40,00", imageSrc: "http://img.b2bpic.net/free-photo/tasty-boneless-chicken-sauce-high-angle_23-2149972985.jpg" },
              { id: "p5", name: "Batata Frita Sabor", price: "R$ 15,00", imageSrc: "http://img.b2bpic.net/free-photo/crispy-fried-chicken-tenders_123827-36381.jpg" },
              { id: "p6", name: "Combo GoGo", price: "R$ 85,00", imageSrc: "http://img.b2bpic.net/free-photo/kimchi-jikae-kimchi-soup-ready-eat-bowl_1150-42849.jpg" },
            ]}
            title="Nosso Cardápio"
            description="Escolha seu frango favorito e prepare-se."
          />
        </div>

        <div id="about" data-section="about">
          <SplitAbout
            textboxLayout="split"
            useInvertedBackground={false}
            title="Feito com paixão"
            description="A GoGo Chicken nasceu em Brás Cubas para trazer a autêntica experiência do frango coreano."
            bulletPoints={[
              { title: "Ingredientes Frescos", description: "Qualidade em primeiro lugar." },
              { title: "Entrega Rápida", description: "Seu frango quentinho." },
              { title: "Sabor Único", description: "Receita secreta autêntica." },
            ]}
            imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3DXDhw0M33dVERfdlrvQZGtHSaP/uploaded-1778419700595-qrg6ypru.jpg"
            mediaAnimation="slide-up"
          />
        </div>

        <div id="contact" data-section="contact">
          <ContactSplit
            useInvertedBackground={true}
            background={{ variant: "sparkles-gradient" }}
            tag="Entre em contato"
            title="Peça agora!"
            description="Estamos atendendo via WhatsApp e iFood em Mogi das Cruzes."
            imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3DXDhw0M33dVERfdlrvQZGtHSaP/uploaded-1778419700595-ektwrlh3.jpg?_wi=2"
            mediaAnimation="slide-up"
          />
        </div>

        <div id="footer" data-section="footer">
          <FooterBase
            columns={[
              { title: "Links", items: [{ label: "Cardápio", href: "#menu" }, { label: "WhatsApp", href: "#contact" }] },
              { title: "Local", items: [{ label: "Brás Cubas, Mogi das Cruzes", href: "#" }] },
            ]}
            logoText="GoGo Chicken"
          />
        </div>
      </ReactLenis>
    </ThemeProvider>
  );
}
