"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import FeatureCardSix from '@/components/sections/feature/FeatureCardSix';
import FooterBaseCard from '@/components/sections/footer/FooterBaseCard';
import HeroSplitDoubleCarousel from '@/components/sections/hero/HeroSplitDoubleCarousel';
import NavbarLayoutFloatingInline from '@/components/navbar/NavbarLayoutFloatingInline';
import ProductCardThree from '@/components/sections/product/ProductCardThree';
import SocialProofOne from '@/components/sections/socialProof/SocialProofOne';
import TestimonialCardTen from '@/components/sections/testimonial/TestimonialCardTen';
import { Globe, Smartphone, Sparkles, Star } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
        defaultButtonVariant="icon-arrow"
        defaultTextAnimation="background-highlight"
        borderRadius="rounded"
        contentWidth="medium"
        sizing="mediumLargeSizeMediumTitles"
        background="circleGradient"
        cardStyle="gradient-radial"
        primaryButtonStyle="gradient"
        secondaryButtonStyle="radial-glow"
        headingFontWeight="bold"
    >
      <ReactLenis root>
  <div id="nav" data-section="nav">
      <NavbarLayoutFloatingInline
      navItems={[
        {
          name: "Home",          id: "/"},
        {
          name: "Menu",          id: "/menu"},
        {
          name: "Rewards",          id: "/rewards"},
        {
          name: "Locations",          id: "/locations"},
        {
          name: "App",          id: "/app"},
        {
          name: "Contact",          id: "/contact"},
      ]}
      logoSrc="http://img.b2bpic.net/free-vector/retro-logo-collection-different-restaurants_23-2148386010.jpg"
      logoAlt="Restaurant logo"
      brandName="Delicious Bites"
      button={{
        text: "Order Now",        href: "/menu"}}
      animateOnLoad={true}
    />
  </div>

  <div id="hero" data-section="hero">
      <HeroSplitDoubleCarousel
      background={{
        variant: "radial-gradient"}}
      title="Your Favorites. Faster Than Ever."
      description="Burgers, fries, breakfast, and rewards earned for convenience and value, delivered right to your door."
      leftCarouselItems={[
        {
          imageSrc: "http://img.b2bpic.net/free-photo/still-life-delicious-american-hamburger_23-2149637303.jpg",          imageAlt: "Delicious classic cheeseburger"},
        {
          imageSrc: "http://img.b2bpic.net/free-photo/grilled-beef-burger-ciabatta-bun-homemade-generated-by-ai_188544-21445.jpg",          imageAlt: "Crispy chicken sandwich"},
        {
          imageSrc: "http://img.b2bpic.net/free-photo/hand-holding-delicious-fried-potato-wooden-plate-with-dipped-sauce_1150-9059.jpg",          imageAlt: "Golden french fries"},
        {
          imageSrc: "http://img.b2bpic.net/free-photo/chocolate-frappe-with-vanilla-ice-cream_1339-7853.jpg",          imageAlt: "Refreshing chocolate milkshake"},
        {
          imageSrc: "http://img.b2bpic.net/free-photo/breakfast_1339-1101.jpg",          imageAlt: "Hearty breakfast sandwich"},
        {
          imageSrc: "http://img.b2bpic.net/free-photo/top-view-variety-fried-chicken-with-sauces-french-fries_23-2148646557.jpg",          imageAlt: "Crispy chicken nuggets"},
      ]}
      rightCarouselItems={[
        {
          imageSrc: "http://img.b2bpic.net/free-photo/here-try-some-mine_637285-7984.jpg",          imageAlt: "Family enjoying fast food meal"},
        {
          imageSrc: "http://img.b2bpic.net/free-photo/woman-works-with-tablet-table-cafe_1304-5544.jpg",          imageAlt: "Person ordering food on a mobile app"},
        {
          imageSrc: "http://img.b2bpic.net/free-photo/couple-embracing-each-other-while-outdoors-night_23-2149215094.jpg",          imageAlt: "Car at a drive-thru window"},
        {
          imageSrc: "http://img.b2bpic.net/free-photo/front-view-male-courier-yellow-uniform-holding-delivery-paper-package-smiling-light-pink-background_140725-40736.jpg",          imageAlt: "Delivery driver with a food bag"},
        {
          imageSrc: "http://img.b2bpic.net/free-photo/17-lifestyle-people-ordering-sushi-home_52683-100630.jpg",          imageAlt: "Mobile phone showing loyalty program rewards"},
        {
          imageSrc: "http://img.b2bpic.net/free-photo/young-adults-having-block-party_23-2149571492.jpg",          imageAlt: "Modern restaurant interior"},
      ]}
      tag="Delivered Fresh"
      tagAnimation="slide-up"
      buttons={[
        {
          text: "Order Now",          href: "/menu"},
        {
          text: "Find a Restaurant",          href: "/locations"},
      ]}
      buttonAnimation="slide-up"
      carouselPosition="right"
      avatars={[
        {
          src: "http://img.b2bpic.net/free-photo/medium-shot-friends-taking-selfie_23-2149061577.jpg",          alt: "Group of friends enjoying a meal"},
        {
          src: "http://img.b2bpic.net/free-photo/young-attractive-caucasian-girl-african-boy-are-learning-menu-before-ordering-food_8353-10410.jpg",          alt: "People discussing plans over food"},
        {
          src: "http://img.b2bpic.net/free-photo/friends-having-fun-their-reunion_23-2149215772.jpg",          alt: "Friends toasting with drinks"},
        {
          src: "http://img.b2bpic.net/free-photo/group-friends-eating-pizza-home-together_23-2150419430.jpg",          alt: "People enjoying pizza at work"},
        {
          src: "http://img.b2bpic.net/free-photo/full-shot-happy-family-outdoors_23-2149049254.jpg",          alt: "Family having fun together"},
      ]}
      avatarText="Join over 1M happy customers"
      marqueeItems={[
        {
          type: "text",          text: "Global Brand"},
        {
          type: "image",          src: "asset://hero-marquee-logo-1",          alt: "Tech Company Logo"},
        {
          type: "text",          text: "Community Favorite"},
        {
          type: "image",          src: "http://img.b2bpic.net/free-vector/hand-drawn-ag-logo-template_23-2151008545.jpg",          alt: "Logistics Company Logo"},
        {
          type: "text",          text: "Top Rated Service"},
        {
          type: "image",          src: "http://img.b2bpic.net/free-photo/delivery-icon-front-side_187299-39627.jpg",          alt: "Delivery Service Logo"},
      ]}
    />
  </div>

  <div id="promotions" data-section="promotions">
      <FeatureCardSix
      textboxLayout="default"
      useInvertedBackground={true}
      features={[
        {
          title: "Family Meal Deal",          description: "Feast together with our special family bundle, perfect for any occasion.",          imageSrc: "http://img.b2bpic.net/free-photo/top-view-food-arrangement-with-notebook_23-2148247877.jpg",          imageAlt: "Family meal deal"},
        {
          title: "Seasonal Desserts",          description: "Indulge in our delicious new seasonal dessert, available for a limited time.",          imageSrc: "http://img.b2bpic.net/free-photo/dried-fruits-pineapple-rings-walnuts-nougat-yellow_140725-29981.jpg",          imageAlt: "Seasonal dessert"},
        {
          title: "App Exclusive Offer",          description: "Get a special discount on your next order when you use our mobile app.",          imageSrc: "http://img.b2bpic.net/free-photo/thanksgiving-food-background-3d-illustration_1419-3311.jpg",          imageAlt: "Mobile app exclusive offer"},
      ]}
      title="Exclusive Promotions & Deals"
      description="Don't miss out on our limited-time offers and seasonal favorites. Order today!"
      tag="Hot Deals"
      tagIcon={Sparkles}
    />
  </div>

  <div id="bestsellers" data-section="bestsellers">
      <ProductCardThree
      animationType="slide-up"
      textboxLayout="default"
      gridVariant="three-columns-all-equal-width"
      useInvertedBackground={false}
      products={[
        {
          id: "p1",          name: "Classic Cheeseburger",          price: "$5.99",          imageSrc: "http://img.b2bpic.net/free-photo/flat-lay-burger-ingredients-cutting-board_23-2148235048.jpg",          imageAlt: "Classic cheeseburger",          initialQuantity: 1,
        },
        {
          id: "p2",          name: "Quarter Pounder",          price: "$7.49",          imageSrc: "http://img.b2bpic.net/free-photo/hamburger-with-tomato-lettuce-leaf-beef-patties-burger-buns_140725-10941.jpg",          imageAlt: "Quarter pounder burger",          initialQuantity: 1,
        },
        {
          id: "p3",          name: "Crispy Chicken Sandwich",          price: "$6.99",          imageSrc: "http://img.b2bpic.net/free-photo/big-sandwich-with-chicken-kebab-lettuce_2829-16668.jpg",          imageAlt: "Crispy chicken sandwich",          initialQuantity: 1,
        },
        {
          id: "p4",          name: "Golden French Fries",          price: "$2.99",          imageSrc: "http://img.b2bpic.net/free-photo/french-fries-with-ketchup-lemonade_23-2148272971.jpg",          imageAlt: "Golden french fries",          initialQuantity: 1,
        },
        {
          id: "p5",          name: "Chicken Nuggets (6pc)",          price: "$4.99",          imageSrc: "http://img.b2bpic.net/free-photo/grilled-chicken-nuggets-wings-breast-with-onion-salad_114579-925.jpg",          imageAlt: "Chicken nuggets",          initialQuantity: 1,
        },
        {
          id: "p6",          name: "Chocolate McFlurry",          price: "$3.79",          imageSrc: "http://img.b2bpic.net/free-photo/swirled-frosting-texture-pink-teal-delight_23-2151988798.jpg",          imageAlt: "Chocolate McFlurry",          initialQuantity: 1,
        },
      ]}
      title="Our Best Sellers"
      description="Explore the fan favorites that keep our customers coming back for more."
    />
  </div>

  <div id="app-promotion-home" data-section="app-promotion-home">
      <FeatureCardSix
      textboxLayout="default"
      useInvertedBackground={true}
      features={[
        {
          title: "Earn Rewards",          description: "Collect points on every purchase and redeem for free food and discounts.",          imageSrc: "http://img.b2bpic.net/free-photo/mexican-food-concept-with-smartphone_23-2147812198.jpg",          imageAlt: "Smartphone with loyalty app"},
        {
          title: "Mobile Ordering",          description: "Skip the line and customize your order directly from your phone.",          imageSrc: "http://img.b2bpic.net/free-photo/lifestyle-tattooed-people_23-2149667356.jpg",          imageAlt: "Person ordering on mobile app"},
        {
          title: "Find Restaurants",          description: "Quickly locate nearby restaurants with drive-thru or delivery options.",          imageSrc: "http://img.b2bpic.net/free-photo/top-view-hands-holding-smartphone-with-menu_23-2149357863.jpg",          imageAlt: "Map showing restaurant locations"},
      ]}
      title="Download Our Mobile App"
      description="Get exclusive deals, earn rewards, and order faster on the go!"
      tag="Get the App"
      tagIcon={Smartphone}
    />
  </div>

  <div id="social-proof" data-section="social-proof">
      <SocialProofOne
      textboxLayout="default"
      useInvertedBackground={false}
      names={[
        "Happy Customers",        "Food Critics",        "Families",        "Travelers",        "Commuters",        "Students",        "Foodies"]}
      title="Trusted by Millions Daily"
      description="Our commitment to quality and service has made us a global favorite."
      tag="Global Reach"
      tagIcon={Globe}
    />
  </div>

  <div id="testimonials" data-section="testimonials">
      <TestimonialCardTen
      textboxLayout="default"
      useInvertedBackground={true}
      testimonials={[
        {
          id: "t1",          title: "Simply the Best Burgers!",          quote: "I'm always impressed by how quickly I get my order, and the food is consistently fresh and delicious. The cheeseburger is my go-to!",          name: "Sarah Johnson",          role: "Regular Customer",          imageSrc: "http://img.b2bpic.net/free-photo/casual-dressed-woman-eating-salad_23-2148332145.jpg",          imageAlt: "Sarah Johnson"},
        {
          id: "t2",          title: "My Favorite Chicken Sandwich",          quote: "The crispy chicken sandwich is perfectly seasoned and always hits the spot. It's become my favorite quick meal.",          name: "Michael Chen",          role: "Food Enthusiast",          imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-woman-with-paper-wrapped-sandwich_23-2151309984.jpg",          imageAlt: "Michael Chen"},
        {
          id: "t3",          title: "Great for Family Dinners",          quote: "Feeding the family is so easy with Delicious Bites. Everyone finds something they love, and the value is unbeatable.",          name: "Emily Rodriguez",          role: "Busy Mom",          imageSrc: "http://img.b2bpic.net/free-photo/kid-eating-burger-home_23-2148914532.jpg",          imageAlt: "Emily Rodriguez"},
        {
          id: "t4",          title: "Fast and Convenient Every Time",          quote: "Whether I'm picking up in the drive-thru or getting delivery, the service is always super fast and friendly.",          name: "David Kim",          role: "Daily Commuter",          imageSrc: "http://img.b2bpic.net/free-photo/collage-customer-experience-concept_23-2149367127.jpg",          imageAlt: "David Kim"},
        {
          id: "t5",          title: "Addictive Fries!",          quote: "I can never resist the golden french fries. They're crispy, perfectly salted, and the best side for any meal.",          name: "Jessica Lee",          role: "Student",          imageSrc: "http://img.b2bpic.net/free-photo/smiley-woman-looking-her-boyfriend_23-2148435725.jpg",          imageAlt: "Jessica Lee"},
      ]}
      title="What Our Customers Say"
      description="Hear from the happy customers who love our fast, delicious, and convenient food."
      tag="Happy Eaters"
      tagIcon={Star}
    />
  </div>

  <div id="footer" data-section="footer">
      <FooterBaseCard
      logoSrc="http://img.b2bpic.net/free-vector/retro-logo-collection-different-restaurants_23-2148386010.jpg"
      logoAlt="Restaurant logo"
      logoText="Delicious Bites"
      columns={[
        {
          title: "Menu",          items: [
            {
              label: "Burgers",              href: "/menu#burgers"},
            {
              label: "Chicken",              href: "/menu#chicken"},
            {
              label: "Fries & Sides",              href: "/menu#sides"},
            {
              label: "Breakfast",              href: "/menu#breakfast"},
            {
              label: "Desserts",              href: "/menu#desserts"},
            {
              label: "Drinks",              href: "/menu#drinks"},
          ],
        },
        {
          title: "Company",          items: [
            {
              label: "About Us",              href: "/about"},
            {
              label: "Careers",              href: "/careers"},
            {
              label: "Locations",              href: "/locations"},
            {
              label: "Franchise",              href: "/locations#franchise"},
          ],
        },
        {
          title: "Support",          items: [
            {
              label: "Contact Us",              href: "/contact"},
            {
              label: "FAQs",              href: "/contact#faqs"},
            {
              label: "Privacy Policy",              href: "/privacy"},
            {
              label: "Terms of Service",              href: "/terms"},
          ],
        },
        {
          title: "Connect",          items: [
            {
              label: "Rewards",              href: "/rewards"},
            {
              label: "Mobile App",              href: "/app"},
            {
              label: "Instagram",              href: "https://instagram.com"},
            {
              label: "Twitter",              href: "https://twitter.com"},
          ],
        },
      ]}
      copyrightText="© 2024 Delicious Bites. All rights reserved."
    />
  </div>
      </ReactLenis>
    </ThemeProvider>
  );
}