"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import ContactText from '@/components/sections/contact/ContactText';
import FooterSimple from '@/components/sections/footer/FooterSimple';
import NavbarLayoutFloatingInline from '@/components/navbar/NavbarLayoutFloatingInline';
import ProductCardOne from '@/components/sections/product/ProductCardOne';

export default function LandingPage() {
  return (
    <ThemeProvider
        defaultButtonVariant="elastic-effect"
        defaultTextAnimation="entrance-slide"
        borderRadius="pill"
        contentWidth="mediumSmall"
        sizing="mediumLargeSizeLargeTitles"
        background="aurora"
        cardStyle="solid"
        primaryButtonStyle="radial-glow"
        secondaryButtonStyle="radial-glow"
        headingFontWeight="extrabold"
    >
      <ReactLenis root>
  <div id="nav" data-section="nav">
      <NavbarLayoutFloatingInline
      navItems={[
        {
          name: "Home",
          id: "/",
        },
        {
          name: "I Nostri Gusti",
          id: "/gusti",
        },
        {
          name: "Ordina",
          id: "/ordina",
        },
        {
          name: "Le Sedi",
          id: "/sedi",
        },
        {
          name: "La Nostra Storia",
          id: "/storia",
        },
      ]}
      brandName="Santo Gelato"
      button={{
        text: "Chiama Ora",
        href: "tel:+39021234567",
      }}
      animateOnLoad={true}
    />
  </div>

  <div id="all-flavors" data-section="all-flavors">
      <ProductCardOne
      animationType="opacity"
      textboxLayout="default"
      gridVariant="three-columns-all-equal-width"
      useInvertedBackground={false}
      products={[
        {
          id: "gusto-fior-di-latte",
          name: "Fior di latte 🟢",
          price: "Disponibile",
          imageSrc: "http://img.b2bpic.net/free-photo/blackberries-glass-cup-with-ice-cream-white-textured-side-view_176474-7247.jpg",
          imageAlt: "Gelato Fior di latte",
        },
        {
          id: "gusto-crema-uovo",
          name: "Crema all’uovo 🟢",
          price: "Disponibile",
          imageSrc: "http://img.b2bpic.net/free-photo/close-up-texture-cream_23-2149409604.jpg",
          imageAlt: "Gelato Crema all'uovo",
        },
        {
          id: "gusto-pistacchio",
          name: "Pistacchio di Bronte 🟢",
          price: "Disponibile",
          imageSrc: "http://img.b2bpic.net/free-photo/pistachio-ice-cream_658428-311.jpg",
          imageAlt: "Gelato Pistacchio di Bronte",
        },
        {
          id: "gusto-nocciola",
          name: "Nocciola del Piemonte 🟢",
          price: "Disponibile",
          imageSrc: "http://img.b2bpic.net/free-photo/chocolate-mousse_23-2148148760.jpg",
          imageAlt: "Gelato Nocciola del Piemonte",
        },
        {
          id: "gusto-stracciatella",
          name: "Stracciatella 🟢",
          price: "Disponibile",
          imageSrc: "http://img.b2bpic.net/free-photo/delicious-vanilla-ice-cream-still-life_23-2150096667.jpg",
          imageAlt: "Gelato Stracciatella",
        },
        {
          id: "gusto-tiramisu",
          name: "Tiramisù 🟡",
          price: "Stagionale",
          imageSrc: "http://img.b2bpic.net/free-photo/top-vire-cup-hot-chocolate-with-whipped-cream-cocoa-powder_181624-57705.jpg",
          imageAlt: "Gelato Tiramisù",
        },
        {
          id: "gusto-cioccolato-fondente",
          name: "Cioccolato fondente 70% 🟢",
          price: "Disponibile",
          imageSrc: "http://img.b2bpic.net/free-photo/close-up-chocolate-ice-cream-scoops_23-2148425431.jpg",
          imageAlt: "Gelato Cioccolato fondente",
        },
        {
          id: "gusto-cioccolato-bianco-lamponi",
          name: "Cioccolato bianco e lamponi 🟡",
          price: "Stagionale",
          imageSrc: "http://img.b2bpic.net/free-photo/close-up-pink-swirl-ice-cream_23-2151991304.jpg",
          imageAlt: "Gelato Cioccolato bianco e lamponi",
        },
        {
          id: "gusto-caramello-salato",
          name: "Caramello salato 🟢",
          price: "Disponibile",
          imageSrc: "http://img.b2bpic.net/free-photo/caramel-ice-cream-texture_23-2149450740.jpg",
          imageAlt: "Gelato Caramello salato",
        },
        {
          id: "gusto-burro-miele",
          name: "Burro e miele 🔴",
          price: "Non disponibile",
          imageSrc: "http://img.b2bpic.net/free-photo/top-view-ice-cream-waffle-cone-with-orange-gypsophila-rag-napkins_176474-3378.jpg",
          imageAlt: "Gelato Burro e miele",
        },
        {
          id: "gusto-limone",
          name: "Limone di Sicilia 🟢",
          price: "Disponibile",
          imageSrc: "http://img.b2bpic.net/free-photo/delicious-granita-dessert-with-orange_23-2149395609.jpg",
          imageAlt: "Sorbetti Limone di Sicilia",
        },
        {
          id: "gusto-fragola",
          name: "Fragola 🟡",
          price: "Stagionale",
          imageSrc: "http://img.b2bpic.net/free-photo/delicious-dessert-with-strawberries-high-angle_23-2149412359.jpg",
          imageAlt: "Sorbetti Fragola",
        },
        {
          id: "gusto-mango",
          name: "Mango e passion fruit 🟡",
          price: "Stagionale",
          imageSrc: "http://img.b2bpic.net/free-photo/glass-with-yogurt-piece-cloth_23-2148660414.jpg",
          imageAlt: "Sorbetti Mango e passion fruit",
        },
        {
          id: "gusto-pesca",
          name: "Pesca e lavanda 🔴",
          price: "Non disponibile",
          imageSrc: "http://img.b2bpic.net/free-photo/delicious-granita-dessert-with-lime_23-2149395620.jpg",
          imageAlt: "Sorbetti Pesca e lavanda",
        },
        {
          id: "gusto-anguria",
          name: "Anguria 🔴",
          price: "Non disponibile",
          imageSrc: "http://img.b2bpic.net/free-photo/sweet-watermelon-cut-green-background_23-2148134910.jpg",
          imageAlt: "Sorbetti Anguria",
        },
        {
          id: "gusto-melone",
          name: "Melone 🔴",
          price: "Non disponibile",
          imageSrc: "http://img.b2bpic.net/free-photo/japanese-melon-cantaloupe-cantaloupe-seasonal-fruit-health-concept_1150-23392.jpg",
          imageAlt: "Sorbetti Melone",
        },
        {
          id: "gusto-frutti-bosco",
          name: "Frutti di bosco 🟢",
          price: "Disponibile",
          imageSrc: "http://img.b2bpic.net/free-photo/top-view-different-fresh-berries-inside-cups-bright-purple-berry-fruit-fresh_140725-34230.jpg",
          imageAlt: "Sorbetti Frutti di bosco",
        },
        {
          id: "gusto-arancia-rossa",
          name: "Arancia rossa 🔴",
          price: "Non disponibile",
          imageSrc: "http://img.b2bpic.net/free-photo/freshly-squeezed-juice-glass-fresh-fruit-kitchen-table_169016-49135.jpg",
          imageAlt: "Sorbetti Arancia rossa",
        },
        {
          id: "gusto-ricotta-fichi",
          name: "Ricotta e fichi 🟡",
          price: "Stagionale",
          imageSrc: "http://img.b2bpic.net/free-photo/slice-chocolate-cake-black-platter-with-figs_114579-28804.jpg",
          imageAlt: "Gelato Speciale Ricotta e fichi",
        },
        {
          id: "gusto-pane-marmellata",
          name: "Pane tostato e marmellata 🟢",
          price: "Disponibile",
          imageSrc: "http://img.b2bpic.net/free-photo/sweet-homemade-natural-jam-slice-bread_23-2148525205.jpg",
          imageAlt: "Gelato Speciale Pane tostato e marmellata",
        },
        {
          id: "gusto-sesamo-miele",
          name: "Sesamo nero e miele 🔴",
          price: "Non disponibile",
          imageSrc: "http://img.b2bpic.net/free-photo/delicious-ice-cream-winter-time_23-2149618896.jpg",
          imageAlt: "Gelato Speciale Sesamo nero e miele",
        },
        {
          id: "gusto-yogurt-cereali",
          name: "Yogurt greco e cereali 🟢",
          price: "Disponibile",
          imageSrc: "http://img.b2bpic.net/free-photo/ice-cream-scoops-broken-cones_23-2148150218.jpg",
          imageAlt: "Gelato Speciale Yogurt greco e cereali",
        },
      ]}
      title="I Nostri Gusti Artigianali"
      description="Esplora la nostra selezione di gelati, preparati con cura e passione. Ogni gusto è un viaggio nel sapore autentico italiano.\n\n🟢 Disponibile ora · 🟡 Stagionale · 🔴 Non disponibile\n\n**Creme:**"
    />
  </div>

  <div id="order-cta-gusti" data-section="order-cta-gusti">
      <ContactText
      useInvertedBackground={false}
      background={{
        variant: "plain",
      }}
      text="Vuoi portare la dolcezza di Santo Gelato a casa tua? Ordina subito la tua vaschetta personalizzata!\n\nI gusti stagionali cambiano ogni mese. Seguici su Instagram per scoprire le novità."
      buttons={[
        {
          text: "Ordina la tua Vaschetta",
          href: "/ordina",
        },
      ]}
    />
  </div>

  <div id="footer" data-section="footer">
      <FooterSimple
      columns={[
        {
          title: "Contatti",
          items: [
            {
              label: "Telefono: +39 02 1234567",
              href: "tel:+39021234567",
            },
            {
              label: "Email: info@santogelato.it",
              href: "mailto:info@santogelato.it",
            },
          ],
        },
        {
          title: "Sedi",
          items: [
            {
              label: "Sede Centro",
              href: "/sedi#sede-centro",
            },
            {
              label: "Sede Navigli",
              href: "/sedi#sede-navigli",
            },
          ],
        },
        {
          title: "Social",
          items: [
            {
              label: "Instagram",
              href: "https://instagram.com/santogelato",
            },
            {
              label: "Facebook",
              href: "https://facebook.com/santogelato",
            },
          ],
        },
        {
          title: "Orari",
          items: [
            {
              label: "Lun–Dom: 11:00–22:00 (Centro)",
              href: "#",
            },
            {
              label: "Lun–Dom: 12:00–23:00 (Navigli)",
              href: "#",
            },
          ],
        },
      ]}
      bottomLeftText="© 2024 Santo Gelato. Tutti i diritti riservati."
      bottomRightText="Realizzato con passione"
    />
  </div>
      </ReactLenis>
    </ThemeProvider>
  );
}
