"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import NavbarStyleApple from '@/components/navbar/NavbarStyleApple/NavbarStyleApple';
import ProductCardThree from '@/components/sections/product/ProductCardThree';
import FooterMedia from '@/components/sections/footer/FooterMedia';

export default function ProductsPage() {
  const navItems = [
    { name: "Home", id: "/" },
    { name: "Products", id: "/products" },
    { name: "How It Works", id: "/#features" },
    { name: "Our Mission", id: "/#about" },
    { name: "Contact Us", id: "/#contact" }
  ];

  return (
    <ThemeProvider
      defaultButtonVariant="hover-magnetic"
      defaultTextAnimation="reveal-blur"
      borderRadius="soft"
      contentWidth="smallMedium"
      sizing="largeSmallSizeMediumTitles"
      background="noiseDiagonalGradient"
      cardStyle="gradient-radial"
      primaryButtonStyle="diagonal-gradient"
      secondaryButtonStyle="solid"
      headingFontWeight="light"
    >
      <ReactLenis root>
        <div id="nav" data-section="nav">
          <NavbarStyleApple
            navItems={navItems}
            brandName="TAPE IT JO"
          />
        </div>

        <div id="products-hero" data-section="products-hero">
          <ProductCardThree
            animationType="slide-up"
            textboxLayout="default"
            gridVariant="three-columns-all-equal-width"
            useInvertedBackground={false}
            products={[
              {
                id: "product-page-1",                name: "Original Nasal Strips (30-pack)",                price: "$19.99",                imageSrc: "http://img.b2bpic.net/free-photo/young-fitness-girl-black-sportswear-with-headband-puzzled-standing-white-wall_141793-56736.jpg?_wi=2",                imageAlt: "TAPE IT Original Nasal Strips 30-pack"
              },
              {
                id: "product-page-2",                name: "Sensitive Skin Nasal Strips (30-pack)",                price: "$22.99",                imageSrc: "http://img.b2bpic.net/free-photo/future-mother-keeps-shoes-baby_8353-5121.jpg?_wi=2",                imageAlt: "TAPE IT Sensitive Skin Nasal Strips 30-pack"
              },
              {
                id: "product-page-3",                name: "Extra Strength Nasal Strips (30-pack)",                price: "$21.99",                imageSrc: "http://img.b2bpic.net/free-photo/woman-folding-menstrual-cup-medium-shot_23-2149734183.jpg?_wi=2",                imageAlt: "TAPE IT Extra Strength Nasal Strips 30-pack"
              },
              {
                id: "product-page-4",                name: "Original Nasal Strips (90-pack)",                price: "$49.99",                imageSrc: "http://img.b2bpic.net/free-photo/young-female-doctor-holding-hands-head-medical-uniform-mask-looking-confident_176474-81552.jpg?_wi=2",                imageAlt: "TAPE IT Original Nasal Strips 90-pack"
              },
              {
                id: "product-page-5",                name: "Travel Pack Assorted (10-pack)",                price: "$8.99",                imageSrc: "http://img.b2bpic.net/free-photo/collagen-white-stick-with-glass-water_185193-162486.jpg?_wi=2",                imageAlt: "TAPE IT Travel Pack Assorted Nasal Strips 10-pack"
              },
              {
                id: "product-page-6",                name: "Kids Nasal Strips (20-pack)",                price: "$14.99",                imageSrc: "http://img.b2bpic.net/free-photo/front-view-woman-putting-medical-mask-face-protection_23-2148802176.jpg?_wi=2",                imageAlt: "TAPE IT Kids Nasal Strips 20-pack"
              }
            ]}
            title="Our Full Collection"
            description="Explore all TAPE IT products designed for better breathing and enhanced well-being."
          />
        </div>

        <div id="footer" data-section="footer">
          <FooterMedia
            imageSrc="http://img.b2bpic.net/free-photo/yoga-mat-water-bottle-assortment_23-2149442713.jpg?_wi=2"
            imageAlt="Gym product nasal strips lifestyle"
            logoText="TAPE IT JO"
            columns={[
              {
                title: "Product",                items: [
                  { label: "Shop Now", href: "/products" },
                  { label: "How It Works", href: "/#features" },
                  { label: "FAQs", href: "/#faq" }
                ]
              },
              {
                title: "Company",                items: [
                  { label: "Our Mission", href: "/#about" },
                  { label: "Contact Us", href: "/#contact" },
                  { label: "Where to Find Us", href: "/locations" }
                ]
              },
              {
                title: "Legal",                items: [
                  { label: "Privacy Policy", href: "/privacy" },
                  { label: "Terms of Service", href: "/terms" }
                ]
              }
            ]}
            copyrightText="© 2024 TAPE IT JO. All rights reserved."
          />
        </div>
      </ReactLenis>
    </ThemeProvider>
  );
}
