"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import ContactText from '@/components/sections/contact/ContactText';
import FaqSplitMedia from '@/components/sections/faq/FaqSplitMedia';
import FeatureCardMedia from '@/components/sections/feature/FeatureCardMedia';
import FooterMedia from '@/components/sections/footer/FooterMedia';
import HeroOverlayTestimonial from '@/components/sections/hero/HeroOverlayTestimonial';
import MetricSplitMediaAbout from '@/components/sections/about/MetricSplitMediaAbout';
import NavbarStyleFullscreen from '@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen';
import ProductCardTwo from '@/components/sections/product/ProductCardTwo';
import TestimonialCardTwelve from '@/components/sections/testimonial/TestimonialCardTwelve';

export default function LandingPage() {
  return (
    <ThemeProvider
        defaultButtonVariant="bounce-effect"
        defaultTextAnimation="entrance-slide"
        borderRadius="pill"
        contentWidth="smallMedium"
        sizing="mediumLargeSizeLargeTitles"
        background="noiseDiagonalGradient"
        cardStyle="gradient-bordered"
        primaryButtonStyle="gradient"
        secondaryButtonStyle="solid"
        headingFontWeight="light"
    >
      <ReactLenis root>
  <div id="nav" data-section="nav">
      <NavbarStyleFullscreen
      navItems={[
        {
          name: "Accueil",
          id: "#hero",
        },
        {
          name: "À propos",
          id: "#about",
        },
        {
          name: "Menu",
          id: "#menu",
        },
        {
          name: "Contact",
          id: "#contact",
        },
      ]}
      brandName="Pomme Frite"
    />
  </div>

  <div id="hero" data-section="hero">
      <HeroOverlayTestimonial
      title="Les Burgers Gourmets Les Plus Savoureux de Sainte-Thérèse"
      description="Viande fraîche, frites maison, poutines incroyables et service rapide dans une ambiance chaleureuse."
      testimonials={[
        {
          name: "Marc T.",
          handle: "@mt",
          testimonial: "Super hamburger, viande fraîche, frites faites maison.",
          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/front-view-beef-burger-with-salad-bacon_23-2148784490.jpg",
          imageAlt: "gourmet cheeseburger wooden table studio shot",
        },
        {
          name: "Julie L.",
          handle: "@jl",
          testimonial: "Service rapide et bien organisé.",
          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/cozy-woman-setting-table-kitchen_23-2148717783.jpg",
          imageAlt: "gourmet cheeseburger wooden table studio shot",
        },
        {
          name: "Sophie P.",
          handle: "@sp",
          testimonial: "Excellent service avec une équipe accueillante.",
          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/front-view-burger-with-bacon-slate_23-2148784470.jpg",
          imageAlt: "gourmet cheeseburger wooden table studio shot",
        },
        {
          name: "Luc D.",
          handle: "@ld",
          testimonial: "Le meilleur burger en ville, vraiment gourmand.",
          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/creative-assortment-tasty-food_23-2148949072.jpg",
          imageAlt: "gourmet cheeseburger wooden table studio shot",
        },
        {
          name: "Carole B.",
          handle: "@cb",
          testimonial: "Une expérience incroyable, je recommande !",
          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/plate-tomato-lemon-chicken-nuggets_114579-20911.jpg",
          imageAlt: "gourmet cheeseburger wooden table studio shot",
        },
      ]}
      buttons={[
        {
          text: "Voir le menu",
          href: "#menu",
        },
        {
          text: "Commander maintenant",
          href: "#contact",
        },
      ]}
      imageSrc="http://img.b2bpic.net/free-photo/front-view-beef-burger-with-salad-bacon_23-2148784490.jpg"
      avatars={[
        {
          src: "http://img.b2bpic.net/free-photo/medium-shot-woman-eating_23-2148972797.jpg",
          alt: "Client satisfait 1",
        },
        {
          src: "http://img.b2bpic.net/free-photo/couple-enjoying-food-restaurant_23-2149269179.jpg",
          alt: "Client satisfait 2",
        },
        {
          src: "http://img.b2bpic.net/free-photo/beautiful-girl-eating-caesar-salad-restaurant_8353-6592.jpg",
          alt: "Client satisfait 3",
        },
        {
          src: "http://img.b2bpic.net/free-photo/food-woman-happy-girl-people_1303-1527.jpg",
          alt: "Client satisfait 4",
        },
        {
          src: "http://img.b2bpic.net/free-photo/positive-smiling-woman-with-collected-hair-wearing-white-shirt_291650-656.jpg",
          alt: "Client satisfait 5",
        },
      ]}
    />
  </div>

  <div id="about" data-section="about">
      <MetricSplitMediaAbout
      useInvertedBackground={false}
      title="Notre Passion Gourmet"
      description="Chez Pomme Frite Burger Gourmet, chaque repas est préparé avec passion et des ingrédients frais. Reconnus pour nos burgers savoureux, nos fameuses poutines et notre service rapide, nous offrons une expérience gourmande mémorable depuis plusieurs années."
      metrics={[
        {
          value: "4.6",
          title: "Note Google",
        },
        {
          value: "750+",
          title: "Avis Clients",
        },
        {
          value: "100%",
          title: "Fait Maison",
        },
      ]}
      imageSrc="http://img.b2bpic.net/free-photo/cozy-woman-setting-table-kitchen_23-2148717783.jpg"
      mediaAnimation="slide-up"
      metricsAnimation="slide-up"
    />
  </div>

  <div id="features" data-section="features">
      <FeatureCardMedia
      animationType="slide-up"
      textboxLayout="default"
      useInvertedBackground={false}
      features={[
        {
          id: "1",
          title: "Repas sur place",
          description: "Une ambiance chaleureuse et premium pour vos repas en famille ou entre amis.",
          tag: "Restaurant",
          imageSrc: "http://img.b2bpic.net/free-photo/serving-table-young-woman-swhite-shirt-putting-plates-table_259150-59713.jpg",
        },
        {
          id: "2",
          title: "Commande en ligne",
          description: "Commandez facilement depuis notre site web et profitez de votre repas chez vous.",
          tag: "Pratique",
          imageSrc: "http://img.b2bpic.net/free-photo/front-view-delicious-thanksgiving-meal_23-2148629541.jpg",
        },
        {
          id: "3",
          title: "Livraison Rapide",
          description: "Nous livrons vos burgers préférés directement à votre porte rapidement.",
          tag: "Livraison",
          imageSrc: "http://img.b2bpic.net/free-photo/table-with-food-thanksgiving-day-event_23-2148632534.jpg",
        },
      ]}
      title="Services Gourmet"
      description="Nous mettons tout en œuvre pour vous offrir la meilleure expérience possible, sur place ou chez vous."
    />
  </div>

  <div id="menu" data-section="menu">
      <ProductCardTwo
      animationType="slide-up"
      textboxLayout="default"
      gridVariant="four-items-2x2-equal-grid"
      useInvertedBackground={false}
      products={[
        {
          id: "1",
          brand: "Burger",
          name: "Hamburger Gourmet Pomme Frite",
          price: "18,95$",
          rating: 5,
          reviewCount: "120",
          imageSrc: "http://img.b2bpic.net/free-photo/front-view-burger-with-bacon-slate_23-2148784470.jpg",
        },
        {
          id: "2",
          brand: "Poutine",
          name: "Poutine Classique",
          price: "12,50$",
          rating: 5,
          reviewCount: "200",
          imageSrc: "http://img.b2bpic.net/free-photo/creative-assortment-tasty-food_23-2148949072.jpg",
        },
        {
          id: "3",
          brand: "Plats",
          name: "Fish & Chips",
          price: "19,95$",
          rating: 4,
          reviewCount: "85",
          imageSrc: "http://img.b2bpic.net/free-photo/plate-tomato-lemon-chicken-nuggets_114579-20911.jpg",
        },
        {
          id: "4",
          brand: "Snack",
          name: "Hot-dogs gourmets",
          price: "9,95$",
          rating: 5,
          reviewCount: "95",
          imageSrc: "http://img.b2bpic.net/free-photo/front-view-bread-brown-with-flour-poured-brown-surface_140725-14332.jpg",
        },
        {
          id: "5",
          brand: "Sandwich",
          name: "Sandwich au poulet",
          price: "16,50$",
          rating: 4,
          reviewCount: "110",
          imageSrc: "http://img.b2bpic.net/free-photo/top-view-french-fries-with-chicken-slices-brown-table_140725-104014.jpg",
        },
        {
          id: "6",
          brand: "Accompagnement",
          name: "Frites maison",
          price: "5,50$",
          rating: 5,
          reviewCount: "300",
          imageSrc: "http://img.b2bpic.net/free-photo/french-fries-stacked-paper-cone_181624-57939.jpg",
        },
      ]}
      title="Notre Menu Populaire"
      description="Découvrez nos incontournables gourmets préparés avec des ingrédients de qualité."
    />
  </div>

  <div id="testimonials" data-section="testimonials">
      <TestimonialCardTwelve
      useInvertedBackground={false}
      testimonials={[
        {
          id: "1",
          name: "Marc T.",
          imageSrc: "http://img.b2bpic.net/free-photo/beautiful-girl-sitting-cafe_1157-20848.jpg",
        },
        {
          id: "2",
          name: "Julie L.",
          imageSrc: "http://img.b2bpic.net/free-photo/successful-young-man-stylish-hat-relaxing-alone-cozy-cafeteria-lunch-break-looking-with-happy-expression_273609-1935.jpg",
        },
        {
          id: "3",
          name: "Sophie P.",
          imageSrc: "http://img.b2bpic.net/free-photo/mature-woman-posing-studio_176474-73483.jpg",
        },
        {
          id: "4",
          name: "Luc D.",
          imageSrc: "http://img.b2bpic.net/free-photo/side-view-happy-curly-woman-talking-by-phone_171337-16739.jpg",
        },
        {
          id: "5",
          name: "Carole B.",
          imageSrc: "http://img.b2bpic.net/free-photo/portrait-adorable-blue-eyed-female-model-with-hair-knot-wears-overalls-enjoys-drinking-fruit-smoothie-looks-happily-somewhere-while-sits-cozy-restaurant-beautiful-teenage-girl-coffee-shop_273609-3038.jpg",
        },
      ]}
      cardTitle="Ce que disent nos clients"
      cardTag="Avis"
      cardAnimation="slide-up"
    />
  </div>

  <div id="faq" data-section="faq">
      <FaqSplitMedia
      textboxLayout="default"
      useInvertedBackground={false}
      faqs={[
        {
          id: "1",
          title: "Où êtes-vous situés ?",
          content: "Nous sommes au 19 Rue Blainville O, Sainte-Thérèse, QC J7E 1X1.",
        },
        {
          id: "2",
          title: "Proposez-vous la livraison ?",
          content: "Oui, nous proposons la livraison rapide via nos partenaires et notre service interne.",
        },
        {
          id: "3",
          title: "Quels sont vos horaires ?",
          content: "Nous sommes ouverts du mardi au dimanche de 11h à 22h.",
        },
      ]}
      title="Questions Fréquentes"
      description="Tout ce que vous devez savoir sur notre restaurant."
      faqsAnimation="slide-up"
      imageSrc="http://img.b2bpic.net/free-photo/front-view-burger-with-egg-table_23-2148678850.jpg"
    />
  </div>

  <div id="contact" data-section="contact">
      <ContactText
      useInvertedBackground={false}
      background={{
        variant: "canvas-reveal",
      }}
      text="Besoin de réserver ou de commander ? Appelez-nous au (450) 951-8519 ou passez nous voir directement au 19 Rue Blainville O, Sainte-Thérèse."
      buttons={[
        {
          text: "Appeler maintenant",
          href: "tel:4509518519",
        },
        {
          text: "Itinéraire",
          href: "https://maps.google.com",
        },
      ]}
    />
  </div>

  <div id="footer" data-section="footer">
      <FooterMedia
      imageSrc="http://img.b2bpic.net/free-photo/lit-store-city-night_23-2149001230.jpg"
      logoText="Pomme Frite Burger Gourmet"
      columns={[
        {
          title: "Navigation",
          items: [
            {
              label: "Accueil",
              href: "#hero",
            },
            {
              label: "Menu",
              href: "#menu",
            },
            {
              label: "Contact",
              href: "#contact",
            },
          ],
        },
        {
          title: "Informations",
          items: [
            {
              label: "Adresse",
              href: "#contact",
            },
            {
              label: "Téléphone",
              href: "tel:4509518519",
            },
          ],
        },
      ]}
      copyrightText="© 2026 Pomme Frite Burger Gourmet — Tous droits réservés"
    />
  </div>
      </ReactLenis>
    </ThemeProvider>
  );
}
