'use client';

import { ThemeProvider } from '@/providers/themeProvider/ThemeProvider';
import NavbarLayoutFloatingInline from '@/components/navbar/NavbarLayoutFloatingInline';
import HeroLogoBillboard from '@/components/sections/hero/HeroLogoBillboard';
import FeatureCardTwentyEight from '@/components/sections/feature/FeatureCardTwentyEight';
import ContactSplitForm from '@/components/sections/contact/ContactSplitForm';

export default function ServicesPage() {
  const defaultTheme = {
    defaultButtonVariant: "hover-magnetic",    defaultTextAnimation: "entrance-slide",    borderRadius: "rounded",    contentWidth: "medium",    sizing: "medium",    background: "none",    cardStyle: "soft-shadow",    primaryButtonStyle: "gradient",    secondaryButtonStyle: "glass",    headingFontWeight: "bold"};

  return (
    <ThemeProvider
      defaultButtonVariant="hover-magnetic"
      defaultTextAnimation="entrance-slide"
      borderRadius="rounded"
      contentWidth="medium"
      sizing="medium"
      background="none"
      cardStyle="soft-shadow"
      primaryButtonStyle="gradient"
      secondaryButtonStyle="glass"
      headingFontWeight="bold"
    >
      <NavbarLayoutFloatingInline
        navItems={[
          { name: "Home", id: "/" },
          { name: "Services", id: "/services" }
        ]}
        brandName="Webild"
        button={{ text: "Contact", href: "#contact" }}
      />
      <main className="flex min-h-screen flex-col items-center justify-between">
        <div id="hero" data-section="hero">
          <HeroLogoBillboard
            logoText="Our Services"
            description="Discover how we can help your business thrive with our comprehensive range of solutions. From conception to deployment, we're with you every step."
            buttons={[
              { text: "Get a Quote", href: "#contact" }
            ]}
            background={{ variant: 'radial-gradient' }}
          />
        </div>
        <div id="offerings" data-section="offerings">
          <FeatureCardTwentyEight
            tag="Our Expertise"
            title="Tailored Solutions for Your Success"
            description="We offer a diverse portfolio of services designed to meet the unique challenges and opportunities of modern businesses, ensuring growth and innovation."
            features={[
              { id: "1", title: "Custom Web Development", subtitle: "Crafting bespoke websites, powerful e-commerce platforms, and scalable web applications tailored to your business goals.", category: "Development", value: "Scalable" },
              { id: "2", title: "Mobile App Development", subtitle: "Building intuitive and high-performance native iOS and Android applications, as well as cross-platform solutions that engage users.", category: "Development", value: "Cross-Platform" },
              { id: "3", title: "UI/UX Design & Prototyping", subtitle: "Designing captivating user interfaces and seamless user experiences, backed by thorough research, wireframing, and interactive prototyping.", category: "Design", value: "User-Centric" },
              { id: "4", title: "Cloud Infrastructure & DevOps", subtitle: "Implementing robust cloud solutions, managing infrastructure, and streamlining development operations for efficiency and reliability.", category: "Operations", value: "Automated" },
              { id: "5", title: "Digital Marketing & SEO", subtitle: "Enhancing your online presence with data-driven digital marketing strategies, including SEO, SEM, social media management, and content creation.", category: "Marketing", value: "Visibility" },
              { id: "6", title: "IT Consulting & Strategy", subtitle: "Providing expert guidance on technology strategy, system integration, cybersecurity, and digital transformation initiatives.", category: "Consulting", value: "Strategic" }
            ]}
            animationType="slide-up"
            textboxLayout="default"
            useInvertedBackground={false}
          />
        </div>
        <div id="contact" data-section="contact">
          <ContactSplitForm
            title="Ready to Transform Your Business?"
            description="Let's discuss how our services can elevate your digital presence and achieve your strategic objectives."
            inputs={[
              { name: "name", type: "text", placeholder: "Your Name", required: true },
              { name: "email", type: "email", placeholder: "Your Email", required: true }
            ]}
            textarea={{ name: "message", placeholder: "Tell us about your project...", rows: 5 }}
            buttonText="Request a Consultation"
            useInvertedBackground={false}
            mediaPosition="left"
          />
        </div>
      </main>
    </ThemeProvider>
  );
}
