"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import AboutMetric from '@/components/sections/about/AboutMetric';
import ContactSplitForm from '@/components/sections/contact/ContactSplitForm';
import FeatureCardTwelve from '@/components/sections/feature/FeatureCardTwelve';
import FooterBaseReveal from '@/components/sections/footer/FooterBaseReveal';
import HeroOverlayTestimonial from '@/components/sections/hero/HeroOverlayTestimonial';
import MetricCardTwo from '@/components/sections/metrics/MetricCardTwo';
import NavbarStyleFullscreen from '@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen';
import PricingCardThree from '@/components/sections/pricing/PricingCardThree';
import TestimonialCardTwo from '@/components/sections/testimonial/TestimonialCardTwo';
import { ShieldCheck, Star, Zap } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
        defaultButtonVariant="text-stagger"
        defaultTextAnimation="reveal-blur"
        borderRadius="pill"
        contentWidth="smallMedium"
        sizing="largeSizeMediumTitles"
        background="noise"
        cardStyle="layered-gradient"
        primaryButtonStyle="flat"
        secondaryButtonStyle="radial-glow"
        headingFontWeight="light"
    >
      <ReactLenis root>
  <div id="nav" data-section="nav">
      <NavbarStyleFullscreen
      navItems={[
        {
          name: "Accueil",
          id: "hero",
        },
        {
          name: "Services",
          id: "services",
        },
        {
          name: "Avis",
          id: "testimonials",
        },
        {
          name: "Contact",
          id: "contact",
        },
      ]}
      brandName="PST - Thomas Mergnac"
      button={{
        text: "06 61 99 58 19",
        href: "tel:0661995819",
      }}
    />
  </div>

  <div id="hero" data-section="hero">
      <HeroOverlayTestimonial
      title="Thomas Mergnac : Votre Plombier de Confiance à Veigné"
      description="Fiable, réactif et précis. Depuis 8 ans, Thomas intervient avec soin pour vos dépannages, fuites et petits travaux. Appelez un vrai professionnel."
      testimonials={[
        {
          name: "Vincent Tiadina",
          handle: "@client",
          testimonial: "Très bon professionnel : fiable, honnête et toujours disponible. Incroyable réactif !",
          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/young-man-kitchen-enjoying-coffee_23-2148322068.jpg?_wi=1",
          imageAlt: "plombier professionnel intervention rapide",
        },
        {
          name: "Marine Fedele",
          handle: "@client",
          testimonial: "Des problèmes d'évacuation majeurs réglés efficacement après 8 ans de galère.",
          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/plumbing-professional-doing-his-job_23-2150721580.jpg",
          imageAlt: "plombier professionnel intervention rapide",
        },
        {
          name: "Ness",
          handle: "@client",
          testimonial: "Tout a toujours été fait soigneusement, efficacement et dans les délais.",
          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/close-up-men-working-together_23-2148752013.jpg",
          imageAlt: "plombier professionnel intervention rapide",
        },
        {
          name: "Jean P.",
          handle: "@client",
          testimonial: "Travail irréprochable et explications claires. Je recommande vivement.",
          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/wrench-connectors-with-clear-paper_23-2147772281.jpg",
          imageAlt: "plombier professionnel intervention rapide",
        },
        {
          name: "Sophie M.",
          handle: "@client",
          testimonial: "Super intervention, rapide et efficace sur une fuite importante.",
          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/plumbing-professional-doing-his-job_23-2150721566.jpg?_wi=1",
          imageAlt: "plombier professionnel intervention rapide",
        },
      ]}
      buttons={[
        {
          text: "Appeler Thomas au 06 61 99 58 19",
          href: "tel:0661995819",
        },
      ]}
      imageSrc="http://img.b2bpic.net/free-photo/young-man-kitchen-enjoying-coffee_23-2148322068.jpg?_wi=2"
      avatars={[
        {
          src: "http://img.b2bpic.net/free-photo/close-up-photo-bearded-guy-smiling-gesturing-with-ok-sign-expressing-good-choice-being-isolated-graphite_171337-455.jpg",
          alt: "Client satisfait portrait",
        },
        {
          src: "http://img.b2bpic.net/free-photo/young-bald-caucasian-man-pink-hoodie-isolated-positive-one-thumb-up-one-down_343596-4823.jpg",
          alt: "Client satisfait portrait",
        },
        {
          src: "http://img.b2bpic.net/free-photo/aged-middle-expression-calling-business_1262-2838.jpg",
          alt: "Client satisfait portrait",
        },
        {
          src: "http://img.b2bpic.net/free-photo/cheerful-bearded-man-busines-clothes-showing-thumb-up-looking-camera-gray_171337-11351.jpg",
          alt: "Client satisfait portrait",
        },
        {
          src: "http://img.b2bpic.net/free-photo/happy-overjoyed-woman-rejoicing-her-success_74855-3513.jpg",
          alt: "Client satisfait portrait",
        },
      ]}
    />
  </div>

  <div id="why" data-section="why">
      <AboutMetric
      useInvertedBackground={true}
      title="Pourquoi Choisir PST Thomas Mergnac ?"
      metrics={[
        {
          label: "Réactivité",
          value: "Intervention Rapide",
          icon: Zap,
        },
        {
          label: "Satisfaction",
          value: "17 Avis 5/5",
          icon: Star,
        },
        {
          label: "Fiabilité",
          value: "Travail Soigné",
          icon: ShieldCheck,
        },
      ]}
      metricsAnimation="slide-up"
    />
  </div>

  <div id="services" data-section="services">
      <FeatureCardTwelve
      animationType="slide-up"
      textboxLayout="split"
      useInvertedBackground={false}
      features={[
        {
          id: "1",
          label: "Plomberie",
          title: "Fuites & Dépannages",
          items: [
            "Recherche de fuite",
            "Réparation rapide",
            "Remplacement robinetterie",
          ],
        },
        {
          id: "2",
          label: "Assainissement",
          title: "Débouchage",
          items: [
            "Canalisations bouchées",
            "Entretien évacuations",
            "Remise en service",
          ],
        },
        {
          id: "3",
          label: "Travaux",
          title: "Petit Bricolage",
          items: [
            "Montage meubles",
            "Améliorations domicile",
            "Installation diverses",
          ],
        },
      ]}
      title="Services Experts à Veigné"
      description="Solutions complètes pour particuliers et locations."
    />
  </div>

  <div id="testimonials" data-section="testimonials">
      <TestimonialCardTwo
      animationType="slide-up"
      textboxLayout="default"
      useInvertedBackground={true}
      testimonials={[
        {
          id: "1",
          name: "Vincent T.",
          role: "Client",
          testimonial: "Fiable, honnête et disponible. Réactif sur fuite.",
          imageSrc: "http://img.b2bpic.net/free-photo/happy-mature-businessman-showing-thumb-up_1262-3024.jpg",
        },
        {
          id: "2",
          name: "Marine F.",
          role: "Client",
          testimonial: "8 ans de problèmes réglés en une seule intervention.",
          imageSrc: "http://img.b2bpic.net/free-photo/very-good-smiling-brunette-woman-shows-ok-okay-hand-sign-looking-satisfied-recommend-great-deal-pleased-with-quality-standing-white-background_176420-46695.jpg",
        },
        {
          id: "3",
          name: "Ness",
          role: "Client",
          testimonial: "Sérieux, soins et délais respectés. Très satisfaite.",
          imageSrc: "http://img.b2bpic.net/free-photo/young-smiling-blonde-russian-girl-puts-hands-chest-looking-side-isolated-orange-background-with-copy-space_141793-65450.jpg",
        },
        {
          id: "4",
          name: "Jean P.",
          role: "Client",
          testimonial: "Intervention impeccable et propre. Je recommande.",
          imageSrc: "http://img.b2bpic.net/free-photo/people-having-dinner-luxurious-restaurants_23-2151081913.jpg",
        },
        {
          id: "5",
          name: "Sophie M.",
          role: "Client",
          testimonial: "Professionnel et très sympathique. Parfait.",
          imageSrc: "http://img.b2bpic.net/free-photo/dark-blonde-bearded-man-crosses-his-hands-chest-posing-black-shirt_8353-1116.jpg",
        },
      ]}
      title="Ils Nous Recommandent"
      description="5 étoiles basées sur 17 avis vérifiés Google."
    />
  </div>

  <div id="zone" data-section="zone">
      <MetricCardTwo
      animationType="slide-up"
      textboxLayout="default"
      gridVariant="uniform-all-items-equal"
      useInvertedBackground={false}
      metrics={[
        {
          id: "1",
          value: "Veigné",
          description: "Base principale",
        },
        {
          id: "2",
          value: "37",
          description: "Secteur d'intervention",
        },
        {
          id: "3",
          value: "Rapidité",
          description: "Proximité assurée",
        },
      ]}
      title="Zone d'Intervention"
      description="Interventions à Veigné et dans tout le secteur 37 Tours Sud."
    />
  </div>

  <div id="cta" data-section="cta">
      <PricingCardThree
      animationType="slide-up"
      textboxLayout="default"
      useInvertedBackground={true}
      plans={[
        {
          id: "cta-1",
          price: "Contactez",
          name: "Appelez maintenant",
          features: [
            "Intervention rapide",
            "Devis honnête",
            "Travail garanti",
          ],
          buttons: [
            {
              text: "06 61 99 58 19",
              href: "tel:0661995819",
            },
          ],
        },
      ]}
      title="Un problème urgent ?"
      description="Thomas intervient rapidement pour vos travaux et dépannages."
    />
  </div>

  <div id="contact" data-section="contact">
      <ContactSplitForm
      useInvertedBackground={false}
      title="Demande d'intervention"
      description="Appelez le 06 61 99 58 19 ou remplissez ce formulaire."
      inputs={[
        {
          name: "Nom",
          type: "text",
          placeholder: "Votre nom",
          required: true,
        },
        {
          name: "Téléphone",
          type: "tel",
          placeholder: "Votre numéro",
          required: true,
        },
      ]}
      textarea={{
        name: "Message",
        placeholder: "Décrivez votre problème plomberie",
        required: true,
      }}
      imageSrc="http://img.b2bpic.net/free-photo/plumbing-professional-doing-his-job_23-2150721566.jpg?_wi=2"
    />
  </div>

  <div id="footer" data-section="footer">
      <FooterBaseReveal
      logoText="PST - Mergnac Thomas"
      columns={[
        {
          title: "Coordonnées",
          items: [
            {
              label: "06 61 99 58 19",
              href: "tel:0661995819",
            },
            {
              label: "3 quater Imp. de Beauregard, 37250 Veigné",
              href: "#",
            },
          ],
        },
        {
          title: "Horaires",
          items: [
            {
              label: "Lun-Ven : 8h-Fermeture",
              href: "#",
            },
          ],
        },
      ]}
    />
  </div>
      </ReactLenis>
    </ThemeProvider>
  );
}
