"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import AboutMetric from '@/components/sections/about/AboutMetric';
import ContactCTA from '@/components/sections/contact/ContactCTA';
import FaqSplitText from '@/components/sections/faq/FaqSplitText';
import FooterLogoReveal from '@/components/sections/footer/FooterLogoReveal';
import HeroBillboard from '@/components/sections/hero/HeroBillboard';
import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered';
import ProductCardOne from '@/components/sections/product/ProductCardOne';
import TestimonialCardSix from '@/components/sections/testimonial/TestimonialCardSix';
import { Award, Briefcase, Star } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
        defaultButtonVariant="text-shift"
        defaultTextAnimation="reveal-blur"
        borderRadius="rounded"
        contentWidth="small"
        sizing="largeSmall"
        background="circleGradient"
        cardStyle="gradient-radial"
        primaryButtonStyle="double-inset"
        secondaryButtonStyle="solid"
        headingFontWeight="normal"
    >
      <ReactLenis root>
  <div id="nav" data-section="nav">
      <NavbarStyleCentered
      navItems={[
        {
          name: "Overview",          id: "hero"},
        {
          name: "Menu",          id: "menu"},
        {
          name: "Reviews",          id: "testimonials"},
        {
          name: "Contact",          id: "contact"},
      ]}
      brandName="Misti Mahal"
    />
  </div>

  <div id="hero" data-section="hero">
      <HeroBillboard
      background={{
        variant: "gradient-bars"}}
      title="Welcome to Misti Mahal"
      description="An unforgettable dining experience where authentic flavors meet elegant ambiance. Worth every penny."
      buttons={[
        {
          text: "View Menu",          href: "#menu"},
      ]}
      imageSrc="http://img.b2bpic.net/free-photo/table-assortment-with-plant-view_23-2148914893.jpg"
      mediaAnimation="blur-reveal"
      avatars={[
        {
          src: "http://img.b2bpic.net/free-photo/empty-dining-table-restaurant_53876-64723.jpg",          alt: "Diner 1"},
        {
          src: "http://img.b2bpic.net/free-photo/flute-with-two-white-black-porcelain-plates-different-size-served-table-with-natural-fir-branch_132075-6157.jpg",          alt: "Diner 2"},
        {
          src: "http://img.b2bpic.net/free-photo/flat-lay-table-assortment-with-plant_23-2148914895.jpg",          alt: "Diner 3"},
        {
          src: "http://img.b2bpic.net/free-photo/table-assortment-with-plant-flat-lay_23-2148914892.jpg",          alt: "Diner 4"},
        {
          src: "http://img.b2bpic.net/free-photo/indoor-portrait-o-pretty-blonde-woman-drinking-tasty-cappuccino-restaurant-enjoy-her-breakfast-elegant-outfit-natural-make-up_291049-2723.jpg",          alt: "Diner 5"},
      ]}
      avatarText="Join 50k+ happy diners"
      marqueeItems={[
        {
          type: "text",          text: "Authentic Flavors"},
        {
          type: "text",          text: "Warm Ambiance"},
        {
          type: "text",          text: "15 Years Tradition"},
        {
          type: "text",          text: "Fresh Ingredients"},
        {
          type: "text",          text: "Signature Dishes"},
      ]}
    />
  </div>

  <div id="about" data-section="about">
      <AboutMetric
      useInvertedBackground={true}
      title="Experience Excellence"
      metrics={[
        {
          label: "Years of Tradition",          value: "15+",          icon: Award,
        },
        {
          label: "Satisfied Diners",          value: "50k+",          icon: Star,
        },
        {
          label: "Signature Dishes",          value: "100+",          icon: Briefcase,
        },
      ]}
      metricsAnimation="slide-up"
    />
  </div>

  <div id="menu" data-section="menu">
      <ProductCardOne
      animationType="slide-up"
      textboxLayout="split-actions"
      gridVariant="two-columns-alternating-heights"
      useInvertedBackground={false}
      buttons={[
        { text: "View Full Menu", href: "#contact" }
      ]}
      products={[
        {
          id: "1",          name: "Signature Curry",          price: "₹450",          imageSrc: "http://img.b2bpic.net/free-photo/top-view-tasty-meat-soup-with-potatoes-seasonings-dark-desk_140725-76945.jpg"},
        {
          id: "2",          name: "Misti Special Platter",          price: "₹600",          imageSrc: "http://img.b2bpic.net/free-photo/traditional-oriental-sweets-with-different-nuts-concrete-surface_114579-5499.jpg"},
        {
          id: "3",          name: "Traditional Naan Set",          price: "₹250",          imageSrc: "http://img.b2bpic.net/free-photo/delicious-roti-assortment-table-with-copy-space_23-2149033981.jpg"},
        {
          id: "4",          name: "Chef's Surprise",          price: "₹550",          imageSrc: "http://img.b2bpic.net/free-photo/top-close-up-view-vegetables-roasted-vegetables-fork-red-tablecloth-spices_140725-72163.jpg"},
        {
          id: "5",          name: "Dessert Delight",          price: "₹300",          imageSrc: "http://img.b2bpic.net/free-photo/delicious-sweet-homemade-desserts_140725-114786.jpg"},
        {
          id: "6",          name: "Classic Starter",          price: "₹350",          imageSrc: "http://img.b2bpic.net/free-photo/traditional-meat-vegetable-gutab-qutab-gozleme-wooden-board_114579-107.jpg"},
      ]}
      title="Our Signature Menu"
      description="Indulge in our carefully crafted selection of authentic dishes."
    />
  </div>

  <div id="testimonials" data-section="testimonials">
      <TestimonialCardSix
      animationType="slide-up"
      textboxLayout="split-description"
      useInvertedBackground={true}
      testimonials={[
        {
          id: "1",          name: "Sarah J.",          handle: "@sarahj",          testimonial: "Truly an unforgettable dining experience and worth every penny.",          imageSrc: "http://img.b2bpic.net/free-photo/group-friends-having-lunch-together-restaurant_23-2150520073.jpg"},
        {
          id: "2",          name: "Michael R.",          handle: "@mikedine",          testimonial: "The ambiance is beautiful and the music is pleasant.",          imageSrc: "http://img.b2bpic.net/free-photo/black-american-male-female-eating-vegan-food-restaurant_613910-7323.jpg"},
        {
          id: "3",          name: "Priya K.",          handle: "@priyak",          testimonial: "Excellent service and authentic taste. Highly recommended!",          imageSrc: "http://img.b2bpic.net/free-photo/group-friends-dining-out_23-2149187207.jpg"},
        {
          id: "4",          name: "David L.",          handle: "@davidl",          testimonial: "The best dining spot in Bihar. Absolutely loved it.",          imageSrc: "http://img.b2bpic.net/free-photo/black-american-couple-date-meeting-drink-wine-restaurant_613910-7260.jpg"},
        {
          id: "5",          name: "Emily W.",          handle: "@emilyw",          testimonial: "A hidden gem. Will definitely come back soon.",          imageSrc: "http://img.b2bpic.net/free-photo/amazing-beautiful-redhead-young-lady-sitting-cafe_171337-15285.jpg"},
      ]}
      title="What Our Guests Say"
      description="Join our community of happy diners."
    />
  </div>

  <div id="faq" data-section="faq">
      <FaqSplitText
      useInvertedBackground={false}
      faqs={[
        {
          id: "1",          title: "Is parking available nearby?",          content: "Yes, we offer dedicated parking space for all our guests."},
        {
          id: "2",          title: "Do you accept reservations?",          content: "Yes, please call us or message on WhatsApp to reserve your table."},
        {
          id: "3",          title: "Are you open on weekends?",          content: "Yes, we are open 7 days a week until 10 PM."},
      ]}
      sideTitle="Common Questions"
      sideDescription="Find answers to frequently asked questions about our restaurant."
      faqsAnimation="slide-up"
    />
  </div>

  <div id="contact" data-section="contact">
      <ContactCTA
      useInvertedBackground={true}
      background={{
        variant: "plain"}}
      tag="Visit Us"
      title="Reserve Your Table Today"
      description="We are located in Singhia Khurd, Mohanpur, Bihar. Contact us for table bookings."
      buttons={[
        {
          text: "WhatsApp Us",          href: "https://wa.me/919304388442"},
        {
          text: "Call Us",          href: "tel:+919304388442"},
      ]}
    />
  </div>

  <div id="footer" data-section="footer">
      <FooterLogoReveal
      logoText="Misti Mahal"
      leftLink={{
        text: "© 2024 Misti Mahal",        href: "#"}}
      rightLink={{
        text: "Privacy Policy",        href: "#"}}
    />
  </div>
      </ReactLenis>
    </ThemeProvider>
  );
}