"use client";

import Link from "next/link";
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleCentered from "@/components/navbar/NavbarStyleCentered/NavbarStyleCentered";
import FeatureBorderGlow from "@/components/sections/feature/featureBorderGlow/FeatureBorderGlow";
import MetricCardOne from "@/components/sections/metrics/MetricCardOne";
import ContactText from "@/components/sections/contact/ContactText";
import FooterSimple from "@/components/sections/footer/FooterSimple";
import {
  DollarSign,
  Search,
  Code,
  Share2,
  Palette,
  Funnel,
  Zap,
  TrendingUp,
  Users,
  Heart,
  Award,
} from "lucide-react";

const navItemsForNav = [
  { name: "Home", id: "/" },
  { name: "Services", id: "/services" },
  { name: "Case Studies", id: "/" },
  { name: "About", id: "/about" },
  { name: "Contact", id: "/contact" },
];

const footerColumns = [
  {
    title: "Services",
    items: [
      { label: "Paid Ads Management", href: "/services" },
      { label: "SEO Services", href: "/services" },
      { label: "Website Design", href: "/services" },
      { label: "Social Media Marketing", href: "/services" },
    ],
  },
  {
    title: "Company",
    items: [
      { label: "About Us", href: "/about" },
      { label: "Case Studies", href: "/" },
      { label: "Team", href: "/about" },
      { label: "Blog", href: "#" },
    ],
  },
  {
    title: "Support",
    items: [
      { label: "Contact Us", href: "/contact" },
      { label: "FAQ", href: "#" },
      { label: "Resources", href: "#" },
      { label: "Documentation", href: "#" },
    ],
  },
  {
    title: "Legal",
    items: [
      { label: "Privacy Policy", href: "#" },
      { label: "Terms of Service", href: "#" },
      { label: "Cookie Policy", href: "#" },
      { label: "Disclaimer", href: "#" },
    ],
  },
];

export default function ServicesPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="text-stagger"
      defaultTextAnimation="reveal-blur"
      borderRadius="pill"
      contentWidth="mediumSmall"
      sizing="mediumLarge"
      background="floatingGradient"
      cardStyle="gradient-bordered"
      primaryButtonStyle="double-inset"
      secondaryButtonStyle="glass"
      headingFontWeight="light"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleCentered
          navItems={navItemsForNav}
          button={{
            text: "Get Free Strategy Call",
            href: "/contact",
          }}
          brandName="PrimeXpert"
        />
      </div>

      <div id="services-detail" data-section="services-detail">
        <FeatureBorderGlow
          title="Our Digital Marketing Services"
          description="We offer comprehensive, integrated digital marketing solutions designed to drive measurable results. Each service is tailored to your specific business goals and market position."
          tag="Full-Service Solutions"
          tagIcon={Zap}
          tagAnimation="slide-up"
          features={[
            {
              icon: DollarSign,
              title: "Paid Ads Management",
              description:
                "Strategic campaigns across Google Ads, Facebook, Instagram, TikTok, and LinkedIn. We optimize for maximum ROI, minimizing cost per acquisition while scaling revenue.",
            },
            {
              icon: Search,
              title: "Search Engine Optimization",
              description:
                "Technical SEO, on-page optimization, and link building strategies that boost organic visibility, drive qualified traffic, and improve search rankings for competitive keywords.",
            },
            {
              icon: Code,
              title: "Website Design & Development",
              description:
                "High-converting websites built with modern technology, mobile-responsive design, and user experience best practices. We focus on conversion optimization and fast load times.",
            },
            {
              icon: Share2,
              title: "Social Media Marketing",
              description:
                "Engaging content strategies, community management, and paid social campaigns that build brand loyalty, increase followers, and drive meaningful engagement.",
            },
            {
              icon: Palette,
              title: "Branding & Creative Design",
              description:
                "Compelling visual identities, logo design, brand guidelines, graphics, and creative assets that make your brand stand out and resonate with your target audience.",
            },
            {
              icon: Funnel,
              title: "Sales Funnel Development",
              description:
                "Strategic funnels designed to nurture leads at every stage, increase conversions, and maximize customer lifetime value through targeted messaging and automation.",
            },
          ]}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
        />
      </div>

      <div id="service-results" data-section="service-results">
        <MetricCardOne
          title="Proven Service Results"
          description="Our integrated approach delivers consistent, measurable outcomes across all service lines and client industries."
          tag="Performance Track Record"
          tagIcon={Award}
          tagAnimation="slide-up"
          metrics={[
            {
              id: "1",
              value: "342",
              title: "%",
              description: "Average ROI improvement for clients",
              icon: TrendingUp,
            },
            {
              id: "2",
              value: "2.5",
              title: "M+",
              description: "Total leads generated annually",
              icon: Users,
            },
            {
              id: "3",
              value: "98",
              title: "%",
              description: "Client satisfaction and retention rate",
              icon: Heart,
            },
            {
              id: "4",
              value: "45",
              title: "days",
              description: "Average time to see measurable results",
              icon: Award,
            },
          ]}
          gridVariant="uniform-all-items-equal"
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
        />
      </div>

      <div id="services-cta" data-section="services-cta">
        <ContactText
          text="Interested in any of our services? Let's discuss which solutions are right for your business and create a custom strategy."
          animationType="entrance-slide"
          buttons={[
            { text: "Schedule Your Free Consultation", href: "/contact" },
            { text: "View Case Studies", href: "/" },
          ]}
          background={{ variant: "floatingGradient" }}
          useInvertedBackground={false}
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterSimple
          columns={footerColumns}
          bottomLeftText="© 2025 PrimeXpert. All rights reserved."
          bottomRightText="Scaling Brands with Data-Driven Marketing"
        />
      </div>
    </ThemeProvider>
  );
}