"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import FooterLogoReveal from '@/components/sections/footer/FooterLogoReveal';
import HeroCentered from '@/components/sections/hero/HeroCentered';
import NavbarLayoutFloatingInline from '@/components/navbar/NavbarLayoutFloatingInline';
import ProductCardOne from '@/components/sections/product/ProductCardOne';
import SplitAbout from '@/components/sections/about/SplitAbout';
import TestimonialCardFive from '@/components/sections/testimonial/TestimonialCardFive';
import { BookOpen, Flame, Heart, Leaf, Rocket, Sparkles, Utensils } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
        defaultButtonVariant="text-shift"
        defaultTextAnimation="reveal-blur"
        borderRadius="soft"
        contentWidth="mediumLarge"
        sizing="mediumLargeSizeMediumTitles"
        background="floatingGradient"
        cardStyle="gradient-mesh"
        primaryButtonStyle="diagonal-gradient"
        secondaryButtonStyle="solid"
        headingFontWeight="medium"
    >
      <ReactLenis root>
  <div id="nav" data-section="nav">
      <NavbarLayoutFloatingInline
      navItems={[
        {
          name: "Home",
          id: "/",
        },
        {
          name: "Menu",
          id: "/menu",
        },
        {
          name: "About Us",
          id: "/about",
        },
        {
          name: "Contact",
          id: "/contact",
        },
      ]}
      brandName="Al-Amir Cuisine"
      button={{
        text: "Order Now",
        href: "/menu",
      }}
      animateOnLoad={true}
    />
  </div>

  <div id="hero" data-section="hero">
      <HeroCentered
      background={{
        variant: "rotated-rays-animated-grid",
      }}
      title="Al-Amir Cuisine: Authentic Iraqi Fast Food, Unforgettable Taste."
      description="Experience the rich flavors of Iraq with a modern twist. Freshly prepared dishes delivered right to your door, crafted with passion and premium ingredients."
      avatars={[
        {
          src: "http://img.b2bpic.net/free-photo/fried-chicken-flying-out-buckets-fast-food-cartoon-icon-sign-symbol-restaurant-logo-background-3d-illustration_56104-2026.jpg",
          alt: "Iraqi Burger",
        },
        {
          src: "http://img.b2bpic.net/free-photo/3d-render-fast-food-burger-french-fries-coffee_107791-17005.jpg",
          alt: "Iraqi Shawarma",
        },
        {
          src: "http://img.b2bpic.net/free-photo/bearded-man-with-soda-drink-icon_53876-24888.jpg",
          alt: "French Fries",
        },
        {
          src: "http://img.b2bpic.net/free-photo/burger-hamburger-cheeseburger_505751-3695.jpg",
          alt: "Chicken Wrap",
        },
        {
          src: "http://img.b2bpic.net/free-photo/burger-hamburger-cheeseburger_505751-3697.jpg",
          alt: "Delicious Iraqi Falafel",
        },
      ]}
      avatarText="Loved by thousands across Baghdad"
      buttons={[
        {
          text: "View Menu",
          href: "/menu",
        },
        {
          text: "Order Now",
          href: "/menu",
        },
      ]}
      buttonAnimation="slide-up"
      marqueeItems={[
        {
          type: "text-icon",
          text: "Delivering Freshness",
          icon: Sparkles,
        },
        {
          type: "text-icon",
          text: "Authentic Iraqi Flavors",
          icon: Utensils,
        },
        {
          type: "text-icon",
          text: "Quality Ingredients Always",
          icon: Leaf,
        },
        {
          type: "text-icon",
          text: "Fast & Reliable Service",
          icon: Rocket,
        },
        {
          type: "text-icon",
          text: "Loved by Our Community",
          icon: Heart,
        },
      ]}
      marqueeSpeed={40}
    />
  </div>

  <div id="featured-menu" data-section="featured-menu">
      <ProductCardOne
      animationType="slide-up"
      textboxLayout="default"
      gridVariant="three-columns-all-equal-width"
      useInvertedBackground={true}
      products={[
        {
          id: "iraqi-beef-burger",
          name: "Iraqi Beef Burger",
          price: "15,000 IQD",
          imageSrc: "http://img.b2bpic.net/free-photo/burger-with-melter-cheese-steak-dark-space_114579-1933.jpg",
          imageAlt: "Iraqi Beef Burger",
        },
        {
          id: "crispy-zinger-burger",
          name: "Crispy Zinger Burger",
          price: "13,000 IQD",
          imageSrc: "http://img.b2bpic.net/free-photo/meat-burger-with-knife-top-side-view_141793-2805.jpg",
          imageAlt: "Crispy Zinger Burger",
        },
        {
          id: "chicken-wrap",
          name: "Chicken Wrap",
          price: "11,000 IQD",
          imageSrc: "http://img.b2bpic.net/free-photo/wrap-salad-roll_1339-7763.jpg",
          imageAlt: "Chicken Wrap",
        },
        {
          id: "shawarma-sandwich",
          name: "Shawarma Sandwich",
          price: "10,000 IQD",
          imageSrc: "http://img.b2bpic.net/free-photo/side-view-chicken-doner-wrapped-lavash-served-with-lentil-merci-soup-ayran-drink-wooden-board_140725-12783.jpg",
          imageAlt: "Shawarma Sandwich",
        },
        {
          id: "french-fries",
          name: "French Fries",
          price: "5,000 IQD",
          imageSrc: "http://img.b2bpic.net/free-photo/chicken-nuggets-with-french-fries-human-hand-fly_176474-2697.jpg",
          imageAlt: "French Fries",
        },
        {
          id: "soft-drinks",
          name: "Soft Drinks",
          price: "3,000 IQD",
          imageSrc: "http://img.b2bpic.net/free-photo/fresh-hamburger-with-fries-beer-mug_23-2148575385.jpg",
          imageAlt: "Soft Drinks",
        },
      ]}
      title="Our Signature Dishes"
      description="Taste the magic. Our most popular Iraqi fast food creations, crafted to perfection."
      tag="Bestsellers"
    />
  </div>

  <div id="food-gallery" data-section="food-gallery">
      <ProductCardOne
      animationType="scale-rotate"
      textboxLayout="default"
      gridVariant="uniform-all-items-equal"
      useInvertedBackground={false}
      products={[
        {
          id: "gallery-1",
          name: "Iraqi Mixed Grill",
          price: "",
          imageSrc: "http://img.b2bpic.net/free-photo/bottom-view-chicken-skewers-natural-wood-board-other-stuffs-black-table_140725-148308.jpg",
          imageAlt: "Iraqi Mixed Grill Platter",
        },
        {
          id: "gallery-2",
          name: "Chicken Biryani",
          price: "",
          imageSrc: "http://img.b2bpic.net/free-photo/fried-chicken-tabaca-wooden-board_140725-8430.jpg",
          imageAlt: "Authentic Iraqi Chicken Biryani",
        },
        {
          id: "gallery-3",
          name: "Crispy Falafel",
          price: "",
          imageSrc: "http://img.b2bpic.net/free-photo/top-view-dolma-with-minced-meat-inside-black-plate-along-with-yogurt-olive-oil-wooden-floor_140725-13339.jpg",
          imageAlt: "Falafel Plate with Hummus",
        },
        {
          id: "gallery-4",
          name: "Kebab Skewers",
          price: "",
          imageSrc: "http://img.b2bpic.net/free-photo/national-sac-grill-foods-ingredients-dinner-menu_114579-1747.jpg",
          imageAlt: "Iraqi Kebab Skewers",
        },
        {
          id: "gallery-5",
          name: "Fresh Baked Bread",
          price: "",
          imageSrc: "http://img.b2bpic.net/free-photo/mixed-qutabs-with-sour-yogurt_140725-4055.jpg",
          imageAlt: "Freshly Baked Iraqi Bread",
        },
        {
          id: "gallery-6",
          name: "Iraqi Baklava",
          price: "",
          imageSrc: "http://img.b2bpic.net/free-photo/traditional-turkish-delight-oriental-sweets_114579-11701.jpg",
          imageAlt: "Sweet Iraqi Baklava",
        },
      ]}
      title="A Feast for Your Eyes"
      description="Glimpse into the delicious world of Al-Amir Cuisine. High-quality ingredients, expertly prepared for a visually stunning experience."
      tag="Gallery"
    />
  </div>

  <div id="customer-reviews" data-section="customer-reviews">
      <TestimonialCardFive
      textboxLayout="default"
      useInvertedBackground={true}
      testimonials={[
        {
          id: "1",
          name: "Sarah Johnson",
          date: "2023-10-26",
          title: "The Best Burger in Baghdad!",
          quote: "The best burger in Baghdad. Amazing taste and quality, truly unforgettable. Highly recommended!",
          tag: "Food Quality",
          avatarSrc: "http://img.b2bpic.net/free-photo/portrait-smiling-young-male-baker-uniform-leaning-table-bakery_23-2148189094.jpg",
          avatarAlt: "Sarah Johnson avatar",
          imageSrc: "http://img.b2bpic.net/free-photo/vertical-shot-tasty-hamburger-wooden-plate-restaurant_181624-50415.jpg",
          imageAlt: "Iraqi Beef Burger",
        },
        {
          id: "2",
          name: "Ahmed Al-Mansoori",
          date: "2023-11-15",
          title: "Fast Delivery and Excellent Service",
          quote: "Fast delivery and excellent service every single time. Al-Amir Cuisine never disappoints, their Zinger burger is a must-try!",
          tag: "Service",
          avatarSrc: "http://img.b2bpic.net/free-photo/happy-young-brunette-woman-dressed-gray-elegant-jacket-posing-with-hands-pockets-while-leaning-table-room-with-loft-interior-looking-camera_613910-18669.jpg",
          avatarAlt: "Ahmed Al-Mansoori avatar",
          imageSrc: "http://img.b2bpic.net/free-photo/big-sandwich-hamburger-with-juicy-chicken-burger-cheese-tomato-red-onion-wooden-table_2829-19639.jpg",
          imageAlt: "Crispy Zinger Burger delivery",
        },
        {
          id: "3",
          name: "Fatima Hassan",
          date: "2023-12-01",
          title: "Beautiful Restaurant and Delicious Food",
          quote: "Beautiful restaurant ambiance and truly delicious food. Every dish is a culinary delight, especially their Shawarma.",
          tag: "Experience",
          avatarSrc: "http://img.b2bpic.net/free-photo/professional-chef-cooks-seafood-healthy-vegetarian-food-holds-crayfish-wears-white-cook-uniform_273609-43359.jpg",
          avatarAlt: "Fatima Hassan avatar",
          imageSrc: "http://img.b2bpic.net/free-photo/city-background-panoramic-view_23-2148892970.jpg",
          imageAlt: "Restaurant interior",
        },
        {
          id: "4",
          name: "Ali Kazem",
          date: "2024-01-08",
          title: "Authentic Flavors, Modern Twist",
          quote: "Al-Amir Cuisine perfectly blends authentic Iraqi flavors with a modern twist. The Chicken Wrap is a game-changer!",
          tag: "Innovation",
          avatarSrc: "http://img.b2bpic.net/free-photo/close-up-attractive-young-woman-red-cap-looking-camera_23-2148187413.jpg",
          avatarAlt: "Ali Kazem avatar",
          imageSrc: "http://img.b2bpic.net/free-photo/top-view-arab-food_23-2147794393.jpg",
          imageAlt: "Chicken Shawarma Plate",
        },
        {
          id: "5",
          name: "Layla Saeed",
          date: "2024-02-20",
          title: "My Go-To for Iraqi Fast Food",
          quote: "This is my go-to place for Iraqi fast food. The quality is consistently high, and the Kibbeh is simply divine. Highly recommend to everyone!",
          tag: "Consistency",
          avatarSrc: "http://img.b2bpic.net/free-photo/handsome-man-smiling-with-copy-space_23-2148435784.jpg",
          avatarAlt: "Layla Saeed avatar",
          imageSrc: "http://img.b2bpic.net/free-photo/top-view-black-green-olives-blue-bowl-with-patties-bucket-with-tomatoes-isolated-wooden-background_141793-51800.jpg",
          imageAlt: "Iraqi Kibbeh",
        },
      ]}
      title="What Our Customers Say"
      description="Hear from our happy diners about their unforgettable Al-Amir experience and why they keep coming back."
      tag="Reviews"
    />
  </div>

  <div id="about" data-section="about">
      <SplitAbout
      textboxLayout="default"
      useInvertedBackground={false}
      title="Our Passion for Iraqi Cuisine"
      description="At Al-Amir, every dish tells a story of tradition, quality, and a deep love for authentic Iraqi flavors. We are committed to an unforgettable culinary journey."
      tag="Our Roots"
      buttons={[
        {
          text: "Learn More",
          href: "/about",
        },
      ]}
      bulletPoints={[
        {
          title: "Authentic Recipes",
          description: "Generations of Iraqi culinary heritage, perfected for today's palate.",
          icon: BookOpen,
        },
        {
          title: "Premium Ingredients",
          description: "Sourcing the freshest, highest quality local and imported ingredients daily.",
          icon: Leaf,
        },
        {
          title: "Culinary Craftsmanship",
          description: "Our chefs combine traditional techniques with modern flair for exquisite taste.",
          icon: Flame,
        },
      ]}
      imageSrc="http://img.b2bpic.net/free-photo/chef-cooking-kitchen-while-wearing-professional-attire_23-2151208272.jpg"
      imageAlt="Professional chef preparing food in a modern kitchen"
      mediaAnimation="slide-up"
    />
  </div>

  <div id="footer" data-section="footer">
      <FooterLogoReveal
      logoText="Al-Amir Cuisine"
      leftLink={{
        text: "Privacy Policy",
        href: "#",
      }}
      rightLink={{
        text: "Terms of Service",
        href: "#",
      }}
    />
  </div>
      </ReactLenis>
    </ThemeProvider>
  );
}
