"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarLayoutFloatingInline from '@/components/navbar/NavbarLayoutFloatingInline';
import FeatureCardTwentySix from '@/components/sections/feature/FeatureCardTwentySix';
import MetricCardEleven from '@/components/sections/metrics/MetricCardEleven';
import ContactCenter from '@/components/sections/contact/ContactCenter';
import FooterLogoEmphasis from '@/components/sections/footer/FooterLogoEmphasis';
import { Wrench, Shield, Phone } from 'lucide-react';

export default function ServicesPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="text-stagger"
      defaultTextAnimation="background-highlight"
      borderRadius="rounded"
      contentWidth="smallMedium"
      sizing="mediumLargeSizeMediumTitles"
      background="grid"
      cardStyle="outline"
      primaryButtonStyle="double-inset"
      secondaryButtonStyle="glass"
      headingFontWeight="bold"
    >
      <div id="nav" data-section="nav">
        <NavbarLayoutFloatingInline
          brandName="Tony's Tire Shop"
          navItems={[
            { name: "Home", id: "/" },
            { name: "Services", id: "/services" },
            { name: "Tires", id: "/tires" },
            { name: "About", id: "/about" },
            { name: "Contact", id: "/contact" }
          ]}
          button={{
            text: "Call Now",
            href: "tel:+1-800-TIRES-01"
          }}
        />
      </div>

      <div id="services" data-section="services">
        <FeatureCardTwentySix
          title="Professional Tire Services"
          description="Expert tire care with same-day turnaround. From emergency repairs to routine maintenance, we handle it all with professional expertise."
          tag="Our Services"
          tagIcon={Wrench}
          features={[
            {
              title: "Emergency Tire Repair",
              description: "Flat tire? Don't wait. Same-day emergency repair service available.",
              imageSrc: "http://img.b2bpic.net/free-photo/sad-young-woman-sitting-near-broken-down-car-road_23-2147855644.jpg",
              imageAlt: "Emergency tire repair service",
              buttonIcon: Wrench
            },
            {
              title: "New Tire Installation",
              description: "Professional mounting, balancing, and installation of all tire brands.",
              imageSrc: "http://img.b2bpic.net/free-photo/muscular-man-is-fixing-car-s-wheel-with-special-tool-auto-service_613910-17086.jpg",
              imageAlt: "Professional tire installation",
              buttonIcon: Wrench
            },
            {
              title: "Tire Rotation & Balancing",
              description: "Extend tire life with regular rotation and precision balancing service.",
              imageSrc: "http://img.b2bpic.net/free-photo/muscular-man-is-fixing-car-s-wheel-with-special-tool-auto-service_613910-17086.jpg",
              imageAlt: "Tire rotation service",
              buttonIcon: Wrench
            },
            {
              title: "Wheel Alignment",
              description: "Precision alignment service to prevent uneven wear and improve handling.",
              imageSrc: "http://img.b2bpic.net/free-photo/auto-mechanic-checking-car_1303-14047.jpg",
              imageAlt: "Professional wheel alignment",
              buttonIcon: Wrench
            }
          ]}
          textboxLayout="default"
          useInvertedBackground={false}
        />
      </div>

      <div id="service-quality" data-section="service-quality">
        <MetricCardEleven
          title="Service Excellence Guarantee"
          description="Professional service with transparent pricing and guaranteed satisfaction on every job."
          tag="Quality"
          tagIcon={Shield}
          metrics={[
            {
              id: "1",
              value: "100%",
              title: "Satisfaction Rate",
              description: "Every customer leaves satisfied with our service quality",
              imageSrc: "http://img.b2bpic.net/free-photo/happy-mechanic-greeting-with-his-african-american-coworker-auto-repair-shop_637285-11601.jpg",
              imageAlt: "Customer satisfaction guarantee"
            },
            {
              id: "2",
              value: "Same-Day",
              title: "Service Guarantee",
              description: "Most tire services completed within hours, not days",
              imageSrc: "http://img.b2bpic.net/free-photo/mechanic-holding-tire-tire-repair-garage-replacement-winter-summer-tires_146671-18338.jpg",
              imageAlt: "Same-day service availability"
            }
          ]}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground={true}
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactCenter
          tag="Book Service"
          title="Ready to Schedule Your Tire Service?"
          description="Get same-day tire service with honest pricing and professional care. Call us now or request a quote online."
          tagIcon={Phone}
          background={{ variant: "rotated-rays-animated-grid" }}
          useInvertedBackground={true}
          inputPlaceholder="Enter your email for quote"
          buttonText="Get Quote"
          termsText="We'll contact you within 1 hour with your service quote and same-day availability."
        />
      </div>

      <FooterLogoEmphasis
        logoText="Tony's Tire Shop"
        columns={[
          {
            items: [
              { label: "Home", href: "/" },
              { label: "Services", href: "/services" },
              { label: "Tires", href: "/tires" },
              { label: "About", href: "/about" }
            ]
          },
          {
            items: [
              { label: "Contact", href: "/contact" },
              { label: "Call: (800) 123-4567", href: "tel:+1-800-123-4567" }
            ]
          }
        ]}
      />
    </ThemeProvider>
  );
}