"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import ContactCTA from '@/components/sections/contact/ContactCTA';
import FaqSplitMedia from '@/components/sections/faq/FaqSplitMedia';
import FeatureCardNineteen from '@/components/sections/feature/FeatureCardNineteen';
import FooterBaseCard from '@/components/sections/footer/FooterBaseCard';
import HeroBillboardRotatedCarousel from '@/components/sections/hero/HeroBillboardRotatedCarousel';
import MetricCardEleven from '@/components/sections/metrics/MetricCardEleven';
import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered';
import TeamCardFive from '@/components/sections/team/TeamCardFive';
import TestimonialCardTwelve from '@/components/sections/testimonial/TestimonialCardTwelve';

export default function LandingPage() {
  return (
    <ThemeProvider
        defaultButtonVariant="hover-bubble"
        defaultTextAnimation="reveal-blur"
        borderRadius="soft"
        contentWidth="small"
        sizing="large"
        background="blurBottom"
        cardStyle="inset"
        primaryButtonStyle="shadow"
        secondaryButtonStyle="solid"
        headingFontWeight="light"
    >
      <ReactLenis root>
  <div id="nav" data-section="nav">
      <NavbarStyleCentered
      navItems={[
        {
          name: "Accueil",          id: "hero"},
        {
          name: "Services",          id: "services"},
        {
          name: "Témoignages",          id: "testimonials"},
        {
          name: "Contact",          id: "contact"},
      ]}
      brandName="Kaltech"
    />
  </div>

  <div id="hero" data-section="hero">
      <HeroBillboardRotatedCarousel
      background={{
        variant: "rotated-rays-static"}}
      title="Kaltech : Votre Expert Chauffage à Sorigny"
      description="Installation, dépannage et maintenance. Intervention 24h/24 pour votre confort thermique dans le 37."
      buttons={[
        {
          text: "Appeler maintenant",          href: "tel:0766286516"},
      ]}
      carouselItems={[
        {
          id: "1",          imageSrc: "http://img.b2bpic.net/free-photo/full-shot-woman-reading-home_23-2149308983.jpg",          imageAlt: "Installation chauffage haute gamme"},
        {
          id: "2",          imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-black-man-working_23-2149546192.jpg",          imageAlt: "Expertise thermique"},
        {
          id: "3",          imageSrc: "http://img.b2bpic.net/free-photo/woman-video-blogger-filming-new-vlog_1303-18373.jpg",          imageAlt: "Dépannage rapide"},
        {
          id: "4",          imageSrc: "http://img.b2bpic.net/free-photo/athlete-checking-snowboard-gear-lobby_482257-76562.jpg",          imageAlt: "Confort thermique"},
        {
          id: "5",          imageSrc: "http://img.b2bpic.net/free-photo/man-drinking-hot-beverage-energy-crisis_23-2150061897.jpg",          imageAlt: "Service 24/7"},
        {
          id: "6",          imageSrc: "http://img.b2bpic.net/free-photo/full-length-photo-thoughtful-entrepreneur-nightwear-makes-notes-working-plan-notepad-looks-pensively-aside-stands-spacious-room-near-window_273609-19062.jpg",          imageAlt: "Professionnel Sorigny"},
      ]}
    />
  </div>

  <div id="services" data-section="services">
      <FeatureCardNineteen
      textboxLayout="split"
      useInvertedBackground={false}
      features={[
        {
          tag: "Urgence",          title: "Dépannage 24h/24",          subtitle: "Intervention éclair",          description: "Remise en service rapide de votre chauffe-eau ou chaudière en moins de 24h.",          imageSrc: "http://img.b2bpic.net/free-photo/high-angle-woman-working-as-plumber_23-2150746394.jpg"},
        {
          tag: "Expertise",          title: "Installation",          subtitle: "Qualité durable",          description: "Installation professionnelle de systèmes performants et économiques.",          imageSrc: "http://img.b2bpic.net/free-photo/male-plumber-working-fix-problems-client-s-house_23-2150990730.jpg"},
        {
          tag: "Entretien",          title: "Maintenance",          subtitle: "Sécurité garantie",          description: "Révisions annuelles pour assurer longévité et sécurité à vos équipements.",          imageSrc: "http://img.b2bpic.net/free-photo/worker-repairing-water-heater_23-2149334226.jpg"},
      ]}
      title="Nos Solutions Thermiques"
      description="Nous intervenons rapidement pour tous vos besoins en chauffage, chaudières et chauffe-eau."
    />
  </div>

  <div id="metrics" data-section="metrics">
      <MetricCardEleven
      animationType="slide-up"
      textboxLayout="default"
      useInvertedBackground={false}
      metrics={[
        {
          id: "m1",          value: "5/5",          title: "Note Google",          description: "Basée sur 10 avis vérifiés de nos clients.",          imageSrc: "http://img.b2bpic.net/free-photo/man-installs-heating-system-house-checks-pipes-with-wrench_169016-55595.jpg"},
        {
          id: "m2",          value: "24h",          title: "Réactivité",          description: "Intervention prioritaire en cas d'urgence.",          imageSrc: "http://img.b2bpic.net/free-photo/man-electrical-technician-working-switchboard-with-fuses-uses-tablet_169016-23926.jpg"},
        {
          id: "m3",          value: "100%",          title: "Recommandation",          description: "La confiance de nos clients locaux.",          imageSrc: "http://img.b2bpic.net/free-photo/electrician-is-mounting-electric-sockets-white-wall-indoors_169016-17482.jpg"},
      ]}
      title="Pourquoi nous faire confiance ?"
      description="La satisfaction client est au cœur de notre engagement."
    />
  </div>

  <div id="testimonials" data-section="testimonials">
      <TestimonialCardTwelve
      useInvertedBackground={false}
      testimonials={[
        {
          id: "1",          name: "Marie-Françoise Maye-Lasserre",          imageSrc: "http://img.b2bpic.net/free-photo/young-girl-with-curly-hair-looking-straight-ahead-as-she-embraces-her-partner-with-unfocused-sea_138670-144.jpg"},
        {
          id: "2",          name: "Marian Pilorget",          imageSrc: "http://img.b2bpic.net/free-photo/happy-business-women-posing-pointing-fingers-camera-while-sitting-table-with-coffee-cups-documents_74855-9959.jpg"},
        {
          id: "3",          name: "Alix F",          imageSrc: "http://img.b2bpic.net/free-photo/smiling-young-caucasian-woman-keeping-arms-crossed-looking-camera-isolated-blue-background_141793-138750.jpg"},
      ]}
      cardTitle="Ce que disent nos clients"
      cardTag="Avis Clients"
      cardAnimation="slide-up"
    />
  </div>

  <div id="team" data-section="team">
      <TeamCardFive
      animationType="slide-up"
      textboxLayout="inline-image"
      useInvertedBackground={false}
      team={[
        {
          id: "t1",          name: "Zakkaria",          role: "Fondateur & Chauffagiste",          imageSrc: "http://img.b2bpic.net/free-photo/displeased-young-builder-man-construction-uniform-safety-helmet-with-crossed-hands-chest_141793-28093.jpg"},
        {
          id: "t2",          name: "Équipe Technique",          role: "Service Technique",          imageSrc: "http://img.b2bpic.net/free-photo/coveralls-digitally-generated-car-cardboard-box-pointing_1134-941.jpg"},
        {
          id: "t3",          name: "Support Client",          role: "Gestion Urgences",          imageSrc: "http://img.b2bpic.net/free-photo/young-loader-holding-house-model-uniform-front-view_176474-21361.jpg"},
      ]}
      title="Votre Expert Local"
      description="Zakkaria, professionnel chauffagiste, à votre écoute."
    />
  </div>

  <div id="faq" data-section="faq">
      <FaqSplitMedia
      textboxLayout="split-description"
      useInvertedBackground={false}
      faqs={[
        {
          id: "f1",          title: "Quelle est votre zone d'intervention ?",          content: "Nous intervenons sur Sorigny et toutes les communes environnantes dans le 37."},
        {
          id: "f2",          title: "Intervenez-vous la nuit ?",          content: "Oui, nous proposons un service d'urgence 24h/24 pour garantir votre sécurité."},
        {
          id: "f3",          title: "Comment demander un devis ?",          content: "Appelez-nous directement au 07 66 28 65 16 pour une intervention immédiate ou un devis personnalisé."},
      ]}
      imageSrc="http://img.b2bpic.net/free-photo/architecture-workers-checking-blueprints-with-maquette_482257-8117.jpg"
      title="Questions Fréquentes"
      description="Besoin d'informations sur nos services ?"
      faqsAnimation="blur-reveal"
      mediaAnimation="blur-reveal"
    />
  </div>

  <div id="contact" data-section="contact">
      <ContactCTA
      useInvertedBackground={false}
      background={{
        variant: "plain"}}
      tag="Urgence"
      title="Besoin d'un chauffagiste ?"
      description="Contactez Zakkaria : 07 66 28 65 16 | contact@kaltech-chauffage.fr | Sorigny, 37250"
      buttons={[
        {
          text: "Appeler le 07 66 28 65 16",          href: "tel:0766286516"},
      ]}
    />
  </div>

  <div id="footer" data-section="footer">
      <FooterBaseCard
      logoText="Kaltech"
      columns={[
        {
          title: "Services",          items: [
            {
              label: "Dépannage 24/7",              href: "#services"},
            {
              label: "Installation",              href: "#services"},
            {
              label: "Entretien",              href: "#services"},
          ],
        },
        {
          title: "Entreprise",          items: [
            {
              label: "Contact",              href: "#contact"},
            {
              label: "Mentions Légales",              href: "#"},
          ],
        },
      ]}
      copyrightText="© 2025 Kaltech. Tous droits réservés."
    />
  </div>
      </ReactLenis>
    </ThemeProvider>
  );
}