"use client";

import Link from "next/link";
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleCentered from "@/components/navbar/NavbarStyleCentered/NavbarStyleCentered";
import HeroBillboardTestimonial from "@/components/sections/hero/HeroBillboardTestimonial";
import TestimonialAboutCard from "@/components/sections/about/TestimonialAboutCard";
import FeatureCardMedia from "@/components/sections/feature/FeatureCardMedia";
import ContactCTA from "@/components/sections/contact/ContactCTA";
import FooterLogoEmphasis from "@/components/sections/footer/FooterLogoEmphasis";
import { Briefcase, Star, HandshakeIcon, Quote, Zap } from "lucide-react";

const navItems = [
  { name: "Home", id: "home" },
  { name: "About", id: "about" },
  { name: "Candidates", id: "candidates" },
  { name: "Clients", id: "clients" },
  { name: "Testimonials", id: "testimonials" },
];

const footerColumns = [
  {
    items: [
      { label: "Home", href: "/" },
      { label: "About", href: "/about" },
      { label: "Careers", href: "#careers" },
    ],
  },
  {
    items: [
      { label: "For Candidates", href: "/candidates" },
      { label: "For Clients", href: "/clients" },
      { label: "Contact", href: "/contact" },
    ],
  },
  {
    items: [
      { label: "Privacy Policy", href: "#privacy" },
      { label: "Terms", href: "#terms" },
      { label: "LinkedIn", href: "https://linkedin.com" },
    ],
  },
];

