"use client"

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarLayoutFloatingInline from "@/components/navbar/NavbarLayoutFloatingInline";
import HeroSplitKpi from "@/components/sections/hero/HeroSplitKpi";
import FeatureCardTen from "@/components/sections/feature/FeatureCardTen";
import MediaAbout from "@/components/sections/about/MediaAbout";
import TestimonialCardThirteen from "@/components/sections/testimonial/TestimonialCardThirteen";
import SocialProofOne from "@/components/sections/socialProof/SocialProofOne";
import ContactText from "@/components/sections/contact/ContactText";
import FaqSplitMedia from "@/components/sections/faq/FaqSplitMedia";
import FooterBaseReveal from "@/components/sections/footer/FooterBaseReveal";
import { Award, Camera, CheckCircle, Droplet, HelpCircle, Heart, Leaf, Smile, Sparkles, Star, ThumbsUp, Utensils, Zap } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="shift-hover"
      defaultTextAnimation="reveal-blur"
      borderRadius="pill"
      contentWidth="medium"
      sizing="mediumLarge"
      background="grid"
      cardStyle="gradient-radial"
      primaryButtonStyle="primary-glow"
      secondaryButtonStyle="layered"
      headingFontWeight="semibold"
    >
      <div id="nav" data-section="nav">
        <NavbarLayoutFloatingInline
          brandName="The Parks Cafe"
          navItems={[
            { name: "Home", id: "hero" },
            { name: "Menu", id: "features" },
            { name: "Why Us", id: "about" },
            { name: "Reviews", id: "testimonials" },
            { name: "Location", id: "contact" }
          ]}
          button={{ text: "Call Now", href: "tel:+16195090967" }}
          animateOnLoad={true}
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroSplitKpi
          title="Healthy Shakes, Good Vibes, and Local Cafe Energy"
          description="From protein shakes and acai bowls to protein donuts and kid-friendly favorites, The Parks Cafe brings healthy choices and positive energy to Lakeside. Dine in, grab curbside pickup, and join your community's favorite healthy hangout."
          background={{ variant: "radial-gradient" }}
          kpis={[
            { value: "4.9★", label: "Rated by Locals" },
            { value: "48+", label: "Happy Reviews" },
            { value: "$1-10", label: "Budget-Friendly" }
          ]}
          enableKpiAnimation={true}
          tag="Lakeside's Healthy Cafe"
          tagIcon={Leaf}
          tagAnimation="slide-up"
          buttons={[
            { text: "View Menu", href: "#features" },
            { text: "Get Directions", href: "#contact" }
          ]}
          buttonAnimation="slide-up"
          imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3B3e28lDrIqclZ8fNPOFLNKE6jg/uploaded-1773780210995-pfkvp1at.jpg"
          imageAlt="Colorful acai bowl with fresh fruit and healthy toppings"
          mediaAnimation="blur-reveal"
          imagePosition="right"
          avatars={[
            { src: "http://img.b2bpic.net/free-photo/portrait-modern-woman-home_23-2148115589.jpg", alt: "Sarah, local customer" },
            { src: "http://img.b2bpic.net/free-photo/brunette-businesswoman-standing-white-wall_114579-65225.jpg", alt: "Mike, fitness enthusiast" },
            { src: "http://img.b2bpic.net/free-photo/expressive-woman-is-posing-house_344912-160.jpg", alt: "Jessica, parent" }
          ]}
          avatarText="Loved by Lakeside community"
        />
      </div>

      <div id="features" data-section="features">
        <FeatureCardTen
          title="Featured Menu Highlights"
          description="Discover what makes The Parks Cafe special. From energy-boosting protein shakes to Instagram-worthy acai bowls, every item is crafted with quality ingredients and a commitment to your health."
          tag="Menu Favorites"
          tagIcon={Utensils}
          tagAnimation="slide-up"
          buttons={[{ text: "See Full Menu", href: "#" }]}
          buttonAnimation="slide-up"
          textboxLayout="default"
          animationType="slide-up"
          useInvertedBackground={false}
          features={[
            {
              id: "shakes",              title: "Protein Shakes",              description: "Fuel your fitness with our signature protein shakes. Choose from chocolate, vanilla, strawberry, or create your own combo. Each shake is packed with quality protein to support your active lifestyle.",              media: { imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3B3e28lDrIqclZ8fNPOFLNKE6jg/uploaded-1773780210996-4dj7lhh3.jpg" },
              items: [
                { icon: Zap, text: "High-protein formulas" },
                { icon: Heart, text: "Nutritionist-approved" },
                { icon: Award, text: "Loved by gym-goers" }
              ],
              reverse: false
            },
            {
              id: "acai",              title: "Acai Bowls",              description: "Start your day with our fresh, nutrient-dense acai bowls. Loaded with superfoods, fresh berries, granola, and coconut—every bowl is a colorful celebration of healthy eating.",              media: { imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3B3e28lDrIqclZ8fNPOFLNKE6jg/uploaded-1773780210996-45e7ptcd.jpg" },
              items: [
                { icon: Leaf, text: "Organic ingredients" },
                { icon: Sparkles, text: "Fresh daily" },
                { icon: Camera, text: "Instagram-worthy" }
              ],
              reverse: true
            },
            {
              id: "donuts",              title: "Protein Donuts",              description: "Indulge guilt-free with our protein-packed donuts. Lower sugar, higher satisfaction—prove that healthy treats can be delicious. Perfect for breakfast or an afternoon pick-me-up.",              media: { imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3B3e28lDrIqclZ8fNPOFLNKE6jg/uploaded-1773780210996-cjeie43e.jpg" },
              items: [
                { icon: Smile, text: "Guilt-free indulgence" },
                { icon: Droplet, text: "Low sugar" },
                { icon: ThumbsUp, text: "Community favorite" }
              ],
              reverse: false
            }
          ]}
        />
      </div>

      <div id="about" data-section="about">
        <MediaAbout
          title="Why Locals Love The Parks Cafe"
          description="We're not just serving healthy food and drinks—we're building community. Our cafe is a welcoming space where gym-goers, families, busy professionals, and neighbors come together. Every interaction is guided by our commitment to quality, health, and genuine connection."
          tag="Our Promise"
          tagIcon={Heart}
          tagAnimation="slide-up"
          buttons={[{ text: "Visit Us Today", href: "#contact" }]}
          buttonAnimation="slide-up"
          imageSrc="http://img.b2bpic.net/free-photo/empty-wood-chair-restaurant_1339-5949.jpg"
          imageAlt="Bright and welcoming Parks Cafe interior with friendly staff and happy customers"
          useInvertedBackground={true}
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardThirteen
          title="What Our Community Says"
          description="Real feedback from real customers. These are the stories that drive us to keep creating a space where healthy living feels welcoming, fun, and achievable."
          tag="Customer Love"
          tagIcon={Star}
          tagAnimation="slide-up"
          buttonAnimation="slide-up"
          showRating={true}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
          testimonials={[
            {
              id: "1",              name: "Sarah Johnson",              handle: "Local fitness enthusiast",              testimonial: "Friendly service and tasty drinks. The protein shakes here are my go-to post-workout ritual. Every staff member knows my order and always has a smile ready.",              rating: 5,
              imageSrc: "http://img.b2bpic.net/free-photo/portrait-modern-woman-home_23-2148115589.jpg"
            },
            {
              id: "2",              name: "Mike Chen",              handle: "Gym regular",              testimonial: "The vibe is fun, the staff is always friendly and seems to know their stuff. It's my favorite spot to refuel after training. Can't recommend it enough!",              rating: 5,
              imageSrc: "http://img.b2bpic.net/free-photo/brunette-businesswoman-standing-white-wall_114579-65225.jpg"
            },
            {
              id: "3",              name: "Jessica Martinez",              handle: "Parent & health advocate",              testimonial: "Casual, budget-friendly place that offers delicious and balanced protein shakes. My kids love the kids menu, and I love knowing they're getting quality nutrition. Best local discovery!",              rating: 5,
              imageSrc: "http://img.b2bpic.net/free-photo/expressive-woman-is-posing-house_344912-160.jpg"
            },
            {
              id: "4",              name: "David Park",              handle: "Busy professional",              testimonial: "The curbside pickup is a lifesaver on my busy days. Quality food, fast service, and genuinely kind staff. The Parks Cafe has become my trusted lunch spot.",              rating: 5,
              imageSrc: "http://img.b2bpic.net/free-photo/smiling-businesswoman-looking-through-window_1262-1977.jpg"
            },
            {
              id: "5",              name: "Emily Rodriguez",              handle: "Wellness coach",              testimonial: "As someone who cares deeply about nutrition, I appreciate every detail here. The ingredients are quality, the portions are generous, and the team is knowledgeable. It's a gem!",              rating: 5,
              imageSrc: "http://img.b2bpic.net/free-photo/sports-girl-black-top-training-summer-park_1157-37281.jpg"
            },
            {
              id: "6",              name: "Tom Wilson",              handle: "Community neighbor",              testimonial: "More than just a cafe—it's a gathering place. Friendly atmosphere, delicious healthy options, and staff that genuinely cares. This is what community looks like.",              rating: 5,
              imageSrc: "http://img.b2bpic.net/free-photo/close-up-portrait-bearded-smiling-black-man-wool-suit_613910-15883.jpg"
            }
          ]}
        />
      </div>

      <div id="socialproof" data-section="socialproof">
        <SocialProofOne
          title="Featured in Quality Ingredients & Trusted Brands"
          description="We partner with industry-leading brands and suppliers to ensure every shake, bowl, and treat meets our high standards for quality, nutrition, and taste."
          tag="Quality Partners"
          tagIcon={CheckCircle}
          tagAnimation="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
          names={["Ninja Kitchen", "MuscleTech", "Optimum Nutrition", "Bulletproof", "RxBar", "Orgain", "Perfect Bar", "Almond Breeze"]}
          logos={[
            "http://img.b2bpic.net/free-vector/kitchen-appliances-flat-design_23-2147628290.jpg",            "http://img.b2bpic.net/free-vector/fitness-label-pack_23-2147794685.jpg",            "http://img.b2bpic.net/free-photo/protein-gym_23-2151980069.jpg",            "http://img.b2bpic.net/free-vector/vintage-assorted-badges-pack_23-2147498533.jpg",            "http://img.b2bpic.net/free-vector/collection-retro-logos_23-2148448608.jpg",            "http://img.b2bpic.net/free-vector/flat-organic-fruit-label-set_23-2148127254.jpg",            "http://img.b2bpic.net/free-vector/flat-design-bank-holiday-stamps-set_23-2149356350.jpg",            "http://img.b2bpic.net/free-vector/flat-palm-oil-badges_23-2148819521.jpg"
          ]}
          speed={30}
          showCard={true}
        />
      </div>

      <div id="faq" data-section="faq">
        <FaqSplitMedia
          title="Questions? We've Got Answers"
          description="Learn more about The Parks Cafe, our menu options, service styles, and commitment to your health."
          tag="FAQ"
          tagIcon={HelpCircle}
          tagAnimation="slide-up"
          mediaPosition="right"
          imageSrc="http://img.b2bpic.net/free-photo/close-up-apple-eggplants-radishes_23-2147953565.jpg"
          imageAlt="Fresh tropical fruits and healthy ingredients"
          mediaAnimation="blur-reveal"
          textboxLayout="default"
          useInvertedBackground={false}
          animationType="smooth"
          showCard={true}
          faqsAnimation="slide-up"
          faqs={[
            {
              id: "1",              title: "Do you have a kids menu?",              content: "Yes! We're proud to offer a dedicated kids menu with delicious and nutritious options. Healthy eating starts early, and we make it fun and tasty for the whole family."
            },
            {
              id: "2",              title: "What service options do you offer?",              content: "We offer dine-in seating and curbside pickup. Our team will prepare your order quickly and have it ready when you arrive. No delivery at this time, but we're committed to making your visit convenient."
            },
            {
              id: "3",              title: "Are your shakes and bowls customizable?",              content: "Absolutely! We encourage you to build your own shake or bowl. Tell our team what you love, and we'll craft something perfectly suited to your taste and nutritional goals."
            },
            {
              id: "4",              title: "What's your price range?",              content: "We believe healthy eating should be affordable. Most items range from $1–10, making quality nutrition accessible to everyone in our community."
            },
            {
              id: "5",              title: "What are your hours?",              content: "We're closed Mondays, and open Tuesday–Sunday from 8 AM to 6 PM. Perfect timing for breakfast, lunch, and afternoon pick-me-ups!"
            },
            {
              id: "6",              title: "Are you a good fit for people with dietary restrictions?",              content: "Yes! We work with customers who have various dietary needs—whether vegan, gluten-free, dairy-free, or high-protein focused. Talk to our knowledgeable staff about options tailored to you."
            }
          ]}
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactText
          text="Ready to experience The Parks Cafe? We're located at 12241 Woodside Ave, Lakeside, CA 92040. Open Tuesday–Sunday, 8 AM–6 PM. Stop by, call us, or order curbside pickup. We're excited to serve you!"
          animationType="entrance-slide"
          background={{ variant: "animated-grid" }}
          useInvertedBackground={false}
          buttons={[
            { text: "Call (619) 509-0967", href: "tel:+16195090967" },
            { text: "Get Directions", href: "https://maps.google.com/?q=12241+Woodside+Ave,+Lakeside,+CA+92040" }
          ]}
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterBaseReveal
          columns={[
            {
              title: "The Parks Cafe",              items: [
                { label: "Home", href: "#hero" },
                { label: "Menu", href: "#features" },
                { label: "Reviews", href: "#testimonials" },
                { label: "About Us", href: "#about" }
              ]
            },
            {
              title: "Visit Us",              items: [
                { label: "Location", href: "#contact" },
                { label: "Hours", href: "#faq" },
                { label: "Call (619) 509-0967", href: "tel:+16195090967" },
                { label: "Get Directions", href: "https://maps.google.com/?q=12241+Woodside+Ave,+Lakeside,+CA+92040" }
              ]
            },
            {
              title: "Quick Links",              items: [
                { label: "Curbside Pickup", href: "#contact" },
                { label: "Kids Menu", href: "#features" },
                { label: "Customize Your Order", href: "#faq" },
                { label: "Contact", href: "#contact" }
              ]
            },
            {
              title: "Legal",              items: [
                { label: "Privacy Policy", href: "#" },
                { label: "Terms of Service", href: "#" },
                { label: "Accessibility", href: "#" }
              ]
            }
          ]}
          copyrightText="© 2024 The Parks Cafe. All rights reserved. Located in Lakeside, CA. Serving healthy vibes daily."
        />
      </div>
    </ThemeProvider>
  );
}