"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarLayoutFloatingInline from '@/components/navbar/NavbarLayoutFloatingInline';
import ProductCardOne from '@/components/sections/product/ProductCardOne';
import SocialProofOne from '@/components/sections/socialProof/SocialProofOne';
import ContactCenter from '@/components/sections/contact/ContactCenter';
import FooterLogoEmphasis from '@/components/sections/footer/FooterLogoEmphasis';
import { Search, Award, Phone } from 'lucide-react';

export default function TiresPage() {
  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="tire-types" data-section="tire-types">
        <ProductCardOne
          title="Premium Tire Selection"
          description="Choose from our extensive selection of top-quality tires for every vehicle type and driving style. Expert recommendations included."
          tag="Shop Tires"
          tagIcon={Search}
          products={[
            {
              id: "1",
              name: "All-Season Tires",
              price: "Starting at $89",
              imageSrc: "http://img.b2bpic.net/free-photo/muscular-man-is-fixing-car-s-wheel-with-special-tool-auto-service_613910-17086.jpg",
              imageAlt: "All-season tire selection"
            },
            {
              id: "2",
              name: "Performance Tires",
              price: "Starting at $129",
              imageSrc: "http://img.b2bpic.net/free-photo/muscular-man-is-fixing-car-s-wheel-with-special-tool-auto-service_613910-17086.jpg",
              imageAlt: "Performance tire selection"
            },
            {
              id: "3",
              name: "Winter Tires",
              price: "Starting at $99",
              imageSrc: "http://img.b2bpic.net/free-photo/muscular-man-is-fixing-car-s-wheel-with-special-tool-auto-service_613910-17086.jpg",
              imageAlt: "Winter tire selection"
            },
            {
              id: "4",
              name: "SUV & Truck Tires",
              price: "Starting at $119",
              imageSrc: "http://img.b2bpic.net/free-photo/muscular-man-is-fixing-car-s-wheel-with-special-tool-auto-service_613910-17086.jpg",
              imageAlt: "SUV and truck tire selection"
            },
            {
              id: "5",
              name: "Budget Tires",
              price: "Starting at $59",
              imageSrc: "http://img.b2bpic.net/free-photo/muscular-man-is-fixing-car-s-wheel-with-special-tool-auto-service_613910-17086.jpg",
              imageAlt: "Budget tire selection"
            },
            {
              id: "6",
              name: "Commercial Tires",
              price: "Starting at $149",
              imageSrc: "http://img.b2bpic.net/free-photo/muscular-man-is-fixing-car-s-wheel-with-special-tool-auto-service_613910-17086.jpg",
              imageAlt: "Commercial tire selection"
            }
          ]}
          gridVariant="three-columns-all-equal-width"
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
          buttons={[
            { text: "Get Expert Recommendations", href: "#contact" }
          ]}
        />
      </div>

      <div id="tire-brands" data-section="tire-brands">
        <SocialProofOne
          title="Top Tire Brands Available"
          description="We stock premium tire brands trusted by drivers worldwide. Quality you can depend on."
          tag="Premium Brands"
          tagIcon={Award}
          names={["Michelin", "Bridgestone", "Goodyear", "Continental", "Pirelli", "Dunlop", "Yokohama", "Hankook"]}
          textboxLayout="default"
          useInvertedBackground={true}
          speed={40}
          showCard={true}
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactCenter
          tag="Get Recommendations"
          title="Need Help Choosing the Right Tires?"
          description="Our tire experts will help you find the perfect tires for your vehicle and budget. Free consultation included."
          tagIcon={Phone}
          background={{ variant: "sparkles-gradient" }}
          useInvertedBackground={true}
          inputPlaceholder="Enter your email"
          buttonText="Get Recommendations"
          termsText="Our tire experts will contact you with personalized recommendations within 1 hour."
        />
      </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>
  );
}