"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleFullscreen from '@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen';
import ProductCardOne from '@/components/sections/product/ProductCardOne';
import TestimonialCardOne from '@/components/sections/testimonial/TestimonialCardOne';
import FooterLogoReveal from '@/components/sections/footer/FooterLogoReveal';
import { ShoppingBag } from 'lucide-react';
import Link from 'next/link';

export default function ShopPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="elastic-effect"
      defaultTextAnimation="entrance-slide"
      borderRadius="rounded"
      contentWidth="mediumSmall"
      sizing="largeSizeMediumTitles"
      background="floatingGradient"
      cardStyle="gradient-mesh"
      primaryButtonStyle="diagonal-gradient"
      secondaryButtonStyle="solid"
      headingFontWeight="bold"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleFullscreen 
          brandName="Upcycled Threads"
          navItems={[
            { name: "Home", id: "/" },
            { name: "About", id: "/about" },
            { name: "Shop", id: "/shop" },
            { name: "Contact", id: "/contact" }
          ]}
          bottomLeftText="Sustainable Fashion"
          bottomRightText="hello@upcycledthreads.com"
        />
      </div>

      <div id="shop-featured" data-section="shop-featured">
        <ProductCardOne 
          title="Complete Collection"
          description="Explore our full range of handcrafted upcycled fashion pieces. Each garment is one-of-a-kind, made with love and attention to sustainability."
          tag="Available Now"
          tagIcon={ShoppingBag}
          products={[
            {
              id: "1",              name: "Vintage Denim Jacket",              price: "€75",              imageSrc: "https://img.b2bpic.net/free-photo/medium-shot-young-women-posing-outdoors_23-2149412643.jpg",              imageAlt: "Upcycled vintage denim jacket"
            },
            {
              id: "2",              name: "Patchwork Summer Dress",              price: "€95",              imageSrc: "https://img.b2bpic.net/free-photo/front-view-woman-wearing-vacation-outfit_23-2150668926.jpg",              imageAlt: "Handcrafted patchwork summer dress"
            },
            {
              id: "3",              name: "Organic Cotton Shirt",              price: "€65",              imageSrc: "https://img.b2bpic.net/free-photo/casual-curly-man-handrail_23-2147678271.jpg",              imageAlt: "Sustainable organic cotton shirt"
            },
            {
              id: "4",              name: "Upcycled Joggers",              price: "€85",              imageSrc: "https://img.b2bpic.net/free-photo/woman-holding-bag-fruit-park_23-2148595056.jpg",              imageAlt: "Comfortable upcycled joggers"
            },
            {
              id: "5",              name: "Reworked Blazer",              price: "€110",              imageSrc: "https://img.b2bpic.net/free-photo/medium-shot-young-women-posing-outdoors_23-2149412643.jpg",              imageAlt: "Professional reworked blazer"
            },
            {
              id: "6",              name: "Sustainable Skirt",              price: "€55",              imageSrc: "https://img.b2bpic.net/free-photo/front-view-woman-wearing-vacation-outfit_23-2150668926.jpg",              imageAlt: "Eco-friendly sustainable skirt"
            }
          ]}
          gridVariant="three-columns-all-equal-width"
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground="noInvert"
          buttons={[
            { text: "Custom Order", href: "/contact" }
          ]}
        />
      </div>

      <div id="reviews" data-section="reviews">
        <TestimonialCardOne 
          title="Customer Reviews"
          description="See what our customers say about their upcycled fashion experience"
          testimonials={[
            {
              id: "1",              name: "Emma S.",              role: "Fashion Enthusiast",              company: "Amsterdam",              rating: 5,
              imageSrc: "https://img.b2bpic.net/free-photo/front-view-business-woman-suit_23-2148603018.jpg",              imageAlt: "Customer Emma"
            },
            {
              id: "2",              name: "Sophie D.",              role: "Eco Advocate",              company: "Paris",              rating: 5,
              imageSrc: "https://img.b2bpic.net/free-photo/happy-professional_1098-12931.jpg",              imageAlt: "Customer Sophie"
            }
          ]}
          gridVariant="uniform-all-items-equal"
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground="invertDefault"
        />
      </div>

      <FooterLogoReveal logoText="Upcycled Threads" />
    </ThemeProvider>
  );
}