"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleFullscreen from '@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen';
import HeroOverlay from '@/components/sections/hero/HeroOverlay';
import ProductCardTwo from '@/components/sections/product/ProductCardTwo';
import ContactText from '@/components/sections/contact/ContactText';
import FooterBaseCard from '@/components/sections/footer/FooterBaseCard';
import Link from 'next/link';

export default function ArrangementsPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="expand-hover"
      defaultTextAnimation="entrance-slide"
      borderRadius="pill"
      contentWidth="medium"
      sizing="mediumLargeSizeMediumTitles"
      background="none"
      cardStyle="solid"
      primaryButtonStyle="diagonal-gradient"
      secondaryButtonStyle="radial-glow"
      headingFontWeight="normal"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleFullscreen
          navItems={[
            { name: "Home", id: "/" },
            { name: "Arrangements", id: "/arrangements" },
            { name: "Services", id: "/services" },
            { name: "Gallery", id: "/gallery" },
            { name: "Contact", id: "/contact" }
          ]}
          brandName="Rose"
          bottomLeftText="Premium Floral Design"
          bottomRightText="hello@rosestudio.com"
        />
      </div>

      <div id="arrangements-hero" data-section="arrangements-hero">
        <HeroOverlay
          title="Discover Our Complete Floral Collection"
          description="From romantic roses to vibrant seasonal blooms, find the perfect arrangement for every occasion and celebration."
          tag="Full Catalog"
          imageSrc="https://img.b2bpic.net/free-photo/side-view-pink-color-roses-flower-bouquet_140725-12180.jpg"
          imageAlt="Rose studio collection"
          textPosition="center"
          showBlur={true}
          buttons={[
            { text: "Browse by Occasion", href: "#products" }
          ]}
        />
      </div>

      <div id="arrangements-gallery" data-section="arrangements-gallery">
        <ProductCardTwo
          title="All Our Arrangements"
          description="Handpicked collections for weddings, events, gifts, and everyday joy."
          products={[
            {
              id: "1",              brand: "Rose Studio",              name: "Romantic Red Rose Bouquet",              price: "$89.00",              rating: 5,
              reviewCount: "342",              imageSrc: "https://img.b2bpic.net/free-photo/vase-with-decorative-flowers_1203-1640.jpg",              imageAlt: "Red roses"
            },
            {
              id: "2",              brand: "Rose Studio",              name: "Spring Celebration Arrangement",              price: "$75.00",              rating: 5,
              reviewCount: "218",              imageSrc: "https://img.b2bpic.net/free-photo/beautiful-flowers-blue-surface_23-2147609383.jpg",              imageAlt: "Spring tulips"
            },
            {
              id: "3",              brand: "Rose Studio",              name: "Sunshine Sunflower Bundle",              price: "$72.00",              rating: 5,
              reviewCount: "195",              imageSrc: "https://img.b2bpic.net/free-photo/wedding-bouquet-wooden-piece-with-white-candles_114579-2065.jpg",              imageAlt: "Sunflower arrangement"
            },
            {
              id: "4",              brand: "Rose Studio",              name: "Peony Paradise Collection",              price: "$95.00",              rating: 5,
              reviewCount: "267",              imageSrc: "https://img.b2bpic.net/free-vector/elegant-wedding-invitation-card-with-beautiful-floral_21799-2713.jpg",              imageAlt: "Pink peonies"
            }
          ]}
          gridVariant="four-items-2x2-equal-grid"
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground="invertDefault"
        />
      </div>

      <div id="arrangements-cta" data-section="arrangements-cta">
        <ContactText
          text="Can't find what you're looking for? Our florists create custom arrangements for any vision."
          buttons={[
            { text: "Request Custom Design", href: "/contact" }
          ]}
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="arrangements-footer" data-section="arrangements-footer">
        <FooterBaseCard
          logoText="Rose"
          columns={[
            {
              title: "Collections",              items: [
                { label: "Wedding Flowers", href: "/arrangements" },
                { label: "Event Design", href: "/arrangements" },
                { label: "Everyday Arrangements", href: "/arrangements" },
                { label: "Seasonal Specials", href: "/arrangements" }
              ]
            },
            {
              title: "Services",              items: [
                { label: "Custom Design", href: "/services" },
                { label: "Delivery", href: "/services" },
                { label: "Subscriptions", href: "/services" },
                { label: "Corporate Events", href: "/services" }
              ]
            },
            {
              title: "Company",              items: [
                { label: "About Us", href: "/" },
                { label: "Gallery", href: "/gallery" },
                { label: "Blog", href: "/" },
                { label: "Contact", href: "/contact" }
              ]
            },
            {
              title: "Connect",              items: [
                { label: "Instagram", href: "https://instagram.com" },
                { label: "Facebook", href: "https://facebook.com" },
                { label: "Pinterest", href: "https://pinterest.com" },
                { label: "TikTok", href: "https://tiktok.com" }
              ]
            }
          ]}
          copyrightText="© 2025 Rose Flowers Studio. Crafting beauty with passion."
        />
      </div>
    </ThemeProvider>
  );
}