"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import AboutMetric from '@/components/sections/about/AboutMetric';
import ContactSplitForm from '@/components/sections/contact/ContactSplitForm';
import FaqDouble from '@/components/sections/faq/FaqDouble';
import FeatureCardTwentyOne from '@/components/sections/feature/FeatureCardTwentyOne';
import FooterBase from '@/components/sections/footer/FooterBase';
import HeroBillboardScroll from '@/components/sections/hero/HeroBillboardScroll';
import NavbarLayoutFloatingInline from '@/components/navbar/NavbarLayoutFloatingInline';
import ProductCardTwo from '@/components/sections/product/ProductCardTwo';
import SocialProofOne from '@/components/sections/socialProof/SocialProofOne';
import TestimonialCardThirteen from '@/components/sections/testimonial/TestimonialCardThirteen';
import { Award, Flame, HelpCircle, Leaf, Sparkles, Star, ThumbsUp, Trophy } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
        defaultButtonVariant="elastic-effect"
        defaultTextAnimation="entrance-slide"
        borderRadius="soft"
        contentWidth="medium"
        sizing="medium"
        background="aurora"
        cardStyle="gradient-bordered"
        primaryButtonStyle="double-inset"
        secondaryButtonStyle="radial-glow"
        headingFontWeight="normal"
    >
      <ReactLenis root>
  <div id="nav" data-section="nav">
      <NavbarLayoutFloatingInline
      navItems={[
        {
          name: "Home",          id: "#hero"},
        {
          name: "Menu",          id: "#products"},
        {
          name: "About Us",          id: "#about"},
        {
          name: "Testimonials",          id: "#testimonials"},
        {
          name: "FAQ",          id: "#faq"},
        {
          name: "Contact",          id: "#contact"},
      ]}
      logoSrc="http://img.b2bpic.net/free-photo/eat-eating-ordering-food-concept_53876-120787.jpg"
      logoAlt="Challenge Burger Sheraton Logo"
      brandName="Challenge Burger Sheraton"
      button={{
        text: "Order Now",        href: "#contact"}}
    />
  </div>

  <div id="hero" data-section="hero">
      <HeroBillboardScroll
      background={{
        variant: "sparkles-gradient"}}
      title="Taste the Legend: Challenge Burger Sheraton"
      description="Indulge in our award-winning burgers, crafted with the freshest ingredients and a passion for flavor. Experience the ultimate burger adventure!"
      tag="Voted #1 Burger!"
      tagIcon={Star}
      tagAnimation="slide-up"
      buttons={[
        {
          text: "Explore Menu",          href: "#products"},
        {
          text: "Order Now",          href: "#contact"},
      ]}
      buttonAnimation="slide-up"
      imageSrc="http://img.b2bpic.net/free-photo/closeup-shot-tasty-looking-burger-isolated_181624-46828.jpg"
      imageAlt="Gourmet burger with fresh ingredients"
    />
  </div>

  <div id="about" data-section="about">
      <AboutMetric
      useInvertedBackground={true}
      title="Crafting Perfection, One Burger at a Time"
      metrics={[
        {
          icon: Award,
          label: "Years Serving",          value: "10+"},
        {
          icon: Flame,
          label: "Expert Chefs",          value: "5"},
        {
          icon: Leaf,
          label: "Fresh Ingredients",          value: "100%"},
      ]}
      metricsAnimation="slide-up"
    />
  </div>

  <div id="features" data-section="features">
      <FeatureCardTwentyOne
      useInvertedBackground={false}
      title="Signature Flavors & Daily Specials"
      description="Discover our unique burger creations and don't miss out on our exciting daily specials and exclusive combos. Always something new to savor!"
      tag="Our Bestsellers"
      tagIcon={Sparkles}
      tagAnimation="opacity"
      buttons={[
        {
          text: "View Full Menu",          href: "#products"},
      ]}
      buttonAnimation="opacity"
      accordionItems={[
        {
          id: "1",          title: "The Classic Challenge",          content: "Our traditional beef patty, melted cheddar, crisp lettuce, fresh tomatoes, pickles, and our signature sauce on a toasted brioche bun. A timeless favorite."},
        {
          id: "2",          title: "Spicy Inferno Chicken",          content: "Crispy fried chicken breast, fiery pepper jack cheese, jalapeños, and a smoky chipotle aioli for an exhilarating kick."},
        {
          id: "3",          title: "Sheraton Veggie Delight",          content: "A hearty plant-based patty, grilled halloumi, roasted bell peppers, fresh arugula, and balsamic glaze. Deliciously satisfying."},
      ]}
      imageSrc="http://img.b2bpic.net/free-photo/burger-with-beef-steak-salad-inside-served-with-jar-mojito_114579-2310.jpg"
      imageAlt="Signature burger with a rich background"
      mediaAnimation="slide-up"
      mediaPosition="right"
    />
  </div>

  <div id="products" data-section="products">
      <ProductCardTwo
      animationType="slide-up"
      textboxLayout="default"
      gridVariant="two-columns-alternating-heights"
      useInvertedBackground={true}
      products={[
        {
          id: "burger-1",          brand: "Challenge Burger",          name: "The Classic Cheeseburger",          price: "EGP 520",          rating: 5,
          reviewCount: "245",          imageSrc: "http://img.b2bpic.net/free-photo/front-view-delicious-cheeseburger-with-meat-tomatoes-green-salad-dark-background-fast-food-meal-snack-french-fries-dinner-dish-sandwich_140725-156237.jpg",          imageAlt: "Classic Cheeseburger"},
        {
          id: "burger-2",          brand: "Challenge Burger",          name: "Spicy Chicken Burger",          price: "EGP 540",          rating: 4,
          reviewCount: "180",          imageSrc: "http://img.b2bpic.net/free-photo/close-up-classic-burgers-with-ketchup_23-2148290707.jpg",          imageAlt: "Spicy Chicken Burger"},
        {
          id: "burger-3",          brand: "Challenge Burger",          name: "Garden Veggie Burger",          price: "EGP 470",          rating: 4,
          reviewCount: "92",          imageSrc: "http://img.b2bpic.net/free-photo/delicious-burgers-grey-table_23-2148374947.jpg",          imageAlt: "Garden Veggie Burger"},
        {
          id: "burger-4",          brand: "Challenge Burger",          name: "Double Patty Beast",          price: "EGP 640",          rating: 5,
          reviewCount: "310",          imageSrc: "http://img.b2bpic.net/free-photo/man-holds-burger-with-hands-potato-chip_1150-1863.jpg",          imageAlt: "Double Patty Beast Burger"},
        {
          id: "side-1",          brand: "Challenge Burger",          name: "Golden Crispy Fries",          price: "EGP 180",          rating: 5,
          reviewCount: "400+",          imageSrc: "http://img.b2bpic.net/free-photo/delicious-food-dinner-party_23-2151043647.jpg",          imageAlt: "Golden Crispy Fries"},
        {
          id: "side-2",          brand: "Challenge Burger",          name: "Crunchy Onion Rings",          price: "EGP 210",          rating: 4,
          reviewCount: "150",          imageSrc: "http://img.b2bpic.net/free-photo/salted-circle-pretzels-orange-bowl_114579-63033.jpg",          imageAlt: "Crunchy Onion Rings"},
      ]}
      title="Our Mouth-Watering Menu"
      description="Explore our diverse selection of burgers, sides, and beverages. There’s a perfect bite for everyone!"
      tag="Must Try"
      tagIcon={Award}
      tagAnimation="blur-reveal"
      buttonAnimation="opacity"
    />
  </div>

  <div id="testimonials" data-section="testimonials">
      <TestimonialCardThirteen
      animationType="slide-up"
      textboxLayout="default"
      useInvertedBackground={false}
      testimonials={[
        {
          id: "1",          name: "Sarah Johnson",          handle: "@burger_lover",          testimonial: "The best burger I've had in years! The quality is unmatched and every bite is pure joy. Highly recommend the Sheraton Special!",          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/business-woman-with-salad_1303-3887.jpg",          imageAlt: "Sarah Johnson, satisfied customer"},
        {
          id: "2",          name: "Michael Chen",          handle: "@food_explorer",          testimonial: "Fantastic flavors and perfectly cooked patties. Their spicy chicken burger is a game-changer. My new favorite burger spot!",          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/cheerful-man-sitting-down-with-food-his-hands_23-2148322100.jpg",          imageAlt: "Michael Chen, food explorer"},
        {
          id: "3",          name: "Emily Rodriguez",          handle: "@dining_out",          testimonial: "Amazing experience from start to finish. Friendly staff, cozy ambiance, and burgers that will make your taste buds sing. A must-visit!",          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/view-delicious-ready-eat-meal_23-2151187748.jpg",          imageAlt: "Emily Rodriguez, dining enthusiast"},
        {
          id: "4",          name: "David Kim",          handle: "@local_eats",          testimonial: "Challenge Burger never disappoints! Fresh ingredients, generous portions, and a flavor profile that keeps me coming back. Five stars!",          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/son-father-eating-kitchen_23-2148500764.jpg",          imageAlt: "David Kim, local foodie"},
        {
          id: "5",          name: "Jessica Lee",          handle: "@gourmet_gal",          testimonial: "Truly a gourmet burger experience. The attention to detail in each burger is evident. The onion rings are also divine!",          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/male-chef-cook-wearing-black-uniform-cook-hat-holding-smartphone-clenching-fist-looking-excited-happy-standing-green-background_141793-54300.jpg",          imageAlt: "Jessica Lee, gourmet critic"},
        {
          id: "6",          name: "Robert Davis",          handle: "@burger_addict",          testimonial: "I'm a self-proclaimed burger addict and Challenge Burger delivers every time. Consistent quality and incredible taste. You won't regret it!",          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/close-up-food-lover-taking-pictures-meal_23-2149286406.jpg",          imageAlt: "Robert Davis, burger enthusiast"},
      ]}
      showRating={true}
      title="What Our Customers Say"
      description="Hear from our delighted guests about their unforgettable dining experiences at Challenge Burger Sheraton."
      tag="Loved by Many"
      tagIcon={ThumbsUp}
      tagAnimation="slide-up"
      buttonAnimation="opacity"
    />
  </div>

  <div id="social-proof" data-section="social-proof">
      <SocialProofOne
      textboxLayout="default"
      useInvertedBackground={true}
      names={[
        "Local Eats Magazine",        "Foodie Favorites Weekly",        "Chef's Choice Awards",        "City Best Dining Guide",        "Gourmet Burger Society",        "Sheraton Food Bloggers",        "The Culinary Times"
      ]}
      title="Recognized for Excellence"
      description="Proudly featured in and trusted by leading culinary critics and local communities."
      tag="Awards & Mentions"
      tagIcon={Trophy}
      tagAnimation="opacity"
      buttonAnimation="opacity"
      showCard={false}
    />
  </div>

  <div id="faq" data-section="faq">
      <FaqDouble
      textboxLayout="default"
      useInvertedBackground={false}
      faqs={[
        {
          id: "faq-1",          title: "Do you offer vegetarian or vegan options?",          content: "Yes, we have a delicious Garden Veggie Burger that can be customized to be vegan-friendly. Just let our staff know your preferences!"},
        {
          id: "faq-2",          title: "Can I customize my burger order?",          content: "Absolutely! We encourage customization. You can add or remove toppings, change cheeses, and even swap your bun. Speak to our team for all options."},
        {
          id: "faq-3",          title: "Do you offer delivery or takeout?",          content: "Yes, we offer both! You can order directly through our website for pickup, or find us on major food delivery platforms for delivery to your door."},
        {
          id: "faq-4",          title: "Are your ingredients locally sourced?",          content: "We pride ourselves on using fresh, high-quality ingredients, with a strong preference for local suppliers whenever possible to support our community."},
        {
          id: "faq-5",          title: "Do you have gluten-free options?",          content: "We offer gluten-free buns as an alternative for any of our burgers. Please inform your server about any dietary restrictions."},
      ]}
      title="Frequently Asked Questions"
      description="Find quick answers to common questions about our restaurant, menu, and services."
      tag="Got Questions?"
      tagIcon={HelpCircle}
      tagAnimation="opacity"
      buttonAnimation="opacity"
      faqsAnimation="slide-up"
    />
  </div>

  <div id="contact" data-section="contact">
      <ContactSplitForm
      useInvertedBackground={true}
      title="Get in Touch or Book a Table"
      description="Have a question, feedback, or want to make a reservation? Reach out to us using the form below, or visit us at our Sheraton location: https://maps.app.goo.gl/vveKQLzZNcwytDF6. We'll get back to you shortly!"
      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 or Reservation Details",        rows: 4,
        required: true,
      }}
      imageSrc="http://img.b2bpic.net/free-photo/unfocused-background-with-wooden-furniture_1203-1690.jpg"
      imageAlt="Cozy restaurant interior with seating"
      mediaAnimation="slide-up"
      mediaPosition="left"
      buttonText="Send Message"
    />
  </div>

  <div id="footer" data-section="footer">
      <FooterBase
      columns={[
        {
          title: "Menu",          items: [
            {
              label: "Burgers",              href: "#products"},
            {
              label: "Sides",              href: "#products"},
            {
              label: "Drinks",              href: "#"},
            {
              label: "Specials",              href: "#features"},
          ],
        },
        {
          title: "About Us",          items: [
            {
              label: "Our Story",              href: "#about"},
            {
              label: "Testimonials",              href: "#testimonials"},
            {
              label: "Awards",              href: "#social-proof"},
          ],
        },
        {
          title: "Help",          items: [
            {
              label: "FAQ",              href: "#faq"},
            {
              label: "Contact",              href: "#contact"},
            {
              label: "Privacy Policy",              href: "#"},
            {
              label: "Terms of Service",              href: "#"},
          ],
        },
      ]}
      logoSrc="http://img.b2bpic.net/free-photo/eat-eating-ordering-food-concept_53876-120787.jpg"
      logoAlt="Challenge Burger Sheraton Logo"
      logoText="Challenge Burger Sheraton"
      copyrightText="© 2024 Challenge Burger Sheraton. All rights reserved."
    />
  </div>
      </ReactLenis>
    </ThemeProvider>
  );
}
