"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleApple from '@/components/navbar/NavbarStyleApple/NavbarStyleApple';
import ProductCardTwo from '@/components/sections/product/ProductCardTwo';
import FeatureHoverPattern from '@/components/sections/feature/featureHoverPattern/FeatureHoverPattern';
import TestimonialCardFifteen from '@/components/sections/testimonial/TestimonialCardFifteen';
import FooterBaseCard from '@/components/sections/footer/FooterBaseCard';
import { Flame, Users, DollarSign, Smile, Table, Utensils } from 'lucide-react';

export default function MenuPage() {
  const navItems = [
    { name: "Home", id: "/" },
    { name: "Menu", id: "/menu" },
    { name: "Contact", id: "/contact" }
  ];

  const footerColumns = [
    {
      title: "Quick Links",      items: [
        { label: "Home", href: "/" },
        { label: "Menu", href: "/menu" },
        { label: "Contact", href: "/contact" }
      ]
    },
    {
      title: "Contact",      items: [
        { label: "Call Us", href: "tel:09182950479" },
        { label: "WhatsApp", href: "https://wa.me/919182950479" },
        { label: "Directions", href: "https://www.google.com/maps/dir/?api=1&destination=TAJ+Family+Restaurant,+Ambedkar+Nagar,+Shanti+Nagar,+Sircilla,+Telangana+505301" },
        { label: "Email", href: "mailto:info@tajfamilyrestaurant.com" }
      ]
    }
  ];

  return (
    <ThemeProvider
      defaultButtonVariant={"text-stagger"}
      defaultTextAnimation={"background-highlight"}
      borderRadius={"soft"}
      contentWidth={"mediumSmall"}
      sizing={"mediumSizeLargeTitles"}
      background={"grid"}
      cardStyle={"subtle-shadow"}
      primaryButtonStyle={"shadow"}
      secondaryButtonStyle={"radial-glow"}
      headingFontWeight={"medium"}
    >
      <div id="nav" data-section="nav">
        <NavbarStyleApple brandName="TAJ Family Restaurant" navItems={navItems} />
      </div>

      <div id="popular-dishes" data-section="popular-dishes">
        <ProductCardTwo
          title="Our Full Menu – Order Online or via WhatsApp"
          description="Discover a rich selection of authentic Indian and Telangana dishes. Easily order your favorites for pickup or delivery!"
          gridVariant="two-columns-alternating-heights"
          animationType="slide-up"
          textboxLayout="default"
          buttons={[
            { text: "Order Now via WhatsApp", href: "https://wa.me/919182950479" },
            { text: "Call for Orders", href: "tel:09182950479" }
          ]}
          products={[
            { id: "1", brand: "TAJ Special", name: "Chicken Biryani", price: "₹250-₹400", rating: 4.5, reviewCount: "1.5K Reviews", imageSrc: "http://img.b2bpic.net/free-photo/close-up-appetizing-ramadan-meal_23-2151182550.jpg?_wi=1", imageAlt: "chicken biryani popular dish" },
            { id: "2", brand: "Vegetarian Delight", name: "Mushroom Biryani", price: "₹200-₹350", rating: 4.2, reviewCount: "900 Reviews", imageSrc: "http://img.b2bpic.net/free-photo/close-up-pilaf-with-beans-green-fried-onions_141793-1349.jpg?_wi=1", imageAlt: "mushroom biryani vegetarian" },
            { id: "3", brand: "Classic Curry", name: "Paneer Butter Masala", price: "₹220-₹380", rating: 4.6, reviewCount: "1.2K Reviews", imageSrc: "http://img.b2bpic.net/free-photo/pre-prepared-food-showcasing-ready-eat-delicious-meals-go_23-2151246082.jpg?_wi=1", imageAlt: "paneer butter masala creamy curry" },
            { id: "4", brand: "Crispy Starter", name: "Paneer 65", price: "₹180-₹300", rating: 4.3, reviewCount: "850 Reviews", imageSrc: "http://img.b2bpic.net/free-photo/top-view-tasty-spicy-chips-white-bowl-sack-cloth-with-pine-nuts-wooden-bowl-with-shelled-sunflower-seeds-with-glass-orange-juice-wooden-table_141793-88918.jpg?_wi=1", imageAlt: "paneer 65 fried starter" },
            { id: "5", brand: "Breakfast Favorite", name: "Aloo Paratha", price: "₹100-₹180", rating: 4, reviewCount: "700 Reviews", imageSrc: "http://img.b2bpic.net/free-photo/italian-ciabatta-bread-restaurant_501050-890.jpg?_wi=1", imageAlt: "aloo paratha indian flatbread" },
            { id: "6", brand: "House Special", name: "Veg Kofta", price: "₹210-₹360", rating: 4.4, reviewCount: "1.1K Reviews", imageSrc: "http://img.b2bpic.net/free-photo/baked-meatballs-chicken-fillet-tomato-sauce_2829-11148.jpg?_wi=1", imageAlt: "veg kofta curry indian balls" },
            { id: "7", brand: "Slow Cooked", name: "Dum Chicken Biryani", price: "₹280-₹450", rating: 4.7, reviewCount: "1.8K Reviews", imageSrc: "http://img.b2bpic.net/free-photo/pilaf-appetizing-pilaf-bowl_140725-74150.jpg?_wi=1", imageAlt: "dum chicken biryani sealed pot" }
          ]}
          useInvertedBackground={true}
        />
      </div>

      <div id="why-choose-us" data-section="why-choose-us">
        <FeatureHoverPattern
          title="Dine With Us: Taste, Tradition, Service"
          description="Discover why our guests return for the unforgettable tastes and warm atmosphere. Place your order or visit us!"
          animationType="slide-up"
          textboxLayout="default"
          features={[
            { icon: Flame, title: "Authentic Telangana Flavors", description: "Savor traditional recipes crafted with local spices and ingredients." },
            { icon: Users, title: "Family Dining Atmosphere", description: "A welcoming and comfortable environment perfect for family gatherings." },
            { icon: DollarSign, title: "Affordable Pricing", description: "Enjoy delicious meals at a great value, averaging ₹200–₹400 per person." },
            { icon: Smile, title: "Friendly & Attentive Service", description: "Our staff is dedicated to providing you with an excellent dining experience." },
            { icon: Table, title: "Large Seating Space", description: "Plenty of room for groups and events, ensuring comfort for all our guests." },
            { icon: Utensils, title: "Master Chefs", description: "Our culinary experts bring years of experience and passion to every dish." }
          ]}
          useInvertedBackground={false}
        />
      </div>

      <div id="reviews" data-section="reviews">
        <TestimonialCardFifteen
          testimonial="Every dish on the menu is a culinary delight! The Chicken Biryani is a must-try, and the Telangana mutton curry is exceptional. Absolutely fantastic experience from start to finish."
          rating={5}
          author="Satisfied Diners & Local Food Critics"
          avatars={[
            { src: "http://img.b2bpic.net/free-photo/side-view-friends-eating-restaurant_23-2150491790.jpg", alt: "indian woman smiling customer" },
            { src: "http://img.b2bpic.net/free-photo/medium-shot-man-eating-salmon-bowl_23-2150533979.jpg", alt: "indian man satisfied diner" },
            { src: "http://img.b2bpic.net/free-photo/beautiful-family-having-nice-thanksgiving-dinner-together_23-2149082331.jpg", alt: "indian family eating restaurant" },
            { src: "http://img.b2bpic.net/free-photo/young-female-with-pinkish-hair-posing_344912-850.jpg", alt: "young indian woman smiling restaurant" }
          ]}
          ratingAnimation="slide-up"
          avatarsAnimation="slide-up"
          useInvertedBackground={true}
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterBaseCard
          logoText="TAJ Family Restaurant"
          columns={footerColumns}
          copyrightText="© 2024 TAJ Family Restaurant | All Rights Reserved"
        />
      </div>
    </ThemeProvider>
  );
}
