"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarLayoutFloatingOverlay from "@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay";
import ProductCardOne from "@/components/sections/product/ProductCardOne";
import PricingCardEight from "@/components/sections/pricing/PricingCardEight";
import FooterBase from "@/components/sections/footer/FooterBase";
import { Package, ShoppingCart, Star, Zap, Shield, DollarSign } from "lucide-react";
import Link from "next/link";

export default function ProductsPage() {
  const navItems = [
    { name: "Home", id: "/" },
    { name: "Services", id: "/services" },
    { name: "Products", id: "/products" },
    { name: "Pricing", id: "/pricing" },
    { name: "About", id: "/about" },
    { name: "Contact", id: "/contact" },
  ];

  return (
    <ThemeProvider
      defaultButtonVariant="directional-hover"
      defaultTextAnimation="reveal-blur"
      borderRadius="pill"
      contentWidth="small"
      sizing="largeSmallSizeMediumTitles"
      background="aurora"
      cardStyle="gradient-radial"
      primaryButtonStyle="shadow"
      secondaryButtonStyle="layered"
      headingFontWeight="normal"
    >
      {/* Navbar */}
      <div id="nav" data-section="nav">
        <NavbarLayoutFloatingOverlay
          brandName="CodeSniffs"
          navItems={navItems}
          button={{
            text: "Start Project",
            href: "/contact",
          }}
        />
      </div>

      {/* Products Section */}
      <div id="products" data-section="products" className="mx-auto px-4 md:px-6">
        <ProductCardOne
          title="Ready-Made Products"
          description="Pre-built software solutions ready to deploy for your business needs."
          tag="Templates & Systems"
          tagIcon={Package}
          tagAnimation="slide-up"
          textboxLayout="default"
          animationType="slide-up"
          gridVariant="three-columns-all-equal-width"
          useInvertedBackground={false}
          products={[
            {
              id: "1",
              name: "E-commerce Website Template",
              price: "₹25,000",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Ac9KYusPGO1ATYFX67WtPqJV0Y/beautiful-e-commerce-website-template-sh-1772881147161-e4e3be9f.png?_wi=2",
              imageAlt: "E-commerce Template",
            },
            {
              id: "2",
              name: "Restaurant Management System",
              price: "₹20,000",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Ac9KYusPGO1ATYFX67WtPqJV0Y/restaurant-management-system-dashboard-s-1772881146965-fe0d37e9.png?_wi=2",
              imageAlt: "Restaurant Management System",
            },
            {
              id: "3",
              name: "Hotel Booking System",
              price: "₹28,000",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Ac9KYusPGO1ATYFX67WtPqJV0Y/hotel-booking-system-interface-showing-r-1772881146124-0e38bfeb.png?_wi=2",
              imageAlt: "Hotel Booking System",
            },
            {
              id: "4",
              name: "Gym Management System",
              price: "₹22,000",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Ac9KYusPGO1ATYFX67WtPqJV0Y/gym-management-system-dashboard-showing--1772881146792-a9c8e2bc.png?_wi=2",
              imageAlt: "Gym Management System",
            },
            {
              id: "5",
              name: "School Management System",
              price: "₹35,000",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Ac9KYusPGO1ATYFX67WtPqJV0Y/school-management-system-dashboard-showi-1772881146774-042cc105.png?_wi=2",
              imageAlt: "School Management System",
            },
            {
              id: "6",
              name: "CRM System",
              price: "₹30,000",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Ac9KYusPGO1ATYFX67WtPqJV0Y/customer-relationship-management-system--1772881146893-d8fb9bbb.png?_wi=2",
              imageAlt: "CRM System",
            },
          ]}
        />
      </div>

      {/* Footer */}
      <div id="footer" data-section="footer">
        <FooterBase
          logoText="CodeSniffs"
          copyrightText="© 2025 CodeSniffs. All rights reserved. Software Solutions Agency, Mumbai, India."
          columns={[
            {
              title: "Company",
              items: [
                {
                  label: "About Us",
                  href: "/about",
                },
                {
                  label: "Our Services",
                  href: "/services",
                },
                {
                  label: "Products",
                  href: "/products",
                },
                {
                  label: "Blog",
                  href: "#",
                },
              ],
            },
            {
              title: "Solutions",
              items: [
                {
                  label: "Web Development",
                  href: "/services",
                },
                {
                  label: "Mobile Apps",
                  href: "/services",
                },
                {
                  label: "Cloud Services",
                  href: "/services",
                },
                {
                  label: "E-commerce",
                  href: "/services",
                },
              ],
            },
            {
              title: "Contact",
              items: [
                {
                  label: "Email: connect@codesniffs.com",
                  href: "mailto:connect@codesniffs.com",
                },
                {
                  label: "Phone: +91 91676 20778",
                  href: "tel:+919167620778",
                },
                {
                  label: "Mumbai, India",
                  href: "#",
                },
                {
                  label: "Get in Touch",
                  href: "/contact",
                },
              ],
            },
          ]}
        />
      </div>
    </ThemeProvider>
  );
}