"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered';
import ProductCardTwo from '@/components/sections/product/ProductCardTwo';
import FooterCard from '@/components/sections/footer/FooterCard';
import { Instagram, Facebook, Twitter, Youtube, Star } from 'lucide-react';

const shopProducts = [
  {
    id: "1",    brand: "RaceDrive Pro",    name: "Carbon Fiber Racing Wheels",    price: "$2,299.00",    rating: 5,
    reviewCount: "18.2k",    imageSrc: "https://images.unsplash.com/photo-1558618666-fcd25c85cd64?w=500&h=400&fit=crop",    imageAlt: "Carbon fiber racing wheels"
  },
  {
    id: "2",    brand: "Speedmaster",    name: "Performance Brake Kit",    price: "$1,850.00",    rating: 4,
    reviewCount: "12.5k",    imageSrc: "https://images.unsplash.com/photo-1609630875171-b1321377ee65?w=500&h=400&fit=crop",    imageAlt: "High performance brake kit"
  },
  {
    id: "3",    brand: "RaceDrive",    name: "Turbocharger System",    price: "$3,499.00",    rating: 5,
    reviewCount: "9.8k",    imageSrc: "https://images.unsplash.com/photo-1609630875171-b1321377ee65?w=500&h=400&fit=crop",    imageAlt: "Turbocharger system"
  },
  {
    id: "4",    brand: "AeroTech",    name: "Carbon Spoiler Kit",    price: "$1,299.00",    rating: 4,
    reviewCount: "6.3k",    imageSrc: "https://images.unsplash.com/photo-1558618047-3c8c76ca7d13?w=500&h=400&fit=crop",    imageAlt: "Carbon fiber spoiler kit"
  },
  {
    id: "5",    brand: "RaceDrive Pro",    name: "Racing Suspension System",    price: "$2,799.00",    rating: 5,
    reviewCount: "15.1k",    imageSrc: "https://images.unsplash.com/photo-1609630875171-b1321377ee65?w=500&h=400&fit=crop",    imageAlt: "Racing suspension system"
  },
  {
    id: "6",    brand: "SpeedForce",    name: "Cold Air Intake System",    price: "$899.00",    rating: 4,
    reviewCount: "11.7k",    imageSrc: "https://images.unsplash.com/photo-1558618047-3c8c76ca7d13?w=500&h=400&fit=crop",    imageAlt: "Cold air intake system"
  }
];

export default function ShopPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="expand-hover"
      defaultTextAnimation="entrance-slide"
      borderRadius="soft"
      contentWidth="small"
      sizing="largeSmall"
      background="aurora"
      cardStyle="glass-depth"
      primaryButtonStyle="primary-glow"
      secondaryButtonStyle="glass"
      headingFontWeight="semibold"
    >
      <NavbarStyleCentered
        brandName="RaceDrive"
        navItems={[
          {"name":"Home","id":"/"},
          {"name":"Shop","id":"/shop"}
        ]}
        button={{
          "text":"Book Now",          "href":"contact"
        }}
      />
      
      <main className="min-h-screen">
        <ProductCardTwo
          products={shopProducts}
          title="Performance Parts & Accessories"
          description="Upgrade your ride with premium racing components designed for ultimate performance and style"
          tag="Premium Quality"
          tagIcon={Star}
          textboxLayout="default"
          gridVariant="three-columns-all-equal-width"
          animationType="slide-up"
          useInvertedBackground="noInvert"
          buttons={[
            {
              text: "View All Categories",              href: "/categories"
            },
            {
              text: "Contact Sales",              href: "/contact"
            }
          ]}
        />
      </main>
      
      <FooterCard
        logoText="RaceDrive"
        copyrightText="© 2025 RaceDrive. All rights reserved. Pure performance, pure adrenaline."
        socialLinks={[
          {"icon":Instagram,"href":"https://instagram.com","ariaLabel":"Instagram"},
          {"icon":Facebook,"href":"https://facebook.com","ariaLabel":"Facebook"},
          {"icon":Twitter,"href":"https://twitter.com","ariaLabel":"Twitter"},
          {"icon":Youtube,"href":"https://youtube.com","ariaLabel":"YouTube"}
        ]}
      />
    </ThemeProvider>
  );
}