"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import ContactText from '@/components/sections/contact/ContactText';
import FooterBase from '@/components/sections/footer/FooterBase';
import HeroSplitDualMedia from '@/components/sections/hero/HeroSplitDualMedia';
import MetricCardTwo from '@/components/sections/metrics/MetricCardTwo';
import NavbarStyleApple from '@/components/navbar/NavbarStyleApple/NavbarStyleApple';
import PricingCardThree from '@/components/sections/pricing/PricingCardThree';
import ProductCardOne from '@/components/sections/product/ProductCardOne';
import SocialProofOne from '@/components/sections/socialProof/SocialProofOne';
import TestimonialAboutCard from '@/components/sections/about/TestimonialAboutCard';
import TestimonialCardTen from '@/components/sections/testimonial/TestimonialCardTen';
import { Award } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
        defaultButtonVariant="text-shift"
        defaultTextAnimation="reveal-blur"
        borderRadius="pill"
        contentWidth="mediumLarge"
        sizing="large"
        background="grid"
        cardStyle="glass-elevated"
        primaryButtonStyle="diagonal-gradient"
        secondaryButtonStyle="glass"
        headingFontWeight="normal"
    >
      <ReactLenis root>
  <div id="nav" data-section="nav">
      <NavbarStyleApple
      navItems={[
        {
          name: "Menu",
          id: "#menu",
        },
        {
          name: "Pricing",
          id: "#pricing",
        },
        {
          name: "About",
          id: "#about",
        },
        {
          name: "Location",
          id: "#contact",
        },
      ]}
      brandName="Jade Palace"
    />
  </div>

  <div id="hero" data-section="hero">
      <HeroSplitDualMedia
      background={{
        variant: "radial-gradient",
      }}
      title="Jade Palace Buffet"
      description="Experience the ultimate feast. From $13.99 All You Can Eat, we serve excellence in every bite."
      tag="Grade A Rated"
      buttons={[
        {
          text: "View Menu",
          href: "#menu",
        },
      ]}
      mediaItems={[
        {
          imageSrc: "http://img.b2bpic.net/free-photo/high-angle-carrots-plate_23-2148678873.jpg",
          imageAlt: "luxurious asian buffet spread",
        },
        {
          imageSrc: "http://img.b2bpic.net/free-photo/black-plate-fruits-dried-fruits_140725-3542.jpg",
          imageAlt: "luxurious asian buffet spread",
        },
        {
          imageSrc: "http://img.b2bpic.net/free-photo/top-view-painted-black-baked-tomatoes-plate_23-2148425533.jpg",
          imageAlt: "Top view painted black baked tomatoes on plate",
        },
        {
          imageSrc: "http://img.b2bpic.net/free-photo/top-view-painted-black-baked-tomatoes-chilli-peppers_23-2148425535.jpg",
          imageAlt: "Top view painted black baked tomatoes and chilli peppers",
        },
        {
          imageSrc: "http://img.b2bpic.net/free-photo/pomegranate-spoon_116380-106.jpg",
          imageAlt: "Pomegranate on spoon",
        },
      ]}
      mediaAnimation="slide-up"
      rating={5}
      ratingText="Top rated local favorite"
      tagIcon={Award}
    />
  </div>

  <div id="marquee" data-section="marquee">
      <SocialProofOne
      textboxLayout="default"
      useInvertedBackground={false}
      names={[
        "GRADE A RATED",
        "FRESH DAILY",
        "FAMILY OWNED",
        "LOCAL FAVORITE",
        "UNBEATABLE VALUE",
        "ALL YOU CAN EAT",
        "AUTHENTIC FLAVOR",
      ]}
      title="Experience Quality"
      description="Proudly serving our community with excellence."
    />
  </div>

  <div id="value" data-section="value">
      <MetricCardTwo
      animationType="slide-up"
      textboxLayout="default"
      gridVariant="bento-grid"
      useInvertedBackground={false}
      metrics={[
        {
          id: "m1",
          value: "Fresh",
          description: "Always locally sourced daily ingredients",
        },
        {
          id: "m2",
          value: "Value",
          description: "Unbeatable pricing for the whole family",
        },
        {
          id: "m3",
          value: "Rated",
          description: "Official Grade A health department rating",
        },
        {
          id: "m4",
          value: "Kind",
          description: "Family-friendly and welcoming atmosphere",
        },
      ]}
      title="Our Promise"
      description="What sets us apart every single day."
    />
  </div>

  <div id="menu" data-section="menu">
      <ProductCardOne
      animationType="slide-up"
      textboxLayout="default"
      gridVariant="uniform-all-items-equal"
      useInvertedBackground={false}
      products={[
        {
          id: "p1",
          name: "Coconut Shrimp",
          price: "Featured",
          imageSrc: "http://img.b2bpic.net/free-photo/top-view-roasted-chicken-with-grilled-tomato-fresh-herbs-sauce-plate-wood_141793-11642.jpg",
        },
        {
          id: "p2",
          name: "Crab Rangoon",
          price: "Classic",
          imageSrc: "http://img.b2bpic.net/free-photo/deep-fried-wonton-dark-surface_1150-43548.jpg",
        },
        {
          id: "p3",
          name: "Orange Chicken",
          price: "Signature",
          imageSrc: "http://img.b2bpic.net/free-photo/high-angle-cups-vegetables-with-statue_23-2148382825.jpg",
        },
        {
          id: "p4",
          name: "Soft Serve",
          price: "Dessert",
          imageSrc: "http://img.b2bpic.net/free-photo/volcano-chocolate-soufle-served-with-vanilla-ice-cream-with-raspberry-syrup_140725-492.jpg",
        },
        {
          id: "p5",
          name: "Fresh Sushi",
          price: "Daily",
          imageSrc: "http://img.b2bpic.net/free-photo/crispy-fried-shrimps-with-rice-black-stone-board_140725-10527.jpg",
        },
        {
          id: "p6",
          name: "Steamed Dumplings",
          price: "Fresh",
          imageSrc: "http://img.b2bpic.net/free-photo/fish-chip_74190-752.jpg",
        },
      ]}
      title="Interactive Buffet Menu"
      description="Explore our extensive selection of fresh, hot, and delicious dishes."
    />
  </div>

  <div id="about" data-section="about">
      <TestimonialAboutCard
      useInvertedBackground={false}
      tag="About Us"
      title="A Hidden Gem"
      description="More than just a buffet, we are a family tradition."
      subdescription="Discover why our guests consider Jade Palace the premier destination for authentic, high-quality Asian cuisine."
      icon={Award}
      imageSrc="http://img.b2bpic.net/free-photo/high-angle-safari-party-with-snacks_23-2149707893.jpg"
      mediaAnimation="slide-up"
    />
  </div>

  <div id="reviews" data-section="reviews">
      <TestimonialCardTen
      textboxLayout="default"
      useInvertedBackground={false}
      testimonials={[
        {
          id: "t1",
          title: "Incredible Selection",
          quote: "The freshest sushi in town!",
          name: "Sarah J.",
          role: "Foodie",
          imageSrc: "http://img.b2bpic.net/free-photo/middle-age-friends-night-having-dinner_23-2149190960.jpg",
        },
        {
          id: "t2",
          title: "Grade A Value",
          quote: "The value for money is truly unmatched.",
          name: "Mike D.",
          role: "Regular",
          imageSrc: "http://img.b2bpic.net/free-photo/happy-father-offering-bruschetta-his-daughter-while-having-family-lunch-dining-table_637285-3154.jpg",
        },
        {
          id: "t3",
          title: "Family Favorite",
          quote: "My kids love the soft serve station.",
          name: "Emily P.",
          role: "Parent",
          imageSrc: "http://img.b2bpic.net/free-photo/couple-having-fun-night_23-2149236902.jpg",
        },
        {
          id: "t4",
          title: "Hidden Gem",
          quote: "Everything tasted so fresh and authentic.",
          name: "David W.",
          role: "Reviewer",
          imageSrc: "http://img.b2bpic.net/free-photo/close-up-image-happy-smiling-woman-enjoy-her-morning-french-breakfast-open-cafe-terrace-tasty-organic-food-holding-french-croissant-her-hand_291049-526.jpg",
        },
        {
          id: "t5",
          title: "Highly Recommend",
          quote: "Best buffet experience we have had.",
          name: "Anna K.",
          role: "Diner",
          imageSrc: "http://img.b2bpic.net/free-photo/happy-african-american-family-having-fun-thanksgiving-lunch-dining-table_637285-12959.jpg",
        },
      ]}
      title="Guest Testimonials"
      description="Don't just take our word for it."
    />
  </div>

  <div id="pricing" data-section="pricing">
      <PricingCardThree
      animationType="slide-up"
      textboxLayout="default"
      useInvertedBackground={false}
      plans={[
        {
          id: "lunch",
          name: "Lunch Buffet",
          price: "$13.99",
          features: [
            "Full bar access",
            "Fresh salad bar",
            "Daily specials",
          ],
          buttons: [
            {
              text: "Visit Now",
            },
          ],
        },
        {
          id: "dinner",
          name: "Dinner Buffet",
          price: "$18.99",
          features: [
            "Signature seafood",
            "Sushi station",
            "Dessert bar",
          ],
          buttons: [
            {
              text: "View Menu",
            },
          ],
        },
        {
          id: "kids",
          name: "Kids Buffet",
          price: "By Height",
          features: [
            "Child friendly options",
            "Fresh fruit",
          ],
          buttons: [
            {
              text: "Learn More",
            },
          ],
        },
      ]}
      title="Flexible Pricing"
      description="Great value for every appetite."
    />
  </div>

  <div id="cta" data-section="cta">
      <ContactText
      useInvertedBackground={false}
      background={{
        variant: "gradient-bars",
      }}
      text="Come hungry. Leave happy."
      buttons={[
        {
          text: "Get Directions",
          href: "#contact",
        },
      ]}
    />
  </div>

  <div id="footer" data-section="footer">
      <FooterBase
      columns={[
        {
          title: "Visit Us",
          items: [
            {
              label: "123 Buffet Lane, City",
              href: "#",
            },
          ],
        },
        {
          title: "Hours",
          items: [
            {
              label: "Daily: 11am - 9pm",
              href: "#",
            },
          ],
        },
        {
          title: "Connect",
          items: [
            {
              label: "Contact Form",
              href: "#contact",
            },
          ],
        },
      ]}
      logoText="Jade Palace"
      copyrightText="© 2025 Jade Palace Buffet."
    />
  </div>
      </ReactLenis>
    </ThemeProvider>
  );
}
