"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import ContactSplit from '@/components/sections/contact/ContactSplit';
import FeatureCardSix from '@/components/sections/feature/FeatureCardSix';
import FeatureCardTwentyThree from '@/components/sections/feature/FeatureCardTwentyThree';
import FooterBaseCard from '@/components/sections/footer/FooterBaseCard';
import HeroBillboard from '@/components/sections/hero/HeroBillboard';
import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered';
import TestimonialCardFifteen from '@/components/sections/testimonial/TestimonialCardFifteen';

export default function LandingPage() {
  return (
    <ThemeProvider
        defaultButtonVariant="text-stagger"
        defaultTextAnimation="reveal-blur"
        borderRadius="soft"
        contentWidth="mediumLarge"
        sizing="large"
        background="none"
        cardStyle="inset"
        primaryButtonStyle="double-inset"
        secondaryButtonStyle="solid"
        headingFontWeight="semibold"
    >
      <ReactLenis root>
  <div id="nav" data-section="nav">
      <NavbarStyleCentered
      navItems={[
        {
          name: "Accueil",          id: "/"},
        {
          name: "L'équipe",          id: "/equipe"},
        {
          name: "Première consultation",          id: "/consultation"},
        {
          name: "Traitements",          id: "/traitements"},
        {
          name: "Actualités",          id: "/actualites"},
        {
          name: "Nous contacter",          id: "/contact"},
      ]}
      brandName="OCLV Orthodontie"
    />
  </div>

  <div id="hero" data-section="hero">
      <HeroBillboard
      background={{
        variant: "plain"}}
      title="Bienvenue chez OCLV"
      description="Cabinet spécialisé enfants & adultes · Orléans"
      buttons={[
        {
          text: "Prendre rendez-vous",          href: "/contact"},
      ]}
      imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3DdgaBQRTI5ZWlUjAnBChEfxgE4/uploaded-1778617694659-4tmxsfd3.png"
      imageAlt="3D Dental Concept"
    />
  </div>

  <div id="features" data-section="features">
      <FeatureCardSix
      textboxLayout="default"
      useInvertedBackground={true}
      features={[
        {
          title: "Orthodontie Enfants",          description: "Accompagnement dès le plus jeune âge.",          imageSrc: "http://img.b2bpic.net/free-photo/3d-representation-dental-health-hygiene_23-2150473209.jpg"},
        {
          title: "Orthodontie Adultes",          description: "Discrétion et efficacité pour tous.",          imageSrc: "http://img.b2bpic.net/free-photo/side-view-woman-mountain-collage_23-2150149050.jpg"},
        {
          title: "Orthopédie",          description: "Expertise en santé dento-faciale.",          imageSrc: "http://img.b2bpic.net/free-photo/man-holding-his-beard-with-copy-space_23-2148696627.jpg"},
      ]}
      title="Nos Spécialités"
      description="Une approche sur-mesure pour tous les âges."
    />
  </div>

  <div id="testimonials" data-section="testimonials">
      <TestimonialCardFifteen
      useInvertedBackground={false}
      testimonial="Un cabinet exceptionnel. Dr Landel-Vallais est d'une grande bienveillance et ses soins sont parfaits."
      rating={5}
      author="Marie Dupont"
      avatars={[
        {
          src: "http://img.b2bpic.net/free-photo/smiling-female-dentist-treating-patient-clinic_23-2147906074.jpg",          alt: "Marie"},
      ]}
      ratingAnimation="slide-up"
      avatarsAnimation="blur-reveal"
    />
  </div>

  <div id="feature" data-section="feature">
      <FeatureCardTwentyThree
      animationType="slide-up"
      textboxLayout="default"
      useInvertedBackground={false}
      title="Questions Fréquentes"
      description="Tout savoir sur vos soins."
      features={[
        {
          id: "f1",          title: "À quel âge consulter ?",          tags: [
            "Enfants"],
          imageSrc: "http://img.b2bpic.net/free-photo/wise-doctor-with-stethoscope_1098-140.jpg?_wi=1",          imageAlt: "male patient portrait dental"},
      ]}
    />
  </div>

  <div id="contact-home" data-section="contact-home">
      <ContactSplit
      useInvertedBackground={true}
      background={{
        variant: "plain"}}
      tag="Contact"
      title="Localisation"
      description="13 Rue d'Angleterre, 45000 Orléans."
      imageSrc="http://img.b2bpic.net/free-photo/front-view-woman-posing-with-dental-gems_23-2151212440.jpg"
    />
  </div>

  <div id="footer" data-section="footer">
      <FooterBaseCard
      logoText="OCLV"
      columns={[
        {
          title: "Informations",          items: [
            {
              label: "Contact",              href: "/contact"},
            {
              label: "Mentions Légales",              href: "#"},
          ],
        },
      ]}
    />
  </div>
      </ReactLenis>
    </ThemeProvider>
  );
}