"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import NavbarLayoutFloatingInline from '@/components/navbar/NavbarLayoutFloatingInline';
import ProductCardThree from '@/components/sections/product/ProductCardThree';
import ProductCart from '@/components/ecommerce/cart/ProductCart';
import SplitAbout from '@/components/sections/about/SplitAbout';
import TeamCardTwo from '@/components/sections/team/TeamCardTwo';
import TestimonialCardFifteen from '@/components/sections/testimonial/TestimonialCardFifteen';

export default function LandingPage() {
  return (
    <ThemeProvider
        defaultButtonVariant="text-shift"
        defaultTextAnimation="entrance-slide"
        borderRadius="pill"
        contentWidth="medium"
        sizing="largeSmallSizeMediumTitles"
        background="blurBottom"
        cardStyle="gradient-radial"
        primaryButtonStyle="shadow"
        secondaryButtonStyle="solid"
        headingFontWeight="bold"
    >
      <ReactLenis root>
  <div id="nav" data-section="nav">
      <NavbarLayoutFloatingInline
      navItems={[
        {
          name: "Home",          id: "/en"},
        {
          name: "Vision",          id: "/en#vision"},
        {
          name: "Services",          id: "/en#services"},
        {
          name: "Portfolio",          id: "/en#portfolio"},
        {
          name: "Clients",          id: "/en#clients"},
        {
          name: "Contact",          id: "/en#contact"},
      ]}
      brandName="Enkidu Soft"
      button={{
        text: "Get in Touch",        href: "/en#contact"}}
      animateOnLoad={true}
    />
  </div>

  <div id="about" data-section="about">
      <SplitAbout
      textboxLayout="default"
      useInvertedBackground={false}
      imageSrc="http://img.b2bpic.net/free-photo/network-connections_1048-7667.jpg"
      imageAlt="Network connections"
      title="Our Story & Mission"
      description="We are a company dedicated to innovation and excellence, striving to deliver cutting-edge solutions for our clients."
      bulletPoints={[
        { title: "Innovation driven", description: "Driving innovation across all our solutions." },
        { title: "Client-focused", description: "Prioritizing client needs and delivering tailored results." },
        { title: "Excellence in execution", description: "Committing to high-quality execution in every project." }
      ]}
    />
  </div>

  <div id="product" data-section="product">
      <ProductCardThree
      animationType="slide-up"
      textboxLayout="default"
      gridVariant="uniform-all-items-equal"
      useInvertedBackground={false}
      title="Our Featured Products"
      description="Explore our range of innovative products designed to meet your needs."
    />
  </div>

  <div id="team" data-section="team">
      <TeamCardTwo
      animationType="slide-up"
      textboxLayout="default"
      gridVariant="uniform-all-items-equal"
      useInvertedBackground={false}
      title="Meet Our Team"
      description="A dedicated group of professionals passionate about technology and innovation."
      members={[
        {
          id: "john-doe",          name: "John Doe",          role: "CEO",          imageSrc: "http://img.b2bpic.net/free-photo/focused-woman-working-with-ai-chatbot-her-desktop-computer_482257-120813.jpg",          imageAlt: "John Doe, CEO", description: "Leading our company with vision and expertise."
        },
        {
          id: "jane-smith",          name: "Jane Smith",          role: "CTO",          imageSrc: "http://img.b2bpic.net/free-photo/african-american-software-developer-does-visual-coding-creating-software_482257-127024.jpg",          imageAlt: "Jane Smith, CTO", description: "Pioneering our technological advancements."
        }
      ]}
    />
  </div>

  <div id="testimonial" data-section="testimonial">
      <TestimonialCardFifteen
      useInvertedBackground={false}
      testimonial="Working with this team has been a game-changer for our business. Their expertise and dedication are unmatched."
      rating={5}
      ratingAnimation="slide-up"
      author="Alice Johnson"
      avatars={[
        {
          src: "http://img.b2bpic.net/free-photo/focused-woman-working-with-ai-chatbot-her-desktop-computer_482257-120813.jpg",          alt: "Alice Johnson"}
      ]}
      avatarsAnimation="slide-up"
    />
  </div>

  <div id="ecommerce" data-section="ecommerce">
      <ProductCart
      isOpen={false}
      onClose={() => {}}
      items={[
        {
          id: "item1",          name: "Sample Product",          price: "99.99",          quantity: 1,
          imageSrc: "http://img.b2bpic.net/free-photo/modern-equipped-computer-lab_23-2149241207.jpg",          imageAlt: "Sample Product Image"}
      ]}
      total="99.99"
      buttons={[
        { text: "Checkout", onClick: () => console.log("Checkout clicked") }
      ]}
    />
  </div>
      </ReactLenis>
    </ThemeProvider>
  );
}
