"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarLayoutFloatingInline from '@/components/navbar/NavbarLayoutFloatingInline';
import HeroBillboard from '@/components/sections/hero/HeroBillboard';
import TestimonialCardFifteen from '@/components/sections/testimonial/TestimonialCardFifteen';
import FooterLogoEmphasis from '@/components/sections/footer/FooterLogoEmphasis';
import { Sparkles } from "lucide-react";
import Link from "next/link";

export default function HomePage() {
  return (
    <ThemeProvider
      defaultButtonVariant="directional-hover"
      defaultTextAnimation="entrance-slide"
      borderRadius="rounded"
      contentWidth="mediumSmall"
      sizing="largeSmallSizeLargeTitles"
      background="none"
      cardStyle="outline"
      primaryButtonStyle="diagonal-gradient"
      secondaryButtonStyle="solid"
      headingFontWeight="medium"
    >
      <div id="nav" data-section="nav">
        <NavbarLayoutFloatingInline
          brandName="StrategyHub"
          navItems={[
            { name: "Services", id: "/services" },
            { name: "Work", id: "/work" },
            { name: "Team", id: "/team" },
            { name: "Contact", id: "/contact" }
          ]}
          button={{ text: "Get Started", href: "/contact" }}
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroBillboard
          title="Transform Your Brand Into Market Leader"
          description="Strategic marketing solutions that drive growth, build authority, and convert prospects into loyal customers. We combine data-driven insights with creative excellence."
          tag="Digital Marketing Excellence"
          tagIcon={Sparkles}
          buttons={[
            { text: "Schedule Strategy Call", href: "/contact" },
            { text: "View Our Work", href: "/work" }
          ]}
          imageSrc="https://img.b2bpic.net/free-photo/black-male-team-leader-business-meeting-office_1268-21425.jpg"
          imageAlt="marketing agency strategy business planning team collaboration"
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardFifteen
          testimonial="StrategyHub completely transformed our marketing approach. Their strategic insights and creative execution delivered results that exceeded our most ambitious goals. Within 12 months, we achieved 340% revenue growth."
          rating={5}
          author="Sarah Williams, CEO at TechVenture"
          avatars={[
            { src: "https://img.b2bpic.net/free-photo/positive-confident-businessman-posing-outside_74855-1183.jpg", alt: "Sarah Williams" },
            { src: "https://img.b2bpic.net/free-photo/close-up-competitive-employee_1098-2870.jpg", alt: "Client testimonial" },
            { src: "https://img.b2bpic.net/free-photo/serene-businessman-with-glasses_1098-719.jpg", alt: "Client feedback" },
            { src: "https://img.b2bpic.net/free-photo/closeup-handsome-middle-aged-business-leader_1262-4822.jpg", alt: "Customer review" },
            { src: "https://img.b2bpic.net/free-photo/close-up-businessman-with-tie_1098-2867.jpg", alt: "Client success" },
            { src: "https://img.b2bpic.net/free-photo/smiling-businessman-standing-airport-terminal_107420-85070.jpg", alt: "Business results" }
          ]}
          useInvertedBackground="invertDefault"
        />
      </div>

      <FooterLogoEmphasis
        logoText="StrategyHub"
        columns={[
          {
            items: [
              { label: "Services", href: "/services" },
              { label: "Case Studies", href: "/work" },
              { label: "Team", href: "/team" }
            ]
          },
          {
            items: [
              { label: "About Us", href: "/about" },
              { label: "Contact", href: "/contact" },
              { label: "Blog", href: "#blog" }
            ]
          },
          {
            items: [
              { label: "Privacy Policy", href: "#privacy" },
              { label: "Terms of Service", href: "#terms" },
              { label: "Legal", href: "#legal" }
            ]
          }
        ]}
      />
    </ThemeProvider>
  );
}