"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import Link from "next/link";
import NavbarLayoutFloatingInline from '@/components/navbar/NavbarLayoutFloatingInline';
import TestimonialCardTwelve from '@/components/sections/testimonial/TestimonialCardTwelve';
import ContactCenter from '@/components/sections/contact/ContactCenter';
import FooterBaseCard from '@/components/sections/footer/FooterBaseCard';
import { Sparkles, Award, Zap } from 'lucide-react';
import HeroSplit from '@/components/sections/hero/HeroSplit';
import HeroBillboardCarousel from '@/components/sections/hero/HeroBillboardCarousel';

export default function HomePage() {
  return (
    <ThemeProvider
      defaultButtonVariant="shift-hover"
      defaultTextAnimation="background-highlight"
      borderRadius="pill"
      contentWidth="mediumLarge"
      sizing="mediumLargeSizeMediumTitles"
      background="floatingGradient"
      cardStyle="gradient-bordered"
      primaryButtonStyle="double-inset"
      secondaryButtonStyle="glass"
      headingFontWeight="light"
    >
      <div id="nav" data-section="nav">
        <NavbarLayoutFloatingInline
          brandName="AgentAI"
          navItems={[
            { name: "Features", id: "features" },
            { name: "Pricing", id: "/pricing" },
            { name: "About", id: "/about" },
            { name: "Docs", id: "https://docs.example.com" }
          ]}
          button={{ text: "Start Free Trial", href: "/contact" }}
        />
      </div>

      <div id="hero" data-section="hero">
      <HeroSplit
      title="Unlock the Power of AI"
      description="Transform your operations with cutting-edge AI solutions designed for enterprise scale."
      background={{ variant: "plain" }}
      tag="Feature"
      buttons={[
      { text: "Start Free Trial", href: "/contact" },
      { text: "Watch Demo", href: "https://www.youtube.com" }
      ]}
      imageSrc="https://placehold.co/600x400"
      imagePosition="left"
      />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardTwelve
          testimonials={[
            {
              id: "1",              name: "Michael Torres",              imageSrc: "http://img.b2bpic.net/free-photo/confident-european-businessman-smiling-closeup-portrait-jobs-career-campaign_53876-128975.jpg",              imageAlt: "Michael Torres"
            },
            {
              id: "2",              name: "Jennifer Wu",              imageSrc: "http://img.b2bpic.net/free-photo/young-businessman-happy-expression_1194-1563.jpg",              imageAlt: "Jennifer Wu"
            },
            {
              id: "3",              name: "David Patel",              imageSrc: "http://img.b2bpic.net/free-photo/young-businessman-happy-expression_1194-1664.jpg",              imageAlt: "David Patel"
            },
            {
              id: "4",              name: "Lisa Anderson",              imageSrc: "http://img.b2bpic.net/free-photo/close-up-businessman-with-tie_1098-2867.jpg",              imageAlt: "Lisa Anderson"
            }
          ]}
          cardTitle="Over 500+ enterprise teams trust AgentAI to power their autonomous operations"
          cardTag="Industry Leaders"
          cardTagIcon={Award}
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactCenter
          tag="Get Started"
          title="Ready to Transform Your Operations?"
          description="Join hundreds of enterprises using AgentAI to automate complex workflows, reduce costs, and accelerate growth. Start your free trial today or schedule a demo with our team."
          tagIcon={Zap}
          inputPlaceholder="Enter your work email"
          buttonText="Start Free Trial"
          termsText="By signing up, you agree to our Terms of Service and Privacy Policy. No credit card required."
          useInvertedBackground="invertDefault"
        />
      </div>

      <div id="hero_billboard_carousel" data-section="hero_billboard_carousel">
        <HeroBillboardCarousel
          title="Transform Your Business with AI"
          description="Discover how AgentAI can optimize your operations and drive growth."
          background={{ variant: "plain" }}
          tag="Feature"
          buttons={[{ text: "Get Started", label: "Get Started", href: "#" }, { text: "Learn More", label: "Learn More", href: "#" }]}
          mediaItems={[{ title: "AI-Powered Insights", description: "Unlock actionable insights with advanced analytics." }, { title: "Seamless Integration", description: "Effortlessly integrate AI into your existing systems." }]}
        />
      </div>
      <FooterBaseCard
        logoText="AgentAI"
        copyrightText="© 2025 AgentAI Inc. All rights reserved."
        columns={[
          {
            title: "Product",            items: [
              { label: "Features", href: "#features" },
              { label: "Pricing", href: "/pricing" },
              { label: "Security", href: "#" },
              { label: "Roadmap", href: "#" }
            ]
          },
          {
            title: "Company",            items: [
              { label: "About", href: "/about" },
              { label: "Blog", href: "#" },
              { label: "Careers", href: "#" },
              { label: "Contact", href: "/contact" }
            ]
          },
          {
            title: "Developers",            items: [
              { label: "Documentation", href: "https://docs.example.com" },
              { label: "API Reference", href: "#" },
              { label: "GitHub", href: "#" },
              { label: "Integration Hub", href: "#" }
            ]
          },
          {
            title: "Legal",            items: [
              { label: "Privacy Policy", href: "#" },
              { label: "Terms of Service", href: "#" },
              { label: "Compliance", href: "#" },
              { label: "Cookie Settings", href: "#" }
            ]
          }
        ]}
      />
    </ThemeProvider>
  );
}