"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import FooterMedia from "@/components/sections/footer/FooterMedia";
import HeroLogo from "@/components/sections/hero/HeroLogo";
import NavbarStyleFullscreen from "@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen";
import ProductCardFour from "@/components/sections/product/ProductCardFour";

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="elastic-effect"
      defaultTextAnimation="entrance-slide"
      borderRadius="pill"
      contentWidth="mediumLarge"
      sizing="largeSizeMediumTitles"
      background="none"
      cardStyle="soft-shadow"
      primaryButtonStyle="gradient"
      secondaryButtonStyle="layered"
      headingFontWeight="extrabold"
    >
      <ReactLenis root>
        <div id="nav" data-section="nav">
          <NavbarStyleFullscreen
            navItems={[
              { name: "Home", id: "/" },
              { name: "Menu", id: "/menu" },
              { name: "Serviços", id: "/services" },
              { name: "Críticas", id: "/reviews" },
              { name: "Sobre", id: "/about" },
              { name: "FAQ", id: "/faq" },
              { name: "Contato", id: "/contact" }
            ]}
            brandName="Go Chef"
          />
        </div>

        <div id="hero" data-section="hero">
          <HeroLogo
            logoText="Go Chef"
            description="O sabor autêntico da culinária portuguesa, feito com paixão e servido com carinho. Venha experimentar!"
            buttons={[
              { text: "Ver Menu", href: "/menu" },
              { text: "Reservar Mesa", href: "/contact" }
            ]}
            imageSrc="https://images.unsplash.com/photo-1579751626657-72bc17013f9f?ixlib=rb-4.0.3&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=800&h=600&fit=crop"
            imageAlt="Prato delicioso de comida portuguesa no Go Chef"
            showDimOverlay={true}
          />
        </div>

        <div id="menu-highlights" data-section="menu-highlights">
          <ProductCardFour
            animationType="slide-up"
            textboxLayout="default"
            gridVariant="three-columns-all-equal-width"
            useInvertedBackground={false}
            products={[
              {
                id: "dish-1",                name: "Bacalhau à Brás",                price: "18€",                variant: "Clássico",                imageSrc: "https://images.unsplash.com/photo-1628186103310-a92c01994689?ixlib=rb-4.0.3&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=400&h=300&fit=crop",                imageAlt: "Bacalhau à Brás"
              },
              {
                id: "dish-2",                name: "Polvo à Lagareiro",                price: "22€",                variant: "Com batata a murro",                imageSrc: "https://images.unsplash.com/photo-1512621776951-a579ed9f874d?ixlib=rb-4.0.3&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=400&h=300&fit=crop",                imageAlt: "Polvo à Lagareiro"
              },
              {
                id: "dish-3",                name: "Francesinha",                price: "16€",                variant: "Picante ou normal",                imageSrc: "https://images.unsplash.com/photo-1502301103667-0bda6dc4718a?ixlib=rb-4.0.3&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=400&h=300&fit=crop",                imageAlt: "Francesinha"
              },
              {
                id: "dish-4",                name: "Arroz de Pato",                price: "17€",                variant: "Caseiro",                imageSrc: "https://images.unsplash.com/photo-1546069901-ba9599a7e63c?ixlib=rb-4.0.3&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=400&h=300&fit=crop",                imageAlt: "Arroz de Pato"
              },
              {
                id: "dish-5",                name: "Caldo Verde",                price: "6€",                variant: "Com broa de milho",                imageSrc: "https://images.unsplash.com/photo-1547592180-85f17399034d?ixlib=rb-4.0.3&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=400&h=300&fit=crop",                imageAlt: "Caldo Verde"
              },
              {
                id: "dish-6",                name: "Pastel de Nata",                price: "2.50€",                variant: "Com canela",                imageSrc: "https://images.unsplash.com/photo-1589182372551-f763a8a49c6d?ixlib=rb-4.0.3&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=400&h=300&fit=crop",                imageAlt: "Pastel de Nata"
              }
            ]}
            title="Destaques do Nosso Menu"
            description="Uma seleção dos nossos pratos mais amados, preparados com ingredientes frescos e a paixão Go Chef."
          />
        </div>

        <div id="footer" data-section="footer">
          <FooterMedia
            imageSrc="https://images.unsplash.com/photo-1552504953-b230232490d1?ixlib=rb-4.0.3&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=800&h=600&fit=crop"
            imageAlt="Cozinha de restaurante"
            logoText="Go Chef"
            columns={[
              {
                title: "Empresa",                items: [
                  { label: "Sobre Nós", href: "/about" },
                  { label: "Críticas", href: "/reviews" },
                  { label: "Contato", href: "/contact" }
                ]
              },
              {
                title: "Menu",                items: [
                  { label: "Pratos Principais", href: "/menu" },
                  { label: "Bebidas", href: "/menu" },
                  { label: "Sobremesas", href: "/menu" }
                ]
              },
              {
                title: "Ajuda",                items: [
                  { label: "FAQ", href: "/faq" },
                  { label: "Serviços", href: "/services" },
                  { label: "Política de Privacidade", href: "#" }
                ]
              }
            ]}
            copyrightText="© 2024 Go Chef. Todos os direitos reservados."
          />
        </div>
      </ReactLenis>
    </ThemeProvider>
  );
}
