"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 FooterBaseReveal from '@/components/sections/footer/FooterBaseReveal';
import HeroBillboardRotatedCarousel from '@/components/sections/hero/HeroBillboardRotatedCarousel';
import NavbarStyleApple from '@/components/navbar/NavbarStyleApple/NavbarStyleApple';
import ProductCardOne from '@/components/sections/product/ProductCardOne';
import SocialProofOne from '@/components/sections/socialProof/SocialProofOne';
import TestimonialCardSix from '@/components/sections/testimonial/TestimonialCardSix';
import { CheckCircle, Flame, Star, Users } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
        defaultButtonVariant="icon-arrow"
        defaultTextAnimation="reveal-blur"
        borderRadius="rounded"
        contentWidth="medium"
        sizing="large"
        background="fluid"
        cardStyle="glass-depth"
        primaryButtonStyle="shadow"
        secondaryButtonStyle="solid"
        headingFontWeight="light"
    >
      <ReactLenis root>
  <div id="nav" data-section="nav">
      <NavbarStyleApple
      navItems={[
        {
          name: "Menu",          id: "#menu"},
        {
          name: "Takeaway",          id: "#"},
        {
          name: "Contact",          id: "#reservations"},
      ]}
      brandName="Han's Kitchen"
    />
  </div>

  <div id="hero" data-section="hero">
      <HeroBillboardRotatedCarousel
      background={{
        variant: "plain"}}
      title="Fresh Dumplings & Modern Asian Flavors in the Heart of Naremburn"
      description="Join us for casual neighborhood dining on Willoughby Road, or order your favorites straight to your door."
      tag="Naremburn's Local Asian Fusion"
      tagAnimation="blur-reveal"
      buttons={[
        {
          text: "Reserve a Table",          href: "#reservations"},
        {
          text: "View Menu",          href: "#menu"},
      ]}
      buttonAnimation="blur-reveal"
      carouselItems={[
        {
          id: "1",          imageSrc: "http://img.b2bpic.net/free-photo/broccoli-casserole-grey-ceramic-baking-dish-concrete-background_127032-3337.jpg",          imageAlt: "Real Google photo placeholder of Han's Kitchen signature dumpling and noodle spread"},
        {
          id: "2",          imageSrc: "http://img.b2bpic.net/free-photo/high-angle-dumplings-chopsticks_23-2148678790.jpg",          imageAlt: "Steaming hot handmade dumplings in a bamboo steamer"},
        {
          id: "3",          imageSrc: "http://img.b2bpic.net/free-photo/noodles-prepared-with-mushrooms-bell-peppers-sauce_141793-1223.jpg",          imageAlt: "Chef wok-tossing fresh noodles with vibrant vegetables"},
        {
          id: "4",          imageSrc: "http://img.b2bpic.net/free-photo/business-people-dining-together-concept_53876-26275.jpg",          imageAlt: "Warm and inviting interior of Han's Kitchen dining area"},
        {
          id: "5",          imageSrc: "http://img.b2bpic.net/free-photo/chef-with-uniform-utensil-kitchen_23-2148145545.jpg",          imageAlt: "A chef meticulously preparing ingredients in a clean kitchen"},
        {
          id: "6",          imageSrc: "http://img.b2bpic.net/free-photo/vegetable-salad-with-nuts-rose-wine_140725-6880.jpg",          imageAlt: "A refreshing, colorful cocktail served at Han's Kitchen"},
      ]}
      autoPlay={true}
      autoPlayInterval={5000}
    />
  </div>

  <div id="about" data-section="about">
      <AboutMetric
      useInvertedBackground={false}
      title="Your Neighborhood Dining Spot"
      metrics={[
        {
          icon: CheckCircle,
          label: "Fresh",          value: "Local Ingredients"},
        {
          icon: Flame,
          label: "Authentic",          value: "Asian Techniques"},
        {
          icon: Star,
          label: "Modern",          value: "Fusion Flavors"},
        {
          icon: Users,
          label: "Perfect for",          value: "Family & Friends"},
      ]}
      metricsAnimation="blur-reveal"
    />
  </div>

  <div id="menu" data-section="menu">
      <ProductCardOne
      animationType="blur-reveal"
      textboxLayout="default"
      gridVariant="three-columns-all-equal-width"
      useInvertedBackground={false}
      products={[
        {
          id: "1",          name: "Handmade Dumplings",          price: "From $12",          imageSrc: "http://img.b2bpic.net/free-photo/flat-lay-japanese-dumplings-assortment_23-2148809862.jpg",          imageAlt: "Real Google photo placeholder of handmade dumplings"},
        {
          id: "2",          name: "Wok-Tossed Noodles",          price: "From $18",          imageSrc: "http://img.b2bpic.net/free-photo/top-view-chinese-hot-pot_23-2149529845.jpg",          imageAlt: "Real Google photo placeholder of signature wok-tossed noodles"},
        {
          id: "3",          name: "Chef's Specials",          price: "Seasonal",          imageSrc: "http://img.b2bpic.net/free-photo/pork-neck-grilled-white-plate-wiht-red-onion-tomato-chili-wooden-table_1150-21274.jpg",          imageAlt: "Real Google photo placeholder of Chef's special crispy pork"},
        {
          id: "4",          name: "Spicy Wontons",          price: "$14",          imageSrc: "http://img.b2bpic.net/free-photo/delicious-meal-with-sambal-arrangement_23-2149076075.jpg",          imageAlt: "Spicy wontons in chili oil"},
        {
          id: "5",          name: "Vegetable Spring Rolls",          price: "$10",          imageSrc: "http://img.b2bpic.net/free-photo/fresh-vegetable-noodle-spring-roll-diet-food-clean-food-salad_1339-5334.jpg",          imageAlt: "Crispy vegetable spring rolls"},
        {
          id: "6",          name: "Peking Duck (Half)",          price: "$35",          imageSrc: "http://img.b2bpic.net/free-photo/yunan-pork-stewed-gravy_640221-226.jpg",          imageAlt: "Delicious half Peking duck with pancakes"},
      ]}
      title="Recognized Favorites"
      description="A selection of our most loved dishes, handcrafted with passion and the freshest ingredients."
    />
  </div>

  <div id="testimonials" data-section="testimonials">
      <TestimonialCardSix
      animationType="blur-reveal"
      textboxLayout="default"
      useInvertedBackground={false}
      testimonials={[
        {
          id: "1",          name: "Sarah J.",          handle: "@sarah_foodie",          testimonial: "Han's Kitchen is our go-to for delicious dumplings! Always fresh, always flavorful, and the staff are incredibly welcoming. A true Naremburn gem.",          imageSrc: "http://img.b2bpic.net/free-photo/close-up-couple-with-food-home_23-2149293590.jpg",          imageAlt: "Photo of Sarah J., a happy customer"},
        {
          id: "2",          name: "Michael Chen",          handle: "@mcheneats",          testimonial: "The wok-tossed noodles here are a game-changer! Perfect smoky 'wok-hei' flavor every time. Highly recommend for an authentic Asian fusion experience.",          imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-smiley-woman-taking-selfie_23-2149250087.jpg",          imageAlt: "Photo of Michael Chen, a satisfied diner"},
        {
          id: "3",          name: "Emily R.",          handle: "@emily.rodriguez",          testimonial: "Fantastic spot for a casual dinner. Their Chef's Specials are always a delightful surprise, and the ambiance is just right – warm and cozy.",          imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-smiley-friends-with-tasty-food_23-2149706722.jpg",          imageAlt: "Photo of Emily R., a happy patron"},
        {
          id: "4",          name: "David K.",          handle: "@davidk_reviews",          testimonial: "Been coming to Han's Kitchen for years. The consistent quality and friendly service make it a standout on Willoughby Road. Best Asian in the area!",          imageSrc: "http://img.b2bpic.net/free-photo/lifestyle-people-learning-make-sushi_23-2149865360.jpg",          imageAlt: "Photo of David K., a loyal customer"},
        {
          id: "5",          name: "Jessica L.",          handle: "@jessica.lovesfood",          testimonial: "Perfect for a quick, delicious takeaway or a relaxed sit-down meal. Their dumplings are truly art, and the staff remember our favorites!",          imageSrc: "http://img.b2bpic.net/free-photo/middle-age-friends-night-having-dinner_23-2149190956.jpg",          imageAlt: "Photo of Jessica L., enjoying her meal"},
      ]}
      title="What Our Guests Say"
      description="Don't just take our word for it – hear from our happy diners about their experience at Han's Kitchen."
    />
  </div>

  <div id="faq" data-section="faq">
      <FaqSplitText
      useInvertedBackground={false}
      faqs={[
        {
          id: "1",          title: "Do you offer vegetarian or vegan options?",          content: "Yes, our menu includes a variety of delicious vegetarian and vegan dishes. Please inform our staff of any dietary preferences or allergies when ordering."},
        {
          id: "2",          title: "Is parking available nearby?",          content: "Street parking is available along Willoughby Road and surrounding side streets. We recommend arriving a little early during peak hours."},
        {
          id: "3",          title: "Can I make a reservation for a large group?",          content: "Absolutely! For groups of 6 or more, we recommend booking in advance to ensure we can accommodate your party comfortably. Please use our booking widget or call us directly."},
      ]}
      sideTitle="Common Questions"
      sideDescription="Find answers to frequently asked questions about dining, reservations, and our menu."
      faqsAnimation="blur-reveal"
      textPosition="left"
    />
  </div>

  <div id="social-proof" data-section="social-proof">
      <SocialProofOne
      textboxLayout="default"
      useInvertedBackground={false}
      names={[
        "Naremburn Local",        "Willoughby Times",        "Sydney Food Guide",        "Restaurant Critics",        "Taste of NSW",        "Local Eats Magazine",        "Dining NSW"]}
      title="Local Partnerships & Recognition"
      description="Proudly serving the Naremburn community and partnering with local businesses."
    />
  </div>

  <div id="reservations" data-section="reservations">
      <ContactCTA
      useInvertedBackground={false}
      background={{
        variant: "plain"}}
      tag="Easy Booking"
      title="Book a Table at Han's Kitchen"
      description="Select your preferred date and time below to secure your spot. Walk-ins are always welcome, but bookings are highly recommended for weekends. <!-- Embed SevenRooms / OpenTable Widget Script Here -->"
      buttons={[
        {
          text: "Make a Reservation",          href: "#"}
      ]}
      buttonAnimation="blur-reveal"
    />
  </div>

  <div id="footer" data-section="footer">
      <FooterBaseReveal
      logoText="Han's Kitchen"
      columns={[
        {
          title: "Quick Links",          items: [
            {
              label: "Menu",              href: "#menu"},
            {
              label: "Takeaway",              href: "#"},
            {
              label: "Reservations",              href: "#reservations"},
          ],
        },
        {
          title: "Hours",          items: [
            {
              label: "Mon-Thu: 5pm - 10pm",              href: "#"},
            {
              label: "Fri-Sun: 12pm - 10pm",              href: "#"},
          ],
        },
        {
          title: "Contact Us",          items: [
            {
              label: "Willoughby Rd, Naremburn NSW 2065",              href: "#"},
            {
              label: "Phone: (02) 1234 5678",              href: "#"},
          ],
        },
      ]}
      copyrightText="© 2024 Han's Kitchen. Designed for Han's Kitchen."
    />
  </div>
      </ReactLenis>
    </ThemeProvider>
  );
}
