"use client";

import Link from "next/link";
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleApple from '@/components/navbar/NavbarStyleApple/NavbarStyleApple';
import ProductCardFour from '@/components/sections/product/ProductCardFour';
import TestimonialCardSix from '@/components/sections/testimonial/TestimonialCardSix';
import FooterSimple from '@/components/sections/footer/FooterSimple';

export default function ProductsPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="text-shift"
      defaultTextAnimation="reveal-blur"
      borderRadius="soft"
      contentWidth="medium"
      sizing="largeSizeMediumTitles"
      background="aurora"
      cardStyle="soft-shadow"
      primaryButtonStyle="double-inset"
      secondaryButtonStyle="radial-glow"
      headingFontWeight="medium"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleApple
          brandName="Morning Routine"
          navItems={[
            { name: "Shop", id: "#products" },
            { name: "About", id: "/about" },
            { name: "Brewing Tips", id: "/brewing" },
            { name: "Contact", id: "/contact" },
            { name: "Community", id: "#testimonials" }
          ]}
        />
      </div>

      <div id="products" data-section="products">
        <ProductCardFour
          title="Featured Selection"
          description="Explore our most popular coffee and tea blends, carefully curated for the perfect morning experience"
          products={[
            {
              id: "espresso-blend",
              name: "Italian Espresso Blend",
              price: "$18.99",
              variant: "Dark Roast  4 Origins",
              imageSrc: "https://img.b2bpic.net/free-photo/unroasted-coffee-beans-coffee-cup_23-2147711092.jpg",
              imageAlt: "Premium Italian espresso blend"
            },
            {
              id: "cappuccino-mix",
              name: "Silky Cappuccino Mix",
              price: "$16.99",
              variant: "Medium Roast  Fair Trade",
              imageSrc: "https://img.b2bpic.net/free-photo/spices-near-ground-coffee_23-2147747264.jpg",
              imageAlt: "Cappuccino blend coffee"
            },
            {
              id: "black-tea-premium",
              name: "Darjeeling Black Tea",
              price: "$14.99",
              variant: "Loose Leaf  First Flush",
              imageSrc: "https://img.b2bpic.net/free-photo/top-view-pine-seeds-with-wooden-spoon_23-2148519147.jpg",
              imageAlt: "Premium black tea"
            },
            {
              id: "green-tea-organic",
              name: "Organic Green Tea",
              price: "$12.99",
              variant: "Loose Leaf  100% Organic",
              imageSrc: "https://img.b2bpic.net/free-photo/coffee-beans-ground-powder_1150-18218.jpg",
              imageAlt: "Organic green tea leaves"
            },
            {
              id: "french-roast",
              name: "French Roast Dark",
              price: "$17.99",
              variant: "Dark Roast  Single Origin",
              imageSrc: "https://img.b2bpic.net/free-photo/unroasted-coffee-beans-coffee-cup_23-2147711092.jpg",
              imageAlt: "French roast coffee"
            },
            {
              id: "chamomile-tea",
              name: "Chamomile Blend",
              price: "$11.99",
              variant: "Herbal  Caffeine Free",
              imageSrc: "https://img.b2bpic.net/free-photo/top-view-pine-seeds-with-wooden-spoon_23-2148519147.jpg",
              imageAlt: "Chamomile tea blend"
            }
          ]}
          gridVariant="uniform-all-items-equal"
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardSix
          title="Loved By Coffee & Tea Enthusiasts"
          description="Join thousands of customers who've transformed their mornings with Morning Routine"
          testimonials={[
            {
              id: "1",
              name: "Sarah Chen",
              handle: "@sarahchen_coffee",
              testimonial: "Morning Routine has completely elevated my morning ritual. The quality is exceptional and I can taste the difference with every sip. This is my new favorite.",
              imageSrc: "https://img.b2bpic.net/free-photo/positive-confident-businesswoman-wearing-formal-suit-standing-with-arms-folded_74855-10328.jpg",
              imageAlt: "Sarah Chen"
            },
            {
              id: "2",
              name: "Michael Rodriguez",
              handle: "@mikedrink_tea",
              testimonial: "As a tea connoisseur, I'm impressed by their selection. The flavors are authentic and the sourcing ethics align with my values. Highly recommend!",
              imageSrc: "https://img.b2bpic.net/free-photo/closeup-smiling-beautiful-adult-businesswoman_1262-1760.jpg",
              imageAlt: "Michael Rodriguez"
            },
            {
              id: "3",
              name: "Emma Wilson",
              handle: "@emmawilson_wellness",
              testimonial: "I've been ordering from Morning Routine for 6 months. Not only is the coffee delicious, but knowing it's ethically sourced makes it taste even better.",
              imageSrc: "https://img.b2bpic.net/free-photo/portrait-smiley-business-woman_23-2148603029.jpg",
              imageAlt: "Emma Wilson"
            },
            {
              id: "4",
              name: "James Park",
              handle: "@jamespark_morning",
              testimonial: "The variety is incredible and the customer service is outstanding. Every order arrives perfectly packaged. Morning Routine is my go-to.",
              imageSrc: "https://img.b2bpic.net/free-photo/close-up-good-looking-smiling-friendly-female-trainee-ready-tackle-assignments-smiling-broadly-feeling-lucky-day-work-self-assured-encouraged-achieve-success-goal-white-wall_176420-35567.jpg",
              imageAlt: "James Park"
            },
            {
              id: "5",
              name: "Lisa Thompson",
              handle: "@lisathompson_cafe",
              testimonial: "I opened a small cafe and Morning Routine supplies our coffee. Our customers love it and ask for it by name. Best decision ever!",
              imageSrc: "https://img.b2bpic.net/free-photo/positive-confident-businesswoman-wearing-formal-suit-standing-with-arms-folded_74855-10328.jpg",
              imageAlt: "Lisa Thompson"
            },
            {
              id: "6",
              name: "David Kim",
              handle: "@davidkim_morning",
              testimonial: "Premium quality at reasonable prices. I've tried many brands, but Morning Routine consistently delivers excellence. I'm a customer for life.",
              imageSrc: "https://img.b2bpic.net/free-photo/closeup-smiling-beautiful-adult-businesswoman_1262-1760.jpg",
              imageAlt: "David Kim"
            }
          ]}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground="invertDefault"
          speed={40}
          topMarqueeDirection="left"
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterSimple
          columns={[
            {
              title: "Shop",
              items: [
                { label: "Coffee", href: "#products" },
                { label: "Tea", href: "#products" },
                { label: "Gift Sets", href: "#products" },
                { label: "Brewing Equipment", href: "#products" }
              ]
            },
            {
              title: "Company",
              items: [
                { label: "About Us", href: "/about" },
                { label: "Our Mission", href: "/about" },
                { label: "Sustainability", href: "/about" },
                { label: "Blog", href: "#" }
              ]
            },
            {
              title: "Support",
              items: [
                { label: "Contact", href: "/contact" },
                { label: "Shipping Info", href: "#" },
                { label: "Returns", href: "#" },
                { label: "FAQ", href: "#" }
              ]
            },
            {
              title: "Legal",
              items: [
                { label: "Privacy Policy", href: "#" },
                { label: "Terms of Service", href: "#" },
                { label: "Cookie Policy", href: "#" }
              ]
            }
          ]}
          bottomLeftText="© 2025 Morning Routine. All rights reserved."
          bottomRightText="Brewing excellence since 2015"
        />
      </div>
    </ThemeProvider>
  );
}