"use client";
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarLayoutFloatingInline from '@/components/navbar/NavbarLayoutFloatingInline';
import FeatureCardTen from '@/components/sections/feature/FeatureCardTen';
import MetricCardOne from '@/components/sections/metrics/MetricCardOne';
import ContactText from '@/components/sections/contact/ContactText';
import FooterCard from '@/components/sections/footer/FooterCard';
import Link from 'next/link';
import { Zap, Palette, Smartphone, Code, Database, Shield, Target, TrendingUp, BarChart3, Globe, DollarSign, Users, Clock, Twitter, Linkedin, Github, Instagram } from 'lucide-react';

export default function ServicesPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="icon-arrow"
      defaultTextAnimation="entrance-slide"
      borderRadius="pill"
      contentWidth="medium"
      sizing="medium"
      background="aurora"
      cardStyle="layered-gradient"
      primaryButtonStyle="gradient"
      secondaryButtonStyle="glass"
      headingFontWeight="medium"
    >
      <div id="nav" data-section="nav">
        <NavbarLayoutFloatingInline
          brandName="Webild"
          navItems={[
            { name: "About", id: "/about" },
            { name: "Services", id: "/services" },
            { name: "Work", id: "/testimonials" },
            { name: "Contact", id: "/contact" }
          ]}
          button={{
            text: "Get Started",
            href: "/contact"
          }}
        />
      </div>

      <div id="services" data-section="services">
        <FeatureCardTen
          title="Our Services"
          description="Comprehensive digital solutions tailored to elevate your business and drive measurable results."
          tag="What We Do"
          tagIcon={Zap}
          textboxLayout="default"
          animationType="slide-up"
          useInvertedBackground="noInvert"
          features={[
            {
              id: "1",
              title: "Interactive Web Design",
              description: "We create beautiful, responsive websites that engage users and drive conversions. From concept to launch, we ensure every design element serves your business goals and provides an exceptional user experience.",
              media: { imageSrc: "https://img.b2bpic.net/free-vector/flat-ui-design-concept-with-different-screens-web-buttons-elements-mobile-application_1284-45197.jpg" },
              items: [
                { icon: Palette, text: "Custom UI/UX Design" },
                { icon: Smartphone, text: "Responsive Design" },
                { icon: Zap, text: "Interactive Elements" }
              ],
              reverse: false
            },
            {
              id: "2",
              title: "Software Development",
              description: "From web applications to custom software solutions, we build scalable, secure, and performant systems. Our developers leverage cutting-edge technologies to create solutions that grow with your business.",
              media: { imageSrc: "https://img.b2bpic.net/free-photo/happy-young-colleagues-office-coworking_171337-17719.jpg" },
              items: [
                { icon: Code, text: "Full-Stack Development" },
                { icon: Database, text: "API Integration" },
                { icon: Shield, text: "Secure Architecture" }
              ],
              reverse: true
            },
            {
              id: "3",
              title: "Digital Marketing Strategy",
              description: "We develop data-driven marketing strategies that increase visibility, engagement, and ROI. Our team optimizes every channel to maximize your online presence and drive sustainable growth.",
              media: { imageSrc: "https://img.b2bpic.net/free-photo/business-scene-top-view_23-2147626514.jpg" },
              items: [
                { icon: Target, text: "SEO Optimization" },
                { icon: TrendingUp, text: "Content Strategy" },
                { icon: BarChart3, text: "Analytics & Reporting" }
              ],
              reverse: false
            }
          ]}
        />
      </div>

      <div id="service-metrics" data-section="service-metrics">
        <MetricCardOne
          title="Service Excellence Metrics"
          description="Proven results across all our service areas demonstrating our commitment to client success."
          tag="Our Track Record"
          tagIcon={TrendingUp}
          textboxLayout="default"
          useInvertedBackground="invertDefault"
          gridVariant="uniform-all-items-equal"
          animationType="slide-up"
          metrics={[
            {
              id: "1",
              value: "$5M+",
              title: "Revenue Generated",
              description: "Additional revenue generated for clients through our digital solutions",
              icon: DollarSign
            },
            {
              id: "2",
              value: "300%",
              title: "Avg Growth",
              description: "Average increase in online engagement for our clients",
              icon: TrendingUp
            },
            {
              id: "3",
              value: "45",
              title: "Days Avg",
              description: "Average project delivery time from concept to launch",
              icon: Clock
            },
            {
              id: "4",
              value: "25+",
              title: "Industries",
              description: "Diverse industry experience across multiple sectors",
              icon: Globe
            }
          ]}
        />
      </div>

      <div id="services-contact" data-section="services-contact">
        <ContactText
          text="Ready to elevate your digital presence? Let's discuss how our comprehensive services can drive your business forward and create measurable impact."
          animationType="entrance-slide"
          background={{ variant: "gradient-bars" }}
          useInvertedBackground="noInvert"
          buttons={[
            { text: "Start Your Project", href: "/contact" },
            { text: "View Our Portfolio", href: "/testimonials" }
          ]}
        />
      </div>

      <FooterCard
        logoText="Webild"
        copyrightText="© 2025 Webild. All rights reserved. | Interactive Web Agency"
        socialLinks={[
          { icon: Twitter, href: "https://twitter.com/webild", ariaLabel: "Twitter" },
          { icon: Linkedin, href: "https://linkedin.com/company/webild", ariaLabel: "LinkedIn" },
          { icon: Github, href: "https://github.com/webild", ariaLabel: "GitHub" },
          { icon: Instagram, href: "https://instagram.com/webild", ariaLabel: "Instagram" }
        ]}
      />
    </ThemeProvider>
  );
}