"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleApple from '@/components/navbar/NavbarStyleApple/NavbarStyleApple';
import ProductCardThree from '@/components/sections/product/ProductCardThree';
import PricingCardNine from '@/components/sections/pricing/PricingCardNine';
import FooterBase from '@/components/sections/footer/FooterBase';
import { ShoppingBag } from "lucide-react";

export default function CollectionsPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="directional-hover"
      defaultTextAnimation="entrance-slide"
      borderRadius="sharp"
      contentWidth="mediumLarge"
      sizing="large"
      background="circleGradient"
      cardStyle="gradient-radial"
      primaryButtonStyle="inset-glow"
      secondaryButtonStyle="radial-glow"
      headingFontWeight="extrabold"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleApple
          brandName="Lavanda"
          navItems={[
            { name: "Home", id: "/" },
            { name: "Collections", id: "/collections" },
            { name: "About", id: "/about" },
            { name: "Contact", id: "/contact" }
          ]}
        />
      </div>

      <div id="products" data-section="products">
        <ProductCardThree
          title="Our Complete Collection"
          description="Browse our full range of handcrafted fragrances, from timeless classics to modern innovations."
          products={[
            {
              id: "1",
              name: "Lavanda Classica",
              price: "$85.00",
              imageSrc: "https://img.b2bpic.net/free-photo/closeup-shot-beautifully-shaped-glass-bottles-filled-with-perfume_181624-28370.jpg",
              imageAlt: "Lavanda Classica eau de toilette",
              initialQuantity: 1
            },
            {
              id: "2",
              name: "Lavanda Floral",
              price: "$95.00",
              imageSrc: "https://img.b2bpic.net/free-photo/elegant-vegan-alcohol-arrangement_23-2149337694.jpg",
              imageAlt: "Lavanda Floral eau de parfum",
              initialQuantity: 1
            },
            {
              id: "3",
              name: "Lavanda Oriental",
              price: "$110.00",
              imageSrc: "https://img.b2bpic.net/free-photo/elegant-vegan-alcohol-arrangement_23-2149337695.jpg",
              imageAlt: "Lavanda Oriental exclusive fragrance",
              initialQuantity: 1
            },
            {
              id: "4",
              name: "Lavanda Noir",
              price: "$125.00",
              imageSrc: "https://img.b2bpic.net/free-photo/still-life-beauty-products-based-regenerative-agriculture_23-2150721383.jpg",
              imageAlt: "Lavanda Noir intense fragrance",
              initialQuantity: 1
            }
          ]}
          gridVariant="four-items-2x2-equal-grid"
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="pricing" data-section="pricing">
        <PricingCardNine
          title="Lavanda Collections"
          description="Select the perfect fragrance experience for your lifestyle."
          tag="Pricing"
          tagIcon={ShoppingBag}
          plans={[
            {
              id: "classic",
              title: "Classic Collection",
              price: "$85",
              period: "per bottle (50ml)",
              imageSrc: "https://img.b2bpic.net/free-photo/containers-liquid-soap-shampoo-with-dispenser-is-sold-supermarket_169016-50305.jpg",
              imageAlt: "Lavanda Classica fragrance",
              features: [
                "Eau de Toilette concentration",
                "Timeless lavender essence",
                "Lasting 6-8 hours",
                "Elegant glass bottle"
              ],
              button: { text: "Shop Now", href: "/collections" }
            },
            {
              id: "premium",
              title: "Premium Selection",
              price: "$95",
              period: "per bottle (75ml)",
              imageSrc: "https://img.b2bpic.net/free-photo/elegant-vegan-alcohol-arrangement_23-2149337714.jpg",
              imageAlt: "Lavanda Premium fragrance",
              features: [
                "Eau de Parfum concentration",
                "Complex multi-note composition",
                "Lasting 10-12 hours",
                "Luxury presentation box"
              ],
              button: { text: "Shop Now", href: "/collections" }
            },
            {
              id: "exclusive",
              title: "Exclusive Edition",
              price: "$110",
              period: "per bottle (100ml)",
              imageSrc: "https://img.b2bpic.net/free-photo/still-life-beauty-products-based-regenerative-agriculture_23-2150721383.jpg",
              imageAlt: "Lavanda Exclusive rare fragrance",
              features: [
                "Extrait de Parfum concentration",
                "Limited annual release",
                "Lasting 14+ hours",
                "Collector's crystal bottle"
              ],
              button: { text: "Reserve Now", href: "/collections" }
            }
          ]}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground="invertDefault"
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactText
          text="Need help choosing the perfect fragrance? Our scent experts are here to guide you through our collection."
          animationType="entrance-slide"
          buttons={[
            { text: "Contact Expert", href: "/contact" },
            { text: "Schedule Consultation", href: "/consultation" }
          ]}
          useInvertedBackground="noInvert"
        />
      </div>

      <FooterBase
        logoText="Lavanda"
        copyrightText="© 2025 Lavanda Fragrances. All rights reserved."
        columns={[
          {
            title: "Collections",
            items: [
              { label: "All Fragrances", href: "/collections" },
              { label: "New Arrivals", href: "/collections" },
              { label: "Limited Edition", href: "/collections" }
            ]
          },
          {
            title: "Company",
            items: [
              { label: "About Us", href: "/about" },
              { label: "Our Story", href: "/about" },
              { label: "Careers", href: "/careers" }
            ]
          },
          {
            title: "Support",
            items: [
              { label: "Contact Us", href: "/contact" },
              { label: "FAQ", href: "/faq" },
              { label: "Shipping Info", href: "/shipping" }
            ]
          }
        ]}
      />
    </ThemeProvider>
  );
}