"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarLayoutFloatingInline from '@/components/navbar/NavbarLayoutFloatingInline';
import HeroSplit from '@/components/sections/hero/HeroSplit';
import TestimonialAboutCard from '@/components/sections/about/TestimonialAboutCard';
import FeatureCardThree from '@/components/sections/feature/featureCardThree/FeatureCardThree';
import ProductCardOne from '@/components/sections/product/ProductCardOne';
import TestimonialCardFive from '@/components/sections/testimonial/TestimonialCardFive';
import SocialProofOne from '@/components/sections/socialProof/SocialProofOne';
import FaqSplitText from '@/components/sections/faq/FaqSplitText';
import ContactSplitForm from '@/components/sections/contact/ContactSplitForm';
import FooterMedia from '@/components/sections/footer/FooterMedia';
import { Sparkles } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="hover-magnetic"
      defaultTextAnimation="reveal-blur"
      borderRadius="soft"
      contentWidth="mediumSmall"
      sizing="largeSizeMediumTitles"
      background="circleGradient"
      cardStyle="gradient-radial"
      primaryButtonStyle="radial-glow"
      secondaryButtonStyle="layered"
      headingFontWeight="semibold"
    >
      <div id="nav" data-section="nav">
        <NavbarLayoutFloatingInline
          brandName="Tacos El Pariente"
          logoSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3EyhxoICdPdIS57TjqauA89PM4R/uploaded-1781157061204-01x4cl41.png"
          logoAlt="Tacos El Pariente Logo"
          navItems={[
            { name: "Home", id: "#hero" },
            { name: "About", id: "#about" },
            { name: "Menu", id: "#menu" },
            { name: "Testimonials", id: "#testimonials" },
            { name: "FAQ", id: "#faq" },
            { name: "Contact", id: "#contact" }
          ]}
          button={{
            text: "Order Now",            href: "#contact"
          }}
          animateOnLoad={true}
        />
      </div>
      <div id="hero" data-section="hero">
        <HeroSplit
          title="Experience Authentic Mexican Flavors"
          description="Tacos El Pariente brings you the freshest and most delicious street food experience. From savory Asada to our famous Quesabirria, every bite is a fiesta!"
          background={{
            variant: "sparkles-gradient"
          }}
          buttons={[
            { text: "View Our Menu", href: "#menu" },
            { text: "Find Our Truck", href: "#contact" }
          ]}
          imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3EyhxoICdPdIS57TjqauA89PM4R/uploaded-1781157392765-16tex2ph.png"
          imageAlt="Delicious street tacos and burritos"
          mediaAnimation="slide-up"
          imagePosition="right"
          fixedMediaHeight={true}
        />
      </div>
      <div id="about" data-section="about">
        <TestimonialAboutCard
          tag="Our Story"
          title="Passion for Authentic Tacos"
          description="At Tacos El Pariente, we believe in bringing the true taste of Mexico to your plate. Our recipes are crafted with generations of tradition and a commitment to fresh, high-quality ingredients."
          subdescription="Every taco, burrito, and quesadilla is prepared with love and authentic Mexican spices, ensuring an unforgettable culinary journey."
          icon={Sparkles}
          imageSrc="http://img.b2bpic.net/free-photo/man-hugs-kisses-stunning-woman-standing-before-bus_1304-5372.jpg"
          imageAlt="Chef preparing tacos at a food truck"
          mediaAnimation="opacity"
          useInvertedBackground={false}
        />
      </div>
      <div id="features" data-section="features">
        <FeatureCardThree
          title="Why Choose Tacos El Pariente?"
          description="We are dedicated to providing an exceptional street food experience with unmatched taste and quality."
          tag="Our Promise"
          features={[
            {
              title: "Fresh Ingredients Daily",              description: "We source the freshest local ingredients to ensure every dish bursts with flavor and quality.",              imageSrc: "http://img.b2bpic.net/free-photo/delicious-tacos-table_23-2150770539.jpg",              imageAlt: "Fresh vegetables and spices"
            },
            {
              title: "Authentic Recipes",              description: "Our recipes are passed down through generations, bringing you genuine Mexican street food flavors.",              imageSrc: "http://img.b2bpic.net/free-photo/close-up-view-different-peppers-left-side-brown-background-with-copy-space_141793-2539.jpg",              imageAlt: "Traditional Mexican food preparation"
            },
            {
              title: "Friendly Service",              description: "Experience our warm hospitality and quick service, making your meal enjoyable from start to finish.",              imageSrc: "http://img.b2bpic.net/free-photo/consumer-stand-holder-drinking-cup-hot-coffee-farmers-market_482257-77558.jpg",              imageAlt: "Smiling staff at the taco truck"
            }
          ]}
          gridVariant="three-columns-all-equal-width"
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
        />
      </div>
      <div id="menu" data-section="menu">
        <ProductCardOne
          title="Our Mouth-Watering Menu"
          description="Explore a wide range of Mexican favorites, crafted to perfection."
          tag="Taste The Tradition"
          products={[
            {
              id: "tacos",              name: "Tacos",              price: "$2.00",              imageSrc: "http://img.b2bpic.net/free-photo/grilled-beef-taco-flatbread-with-guacamole-generated-by-ai_188544-25894.jpg",              imageAlt: "Assortment of delicious tacos"
            },
            {
              id: "torta",              name: "Torta",              price: "$8.50",              imageSrc: "http://img.b2bpic.net/free-photo/mexican-chicken-quesadillas-with-cheese-peppers-wooden-table_123827-28010.jpg",              imageAlt: "Mexican torta sandwich"
            },
            {
              id: "quesadilla",              name: "Quesadilla",              price: "$8.50",              imageSrc: "http://img.b2bpic.net/free-photo/top-view-mexican-nachos-with-minced-meat-melted-cheese-pickles-jalapeno-tomato-scallion_141793-2152.jpg",              imageAlt: "Cheesy quesadilla"
            },
            {
              id: "burrito",              name: "Burrito",              price: "$8.50",              imageSrc: "http://img.b2bpic.net/free-photo/delicious-tortillas-with-meat-vegetables_23-2148614363.jpg",              imageAlt: "Large flavorful burrito"
            },
            {
              id: "quesabirria",              name: "Quesabirria",              price: "$3.78",              imageSrc: "http://img.b2bpic.net/free-photo/nachos-near-guacamole-glass-bowl-napkin_23-2148132098.jpg",              imageAlt: "Quesabirria tacos with consomme"
            },
            {
              id: "sopes",              name: "Sope",              price: "$3.78",              imageSrc: "http://img.b2bpic.net/free-photo/close-up-food-snacks-made-from-sweet-potatoes_23-2149134036.jpg",              imageAlt: "Traditional sopes with toppings"
            }
          ]}
          gridVariant="three-columns-all-equal-width"
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
        />
      </div>
      <div id="testimonials" data-section="testimonials">
        <TestimonialCardFive
          title="What Our Customers Say"
          description="Hear from our happy customers about their delicious experiences with Tacos El Pariente."
          tag="Customer Love"
          testimonials={[
            {
              id: "1",              name: "Sarah J.",              date: "July 15, 2024",              title: "Best Tacos in Town!",              quote: "Tacos El Pariente never disappoints! The Asada fries are a must-try. Always fresh and packed with flavor.",              tag: "Flavorful!",              avatarSrc: "http://img.b2bpic.net/free-photo/people-technology-close-up-shot-happy-face-attractive-bearded-man-sitting-front-laptop-screen-smiling-joyfully-while-messaging-friends-online-via-social-networks_273609-6655.jpg",              avatarAlt: "Sarah J.",              imageSrc: "http://img.b2bpic.net/free-photo/high-angle-delicious-taco-mexican-party_23-2149362784.jpg",              imageAlt: "Delicious Asada fries"
            },
            {
              id: "2",              name: "Michael C.",              date: "August 01, 2024",              title: "Authentic and Delicious",              quote: "Finally, a taco truck that tastes like home! The Quesabirria is out of this world. Highly recommend!",              tag: "Authentic",              avatarSrc: "http://img.b2bpic.net/free-photo/portrait-handsome-blond-bearded-guy-happy-man-look-away-smiling-concept-men-health-lifestyle-cross-arms-chest-white-background_176420-54432.jpg",              avatarAlt: "Michael C.",              imageSrc: "http://img.b2bpic.net/free-photo/top-view-delicious-taco-ingredients_23-2148629329.jpg",              imageAlt: "Quesabirria tacos"
            },
            {
              id: "3",              name: "Emily R.",              date: "July 28, 2024",              title: "My Go-To Taco Spot",              quote: "The Cali burrito is huge and incredibly tasty. Great service and always a fantastic meal.",              tag: "Must-Try",              avatarSrc: "http://img.b2bpic.net/free-photo/person-decoration-young-fresh-people_1187-6111.jpg",              avatarAlt: "Emily R.",              imageSrc: "http://img.b2bpic.net/free-photo/young-woman-enjoying-some-delicious-street-food_23-2149009640.jpg",              imageAlt: "Food truck at a vibrant event"
            },
            {
              id: "4",              name: "David K.",              date: "August 05, 2024",              title: "Fresh and Fast",              quote: "Super fresh ingredients and lightning-fast service. Perfect for a quick, delicious lunch.",              tag: "Quick Eats",              avatarSrc: "http://img.b2bpic.net/free-photo/young-beautiful-woman-gardener-apron-hat-holding-broken-green-chili-pepper-her-eyes-smiling_141793-37585.jpg",              avatarAlt: "David K.",              imageSrc: "http://img.b2bpic.net/free-photo/top-view-dishes-with-soups-green-beans_23-2148460161.jpg",              imageAlt: "Fresh salsa and lime"
            },
            {
              id: "5",              name: "Jessica L.",              date: "July 20, 2024",              title: "Amazing Variety",              quote: "Love the variety on their menu. The sopes are a hidden gem. So glad I found this place!",              tag: "Great Selection",              avatarSrc: "http://img.b2bpic.net/free-photo/customer-experience-creative-collage_23-2149371198.jpg",              avatarAlt: "Jessica L.",              imageSrc: "http://img.b2bpic.net/free-photo/tasty-esquites-with-spices-cups-high-angle_23-2149891136.jpg",              imageAlt: "Taco platter with different fillings"
            }
          ]}
          textboxLayout="default"
          useInvertedBackground={false}
        />
      </div>
      <div id="social-proof" data-section="social-proof">
        <SocialProofOne
          title="Proudly Serving Local Events"
          description="Tacos El Pariente is a favorite at various community gatherings, festivals, and private events across Tulare, CA."
          tag="Community Partners"
          names={[
            "Tulare County Fair",            "Visalia Food Fest",            "Local Farmers Market",            "Community Fundraisers",            "Private Events",            "Corporate Lunches",            "Festivals & Fairs"
          ]}
          textboxLayout="default"
          useInvertedBackground={false}
        />
      </div>
      <div id="faq" data-section="faq">
        <FaqSplitText
          sideTitle="Frequently Asked Questions"
          sideDescription="Find quick answers to common questions about our menu, hours, and catering services."
          faqs={[
            {
              id: "1",              title: "Where is Tacos El Pariente located?",              content: "We are located at 514 W Inyo Ave, Tulare, CA. Look for our vibrant taco truck!"
            },
            {
              id: "2",              title: "What are your operating hours?",              content: "Our hours are 5:30 PM - 10:30 PM, seven days a week."
            },
            {
              id: "3",              title: "Do you offer catering for events?",              content: "Yes, we do! Please contact us directly for catering inquiries and custom menu options."
            },
            {
              id: "4",              title: "What payment methods do you accept?",              content: "We accept cash and all major credit/debit cards."
            },
            {
              id: "5",              title: "Are there vegetarian options available?",              content: "Yes, we have delicious vegetarian options. Please ask our staff for details."
            }
          ]}
          faqsAnimation="slide-up"
          textPosition="left"
          useInvertedBackground={false}
        />
      </div>
      <div id="contact" data-section="contact">
        <ContactSplitForm
          title="Get in Touch / Find Us"
          description="Have questions or want to inquire about catering? Fill out the form below or visit our truck!"
          inputs={[
            { name: "name", type: "text", placeholder: "Your Name", required: true },
            { name: "email", type: "email", placeholder: "Your Email", required: true }
          ]}
          textarea={{
            name: "message",            placeholder: "Your Message",            rows: 4,
            required: true
          }}
          buttonText="Send Message"
          imageSrc="http://img.b2bpic.net/free-photo/young-adults-having-block-party_23-2149571489.jpg"
          imageAlt="Taco truck at night with bright lights"
          mediaAnimation="none"
          mediaPosition="right"
          useInvertedBackground={false}
        />
      </div>
      <div id="footer" data-section="footer">
        <FooterMedia
          imageSrc="http://img.b2bpic.net/free-photo/yellow-illuminated-background-neon-lights_23-2148328032.jpg"
          imageAlt="Colorful Mexican pattern background"
          logoSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3EyhxoICdPdIS57TjqauA89PM4R/uploaded-1781157061204-01x4cl41.png"
          logoAlt="Tacos El Pariente Logo"
          logoText="Tacos El Pariente"
          columns={[
            {
              title: "Quick Links",              items: [
                { label: "Home", href: "#hero" },
                { label: "Menu", href: "#menu" },
                { label: "Testimonials", href: "#testimonials" },
                { label: "Catering", href: "#social-proof" }
              ]
            },
            {
              title: "Connect",              items: [
                { label: "Location: 514 W Inyo Ave, Tulare, CA", href: "#contact" },
                { label: "Phone: (559) 759-4907", href: "tel:+15597594907" },
                { label: "Hours: 5:30PM - 10:30PM Daily", href: "#faq" }
              ]
            }
          ]}
          copyrightText="© 2024 Tacos El Pariente. All rights reserved."
        />
      </div>
    </ThemeProvider>
  );
}