"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import ContactText from '@/components/sections/contact/ContactText';
import FeatureCardTen from '@/components/sections/feature/FeatureCardTen';
import FooterLogoReveal from '@/components/sections/footer/FooterLogoReveal';
import HeroBillboardRotatedCarousel from '@/components/sections/hero/HeroBillboardRotatedCarousel';
import NavbarStyleApple from '@/components/navbar/NavbarStyleApple/NavbarStyleApple';
import ProductCardOne from '@/components/sections/product/ProductCardOne';
import SplitAbout from '@/components/sections/about/SplitAbout';
import TestimonialCardOne from '@/components/sections/testimonial/TestimonialCardOne';
import { Candy, Flame, Sparkles, Star, Utensils, Wheat } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
        defaultButtonVariant="hover-magnetic"
        defaultTextAnimation="entrance-slide"
        borderRadius="soft"
        contentWidth="mediumLarge"
        sizing="mediumLarge"
        background="blurBottom"
        cardStyle="gradient-mesh"
        primaryButtonStyle="shadow"
        secondaryButtonStyle="glass"
        headingFontWeight="light"
    >
      <ReactLenis root>
  <div id="nav" data-section="nav">
      <NavbarStyleApple
      navItems={[
        {
          name: "Home",
          id: "#hero",
        },
        {
          name: "About Us",
          id: "#about",
        },
        {
          name: "Menu",
          id: "#menu",
        },
        {
          name: "Gallery",
          id: "#gallery",
        },
        {
          name: "Testimonials",
          id: "#testimonials",
        },
        {
          name: "Contact",
          id: "#contact",
        },
      ]}
      brandName="مطعم الأصالة"
    />
  </div>

  <div id="hero" data-section="hero">
      <HeroBillboardRotatedCarousel
      background={{
        variant: "plain",
      }}
      title="مطعم الأصالة"
      description="Experience the true essence of Arabic hospitality and culinary tradition. Discover a symphony of flavors crafted with authentic recipes and the finest ingredients."
      buttons={[
        {
          text: "Reserve Your Table",
          href: "#contact",
        },
      ]}
      carouselItems={[
        {
          id: "hero-carousel-1",
          imageSrc: "http://img.b2bpic.net/free-photo/breakfast-set-with-various-food-table_140725-6059.jpg",
          imageAlt: "Lavish Arabic food spread",
        },
        {
          id: "hero-carousel-2",
          imageSrc: "http://img.b2bpic.net/free-photo/top-view-piti-clay-pot-with-olives-onion-pomegranate-copper-tray_176474-3431.jpg",
          imageAlt: "Traditional Hummus plate",
        },
        {
          id: "hero-carousel-3",
          imageSrc: "http://img.b2bpic.net/free-photo/top-close-up-view-pilaf-pilaf-with-meat-dried-fruits-brown-bowl-white-notebook_140725-78664.jpg",
          imageAlt: "Slow-cooked Lamb Ouzi",
        },
        {
          id: "hero-carousel-4",
          imageSrc: "http://img.b2bpic.net/free-photo/front-view-cherry-cake-slices-with-cream-pink-desk_140725-25303.jpg",
          imageAlt: "Sweet Arabic Kunafa",
        },
        {
          id: "hero-carousel-5",
          imageSrc: "http://img.b2bpic.net/free-photo/meat-vegetable-barbecue-with-lavash-herbs_114579-3151.jpg",
          imageAlt: "Grilled Shish Tawook",
        },
        {
          id: "hero-carousel-6",
          imageSrc: "http://img.b2bpic.net/free-photo/side-view-emty-teapot-table_140725-12885.jpg",
          imageAlt: "Arabic coffee with dates",
        },
      ]}
      autoPlay={true}
      autoPlayInterval={4000}
    />
  </div>

  <div id="about" data-section="about">
      <SplitAbout
      textboxLayout="default"
      useInvertedBackground={false}
      imagePosition="right"
      title="Our Story: A Taste of Tradition"
      description="Established with a passion for preserving authentic Arabic culinary heritage, مطعم الأصالة brings generations of family recipes to your table. Every dish tells a tale of tradition, flavor, and the warmth of Arabian hospitality."
      bulletPoints={[
        {
          title: "Generational Recipes",
          description: "Time-honored dishes passed down through generations.",
        },
        {
          title: "Finest Ingredients",
          description: "Sourced locally and internationally for unparalleled freshness.",
        },
        {
          title: "Warm Hospitality",
          description: "Experience genuine Arabic warmth with every visit.",
        },
      ]}
      imageSrc="http://img.b2bpic.net/free-photo/sofa-pillow_74190-3920.jpg"
      imageAlt="Elegant Arabic restaurant interior"
      mediaAnimation="slide-up"
    />
  </div>

  <div id="menu" data-section="menu">
      <ProductCardOne
      animationType="slide-up"
      textboxLayout="default"
      gridVariant="uniform-all-items-equal"
      useInvertedBackground={true}
      products={[
        {
          id: "p1",
          name: "Mansaf (منسف)",
          price: "SAR 95",
          imageSrc: "http://img.b2bpic.net/free-photo/wooden-cup-yogurt-soup-with-herbs_114579-19597.jpg",
          imageAlt: "Mansaf, Jordanian Lamb Dish",
        },
        {
          id: "p2",
          name: "Shish Barak (شيخ البراك)",
          price: "SAR 60",
          imageSrc: "http://img.b2bpic.net/free-photo/top-view-gurza-lamb-dumplings-with-sour-cream-plate_141793-3816.jpg",
          imageAlt: "Shish Barak, Meat Dumplings",
        },
        {
          id: "p3",
          name: "Chicken Majboos (كبسة الدجاج)",
          price: "SAR 80",
          imageSrc: "http://img.b2bpic.net/free-photo/chicken-prepared-sauce-served-with-juice_140725-7790.jpg",
          imageAlt: "Chicken Majboos, Kuwaiti Dish",
        },
        {
          id: "p4",
          name: "Fattoush Salad (فتوش)",
          price: "SAR 45",
          imageSrc: "http://img.b2bpic.net/free-photo/warm-winter-quinoa-salad-with-pumpkin-chorizo-mozzarella-arugula-leaves-pomegranate_127032-3569.jpg",
          imageAlt: "Fattoush Salad",
        },
        {
          id: "p5",
          name: "Kofta Kebabs (كفتة)",
          price: "SAR 70",
          imageSrc: "http://img.b2bpic.net/free-photo/vegetables-meat-skewers-close-up_23-2148632656.jpg",
          imageAlt: "Kofta Kebabs",
        },
        {
          id: "p6",
          name: "Maqluba (مقلوبة)",
          price: "SAR 85",
          imageSrc: "http://img.b2bpic.net/free-photo/side-view-salad-with-walnuts-meat_141793-5076.jpg",
          imageAlt: "Maqluba, Upside-Down Dish",
        },
      ]}
      title="Our Signature Menu"
      description="Explore a delectable array of classic and contemporary Arabic dishes, meticulously prepared to delight your senses."
    />
  </div>

  <div id="gallery" data-section="gallery">
      <FeatureCardTen
      animationType="slide-up"
      textboxLayout="default"
      useInvertedBackground={false}
      features={[
        {
          title: "Mezze Platter",
          description: "A delightful assortment of hot and cold appetizers.",
          media: {
            imageSrc: "http://img.b2bpic.net/free-photo/grilled-prawns-olives-bread-top-view_141793-4451.jpg",
            imageAlt: "Arabic Mezze Platter",
          },
          items: [
            {
              icon: Sparkles,
              text: "Authentic Dips",
            },
            {
              icon: Utensils,
              text: "Freshly Prepared",
            },
          ],
          reverse: false,
          imageSrc: "http://img.b2bpic.net/free-photo/breakfast-set-with-various-food-table_140725-6059.jpg",
          imageAlt: "beautifully plated arabic mezze",
        },
        {
          title: "Grand Lamb Roast",
          description: "Slow-roasted to perfection, a centerpiece for any celebration.",
          media: {
            imageSrc: "http://img.b2bpic.net/free-photo/chicken-salad-with-peppers-peas-carrots-top-view_140725-6568.jpg",
            imageAlt: "Whole Roasted Lamb Shoulder",
          },
          items: [
            {
              icon: Flame,
              text: "Tender & Juicy",
            },
            {
              icon: ChefHat,
              text: "Signature Dish",
            },
          ],
          reverse: true,
          imageSrc: "http://img.b2bpic.net/free-photo/top-view-piti-clay-pot-with-olives-onion-pomegranate-copper-tray_176474-3431.jpg",
          imageAlt: "beautifully plated arabic mezze",
        },
        {
          title: "Exquisite Arabic Sweets",
          description: "A selection of traditional pastries and delectable desserts.",
          media: {
            imageSrc: "http://img.b2bpic.net/free-photo/half-top-view-delicious-cookies-with-dried-pineapple-rings-light-blue-surface-cookie-biscuit-sweet-sugar-color_140725-53890.jpg",
            imageAlt: "Assortment of Arabic Pastries",
          },
          items: [
            {
              icon: Candy,
              text: "Handcrafted",
            },
            {
              icon: Star,
              text: "Perfect Finish",
            },
          ],
          reverse: false,
          imageSrc: "http://img.b2bpic.net/free-photo/top-close-up-view-pilaf-pilaf-with-meat-dried-fruits-brown-bowl-white-notebook_140725-78664.jpg",
          imageAlt: "beautifully plated arabic mezze",
        },
        {
          title: "Warm Pita Bread",
          description: "Freshly baked, perfect for scooping up our delicious mezze.",
          media: {
            imageSrc: "http://img.b2bpic.net/free-photo/side-view-sliced-brown-seeded-cob-cutting-board-plaid-cloth-plate-cheese-grape-wooden-background_141793-27619.jpg",
            imageAlt: "Freshly baked Pita Bread",
          },
          items: [
            {
              icon: Wheat,
              text: "Baked Fresh Daily",
            },
            {
              icon: Pan,
              text: "Soft & Fluffy",
            },
          ],
          reverse: true,
          imageSrc: "http://img.b2bpic.net/free-photo/front-view-cherry-cake-slices-with-cream-pink-desk_140725-25303.jpg",
          imageAlt: "beautifully plated arabic mezze",
        },
      ]}
      title="A Visual Feast: Our Culinary Gallery"
      description="Immerse yourself in the artistry of our dishes. Each photo captures the vibrant colors and exquisite presentation that define مطعم الأصالة."
    />
  </div>

  <div id="testimonials" data-section="testimonials">
      <TestimonialCardOne
      animationType="slide-up"
      textboxLayout="default"
      gridVariant="three-columns-all-equal-width"
      useInvertedBackground={true}
      testimonials={[
        {
          id: "t1",
          name: "Ahmed Al-Mansoori",
          role: "Regular Guest",
          company: "Local Business Owner",
          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/muslim-man-eating-arab-food_23-2147796804.jpg",
          imageAlt: "Happy man enjoying food",
        },
        {
          id: "t2",
          name: "Fatima Al-Hajri",
          role: "Food Blogger",
          company: "Taste & Travel",
          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/person-happy-woman-clanging-glasses-wine-table-cafe_23-2148016787.jpg",
          imageAlt: "Woman dining at restaurant",
        },
        {
          id: "t3",
          name: "Khalid & Family",
          role: "Family Visit",
          company: "Local Residents",
          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/family-spending-time-together-while-out-city_23-2150895979.jpg",
          imageAlt: "Family eating at restaurant",
        },
        {
          id: "t4",
          name: "Noura Al-Saad",
          role: "Gourmet Enthusiast",
          company: "Culinary Critic",
          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/tasty-stonebaked-pizza-is-ready-italian-chef-is-removing-it-from-oven_613910-3410.jpg",
          imageAlt: "Chef in kitchen",
        },
        {
          id: "t5",
          name: "Omar & Layla",
          role: "Couple's Dinner",
          company: "Visitors",
          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-people-enyoing-dinner-party_23-2150717841.jpg",
          imageAlt: "Couple on date at restaurant",
        },
      ]}
      title="What Our Guests Say"
      description="Hear from our beloved patrons about their unforgettable dining experiences at مطعم الأصالة."
    />
  </div>

  <div id="contact" data-section="contact">
      <ContactText
      useInvertedBackground={false}
      background={{
        variant: "plain",
      }}
      text="Contact Us\nPhone: +966 50 123 4567\nLocation: King Abdullah Road, Riyadh, Saudi Arabia"
      buttons={[
        {
          text: "Get Directions",
          href: "https://www.google.com/maps/search/?api=1&query=King+Abdullah+Road,+Riyadh",
        },
      ]}
    />
  </div>

  <div id="footer" data-section="footer">
      <FooterLogoReveal
      logoText="مطعم الأصالة"
      leftLink={{
        text: "Privacy Policy",
        href: "#",
      }}
      rightLink={{
        text: "Terms of Service",
        href: "#",
      }}
    />
  </div>
      </ReactLenis>
    </ThemeProvider>
  );
}
