"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 TeamCardEleven from '@/components/sections/team/TeamCardEleven';

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="locations" data-section="locations">
      <TeamCardEleven
      animationType="opacity"
      textboxLayout="default"
      useInvertedBackground={false}
      groups={[
        {
          id: "sede-centro",          groupTitle: "Sede Centro",          members: [
            {
              id: "member-centro",              title: "Via della Dolcezza 12, Milano",              subtitle: "Lun–Dom 11:00–22:00",              detail: "Tel. +39 02 1234567\nLaboratorio artigianale interno",              imageSrc: "http://img.b2bpic.net/free-photo/small-business-items-serving-coffee_23-2149458023.jpg",              imageAlt: "Interni Sede Centro"},
          ]
        },
        {
          id: "sede-navigli",          groupTitle: "Sede Navigli",          members: [
            {
              id: "member-navigli",              title: "Alzaia Naviglio Grande 48, Milano",              subtitle: "Lun–Dom 12:00–23:00",              detail: "Tel. +39 02 7654321",              imageSrc: "http://img.b2bpic.net/free-photo/view-strawberry-cake-bakery-shop_23-2150360188.jpg",              imageAlt: "Interni Sede Navigli"},
          ]
        },
      ]}
      title="Le Nostre Sedi"
      description="Vieni a trovarci e scopri l'atmosfera unica delle nostre gelaterie nel cuore di Milano. Ti aspettiamo per un'esperienza di gusto indimenticabile!"
    />
  </div>

  <div id="call-us-cta" data-section="call-us-cta">
      <ContactText
      useInvertedBackground={false}
      background={{
        variant: "plain"}}
      text="Hai bisogno di informazioni o vuoi fare un ordine speciale? Non esitare a contattarci, siamo qui per te!"
      buttons={[
        {
          text: "Chiamaci Ora",          href: "tel:+39021234567"},
      ]}
    />
  </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>
  );
}
