"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import ContactSplit from '@/components/sections/contact/ContactSplit';
import FaqDouble from '@/components/sections/faq/FaqDouble';
import FeatureCardTwentyOne from '@/components/sections/feature/FeatureCardTwentyOne';
import FooterCard from '@/components/sections/footer/FooterCard';
import HeroBillboardCarousel from '@/components/sections/hero/HeroBillboardCarousel';
import MetricCardFourteen from '@/components/sections/metrics/MetricCardFourteen';
import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered';
import ProductCardTwo from '@/components/sections/product/ProductCardTwo';
import TestimonialAboutCard from '@/components/sections/about/TestimonialAboutCard';
import TestimonialCardSixteen from '@/components/sections/testimonial/TestimonialCardSixteen';
import { Flame, Instagram, MessageCircle } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
        defaultButtonVariant="expand-hover"
        defaultTextAnimation="reveal-blur"
        borderRadius="pill"
        contentWidth="compact"
        sizing="largeSmallSizeMediumTitles"
        background="none"
        cardStyle="glass-depth"
        primaryButtonStyle="radial-glow"
        secondaryButtonStyle="layered"
        headingFontWeight="semibold"
    >
      <ReactLenis root>
  <div id="nav" data-section="nav">
      <NavbarStyleCentered
      navItems={[
        {
          name: "Experience",          id: "#hero"},
        {
          name: "Tradition",          id: "#about"},
        {
          name: "Grill",          id: "#menu"},
        {
          name: "Reserve",          id: "#contact"},
      ]}
      brandName="Fahm wa Lahm"
    />
  </div>

  <div id="hero" data-section="hero">
      <HeroBillboardCarousel
      background={{
        variant: "radial-gradient"}}
      title="The Art of Flame The Soul of Grain"
      description="Experience premium charcoal-fired grilling where Salti heritage meets modern luxury. Every meal is a generation of tradition reimagined."
      buttons={[
        {
          text: "Reserve Your Experience",          href: "#contact"},
      ]}
      mediaItems={[
        {
          imageSrc: "http://img.b2bpic.net/free-photo/beef-pashtet-with-lettuce-leaves-tomato_114579-2534.jpg",          imageAlt: "Beef pashtet"
        },
        {
          imageSrc: "http://img.b2bpic.net/free-photo/stick-kebab-finely-cooked-served-with-orange-sauce_114579-1722.jpg",          imageAlt: "Stick kebab"
        },
        {
          imageSrc: "http://img.b2bpic.net/free-photo/close-up-hands-preparing-barbecue_23-2148965334.jpg",          imageAlt: "Barbecue preparation"
        }
      ]}
    />
  </div>

  <div id="about" data-section="about">
      <TestimonialAboutCard
      useInvertedBackground={false}
      tag="Our Heritage"
      title="Elemental Authenticity"
      description="Fahm wa Lahm began in the historic streets of As-Salt, driven by the desire to elevate traditional charcoal grilling into a sensory experience. We honor the simplicity of fire, stone, and time-honored techniques."
      subdescription="Our craft is an ode to the Salti spirit—unpretentious, bold, and deeply rooted in the land we serve."
      icon={Flame}
      imageSrc="http://img.b2bpic.net/free-photo/top-view-arab-food_23-2147794389.jpg"
      mediaAnimation="slide-up"
    />
  </div>

  <div id="features" data-section="features">
      <FeatureCardTwentyOne
      useInvertedBackground={true}
      title="The Pillars of Quality"
      description="We believe in transparency and the inherent quality of nature."
      accordionItems={[
        {
          id: "1",          title: "Sourced with Purpose",          content: "We partner with local Jordanian farmers who respect the land, ensuring every piece of grain and livestock is sustainably raised."},
        {
          id: "2",          title: "Traditional Charring",          content: "Our signature flavor is achieved through traditional charcoal firing techniques that preserve the natural tenderness of every protein."},
        {
          id: "3",          title: "A Modern Sanctuary",          content: "Designed with a contemporary aesthetic, our space honors Jordanian architecture while offering the comforts of modern luxury hospitality."},
      ]}
      imageSrc="http://img.b2bpic.net/free-photo/served-dinner-table-restaurant_23-2148086091.jpg"
      mediaAnimation="slide-up"
    />
  </div>

  <div id="testimonials" data-section="testimonials">
      <TestimonialCardSixteen
      animationType="slide-up"
      textboxLayout="split"
      useInvertedBackground={false}
      testimonials={[
        {
          id: "1",          name: "Nour H.",          role: "Food Critic",          company: "Amman Culinary Society",          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/happy-close-up-portrait-beautiful-black-skinned-woman-wearing-blouse-flower-headband-enjoying-dinner-while-eating-restaurant_613910-5625.jpg"},
        {
          id: "2",          name: "Khalid M.",          role: "Architect",          company: "Salt Design Lab",          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/girl-is-sitting-table-restaurant-drink-wine-enjoy-scent-roses-flower-waiting-date_496169-221.jpg"},
        {
          id: "3",          name: "Sarah A.",          role: "Creative Director",          company: "Studio 962",          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/crazy-chef-happy-expression_1194-1320.jpg"},
        {
          id: "4",          name: "Yousef T.",          role: "Gastronomy Blogger",          company: "Jordan Eats",          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/kebab-served-with-chopped-onion-piece-lemon-red-wine_140725-4164.jpg"},
        {
          id: "5",          name: "Lina K.",          role: "Community Leader",          company: "As-Salt Heritage",          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/woman-arab-dish-restaurant_23-2147794235.jpg"},
      ]}
      kpiItems={[
        {
          value: "12k+",          label: "Satisfied Guests"},
        {
          value: "4.9",          label: "Average Rating"},
        {
          value: "100%",          label: "Local Sourced"},
      ]}
      title="A Legacy of Delight"
      description="What our guests say about their journey through the flame."
    />
  </div>

  <div id="menu" data-section="menu">
      <ProductCardTwo
      animationType="slide-up"
      textboxLayout="split"
      gridVariant="bento-grid"
      useInvertedBackground={true}
      products={[
        {
          id: "1",          brand: "Signature",          name: "Salti Charcoal Lamb",          price: "12 JOD",          rating: 5,
          reviewCount: "120",          imageSrc: "http://img.b2bpic.net/free-photo/cabbage-dolma-with-quince-chestnut_140725-2026.jpg"},
        {
          id: "2",          brand: "Classic",          name: "Flame-Kissed Skewers",          price: "9 JOD",          rating: 5,
          reviewCount: "85",          imageSrc: "http://img.b2bpic.net/free-photo/spicy-grilled-kebab-skewer-with-vegetables-smoke_84443-82602.jpg"},
        {
          id: "3",          brand: "Fresh",          name: "Seasonal Garden Mezze",          price: "6 JOD",          rating: 4,
          reviewCount: "92",          imageSrc: "http://img.b2bpic.net/free-photo/side-view-smoked-fish-plate-balyk-salmon-with-herbs-pomegranate-lemon-slices_141793-5099.jpg"},
        {
          id: "4",          brand: "Signature",          name: "Heritage Date Dessert",          price: "5 JOD",          rating: 5,
          reviewCount: "45",          imageSrc: "http://img.b2bpic.net/free-photo/top-view-dark-white-chocolate-bars-with-cinnamon-sticks-wooden-board-with-dried-fruits-walnuts-black-with-copy-space_141793-7474.jpg"},
        {
          id: "5",          brand: "Vegetarian",          name: "Charred Root Selection",          price: "7 JOD",          rating: 4,
          reviewCount: "60",          imageSrc: "http://img.b2bpic.net/free-photo/roasted-vegetables-baking-tray_123827-36271.jpg"},
        {
          id: "6",          brand: "Sides",          name: "Artisan Tandoor Bread",          price: "2 JOD",          rating: 5,
          reviewCount: "200",          imageSrc: "http://img.b2bpic.net/free-photo/corat-gutabs-with-meat-wooden-board_140725-3092.jpg"},
      ]}
      title="Our Prime Selection"
      description="Discover dishes redefined by the fire."
    />
  </div>

  <div id="metrics" data-section="metrics">
      <MetricCardFourteen
      useInvertedBackground={false}
      title="Our Impact in Numbers"
      tag="Milestones"
      metrics={[
        {
          id: "m1",          value: "15+",          description: "Years of experience"},
        {
          id: "m2",          value: "450",          description: "Daily charcoal fires"},
        {
          id: "m3",          value: "24k",          description: "Meals served annually"},
      ]}
      metricsAnimation="slide-up"
    />
  </div>

  <div id="faq" data-section="faq">
      <FaqDouble
      textboxLayout="split"
      useInvertedBackground={true}
      faqs={[
        {
          id: "f1",          title: "How do I make a reservation?",          content: "You can reach us directly via WhatsApp for quick and personal table bookings."},
        {
          id: "f2",          title: "Do you accommodate dietary needs?",          content: "Yes, our team is happy to accommodate vegetarian, gluten-free, or special allergy requests upon booking."},
        {
          id: "f3",          title: "Can you host private events?",          content: "We offer dedicated private dining packages for corporate groups and special celebrations."},
      ]}
      title="Need Information?"
      description="Answers to common questions about our culinary experience."
      faqsAnimation="slide-up"
    />
  </div>

  <div id="contact" data-section="contact">
      <ContactSplit
      useInvertedBackground={false}
      background={{
        variant: "plain"}}
      tag="Reservations"
      title="Reserve Your Table"
      description="Send us a message via WhatsApp and our team will coordinate your perfect dining experience in As-Salt."
      imageSrc="http://img.b2bpic.net/free-photo/beautiful-roman-figure-carving_23-2149413133.jpg"
      mediaAnimation="slide-up"
      inputPlaceholder="Enter your WhatsApp number..."
      buttonText="Start Reservation"
      onSubmit={(email) => console.log('Booking via WhatsApp for:', email)}
    />
  </div>

  <div id="footer" data-section="footer">
      <FooterCard
      logoText="Fahm wa Lahm"
      copyrightText="© 2025 Fahm wa Lahm. All rights reserved."
      socialLinks={[
        {
          icon: Instagram,
          href: "https://instagram.com",          ariaLabel: "Instagram"},
        {
          icon: MessageCircle,
          href: "https://wa.me/123456789",          ariaLabel: "WhatsApp"},
      ]}
    />
  </div>
      </ReactLenis>
    </ThemeProvider>
  );
}