"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleApple from '@/components/navbar/NavbarStyleApple/NavbarStyleApple';
import ProductCardThree from '@/components/sections/product/ProductCardThree';
import MetricCardTwo from '@/components/sections/metrics/MetricCardTwo';
import FaqDouble from '@/components/sections/faq/FaqDouble';
import FooterCard from '@/components/sections/footer/FooterCard';
import { Instagram, Facebook, Twitter, Linkedin } from 'lucide-react';

export default function ShopPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="icon-arrow"
      defaultTextAnimation="entrance-slide"
      borderRadius="pill"
      contentWidth="smallMedium"
      sizing="mediumSizeLargeTitles"
      background="none"
      cardStyle="elevated"
      primaryButtonStyle="radial-glow"
      secondaryButtonStyle="glass"
      headingFontWeight="bold"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleApple
          brandName="Sarancha"
          navItems={[
            { name: "Home", id: "/" },
            { name: "Shop", id: "/shop" },
            { name: "About", id: "/about" },
            { name: "Collections", id: "/collections" },
            { name: "Contact", id: "/contact" }
          ]}
        />
      </div>

      <div id="products" data-section="products">
        <ProductCardThree
          title="Shop Our Full Collection"
          description="Browse our complete selection of premium fresh flowers and custom arrangements, carefully crafted for every occasion and celebration."
          tag="Complete Catalog"
          textboxLayout="default"
          gridVariant="four-items-2x2-equal-grid"
          animationType="slide-up"
          useInvertedBackground="noInvert"
          products={[
            {
              id: "1",
              name: "Romantic Rose Garden",
              price: "$89.99",
              imageSrc: "https://img.b2bpic.net/free-photo/close-up-beautiful-blooming-flowers_23-2149316652.jpg",
              imageAlt: "Red and pink rose arrangement",
              initialQuantity: 1
            },
            {
              id: "2",
              name: "Sunflower Delight",
              price: "$79.99",
              imageSrc: "https://img.b2bpic.net/free-photo/view-flowers-transparent-glass-with-water-drops_23-2149478600.jpg",
              imageAlt: "Bright sunflower bouquet",
              initialQuantity: 1
            },
            {
              id: "3",
              name: "Lavender Dreams",
              price: "$84.99",
              imageSrc: "https://img.b2bpic.net/free-photo/closeup-blooming-pink-gerbera-daisy_53876-138114.jpg",
              imageAlt: "Lavender and white flower mix",
              initialQuantity: 1
            },
            {
              id: "4",
              name: "Spring Garden Mix",
              price: "$74.99",
              imageSrc: "https://img.b2bpic.net/free-photo/view-natural-blurry-flower_23-2149454600.jpg",
              imageAlt: "Colorful spring flower arrangement",
              initialQuantity: 1
            },
            {
              id: "5",
              name: "Elegant White Bouquet",
              price: "$94.99",
              imageSrc: "https://img.b2bpic.net/free-photo/vertical-closeup-shot-beautiful-wedding-bouquet-with-gorgeous-white-roses_181624-15923.jpg",
              imageAlt: "White rose and lily arrangement",
              initialQuantity: 1
            },
            {
              id: "6",
              name: "Vibrant Wildflower Mix",
              price: "$69.99",
              imageSrc: "https://img.b2bpic.net/free-photo/flowers-floral-shop-different-types_1303-15615.jpg",
              imageAlt: "Mixed wildflower bouquet",
              initialQuantity: 1
            }
          ]}
        />
      </div>

      <div id="shop-metrics" data-section="shop-metrics">
        <MetricCardTwo
          title="Why Shop with Sarancha"
          description="Quality and service metrics that make us the preferred choice"
          tag="Shop Benefits"
          textboxLayout="default"
          gridVariant="uniform-all-items-equal"
          animationType="scale-rotate"
          useInvertedBackground="invertDefault"
          metrics={[
            {
              id: "1",
              value: "Same Day",
              description: "Delivery Available"
            },
            {
              id: "2",
              value: "100%",
              description: "Satisfaction Guarantee"
            },
            {
              id: "3",
              value: "7 Days",
              description: "Fresh Flower Guarantee"
            }
          ]}
        />
      </div>

      <div id="shop-faq" data-section="shop-faq">
        <FaqDouble
          title="Shopping Help & Information"
          description="Find answers to common questions about ordering, delivery, and care instructions"
          tag="Shopping Guide"
          textboxLayout="default"
          useInvertedBackground="noInvert"
          animationType="smooth"
          faqs={[
            {
              id: "1",
              title: "What payment methods do you accept?",
              content: "We accept all major credit cards (Visa, Mastercard, American Express), digital wallets (Apple Pay, Google Pay), and bank transfers. All payments are processed securely through our encrypted payment gateway."
            },
            {
              id: "2",
              title: "Do you offer same-day delivery?",
              content: "Yes! Orders placed before 2 PM on weekdays qualify for same-day delivery in our service area. Weekend and holiday delivery availability varies by location. Check your zip code during checkout for specific delivery options."
            },
            {
              id: "3",
              title: "Can I customize my arrangement?",
              content: "Absolutely! We offer custom arrangement design services. Contact our florists directly at hello@sarancha.com or call us to discuss your specific preferences, color schemes, and budget. Custom orders typically require 24-48 hours notice."
            },
            {
              id: "4",
              title: "What is your return or refund policy?",
              content: "We guarantee 100% satisfaction. If your flowers arrive damaged or wilted, we'll replace them free of charge or issue a full refund. Contact us within 2 hours of delivery to report any issues."
            }
          ]}
        />
      </div>

      <FooterCard
        logoText="Sarancha"
        copyrightText="© 2025 Sarancha. All rights reserved. Crafting beauty, one bloom at a time."
        socialLinks={[
          { icon: Instagram, href: "https://instagram.com/sarancha", ariaLabel: "Instagram" },
          { icon: Facebook, href: "https://facebook.com/sarancha", ariaLabel: "Facebook" },
          { icon: Twitter, href: "https://twitter.com/sarancha", ariaLabel: "Twitter" },
          { icon: Linkedin, href: "https://linkedin.com/company/sarancha", ariaLabel: "LinkedIn" }
        ]}
      />
    </ThemeProvider>
  );
}