"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import ContactSplit from '@/components/sections/contact/ContactSplit';
import FeatureCardThree from '@/components/sections/feature/featureCardThree/FeatureCardThree';
import FooterLogoReveal from '@/components/sections/footer/FooterLogoReveal';
import HeroOverlayTestimonial from '@/components/sections/hero/HeroOverlayTestimonial';
import InlineImageSplitTextAbout from '@/components/sections/about/InlineImageSplitTextAbout';
import NavbarLayoutFloatingOverlay from '@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay';
import ProductCardOne from '@/components/sections/product/ProductCardOne';
import SocialProofOne from '@/components/sections/socialProof/SocialProofOne';
import TestimonialCardFifteen from '@/components/sections/testimonial/TestimonialCardFifteen';
import { Award, Phone, Sparkles, Zap } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
        defaultButtonVariant="elastic-effect"
        defaultTextAnimation="entrance-slide"
        borderRadius="pill"
        contentWidth="smallMedium"
        sizing="largeSmallSizeMediumTitles"
        background="circleGradient"
        cardStyle="gradient-mesh"
        primaryButtonStyle="radial-glow"
        secondaryButtonStyle="solid"
        headingFontWeight="medium"
    >
      <ReactLenis root>
  <div id="nav" data-section="nav">
      <NavbarLayoutFloatingOverlay
      navItems={[
        {
          name: "Home",          id: "#home"},
        {
          name: "About",          id: "#about"},
        {
          name: "Specials",          id: "#specials"},
        {
          name: "Menu",          id: "#menu"},
        {
          name: "Reviews",          id: "#reviews"},
        {
          name: "Contact",          id: "#contact"},
      ]}
      logoSrc="http://img.b2bpic.net/free-vector/hand-drawn-mexico-logo_23-2149731041.jpg"
      logoAlt="La Union Restaurant #3 Logo"
      brandName="La Union Restaurant #3"
      button={{
        text: "Order Online",        href: "#"}}
    />
  </div>

  <div id="home" data-section="home">
      <HeroOverlayTestimonial
      title="Taste the Authentic Flavors of Mexico"
      description="Experience the vibrant culinary traditions of La Union Restaurant #3. Where every dish is a celebration of heritage and fresh ingredients."
      testimonials={[
        {
          name: "Maria S.",          handle: "@mariasfoodie",          testimonial: "La Union #3 never disappoints! The tacos are out of this world, and their margaritas are the best in town. A true taste of Mexico!",          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-woman-with-delicious-cocktail_23-2150166118.jpg",          imageAlt: "Maria S. review"},
        {
          name: "David K.",          handle: "@davidk_eats",          testimonial: "Amazing authentic food and fantastic service. The carnitas are a must-try. This is my go-to spot for Mexican cuisine.",          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/crazy-man-funny-expression_1194-3203.jpg",          imageAlt: "David K. review"},
        {
          name: "Sophia R.",          handle: "@sophiaeats",          testimonial: "Every dish is crafted with so much flavor and love. The ambiance is perfect for a family dinner or a night out with friends.",          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/close-up-portrait-cute-brunette-woman-taking-selfie-with-yellow-fresh-pepper-recording-video_1258-203777.jpg",          imageAlt: "Sophia R. review"},
        {
          name: "Juan M.",          handle: "@juan_mexico",          testimonial: "Finally, real Mexican food! Just like abuela used to make. Highly recommend the mole poblano and fresh salsa.",          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/portrait-cheerful-handsome-bearded-guy-with-fashionable-hairstyle-smiling_176420-15752.jpg",          imageAlt: "Juan M. review"},
        {
          name: "Elena P.",          handle: "@elenapasta",          testimonial: "The best Mexican restaurant I've tried outside of Mexico! The flavors are rich, ingredients are fresh, and the staff is incredibly friendly. A must-visit!",          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/portrait-smiley-young-woman-posing_23-2148454538.jpg",          imageAlt: "Elena P. review"},
      ]}
      testimonialRotationInterval={5000}
      tag="Authentic Mexican Cuisine"
      tagIcon={Sparkles}
      tagAnimation="opacity"
      buttons={[
        {
          text: "View Menu",          href: "#menu"},
        {
          text: "Make a Reservation",          href: "#contact"},
      ]}
      buttonAnimation="slide-up"
      avatars={[
        {
          src: "http://img.b2bpic.net/free-photo/smiling-beautiful-asian-girl-barista-working-cafe-holding-cup-tea-giving-client-their-order_1258-199282.jpg",          alt: "Maria S."},
        {
          src: "http://img.b2bpic.net/free-photo/young-man-holding-cup-holding-hand-waist-blue-shirt-jeans-looking-optimistic-front-view_176474-84555.jpg",          alt: "David K."},
        {
          src: "http://img.b2bpic.net/free-photo/indoor-shot-happy-female-has-curly-hair-chats-online-social-networks-with-friends-uses-modern-electronic-gadget-internet-sits-coffee-shop-with-exotic-drink-dish-technology-concept_273609-2193.jpg",          alt: "Sophia R."},
        {
          src: "http://img.b2bpic.net/free-photo/isolated-shot-successful-positive-friendly-senior-businessman-formal-elegant-clothes-smiling-pointing-fore-finger-camera-recruiting-you-offering-position-his-company-body-language_343059-2307.jpg",          alt: "Juan M."},
        {
          src: "http://img.b2bpic.net/free-vector/hand-drawn-mexico-logo_23-2149731041.jpg",          alt: "Elena P."},
      ]}
      avatarText="Loved by thousands of foodies"
      imageSrc="http://img.b2bpic.net/free-photo/delicious-mexican-food_23-2147640328.jpg"
      imageAlt="Vibrant Mexican Restaurant Interior"
      showBlur={true}
      textPosition="bottom"
    />
  </div>

  <div id="about" data-section="about">
      <InlineImageSplitTextAbout
      useInvertedBackground={true}
      heading={[
        {
          type: "text",          content: "Our Story, Our "},
        {
          type: "image",          src: "http://img.b2bpic.net/free-photo/adults-enjoying-mexican-food_23-2149663830.jpg",          alt: "Traditional Mexican Food"},
        {
          type: "text",          content: " Passion"},
      ]}
      buttons={[
        {
          text: "Learn More",          href: "#"},
      ]}
      buttonAnimation="slide-up"
    />
  </div>

  <div id="specials" data-section="specials">
      <FeatureCardThree
      textboxLayout="default"
      gridVariant="three-columns-all-equal-width"
      useInvertedBackground={false}
      animationType="slide-up"
      features={[
        {
          title: "Chef's Special Tacos",          description: "Experience our rotating selection of gourmet tacos, crafted with unique fillings and fresh, seasonal ingredients.",          imageSrc: "http://img.b2bpic.net/free-photo/mexican-food-tablecloth-near-blackboard_23-2147740799.jpg",          imageAlt: "Gourmet Tacos"},
        {
          title: "Weekend Brunch Fiesta",          description: "Join us on weekends for a vibrant brunch menu featuring traditional Mexican breakfast favorites and refreshing drinks.",          imageSrc: "http://img.b2bpic.net/free-photo/traditional-mexican-red-pozole-soup-isolated-white-background_123827-35475.jpg",          imageAlt: "Mexican Brunch"},
        {
          title: "Handcrafted Margaritas",          description: "Our bar offers a wide array of handcrafted margaritas, made with premium tequila and fresh, exotic fruit purees.",          imageSrc: "http://img.b2bpic.net/free-photo/cookie-with-glass-milk-red-napkin-white-background_23-2147872596.jpg",          imageAlt: "Handcrafted Margarita"},
      ]}
      title="Daily Specials & Culinary Delights"
      description="Discover new flavors and enjoy our limited-time offerings, carefully prepared by our passionate chefs."
      tag="Featured Items"
      tagIcon={Sparkles}
      tagAnimation="opacity"
    />
  </div>

  <div id="menu" data-section="menu">
      <ProductCardOne
      animationType="slide-up"
      textboxLayout="default"
      gridVariant="four-items-2x2-equal-grid"
      useInvertedBackground={true}
      products={[
        {
          id: "carne-asada",          name: "Carne Asada Plate",          price: "$18.99",          imageSrc: "http://img.b2bpic.net/free-photo/mexican-dishes-spices-around-clipboard_23-2147740768.jpg",          imageAlt: "Carne Asada Plate"},
        {
          id: "chicken-enchiladas",          name: "Chicken Enchiladas",          price: "$16.50",          imageSrc: "http://img.b2bpic.net/free-photo/mexican-food-concept-with-taco-top-view_23-2148629364.jpg",          imageAlt: "Chicken Enchiladas"},
        {
          id: "fish-tacos",          name: "Baja Fish Tacos",          price: "$15.00",          imageSrc: "http://img.b2bpic.net/free-photo/mexican-tacos-with-shrimpguacamole-vegetables-wooden-table_123827-22793.jpg",          imageAlt: "Fish Tacos"},
        {
          id: "carnitas-plate",          name: "Carnitas Plate",          price: "$17.99",          imageSrc: "http://img.b2bpic.net/free-photo/yakisoba-with-pork_1388-284.jpg",          imageAlt: "Carnitas Plate"},
        {
          id: "vegetarian-burrito",          name: "Vegetarian Burrito",          price: "$13.75",          imageSrc: "http://img.b2bpic.net/free-photo/tasty-mexican-burritos_23-2147812175.jpg",          imageAlt: "Vegetarian Burrito"},
        {
          id: "churros",          name: "Churros with Chocolate",          price: "$8.00",          imageSrc: "http://img.b2bpic.net/free-photo/front-view-delicious-little-cakes-with-fresh-berries_140725-130077.jpg",          imageAlt: "Churros"},
      ]}
      title="Our Exquisite Menu"
      description="From sizzling fajitas to savory enchiladas, explore a wide range of traditional Mexican dishes prepared with authentic recipes."
      tag="Full Menu"
      tagIcon={Zap}
      tagAnimation="opacity"
    />
  </div>

  <div id="reviews" data-section="reviews">
      <TestimonialCardFifteen
      useInvertedBackground={false}
      testimonial="The best Mexican food in town! Every dish is packed with flavor and made with love. The staff is incredibly welcoming, making every visit a delightful experience."
      rating={5}
      author="Sarah J."
      avatars={[
        {
          src: "http://img.b2bpic.net/free-photo/man-enjoying-cup-matcha-tea-home_23-2150215087.jpg",          alt: "Sarah J."},
        {
          src: "http://img.b2bpic.net/free-photo/adults-enjoying-mexican-food_23-2149663832.jpg",          alt: "Michael C."},
        {
          src: "http://img.b2bpic.net/free-photo/young-woman-eating-delicious-tiramisu-cafe_1303-25271.jpg",          alt: "Emily R."},
        {
          src: "http://img.b2bpic.net/free-photo/chef-working-together-professional-kitchen_23-2149727992.jpg",          alt: "Daniel L."},
        {
          src: "http://img.b2bpic.net/free-photo/businessman-eating-lemon-tart-with-raspberry-sorbet-dessert-cafe_637285-8905.jpg",          alt: "New Reviewer"},
      ]}
      ratingAnimation="blur-reveal"
      avatarsAnimation="slide-up"
    />
  </div>

  <div id="recognitions" data-section="recognitions">
      <SocialProofOne
      textboxLayout="default"
      useInvertedBackground={true}
      names={[
        "Local Food Critics",        "City Eater Guide",        "Best of Cuisine Magazine",        "Gastronomy Awards",        "Neighborhood Gems",        "Foodie Favorites",        "DineOut Daily"]}
      title="Recognized for Authentic Cuisine"
      description="Our commitment to authentic flavors and exceptional dining experiences has earned us praise from various culinary experts and local publications."
      tag="Awards & Press"
      tagIcon={Award}
      tagAnimation="opacity"
      speed={40}
      showCard={true}
    />
  </div>

  <div id="contact" data-section="contact">
      <ContactSplit
      useInvertedBackground={false}
      background={{
        variant: "radial-gradient"}}
      tag="Get in Touch"
      title="Visit Us or Make a Reservation"
      description="Ready to savor the true taste of Mexico? Contact us to book your table, inquire about catering, or for any other questions. We look forward to welcoming you!"
      tagIcon={Phone}
      tagAnimation="opacity"
      imageSrc="http://img.b2bpic.net/free-photo/young-woman-with-smartphone-sunglasses-cafe-terrace_169016-21910.jpg"
      imageAlt="La Union Restaurant #3 exterior"
      mediaAnimation="slide-up"
      mediaPosition="right"
      inputPlaceholder="Enter your email for updates"
      buttonText="Subscribe"
      termsText="By clicking Subscribe you're confirming that you agree with our Privacy Policy."
      onSubmit={(email) => console.log(email)}
    />
  </div>

  <div id="footer" data-section="footer">
      <FooterLogoReveal
      logoSrc="http://img.b2bpic.net/free-vector/hand-drawn-mexico-logo_23-2149731041.jpg"
      logoAlt="La Union Restaurant #3 Logo"
      logoText="La Union Restaurant #3"
      leftLink={{
        text: "Privacy Policy",        href: "#"}}
      rightLink={{
        text: "Terms of Service",        href: "#"}}
    />
  </div>
      </ReactLenis>
    </ThemeProvider>
  );
}
