"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarLayoutFloatingOverlay from '@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay';
import HeroBillboardScroll from '@/components/sections/hero/HeroBillboardScroll';
import ProductCardFour from '@/components/sections/product/ProductCardFour';
import FooterLogoEmphasis from '@/components/sections/footer/FooterLogoEmphasis';
import Link from 'next/link';

export default function ShopPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="shift-hover"
      defaultTextAnimation="background-highlight"
      borderRadius="soft"
      contentWidth="small"
      sizing="medium"
      background="circleGradient"
      cardStyle="glass-depth"
      primaryButtonStyle="inset-glow"
      secondaryButtonStyle="glass"
      headingFontWeight="extrabold"
    >
      <div id="nav" data-section="nav">
        <NavbarLayoutFloatingOverlay
          brandName="Fiona"
          navItems={[
            { name: "Home", id: "/" },
            { name: "Shop", id: "/shop" },
            { name: "About", id: "/about" },
            { name: "Contact", id: "/contact" }
          ]}
          button={{
            text: "Order Now",            href: "/shop"
          }}
        />
      </div>

      <div id="shop-hero" data-section="shop-hero">
        <HeroBillboardScroll
          title="Our Complete Flower Collection"
          description="Browse our entire selection of fresh, premium flowers and custom arrangements for every occasion."
          background={{ variant: "plain" }}
          buttons={[
            { text: "View All Products", href: "#products" }
          ]}
        />
      </div>

      <div id="shop-products" data-section="shop-products">
        <ProductCardFour
          title="All Products"
          description="Discover our complete selection of premium flowers and custom arrangements for every special occasion"
          products={[
            {
              id: "1",              name: "Royal Rose Elegance",              price: "$85",              variant: "Red Roses • 24 Stems",              imageSrc: "https://img.b2bpic.net/free-photo/flat-lay-beautifully-bloomed-colorful-rose-flowers_23-2149005546.jpg",              imageAlt: "Red rose bouquet"
            },
            {
              id: "2",              name: "Spring Tulip Medley",              price: "$65",              variant: "Mixed Tulips • 20 Stems",              imageSrc: "https://img.b2bpic.net/free-photo/bouquet-pink-roses-with-blue-ribbon-vintage-wooden-background_1220-284.jpg",              imageAlt: "Spring tulip arrangement"
            },
            {
              id: "3",              name: "Sunshine Sunflower Delight",              price: "$75",              variant: "Sunflowers • 15 Stems",              imageSrc: "https://img.b2bpic.net/free-photo/bouquet-roses-with-red-bow_23-2147591160.jpg",              imageAlt: "Bright sunflower bouquet"
            },
            {
              id: "4",              name: "Exotic Orchid Paradise",              price: "$95",              variant: "Premium Orchids • 12 Stems",              imageSrc: "https://img.b2bpic.net/free-photo/gentle-flowers-bouquet_23-2147694593.jpg",              imageAlt: "Exotic orchid arrangement"
            },
            {
              id: "5",              name: "Romantic Red & White",              price: "$90",              variant: "Red & White Mix • 30 Stems",              imageSrc: "https://img.b2bpic.net/free-photo/flat-lay-beautifully-bloomed-colorful-rose-flowers_23-2149005546.jpg",              imageAlt: "Red and white flower arrangement"
            },
            {
              id: "6",              name: "Garden Fresh Mix",              price: "$70",              variant: "Seasonal Mix • 25 Stems",              imageSrc: "https://img.b2bpic.net/free-photo/bouquet-pink-roses-with-blue-ribbon-vintage-wooden-background_1220-284.jpg",              imageAlt: "Garden fresh flower mix"
            }
          ]}
          gridVariant="uniform-all-items-equal"
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground="invertDefault"
          carouselMode="buttons"
        />
      </div>

      <div id="shop-footer" data-section="shop-footer">
        <FooterLogoEmphasis
          logoText="Fiona"
          columns={[
            {
              items: [
                { label: "Home", href: "/" },
                { label: "Shop", href: "/shop" },
                { label: "About", href: "/about" }
              ]
            },
            {
              items: [
                { label: "Delivery Info", href: "/delivery" },
                { label: "Care Tips", href: "/care" },
                { label: "FAQ", href: "/faq" }
              ]
            },
            {
              items: [
                { label: "Privacy Policy", href: "/privacy" },
                { label: "Terms", href: "/terms" },
                { label: "Sustainability", href: "/sustainability" }
              ]
            }
          ]}
        />
      </div>
    </ThemeProvider>
  );
}