"use client";

import Link from "next/link";
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleCentered from "@/components/navbar/NavbarStyleCentered/NavbarStyleCentered";
import FeatureCardTwentySeven from "@/components/sections/feature/FeatureCardTwentySeven";
import ContactText from "@/components/sections/contact/ContactText";
import FooterCard from "@/components/sections/footer/FooterCard";
import { ChefHat, Instagram, Facebook, MessageCircle } from "lucide-react";

const navItems = [
  { name: "Home", id: "home" },
  { name: "Menu", id: "menu" },
  { name: "Reservations", id: "reservations" },
  { name: "Gallery", id: "gallery" },
  { name: "Contact", id: "contact" },
];

export default function MenuPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="expand-hover"
      defaultTextAnimation="reveal-blur"
      borderRadius="soft"
      contentWidth="smallMedium"
      sizing="mediumLarge"
      background="grid"
      cardStyle="glass-elevated"
      primaryButtonStyle="flat"
      secondaryButtonStyle="glass"
      headingFontWeight="normal"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleCentered
          brandName="The Dera"
          navItems={navItems}
          button={{
            text: "Order Online",
            href: "#order",
          }}
        />
      </div>

      <div id="menu-showcase" data-section="menu-showcase">
        <FeatureCardTwentySeven
          title="Complete Menu Collection"
          description="Discover the full range of premium culinary offerings at The Dera. From signature BBQ to gourmet burgers, artisan pizza, traditional Pakistani cuisine, craft beverages, and vegan options - every dish is crafted with passion and premium ingredients."
          tag="Full Menu"
          tagIcon={ChefHat}
          tagAnimation="slide-up"
          features={[
            {
              id: "bbq",
              title: "Authentic BBQ",
              descriptions: [
                "Slow-cooked premium meats",
                "Traditional smoking techniques",
                "Perfect for gatherings and celebrations",
              ],
              imageSrc: "http://img.b2bpic.net/free-photo/side-view-fried-lamb-ribs-garnished-with-grilled-vegetables-fresh-tomatoes-table_140725-11504.jpg?_wi=2",
            },
            {
              id: "gourmet-burgers",
              title: "Gourmet Burgers",
              descriptions: [
                "Hand-crafted premium patties",
                "Premium aged cheese selection",
                "Gourmet bread and specialty sauces",
              ],
              imageSrc: "http://img.b2bpic.net/free-photo/high-angle-hands-holding-delicious-burger_23-2149897395.jpg?_wi=2",
            },
            {
              id: "artisan-pizza",
              title: "Artisan Pizza",
              descriptions: [
                "Wood-fired oven perfection",
                "Premium imported ingredients",
                "Classic and creative varieties",
              ],
              imageSrc: "http://img.b2bpic.net/free-photo/baking-delicious-pizza-with-wood-fired-oven_23-2150134253.jpg?_wi=2",
            },
          ]}
          gridVariant="bento-grid"
          animationType="slide-up"
          buttons={[{ text: "Order Online", href: "#order" }]}
          buttonAnimation="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
          ariaLabel="Menu showcase section"
        />
      </div>

      <div id="specialty-menu" data-section="specialty-menu">
        <FeatureCardTwentySeven
          title="Specialty & Local Favorites"
          description="Experience the best of traditional and contemporary cuisine with our specialty selections including authentic Pakistani dishes, premium beverages, and innovative vegan options prepared by our expert chefs."
          tag="Specialty Dishes"
          tagIcon={ChefHat}
          tagAnimation="slide-up"
          features={[
            {
              id: "pakistani-cuisine",
              title: "Pakistani Favorites",
              descriptions: [
                "Traditional authentic recipes",
                "Slow-cooked to perfection",
                "Premium spice blends and techniques",
              ],
              imageSrc: "http://img.b2bpic.net/free-photo/top-view-meat-soup-with-potatoes-seasonings-dark-desk_140725-76788.jpg?_wi=2",
            },
            {
              id: "craft-drinks",
              title: "Craft Beverages",
              descriptions: [
                "Premium cocktail selection",
                "Fresh fruit mocktails",
                "Imported beverage collection",
              ],
              imageSrc: "http://img.b2bpic.net/free-photo/side-view-cheese-set-with-glass-candles-wood-plate_176474-3035.jpg?_wi=2",
            },
            {
              id: "vegan-options",
              title: "Vegan Cuisine",
              descriptions: [
                "Plant-based premium dishes",
                "Creative vegetarian options",
                "Sustainable and ethical sourcing",
              ],
              imageSrc: "http://img.b2bpic.net/free-photo/top-view-delicious-food-arrangement_23-2148510958.jpg?_wi=2",
            },
          ]}
          gridVariant="bento-grid"
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground={true}
          ariaLabel="Specialty menu section"
        />
      </div>

      <div id="order-cta" data-section="order-cta">
        <ContactText
          text="Ready to Place Your Order? Order Your Favorite Dishes Online Today"
          animationType="reveal-blur"
          buttons={[
            { text: "Order Now", href: "#order" },
            { text: "View Full Details", href: "/" },
            { text: "Contact Us", href: "/contact" },
          ]}
          background={{ variant: "radial-gradient" }}
          useInvertedBackground={true}
          ariaLabel="Order call-to-action section"
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterCard
          logoText="The Dera Cafe & Restaurant"
          copyrightText="© 2025 The Dera Cafe & Restaurant. All rights reserved. | Karachi, Pakistan"
          socialLinks={[
            { icon: Instagram, href: "https://instagram.com", ariaLabel: "Instagram" },
            { icon: Facebook, href: "https://facebook.com", ariaLabel: "Facebook" },
            { icon: MessageCircle, href: "https://wa.me/923001234567", ariaLabel: "WhatsApp" },
          ]}
          ariaLabel="Site footer"
        />
      </div>
    </ThemeProvider>
  );
}