export default function HomePage() {
  return (
    <ThemeProvider
      defaultButtonVariant="icon-arrow"
      defaultTextAnimation="reveal-blur"
      borderRadius="pill"
      contentWidth="compact"
      sizing="medium"
      background="noise"
      cardStyle="soft-shadow"
      primaryButtonStyle="double-inset"
      secondaryButtonStyle="layered"
      headingFontWeight="semibold"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleCentered
          navItems={navItems}
          button={{ text: "Contact", href: "/contact" }}
          brandName="Adapro"
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroBillboardTestimonial
          title="Your trusted partner in professional services recruitment"
          description="We connect exceptional talent with forward-thinking organizations across Finance, HR, Procurement, Marketing, Legal, and IT. Built on 20+ years of experience and honest partnerships."
          tag="Professional Services Specialists"
          tagIcon={Briefcase}
          tagAnimation="slide-up"
          background={{ variant: "noise" }}
          imageSrc="http://img.b2bpic.net/free-photo/group-business-workers-smiling-happy-confident-working-together-with-smile-face-using-laptop-speaking-office_839833-9703.jpg?_wi=1"
          imageAlt="Professional recruitment team in action"
          mediaAnimation="slide-up"
          testimonials={[
            {
              name: "Alex Thompson",
              handle: "Hiring Manager, FinTech Solutions",
              testimonial:
                "Adapro understood our exact needs and delivered exceptional candidates within weeks. Truly consultative.",
              rating: 5,
              imageSrc:
                "http://img.b2bpic.net/free-photo/close-up-portrait-young-handsome-successful-man_1163-5475.jpg?_wi=1",
            },
            {
              name: "Sarah Mitchell",
              handle: "Finance Director, Corporate Group",
              testimonial:
                "The honesty and transparency throughout the process set them apart. No hard sells, just results.",
              rating: 5,
              imageSrc:
                "http://img.b2bpic.net/free-photo/positive-confident-businesswoman-wearing-formal-suit-standing-with-arms-folded_74855-10328.jpg?_wi=1",
            },
            {
              name: "James Chen",
              handle: "Chief People Officer, Tech Firm",
              testimonial:
                "20+ years of industry experience shows in every interaction. They get it.",
              rating: 5,
              imageSrc:
                "http://img.b2bpic.net/free-photo/young-businessman-smiling_1098-63.jpg",
            },
            {
              name: "Emma Robinson",
              handle: "Legal Counsel, Financial Services",
              testimonial:
                "More than recruiters – they're strategic partners invested in long-term relationships.",
              rating: 5,
              imageSrc:
                "http://img.b2bpic.net/free-photo/positive-confident-businesswoman-wearing-formal-suit-standing-with-arms-folded_74855-10328.jpg?_wi=2",
            },
          ]}
          testimonialRotationInterval={5000}
          buttons={[
            { text: "Start a conversation", href: "/contact" },
            { text: "Register as candidate", href: "/candidates" },
          ]}
          buttonAnimation="slide-up"
          useInvertedBackground={false}
        />
      </div>

      <div id="why-adapro" data-section="why-adapro">
        <TestimonialAboutCard
          tag="Why Adapro"
          tagIcon={Star}
          tagAnimation="slide-up"
          title="Experience, honesty, partnership. That's how we work."
          description="Over 20 years transforming professional services hiring"
          subdescription="Built on relationships that last"
          icon={HandshakeIcon}
          imageSrc="http://img.b2bpic.net/free-photo/focused-business-colleagues-arguing_1262-20538.jpg?_wi=1"
          imageAlt="Adapro team collaborating with clients"
          mediaAnimation="slide-up"
          useInvertedBackground={true}
        />
      </div>

      <div id="sectors" data-section="sectors">
        <FeatureCardMedia
          title="We specialize across key sectors"
          description="Deep expertise in professional services means we understand your challenges and opportunities."
          features={[
            {
              id: "finance",
              title: "Finance",
              description:
                "CFOs, controllers, financial analysts, and accounting professionals. From audit to FP&A.",
              tag: "Finance",
              imageSrc:
                "http://img.b2bpic.net/free-photo/businessman-holding-laptop-showing-financial-data_9975-22146.jpg?_wi=1",
            },
            {
              id: "hr",
              title: "Human Resources",
              description:
                "HR directors, talent acquisition leaders, and people strategy experts.",
              tag: "HR",
              imageSrc:
                "http://img.b2bpic.net/free-photo/medium-shot-people-learning-together_23-2149300755.jpg?_wi=1",
            },
            {
              id: "procurement",
              title: "Procurement",
              description:
                "Procurement directors, supply chain specialists, and strategic sourcing professionals.",
              tag: "Procurement",
              imageSrc:
                "http://img.b2bpic.net/free-photo/employees-check-warehouse-inventory_482257-75292.jpg",
            },
            {
              id: "marketing",
              title: "Marketing",
              description:
                "Marketing leaders, digital strategists, and campaign specialists.",
              tag: "Marketing",
              imageSrc:
                "http://img.b2bpic.net/free-photo/marketing-plan-achievement-strategy_53876-127844.jpg?_wi=1",
            },
            {
              id: "legal",
              title: "Legal",
              description:
                "Qualified lawyers, legal counsel, and compliance specialists.",
              tag: "Legal",
              imageSrc:
                "http://img.b2bpic.net/free-photo/lawyer-legal-advice-law-compliance-concept_53876-120328.jpg",
            },
            {
              id: "it",
              title: "IT",
              description:
                "CIOs, systems architects, project managers, and technology specialists.",
              tag: "IT",
              imageSrc:
                "http://img.b2bpic.net/free-photo/joyous-coworkers-having-fun-vibrant-office-while-reviewing-financial-graphs_482257-126650.jpg",
            },
          ]}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
          carouselMode="buttons"
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardOne
          testimonials={[
            {
              id: "1",
              name: "Michael Davies",
              role: "Hiring Director",
              company: "Investment Management Firm",
              rating: 5,
              imageSrc:
                "http://img.b2bpic.net/free-photo/close-up-portrait-young-handsome-successful-man_1163-5475.jpg?_wi=2",
            },
            {
              id: "2",
              name: "Jessica Wong",
              role: "Finance Manager",
              company: "Professional Services",
              rating: 5,
              imageSrc:
                "http://img.b2bpic.net/free-photo/positive-confident-businesswoman-wearing-formal-suit-standing-with-arms-folded_74855-10328.jpg?_wi=3",
            },
            {
              id: "3",
              name: "David O'Connor",
              role: "Senior Counsel",
              company: "Legal Practice",
              rating: 5,
              imageSrc:
                "http://img.b2bpic.net/free-photo/successful-professional-sitting-office_1098-21006.jpg",
            },
            {
              id: "4",
              name: "Patricia Newman",
              role: "Chief People Officer",
              company: "Corporate Finance",
              rating: 5,
              imageSrc:
                "http://img.b2bpic.net/free-photo/cheerful-employee-with-crossed-arms_1098-3148.jpg",
            },
            {
              id: "5",
              name: "Robert Smith",
              role: "IT Director",
              company: "Technology Solutions",
              rating: 5,
              imageSrc:
                "http://img.b2bpic.net/free-photo/computer-scientist-server-farm-ensuring-compliance-with-industry-standards_482257-123806.jpg",
            },
            {
              id: "6",
              name: "Caroline Hughes",
              role: "Head of Marketing",
              company: "Brand Agency",
              rating: 5,
              imageSrc:
                "http://img.b2bpic.net/free-photo/attractive-blond-business-woman-white-shirt-eyeglasses-crossed-arms-grey-background_613910-11786.jpg",
            },
          ]}
          title="What our partners say"
          description="Real feedback from companies and candidates who've worked with us."
          tag="Testimonials"
          tagIcon={Quote}
          gridVariant="uniform-all-items-equal"
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground={true}
          carouselMode="buttons"
        />
      </div>

      <div id="final-cta" data-section="final-cta">
        <ContactCTA
          tag="Ready to partner?"
          tagIcon={Zap}
          tagAnimation="slide-up"
          title="Let's start a conversation"
          description="Whether you're looking to hire exceptional talent or explore your next career opportunity, we're here to help. No pressure, no sales pitch – just honest advice from people who understand your world."
          buttons={[
            { text: "Get in touch", href: "/contact" },
            { text: "Book a call", href: "/contact" },
          ]}
          buttonAnimation="slide-up"
          background={{ variant: "noise" }}
          useInvertedBackground={false}
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterLogoEmphasis columns={footerColumns} logoText="Adapro" />
      </div>
    </ThemeProvider>
  );
}