"use client";

import ReactLenis from "lenis/react";
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarLayoutFloatingOverlay from "@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay";
import HeroCentered from "@/components/sections/hero/HeroCentered";
import FeatureHoverPattern from "@/components/sections/feature/featureHoverPattern/FeatureHoverPattern";
import FooterCard from "@/components/sections/footer/FooterCard";
import ContactText from "@/components/sections/contact/ContactText";
import PricingCardFive from "@/components/sections/pricing/PricingCardFive";
import TestimonialCardOne from "@/components/sections/testimonial/TestimonialCardOne";
import SocialProofOne from "@/components/sections/socialProof/SocialProofOne";
import { Search, Zap } from "lucide-react";

export default function WebAgency2Page() {
  return (
    <ThemeProvider
      defaultButtonVariant="text-stagger"
      defaultTextAnimation="entrance-slide"
      borderRadius="pill"
      contentWidth="medium"
      sizing="medium"
      background="none"
      cardStyle="glass-elevated"
      primaryButtonStyle="gradient"
      secondaryButtonStyle="glass"
      headingFontWeight="medium"
    >
      <ReactLenis root>
        <div id="nav" data-section="nav">
          <NavbarLayoutFloatingOverlay
            navItems={[
              { name: "Home", id: "/" },
              { name: "Réalisations", id: "work" },
              { name: "Services", id: "services" },
              { name: "À Propos", id: "about" },
              { name: "Contact", id: "contact" },
              { name: "Tarifs", id: "pricing" }
            ]}
            brandName="Switzerweb"
          />
        </div>
        <div id="hero" data-section="hero">
          <HeroCentered
            title="Innovation Digitale & Excellence Créative"
            description="Nous transformons vos visions en solutions numériques percutantes. Une approche axée sur les résultats, reconnue par les meilleurs standards du marché."
            avatars={[
              { src: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3B1CZ8wJvEJetEx867dlBUUa9fk/uploaded-1778862157558-53z96op4.png", alt: "User" }
            ]}
            background={{ variant: "sparkles-gradient" }}
            buttons={[{ text: "Démarrer", href: "#contact" }]}
          />
        </div>
        <div id="testimonials-marquee" data-section="testimonials-marquee">
           <SocialProofOne
             names={["Switzerweb", "Innovation", "Digital", "Excellence", "Premium", "Creative"]}
             title="Reconnus par nos partenaires"
             description="Une expertise qui inspire confiance."
             useInvertedBackground={false}
             showCard={true}
           />
        </div>
        <div id="testimonials" data-section="testimonials">
          <TestimonialCardOne
            title="Ce qu'ils pensent de nous"
            description="Des retours d'expérience authentiques sur notre travail."
            animationType="slide-up"
            textboxLayout="default"
            useInvertedBackground={false}
            gridVariant="uniform-all-items-equal"
            testimonials={[
              { id: "t1", name: "Maria Santos", role: "Travel Blogger", company: "BlogTravel", rating: 5 },
              { id: "t2", name: "John Doe", role: "Entrepreneur", company: "TechStartup", rating: 5 },
              { id: "t3", name: "Jane Smith", role: "Director", company: "CreativeCo", rating: 5 }
            ]}
          />
        </div>
        <div id="services" data-section="services">
          <FeatureHoverPattern
            title="Nos Services"
            description="Nous proposons une gamme ciblée de services numériques pour maximiser votre impact."
            textboxLayout="default"
            useInvertedBackground={false}
            animationType="slide-up"
            features={[
              { title: "SEO", description: "Optimisation moteur de recherche.", icon: Search },
              { title: "Développement Web", description: "Sites personnalisés et rapides.", icon: Zap }
            ]}
          />
        </div>
        <div id="pricing" data-section="pricing">
          <PricingCardFive
            title="Nos Tarifs"
            description="La qualité Apple, la puissance du Web."
            animationType="slide-up"
            textboxLayout="split-description"
            useInvertedBackground={false}
            plans={[
              {
                id: "one-page", tag: "Standard", price: "250 CHF", period: "/mois", description: "Pour commencer", button: { text: "Démarrer", href: "#contact" },
                featuresTitle: "Inclus:", features: ["Design épuré", "Responsive"]
              }
            ]}
          />
        </div>
        <div id="contact" data-section="contact">
          <ContactText
            text="Prêt à transformer votre présence numérique ?"
            background={{ variant: "rotated-rays-animated" }}
            buttons={[
              { text: "Lancer votre projet", href: "#contact" }
            ]}
            useInvertedBackground={false}
          />
        </div>
        <div id="footer" data-section="footer">
          <FooterCard
            logoText="Switzerweb"
            copyrightText="© 2026 | Switzerweb"
          />
        </div>
      </ReactLenis>
    </ThemeProvider>
  );
}