"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarLayoutFloatingInline from '@/components/navbar/NavbarLayoutFloatingInline';
import ProductCardTwo from '@/components/sections/product/ProductCardTwo';
import FeatureCardMedia from '@/components/sections/feature/FeatureCardMedia';
import FooterBaseReveal from '@/components/sections/footer/FooterBaseReveal';
import Link from "next/link";

export default function MenuPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="elastic-effect"
      defaultTextAnimation="entrance-slide"
      borderRadius="rounded"
      contentWidth="medium"
      sizing="medium"
      background="noise"
      cardStyle="gradient-mesh"
      primaryButtonStyle="gradient"
      secondaryButtonStyle="glass"
      headingFontWeight="semibold"
    >
      <div id="nav" data-section="nav">
        <NavbarLayoutFloatingInline
          brandName="Brew Haven"
          navItems={[
            { name: "Home", id: "/" },
            { name: "Menu", id: "/menu" },
            { name: "About", id: "/about" },
            { name: "Contact", id: "/contact" }
          ]}
          button={{
            text: "Order Now",
            href: "/menu"
          }}
        />
      </div>

      <div id="products" data-section="products">
        <ProductCardTwo
          title="Our Complete Menu"
          description="From single-origin espresso to seasonal specials, discover the full range of our artisan coffee offerings."
          tag="Full Menu"
          products={[
            {
              id: "1",
              brand: "Brew Haven",
              name: "Ethiopian Highlands Single Origin",
              price: "$16.99",
              rating: 5,
              reviewCount: "2.4k",
              imageSrc: "https://img.b2bpic.net/free-photo/close-up-roasted-brown-coffee-beans_23-2148254977.jpg",
              imageAlt: "Ethiopian coffee beans"
            },
            {
              id: "2",
              brand: "Brew Haven",
              name: "Dark Roast Espresso Blend",
              price: "$14.99",
              rating: 5,
              reviewCount: "1.9k",
              imageSrc: "https://img.b2bpic.net/free-photo/person-holding-white-ceramic-mug-with-coffee_209848-30.jpg",
              imageAlt: "Dark roast espresso"
            },
            {
              id: "3",
              brand: "Brew Haven",
              name: "Smooth Cold Brew Concentrate",
              price: "$12.99",
              rating: 4,
              reviewCount: "1.2k",
              imageSrc: "https://img.b2bpic.net/free-photo/close-up-young-adult-enjoying-warm-drink_23-2149134379.jpg",
              imageAlt: "Cold brew concentrate bottle"
            },
            {
              id: "4",
              brand: "Brew Haven",
              name: "Classic Cappuccino",
              price: "$5.99",
              rating: 5,
              reviewCount: "3.1k",
              imageSrc: "https://img.b2bpic.net/free-photo/glass-with-delicious-coffee_23-2149703760.jpg",
              imageAlt: "Cappuccino with foam art"
            },
            {
              id: "5",
              brand: "Brew Haven",
              name: "Artisan Flat White",
              price: "$6.49",
              rating: 5,
              reviewCount: "2.8k",
              imageSrc: "https://img.b2bpic.net/free-photo/delicious-cup-coffee-with-cream_23-2148255057.jpg",
              imageAlt: "Creamy flat white"
            },
            {
              id: "6",
              brand: "Brew Haven",
              name: "Seasonal Latte Special",
              price: "$7.99",
              rating: 4,
              reviewCount: "1.5k",
              imageSrc: "https://img.b2bpic.net/free-photo/white-ceramic-mug-with-coffee_209848-35.jpg",
              imageAlt: "Seasonal latte with latte art"
            }
          ]}
          textboxLayout="default"
          animationType="slide-up"
          useInvertedBackground={false}
          gridVariant="uniform-all-items-equal"
        />
      </div>

      <div id="brewing-methods" data-section="brewing-methods">
        <FeatureCardMedia
          title="Our Brewing Methods"
          description="Each brewing method brings out unique flavor profiles from our carefully selected beans."
          features={[
            {
              id: "1",
              title: "Pour Over",
              description: "Our meticulous pour-over technique extracts the full spectrum of flavors, creating a clean, bright cup that highlights the origin characteristics.",
              tag: "Precision",
              imageSrc: "https://img.b2bpic.net/free-photo/close-up-hands-barista-make-latte-coffee-art-paint_1150-12161.jpg",
              imageAlt: "Barista performing pour over"
            },
            {
              id: "2",
              title: "Espresso",
              description: "Using state-of-the-art espresso machines, we pull perfect shots with rich crema and concentrated flavor that forms the base of our specialty drinks.",
              tag: "Traditional",
              imageSrc: "https://img.b2bpic.net/free-photo/person-holding-white-ceramic-mug-with-coffee_209848-30.jpg",
              imageAlt: "Perfect espresso shot"
            },
            {
              id: "3",
              title: "Cold Brew",
              description: "Our 18-hour cold extraction process creates a smooth, naturally sweet concentrate that's perfect for hot days or refreshing afternoon treats.",
              tag: "Refreshing",
              imageSrc: "https://img.b2bpic.net/free-photo/close-up-young-adult-enjoying-warm-drink_23-2149134379.jpg",
              imageAlt: "Cold brew preparation"
            }
          ]}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
        />
      </div>

      <div id="seasonal-specials" data-section="seasonal-specials">
        <ProductCardTwo
          title="Seasonal Specials"
          description="Limited-time offerings that celebrate the flavors of each season with unique blends and preparation methods."
          tag="Limited Time"
          products={[
            {
              id: "7",
              brand: "Brew Haven",
              name: "Winter Spice Latte",
              price: "$8.49",
              rating: 5,
              reviewCount: "892",
              imageSrc: "https://img.b2bpic.net/free-photo/white-ceramic-mug-with-coffee_209848-35.jpg",
              imageAlt: "Spiced winter latte"
            },
            {
              id: "8",
              brand: "Brew Haven",
              name: "Maple Bourbon Cold Brew",
              price: "$9.99",
              rating: 4,
              reviewCount: "654",
              imageSrc: "https://img.b2bpic.net/free-photo/close-up-young-adult-enjoying-warm-drink_23-2149134379.jpg",
              imageAlt: "Maple bourbon cold brew"
            }
          ]}
          textboxLayout="default"
          animationType="slide-up"
          useInvertedBackground={false}
          gridVariant="uniform-all-items-equal"
        />
      </div>

      <FooterBaseReveal
        columns={[
          {
            title: "Company",
            items: [
              { label: "About Us", href: "/about" },
              { label: "Our Mission", href: "/about" },
              { label: "Careers", href: "#" }
            ]
          },
          {
            title: "Menu",
            items: [
              { label: "Coffee", href: "/menu" },
              { label: "Tea & Alternatives", href: "/menu" },
              { label: "Pastries", href: "/menu" }
            ]
          },
          {
            title: "Connect",
            items: [
              { label: "Contact Us", href: "/contact" },
              { label: "Instagram", href: "https://instagram.com" },
              { label: "Privacy Policy", href: "#" }
            ]
          }
        ]}
        copyrightText="© 2025 Brew Haven | Crafted with care"
      />
    </ThemeProvider>
  );
}