"use client";
import { Nav, Tab } from "react-bootstrap";
import Slider from "react-slick";
import { sliderProps } from "@/utility/sliderProps";

const Item = ({ item }) => {
  return (
    <div className="food-menu-item style-two">
      {/* <div className="image">
        <img src={item.img} alt="Food Menu" />
      </div> */}
      <div className="content">
        <h5>
          <span className="title">{item.title}</span> <span className="dots" />{" "}
          <span className="price">${item.price}</span>
        </h5>
        <p style={{ lineHeight: 1.2 }}>{item.decs}</p>
      </div>
    </div>
  );
};

const RestaurantMenu = ({ menus }) => {
  const items = menus
    ? menus
    : [
      {
        id: 1,
        title: "Soups",
        icon: "/assets/images/home/popular-items/soups.webp",
        event: "food-tab1",
        items: [
          {
            id: 1,
            title: "Aatu Kaal Paaya (Mutton Soup)",
            price: "6.99",
            decs: "Meat lover’s Favourite made with Goat’s feet Extremly Healthy",
            img: "/assets/images/food/rm-food1.png",
          },
          {
            id: 2,
            title: "RASAM",
            price: "4.99",
            decs: "The Good Old Simple Rasam with a Tamarind Tinge",
            img: "/assets/images/food/rm-food2.png",
          },
          {
            id: 3,
            title: "VEGETABLE SOUP",
            price: "5.99",
            decs: "Special Soup made with Lentils, Drum Stick and Select Vegetables",
            img: "/assets/images/food/rm-food3.png",
          },

        ],
      },
      {
        id: 2,
        title: "Appetizers",
        icon: "/assets/images/home/popular-items/veg-appetizer.webp",
        event: "food-tab2",
        items: [
          {
            id: 1,
            title: "CAULIFLOWER 65",
            price: "11.99",
            decs: "Diverse menu features array delectable",
            img: "/assets/images/food/rm-food3.png",
          },
          {
            id: 2,
            title: "MEDHU VADA (6PCS)",
            price: "7.99",
            decs: "A Snackable Savory Donut made with Lentils and Spices Served with Chutney and Sambar",
            img: "/assets/images/food/rm-food4.png",
          },
          {
            id: 3,
            title: "KEERA VADA (6PCS)",
            price: "7.99",
            decs: "A Snackable Savory Donut made with Lentils, Spices and Spinach Served with Chutney and Sambar",
            img: "/assets/images/food/rm-food1.png",
          },
          {
            id: 4,
            title: "DAHI VADA (SALTY)",
            price: "9.99",
            decs: "Vada Soaked in Yogurt and Garnished",
            img: "/assets/images/food/rm-food6.png",
          },
          {
            id: 5,
            title: "PAKODA TAMILNADU STYLE",
            price: "9.99",
            decs: "Loosely Fried Savory Lentil, Onion Fritters",
            img: "/assets/images/food/rm-food2.png",
          },
          {
            id: 6,
            title: "BAJJI (3 PCS)",
            price: "7.99",
            decs: "A Street Food Delicacy of Lentil Batter Dipped and Deep Fried with Onions or Raw Plantain Slices(South Indian Style)",
            img: "/assets/images/food/rm-food5.png",
          },
          {
            id: 7,
            title: "KUZHI PANIYARAM (7 PCS)",
            price: "11.99",
            decs: "Rice and Lentil Basils with Toppings Shallow Fried in Cast Pans",
            img: "/assets/images/food/rm-food8.png",
          },
          {
            id: 8,
            title: "MYSORE BONDA (6 PCS)",
            price: "7.99",
            decs: "Made from Maida(Refined Wheat Flour) and Yogurt",
            img: "/assets/images/food/rm-food3.png",
          },
          {
            id: 9,
            title: "MASALA BONDA (3 PCS)",
            price: "8.99",
            decs: "Bonda Stuffed with Potato Masal",
            img: "/assets/images/food/rm-food4.png",
          },
          {
            id: 10,
            title: "SAMBAR VADA (4 PCS)",
            price: "9.99",
            decs: "Vada Soaked in Sambar",
            img: "/assets/images/food/rm-food1.png",
          },
          {
            id: 11,
            title: "RASAM VADA (4 PCS)",
            price: "9.99",
            decs: "Vada Soaked in Rasam",
            img: "/assets/images/food/rm-food6.png",
          },
          {
            id: 12,
            title: "CHICKEN 65",
            price: "12.99",
            decs: "Boneless Chicken Chunks Spiced and Deep Fried",
            img: "/assets/images/food/rm-food2.png",
          },
          {
            id: 13,
            title: "FISH 65",
            price: "15.99",
            decs: "Marinated and Deep Fried Basa Fish Delicacy",
            img: "/assets/images/food/rm-food8.png",
          },
          {
            id: 14,
            title: "CHICKEN VEPPUDU",
            price: "13.99",
            decs: "Boneless Chicken Pan Fry-Andhra Style",
            img: "/assets/images/food/rm-food5.png",
          },
          {
            id: 15,
            title: "CHICKEN CHUKKA (BONELESS)",
            price: "13.99",
            decs: "Boneless Chicken Chunks Sauteed and Spiced",
            img: "/assets/images/food/rm-food8.png",
          },
          {
            id: 16,
            title: "MUTTON CHUKKA",
            price: "16.99",
            decs: "Bone in Fresh Goat Meat Chunks Sauteed and Spiced",
            img: "/assets/images/food/rm-food1.png",
          },
          {
            id: 17,
            title: "PRAWN CHUKKA",
            price: "17.99",
            decs: "Parennial Favorite made with Premium Shrimps and South Indian Style with Choice of Meat",
            img: "/assets/images/food/rm-food6.png",
          },
          {
            id: 18,
            title: "CHILLI CHICKEN",
            price: "14.99",
            decs: "Boneless Chicken Fried and Sauteed with Spicy Masala",
            img: "/assets/images/food/rm-food2.png",
          },
          {
            id: 19,
            title: "MANCHURIAN CHICKEN",
            price: "14.99",
            decs: "Boneless Chicken Sauteed with Indian and Oriental",
            img: "/assets/images/food/rm-food8.png",
          },
          {
            id: 20,
            title: "KING FISH FRY",
            price: "17.99",
            decs: "Special Fish Fry with Chef’s Special Spices",
            img: "/assets/images/food/rm-food5.png",
          },
          {
            id: 21,
            title: "CORIANDER PRAWN",
            price: "17.99",
            decs: "Shell Less Shrimp Stir Fried and Garnished",
            img: "/assets/images/food/rm-food8.png",
          },
        ],
      },
      {
        id: 3,
        title: "Idly",
        icon: "/assets/images/home/popular-items/idly.webp",
        event: "food-tab3",
        items: [
          {
            id: 1,
            title: "IDLY (3 REGULAR SIZE IDLIES)",
            price: "8.99",
            decs: "All Time Favorite - Steamed Rice and Lentil Cakes Served with Sambar and Multiple Chutneys",
            img: "/assets/images/food/rm-food2.png",
          },
          {
            id: 2,
            title: "SAMBAR IDLY (10 PCS)",
            price: "10.99",
            decs: "Ever Popular Mini Idlies (Button Idlies) Soaked in Sambar and Garnished",
            img: "/assets/images/food/rm-food3.png",
          },
          {
            id: 3,
            title: "SEPERATE SAMBAR",
            price: "1.99",
            decs: "Seperate Sambar",
            img: "/assets/images/food/rm-food1.png",
          },
          {
            id: 4,
            title: "RASAM IDLY (10 PCS)",
            price: "10.99",
            decs: "Ever Popular Mini Idlies (Button Idlies) Soaked in Rasam and Garnished. Additional Rasam on Standby",
            img: "/assets/images/food/rm-food4.png",
          },
          {
            id: 5,
            title: "SEPERATE RASAM",
            price: "1.99",
            decs: "Seperate Rasam",
            img: "/assets/images/food/rm-food7.png",
          },
          {
            id: 6,
            title: "THADAKKA IDLY (10 PCS)",
            price: "10.99",
            decs: "Mini Idlies (Button Idlies) Tempered with a Tinge of Spice and Garnish",
            img: "/assets/images/food/rm-food5.png",
          },
          {
            id: 7,
            title: "PODI IDLY (10 PCS)",
            price: "10.99",
            decs: "Mini Idlies (Button Idlies) Spiced up and Sauteed and with a Strong Flavor and Topped up with Ghee",
            img: "/assets/images/food/rm-food6.png",
          },
          {
            id: 8,
            title: "MINI IDLY (10 PCS)",
            price: "8.99",
            decs: "Just Plain Small Idlies",
            img: "/assets/images/food/rm-food8.png",
          },
          {
            id: 9,
            title: "ADD GHEE ON MINI IDLIES",
            price: "1.99",
            decs: "Add Ghee on Mini Idlies",
            img: "/assets/images/food/rm-food8.png",
          },
        ],
      },
      {
        id: 4,
        title: "Dosa",
        icon: "/assets/images/home/popular-items/dosa.webp",
        event: "food-tab4",
        items: [
          {
            id: 1,
            title: "MASALA DOSA",
            price: "11.99",
            decs: "Dosa with Potato Masala Stuffing and Served with Sambar and Chutneys",
            img: "/assets/images/food/rm-food5.png",
          },
          {
            id: 2,
            title: "ONION MASALA DOSA",
            price: "12.99",
            decs: "Masala Dosa with Onion Topping",
            img: "/assets/images/food/rm-food1.png",
          },
          {
            id: 3,
            title: "MYSORE MASALA DOSA",
            price: "12.99",
            decs: "A Spicy Variant and Special Masala Dosa",
            img: "/assets/images/food/rm-food2.png",
          },
          {
            id: 4,
            title: "PLAIN DOSA",
            price: "9.99",
            decs: "The Original Plain Dosa",
            img: "/assets/images/food/rm-food3.png",
          },
          {
            id: 5,
            title: "CHILLI GARLIC DOSA",
            price: "13.99",
            decs: "Dosa comes with Flavors of Chilli and Garlic",
            img: "/assets/images/food/rm-food4.png",
          },
          {
            id: 6,
            title: "ONION DOSA",
            price: "11.99",
            decs: "Dosa with Onion Toppings",
            img: "/assets/images/food/rm-food6.png",
          },
          {
            id: 7,
            title: "PODI DOSA",
            price: "11.99",
            decs: "Dosa with Podi/Gun Powder",
            img: "/assets/images/food/rm-food8.png",
          },
          {
            id: 8,
            title: "DOSA/IDLI/VADA",
            price: "17.99",
            decs: "DOSA/IDLI/VADA",
            img: "/assets/images/food/rm-food7.png",
          },
          {
            id: 9,
            title: "PODI MASALA DOSA",
            price: "12.99",
            decs: "Podi Dosa with Potato Masala Stuffing",
            img: "/assets/images/food/rm-food5.png",
          },
          {
            id: 10,
            title: "GHEE DOSA",
            price: "12.99",
            decs: "Thin Dosa Roasted with Ghee",
            img: "/assets/images/food/rm-food1.png",
          },
          {
            id: 11,
            title: "GHEE MASALA DOSA",
            price: "13.99",
            decs: "Ghee Dosa with Potato Stuffing",
            img: "/assets/images/food/rm-food2.png",
          },
          {
            id: 12,
            title: "BUTTER DOSA",
            price: "12.99",
            decs: "Classic Dosa with Butter. More on the crispier side",
            img: "/assets/images/food/rm-food3.png",
          },
          {
            id: 13,
            title: "BUTTER MASALA DOSA (MADRAS SPECIAL)",
            price: "13.99",
            decs: "Dosa Roasted with Butter",
            img: "/assets/images/food/rm-food4.png",
          },
          {
            id: 14,
            title: "JAIN SPECIAL VEG MASALA DOSA",
            price: "13.99",
            decs: "Dosa with Special Veg Masala",
            img: "/assets/images/food/rm-food6.png",
          },
          {
            id: 15,
            title: "SET DOSA (2PCS)",
            price: "12.99",
            decs: "A Pair of Thick Spongey Dosa",
            img: "/assets/images/food/rm-food8.png",
          },
          {
            id: 16,
            title: "KAL DOSA (2 PCS)",
            price: "12.99",
            decs: "A Pair of Home Style Dosa",
            img: "/assets/images/food/rm-food7.png",
          },
          {
            id: 17,
            title: "RAVA DOSA",
            price: "12.99",
            decs: "A Thin Dosa made with Semolina, Rice and Lentils and Topped up with Sauteed Spices",
            img: "/assets/images/food/rm-food3.png",
          },
          {
            id: 18,
            title: "RAVA MASALA DOSA",
            price: "13.99",
            decs: "Rava Dosa with the classic Potato Masala on the side",
            img: "/assets/images/food/rm-food4.png",
          },
          {
            id: 19,
            title: "ONION RAVA DOSA",
            price: "13.99",
            decs: "A Rava Dosa Topped up with Sauteed Onions and Spices",
            img: "/assets/images/food/rm-food6.png",
          },
          {
            id: 20,
            title: "ONION RAVA MASALA DOSA",
            price: "14.99",
            decs: "Dosa with Potato Masala Stuffing made with Semolina, Rice and Lentils",
            img: "/assets/images/food/rm-food8.png",
          },
          {
            id: 21,
            title: "KEERAI DOSA(PALAK)",
            price: "13.99",
            decs: "Dosa with a Generous Toppings of Spinach and Spices",
            img: "/assets/images/food/rm-food7.png",
          },
          {
            id: 22,
            title: "PANEER DOSA",
            price: "13.99",
            decs: "Dosa with Paneer(Cottage Cheese) Toppings",
            img: "/assets/images/food/rm-food4.png",
          },
          {
            id: 23,
            title: "CONE DOSA",
            price: "10.99",
            decs: "A Crispy Dosa Presented like a Cone and Ready to be Modified",
            img: "/assets/images/food/rm-food6.png",
          },
          {
            id: 24,
            title: "PIZZA DOSA",
            price: "14.99",
            decs: "Classic Dosa made to taste like pizza and favorite with kids and adults alike",
            img: "/assets/images/food/rm-food8.png",
          },
          {
            id: 25,
            title: "PAPER ROAST",
            price: "12.99",
            decs: "A Popular Long Thin Crispy Dosa",
            img: "/assets/images/food/rm-food7.png",
          },
          {
            id: 26,
            title: "CHEESE DOSA",
            price: "13.99",
            decs: "Generously Topped up with Cheese",
            img: "/assets/images/food/rm-food3.png",
          },
          {
            id: 27,
            title: "ONTARIO’S BIGGEST DOSA-FIVE FEET DOSA",
            price: "49.99",
            decs: "Shivas Dosa Restaurant Special Five Feet Dosa with Chutney and Sambar",
            img: "/assets/images/food/rm-food4.png",
          },
        ],
      },
      {
        id: 5,
        title: "Uttappam",
        icon: "/assets/images/home/popular-items/uttapam.webp",
        event: "food-tab5",
        items: [
          {
            id: 1,
            title: "PLAIN UTTAPAM",
            price: "10.99",
            decs: "Uttapam made with Rice and Lentils with No Toppings",
            img: "/assets/images/food/rm-food6.png",
          },
          {
            id: 2,
            title: "ONION UTTAPAM",
            price: "11.99",
            decs: "Uttapam made with Onion Toppings",
            img: "/assets/images/food/rm-food8.png",
          },
          {
            id: 3,
            title: "TOMATO UTTAPAM",
            price: "11.99",
            decs: "Uttapam with Tomato topping",
            img: "/assets/images/food/rm-food7.png",
          },
          {
            id: 4,
            title: "MASALA UTTAPAM",
            price: "12.99",
            decs: "Uttapam with Onion, Tomato, Green Chillies and Coriander",
            img: "/assets/images/food/rm-food4.png",
          },
          {
            id: 5,
            title: "PIZZA UTTAPAM",
            price: "14.99",
            decs: "Classic Uttapam tastes like pizza and quite popular with kids / adults",
            img: "/assets/images/food/rm-food6.png",
          },
          {
            id: 6,
            title: "CHEESE UTTAPAM",
            price: "14.99",
            decs: "Uttapam with generous cheese topping. Fulfilling..",
            img: "/assets/images/food/rm-food8.png",
          },
          {
            id: 7,
            title: "JAIN SPECIAL VEG MASALA UTTAPAM",
            price: "13.99",
            decs: "Masala Uttapam spread with Vegetable toppings",
            img: "/assets/images/food/rm-food7.png",
          },
        ],
      },

      {
        id: 6,
        title: "Poori & Parotta",
        icon: "/assets/images/home/popular-items/breads.webp",
        event: "food-tab6",
        items: [
          {
            id: 1,
            title: "POORI MASALA (2PCS)",
            price: "11.99",
            decs: "Deep Fried Wheat Flour Bread Served with Potato Masala and Chutney",
            img: "/assets/images/food/rm-food1.png"
          },
          {
            id: 2,
            title: "ADIITIONAL POORI",
            price: "3.99",
            decs: "Deep Fried Wheat Flour Bread",
            img: "/assets/images/food/rm-food2.png"
          },
          {
            id: 3,
            title: "PAROTTA SALNA (2PCS)",
            price: "12.99",
            decs: "Multi Layered Flat Bread Served with Kurma",
            img: "/assets/images/food/rm-food3.png"
          },
          {
            id: 4,
            title: "ADDITIONAL PAROTTA (EACH)",
            price: "3.99",
            decs: "Multi Layered Flat Bread",
            img: "/assets/images/food/rm-food4.png"
          },
          {
            id: 5,
            title: "MUTTON KOTHU PAROTTA",
            price: "14.99",
            decs: "Minced Parotta Sauteed with Mutton, Egg and Spice",
            img: "/assets/images/food/rm-food5.png"
          },
          {
            id: 6,
            title: "CHICKEN KOHU PAROTTA",
            price: "13.99",
            decs: "Minced Parotta Sauteed with Chicken, Egg and Spices",
            img: "/assets/images/food/rm-food6.png"
          },
          {
            id: 7,
            title: "EGG KOTHU PAROTTA",
            price: "12.99",
            decs: "Minced Parotta Sauteed with Egg and Spices",
            img: "/assets/images/food/rm-food7.png"
          },
          {
            id: 8,
            title: "VEG KOTHU PAROTTA",
            price: "12.99",
            decs: "Minced Parotta Sauteed with Vegetables and Spices",
            img: "/assets/images/food/rm-food8.png"
          }
        ],
      },
      {
        id: 7,
        title: "Hakka Flavours",
        icon: "/assets/images/home/popular-items/hakka.webp",
        event: "food-tab7",
        items: [
          {
            id: 1,
            title: "NOODLES - VEGETABLE",
            price: "13.99",
            decs: "Noodles with Local Flavor - with Vegetables",
            img: "/assets/images/food/rm-food1.png"
          },
          {
            id: 2,
            title: "NOODLES - EGG",
            price: "13.99",
            decs: "Noodles with Local Flavor - with Vegetables and Egg",
            img: "/assets/images/food/rm-food2.png"
          },
          {
            id: 3,
            title: "NOODLES - CHICKEN",
            price: "14.99",
            decs: "Noodles with Local Flavor - with a Chicken",
            img: "/assets/images/food/rm-food3.png"
          },
          {
            id: 4,
            title: "NOODLES - PRAWN",
            price: "16.99",
            decs: "Noodles with Local Flavor - with a Prawn",
            img: "/assets/images/food/rm-food4.png"
          },
          {
            id: 5,
            title: "FRIED RICE - VEGETABLE",
            price: "13.99",
            decs: "Fried rice with a Combination of Spices and Herbs - with Vegetables",
            img: "/assets/images/food/rm-food5.png"
          },
          {
            id: 6,
            title: "FRIED RICE - EGG",
            price: "13.99",
            decs: "Fried rice with a Combination of Spices and Herbs - with a Choice of Meat or Vegetables",
            img: "/assets/images/food/rm-food6.png"
          },
          {
            id: 7,
            title: "FRIED RICE - CHICKEN",
            price: "14.99",
            decs: "Fried rice with a Combination of Spices and Herbs - with Chicken",
            img: "/assets/images/food/rm-food7.png"
          },
          {
            id: 8,
            title: "FRIED RICE - PRAWN",
            price: "16.99",
            decs: "Fried rice with a Combination of Spices and Herbs - with Prawns",
            img: "/assets/images/food/rm-food8.png"
          },
          {
            id: 9,
            title: "CHICKEN MANCHURIAN GRAVY",
            price: "14.99",
            decs: "Non Traditional Gravy with local Influence - with Chicken",
            img: "/assets/images/food/rm-food1.png"
          },
          {
            id: 10,
            title: "VEG MANCHURIAN GRAVY",
            price: "13.99",
            decs: "Non Traditional Gravy with local Influence - with Vegetables",
            img: "/assets/images/food/rm-food2.png"
          }
        ],
      },
      {
        id: 8,
        title: "Egg Delights",
        icon: "/assets/images/home/popular-items/egg.webp",
        event: "food-tab8",
        items: [
          {
            id: 1,
            title: "OMELETTE (SET OF 2PCS)",
            price: "9.99",
            decs: "South Indian Style",
            img: "/assets/images/food/rm-food1.png"
          },
          {
            id: 2,
            title: "CHEESE OMELETTE (SET OF 2PCS)",
            price: "11.99",
            decs: "South Indian Style",
            img: "/assets/images/food/rm-food2.png"
          },
          {
            id: 3,
            title: "CHETTINADU EGG GRAVY",
            price: "12.99",
            decs: "Popular Chettinadu Style Egg Gravy",
            img: "/assets/images/food/rm-food3.png"
          }
        ],
      },
      {
        id: 9,
        title: "Veg Rice",
        icon: "/assets/images/home/popular-items/veg-rice.webp",
        event: "food-tab9",
        items: [
          {
            id: 1,
            title: "VEG BIRYANI",
            price: "13.99",
            decs: "Aromatic premium and flavor absorbing basmati rice layered with exotic spices cooked in a traditional method and house made onion raita",
            img: "/assets/images/food/rm-food1.png"
          },
          {
            id: 2,
            title: "BISEBELEBATH (SAMBAR SADAM)",
            price: "12.99",
            decs: "Lentil and rice cooked traditionally with rich spices karnataka special",
            img: "/assets/images/food/rm-food2.png"
          },
          {
            id: 3,
            title: "SPECIAL CURD RICE",
            price: "11.99",
            decs: "Steamed rice mixed with yogurt and garnished perfectly with spices",
            img: "/assets/images/food/rm-food3.png"
          },
          {
            id: 4,
            title: "KUSKA",
            price: "13.99",
            decs: "A plain biryani cooked traditionally with seeraga samba rice",
            img: "/assets/images/food/rm-food4.png"
          },
          {
            id: 5,
            title: "PLAIN BASMATI RICE",
            price: "5.99",
            decs: "Steamed aromatic basmati rice, served plain as a perfect side.",
            img: "/assets/images/food/rm-food5.png"
          }
        ],
      },
      {
        id: 10,
        title: "Biryani",
        icon: "/assets/images/home/popular-items/biryani.webp",
        event: "food-tab10",
        items: [
          {
            id: 1,
            title: "THALAPAKATTU MUTTON BIRYANI",
            price: "16.99",
            decs: "Ever popular biryani cooked with flavourful and aromatic Seeraga Samba rice",
            img: "/assets/images/food/rm-food1.png"
          },
          {
            id: 2,
            title: "AMBUR CHICKEN BIRYANI",
            price: "14.99",
            decs: "Traditional Ambur-style chicken biryani made with Seeraga Samba rice",
            img: "/assets/images/food/rm-food2.png"
          },
          {
            id: 3,
            title: "MADRAS DUM CHICKEN BIRYANI",
            price: "14.99",
            decs: "Slow-cooked Madras-style chicken biryani with premium basmati rice",
            img: "/assets/images/food/rm-food3.png"
          },
          {
            id: 4,
            title: "PRAWN BIRYANI",
            price: "18.99",
            decs: "Flavor-rich prawn biryani prepared with Seeraga Samba rice",
            img: "/assets/images/food/rm-food4.png"
          },
          {
            id: 5,
            title: "FISH FRY BIRYANI",
            price: "17.99",
            decs: "Delicious fish fry paired with biryani made using Seeraga Samba rice",
            img: "/assets/images/food/rm-food5.png"
          },
          {
            id: 6,
            title: "EGG BIRYANI",
            price: "13.99",
            decs: "Classic egg biryani crafted with aromatic Seeraga Samba rice",
            img: "/assets/images/food/rm-food6.png"
          }
        ],
      },
      {
        id: 11,
        title: "Curry",
        icon: "/assets/images/home/popular-items/curry.webp",
        event: "food-tab11",
        items: [
          {
            id: 1,
            title: "CHETTINADU VEGETABLE CURRY",
            price: "12.99",
            decs: "A vegetable gravy cooked richly with spices in Chettinadu style",
            img: "/assets/images/food/rm-food1.png"
          },
          {
            id: 2,
            title: "VEGETABLE KURMA",
            price: "12.99",
            decs: "A vegetable medley cooked richly with coconut, herbs and spices",
            img: "/assets/images/food/rm-food2.png"
          },
          {
            id: 3,
            title: "EGG PLANT CURRY",
            price: "12.99",
            decs: "A thick tasty curry made with a tinge of tamarind and spices",
            img: "/assets/images/food/rm-food3.png"
          },
          {
            id: 4,
            title: "DAL THADUKKA - LENTIL GRAVY",
            price: "12.99",
            decs: "A thick fully flavored lentil gravy with mild spices",
            img: "/assets/images/food/rm-food4.png"
          },
          {
            id: 5,
            title: "VATHA KULAMBU (TURKEY BERRY SPICY CURRY)",
            price: "12.99",
            decs: "A sour and spicy gravy cooked with shallots, peppercorns, and other spices",
            img: "/assets/images/food/rm-food5.png"
          },
          {
            id: 6,
            title: "KADAI PANEER GRAVY",
            price: "13.99",
            decs: "Popular North Indian curry with cottage cheese chunks and spices",
            img: "/assets/images/food/rm-food6.png"
          },
          {
            id: 7,
            title: "NADAN VEGETABLE GRAVY",
            price: "12.99",
            decs: "Kerala-style vegetable gravy with traditional flavors",
            img: "/assets/images/food/rm-food7.png"
          },
          {
            id: 8,
            title: "CHILLI MUSHROOM CURRY",
            price: "13.99",
            decs: "A thick Hakka-style spicy mushroom curry",
            img: "/assets/images/food/rm-food8.png"
          },
          {
            id: 9,
            title: "SAMBAR (LENTIL CURRY) - 32 Oz",
            price: "11.99",
            decs: "Our special sambar comes packed in a 32 oz container",
            img: "/assets/images/food/rm-food9.png"
          },
          {
            id: 10,
            title: "SAMBAR (LENTIL CURRY) - 16 Oz",
            price: "7.99",
            decs: "Our special sambar comes packed in a 16 oz container",
            img: "/assets/images/food/rm-food10.png"
          },
          {
            id: 11,
            title: "CHETTINADU CHICKEN CURRY",
            price: "13.99",
            decs: "Chettinadu-style spicy chicken gravy made with premium meat",
            img: "/assets/images/food/rm-food11.png"
          },
          {
            id: 12,
            title: "CHETTINADU MUTTON CURRY",
            price: "16.99",
            decs: "Chettinadu-style spicy mutton gravy made with premium meat",
            img: "/assets/images/food/rm-food12.png"
          },
          {
            id: 13,
            title: "CHETTINADU PRAWN CURRY",
            price: "17.99",
            decs: "Chettinadu-style spicy prawn gravy made with premium meat",
            img: "/assets/images/food/rm-food13.png"
          },
          {
            id: 14,
            title: "CHICKEN KURMA",
            price: "13.99",
            decs: "Thick gravy blended with coconut and spices with chicken",
            img: "/assets/images/food/rm-food14.png"
          },
          {
            id: 15,
            title: "MUTTON KURMA",
            price: "16.99",
            decs: "Thick gravy blended with coconut and spices with mutton",
            img: "/assets/images/food/rm-food15.png"
          },
          {
            id: 16,
            title: "PRAWN KURMA",
            price: "17.99",
            decs: "Thick gravy blended with coconut and spices with prawns",
            img: "/assets/images/food/rm-food16.png"
          },
          {
            id: 17,
            title: "KING FISH CURRY",
            price: "17.99",
            decs: "Andhra-style fish curry made with slices of king fish",
            img: "/assets/images/food/rm-food17.png"
          },
          {
            id: 18,
            title: "NADAN CHICKEN GRAVY",
            price: "13.99",
            decs: "Kerala-style traditional chicken curry with rich spices",
            img: "/assets/images/food/rm-food18.png"
          },
          {
            id: 19,
            title: "NADAN MUTTON GRAVY",
            price: "16.99",
            decs: "Kerala-style traditional mutton curry with rich spices",
            img: "/assets/images/food/rm-food19.png"
          },
          {
            id: 20,
            title: "NADAN PRAWN GRAVY",
            price: "17.99",
            decs: "Kerala-style traditional prawn curry with rich spices",
            img: "/assets/images/food/rm-food20.png"
          },
          {
            id: 21,
            title: "KADAI CHICKEN CURRY",
            price: "13.99",
            decs: "Popular and mildly spicy kadai-style chicken curry",
            img: "/assets/images/food/rm-food21.png"
          },
          {
            id: 22,
            title: "KADAI MUTTON CURRY",
            price: "16.99",
            decs: "Popular and mildly spicy kadai-style mutton curry",
            img: "/assets/images/food/rm-food22.png"
          },
          {
            id: 23,
            title: "KADAI PRAWN CURRY",
            price: "17.99",
            decs: "Popular and mildly spicy kadai-style prawn curry",
            img: "/assets/images/food/rm-food23.png"
          },
          {
            id: 24,
            title: "PEPPER CHICKEN CURRY",
            price: "13.99",
            decs: "Spicy and traditional pepper chicken gravy, can be semi-dry upon request",
            img: "/assets/images/food/rm-food24.png"
          },
          {
            id: 25,
            title: "PEPPER MUTTON CURRY",
            price: "16.99",
            decs: "Spicy and traditional pepper mutton gravy, can be semi-dry upon request",
            img: "/assets/images/food/rm-food25.png"
          },
          {
            id: 26,
            title: "PEPPER PRAWN CURRY",
            price: "17.99",
            decs: "Spicy and traditional pepper prawn gravy, can be semi-dry upon request",
            img: "/assets/images/food/rm-food26.png"
          }
        ],
      },
      {
        id: 12,
        title: "Desserts",
        icon: "/assets/images/home/popular-items/dessert.webp",
        event: "food-tab12",
        items: [
          {
            id: 1,
            title: "ASHOKA HALVA",
            price: "5.99",
            decs: "Traditional Tamilnadu dessert made with moong dal and ghee",
            img: "/assets/images/food/ashoka-halva.png"
          },
          {
            id: 2,
            title: "PARUPPU PRADHAMAN",
            price: "5.99",
            decs: "Traditional Kerala style dessert",
            img: "/assets/images/food/paruppu-pradhaman.png"
          },
          {
            id: 3,
            title: "PAYASAM",
            price: "4.99",
            decs: "South Indian traditional dessert",
            img: "/assets/images/food/payasam.png"
          }
        ],
      },
      {
        id: 13,
        title: "Beverages",
        icon: "/assets/images/home/popular-items/beverages.webp",
        event: "food-tab13",
        items: [
          {
            id: 1,
            title: "SOUTH INDIAN COFFEE (4oz)",
            price: "1.99",
            decs: "South Indian Style Coffee",
            img: "/assets/images/food/south-indian-coffee.png"
          },
          {
            id: 2,
            title: "MASALA TEA (4oz)",
            price: "1.99",
            decs: "Ginger/Cardamon Flavored Tea",
            img: "/assets/images/food/masala-tea.png"
          },
          {
            id: 3,
            title: "TAKEOUT (TEA/COFFEE)(8oz)",
            price: "2.99",
            decs: "Coffee made to taste just like South Indian Coffee",
            img: "/assets/images/food/takeout-tea-coffee.png"
          },
          {
            id: 4,
            title: "SHIVA SPECIAL MANGO LASSI",
            price: "5.99",
            decs: "House made special yoghurt blended with premium mango pulp and served cold",
            img: "/assets/images/food/shiva-special-mango-lassi.png"
          },
          {
            id: 5,
            title: "SWEET LASSI",
            price: "5.99",
            decs: "A Sweet Yogurt based Drink",
            img: "/assets/images/food/sweet-lassi.png"
          },
          {
            id: 6,
            title: "HOUSE SPECIAL MILKSHAKE",
            price: "6.99",
            decs: "House Special Milkshake Available in Vanilla/Mango/Strawberry",
            img: "/assets/images/food/house-special-milkshake.png"
          },
          {
            id: 7,
            title: "ROSE MILK",
            price: "6.99",
            decs: "Tamil Nadu style Specially blended rose flavored milk drink",
            img: "/assets/images/food/rose-milk.png"
          },
          {
            id: 8,
            title: "THUMBS UP",
            price: "2.99",
            decs: "The Popular Cola drink from India",
            img: "/assets/images/food/thumbs-up.png"
          },
          {
            id: 9,
            title: "LIMCA",
            price: "2.99",
            decs: "The Popular refreshing pop drink from India",
            img: "/assets/images/food/limca.png"
          },
          {
            id: 10,
            title: "COKE/DIET COKE/PEPSI",
            price: "1.49",
            decs: "",
            img: "/assets/images/food/coke-diet-pepsi.png"
          },
          {
            id: 11,
            title: "SALT LASSI",
            price: "5.99",
            decs: "A Savory Yogurt based Drink",
            img: "/assets/images/food/salt-lassi.png"
          },
          {
            id: 12,
            title: "GINGER ALE (CANADA DRY)",
            price: "1.49",
            decs: "Crisp, Clean, and Refreshingly Bold with a Hint of Ginger",
            img: "/assets/images/food/ginger-ale.png"
          },
          {
            id: 13,
            title: "BOTTLED WATER",
            price: "1.49",
            decs: "Premium Bottled water",
            img: "/assets/images/food/bottled-water.png"
          }
        ],
      },
    ];

  return (
    <section className="restaurant-menu-area pt-130 rpt-85 pb-100 rpb-70 rel z-1">
      <div className="container container-1050">
        <div className="row justify-content-center">
          <div className="col-xl-8 col-lg-9">
            <div
              className="section-title text-center mb-50"
              data-aos="fade-up"
              data-aos-duration={1500}
              data-aos-offset={50}
            >
              <span className="sub-title mb-5">popular menu</span>
              <h2>From Authentic Indian Kitchen</h2>
            </div>
          </div>
        </div>
        <Tab.Container defaultActiveKey={"food-tab1"}>
          <Slider {...sliderProps.menuActive} className="food-menu-tab mb-40" data-aos="fade-up" data-aos-delay={50} data-aos-duration={1500} data-aos-offset={50}>
            {items.map((menu) => (
              <div key={menu.id}>
                <Nav.Item as="li">
                  <Nav.Link as="button" className="nav-link" eventKey={menu.event}>
                    <div className=" d-flex align-items-center">
                      <img src={menu.icon} className={`me-2`} style={{ width: "50%" }} loading="lazy" /> {/* margin-end to add space */}
                      <span>{menu.title}</span>
                    </div>
                  </Nav.Link>
                </Nav.Item>
              </div>
            ))}
          </Slider>
          <Tab.Content className="food-menu-tab-content tab-content">
            {items.map((menu) => {
              const half = Math.ceil(menu.items.length / 2);
              const leftItems = menu.items.slice(0, half);
              const rightItems = menu.items.slice(half);

              return (
                <Tab.Pane
                  className="tab-pane fade"
                  eventKey={menu.event}
                  key={menu.id}
                >
                  <div className="row gap-90">
                    <div
                      className="col-lg-6 pb-30"
                      data-aos="fade-right"
                      data-aos-duration={1500}
                      data-aos-offset={50}
                    >
                      {leftItems.map((item, i) => (
                        <Item item={item} key={`left-${i}`} />
                      ))}
                    </div>
                    <div
                      className="col-lg-6 pb-30"
                      data-aos="fade-left"
                      data-aos-duration={1500}
                      data-aos-offset={50}
                    >
                      {rightItems.map((item, i) => (
                        <Item item={item} key={`right-${i}`} />
                      ))}
                    </div>
                  </div>
                </Tab.Pane>
              );
            })}

          </Tab.Content>
        </Tab.Container>
      </div>
      <div className="testimonials-shapes">
        <div className="shape one">
          <img style={{ marginRight: "35px" }} src="/assets/images/shapes/left-vada.webp" alt="Shape" loading="lazy" />
        </div>
        <div className="shape two">
          <img style={{ marginLeft: "35px" }} src="/assets/images/shapes/right-dosa.webp" alt="Shape" loading="lazy" />
        </div>
      </div>

    </section>
  );
};
export default RestaurantMenu;
