"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import ContactSplitForm from '@/components/sections/contact/ContactSplitForm';
import FaqSplitMedia from '@/components/sections/faq/FaqSplitMedia';
import FeatureCardOne from '@/components/sections/feature/FeatureCardOne';
import FooterMedia from '@/components/sections/footer/FooterMedia';
import HeroBillboard from '@/components/sections/hero/HeroBillboard';
import MetricSplitMediaAbout from '@/components/sections/about/MetricSplitMediaAbout';
import NavbarStyleFullscreen from '@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen';
import ProductCardTwo from '@/components/sections/product/ProductCardTwo';
import TestimonialCardTwo from '@/components/sections/testimonial/TestimonialCardTwo';

export default function LandingPage() {
  return (
    <ThemeProvider
        defaultButtonVariant="elastic-effect"
        defaultTextAnimation="background-highlight"
        borderRadius="pill"
        contentWidth="medium"
        sizing="medium"
        background="fluid"
        cardStyle="gradient-mesh"
        primaryButtonStyle="gradient"
        secondaryButtonStyle="solid"
        headingFontWeight="extrabold"
    >
      <ReactLenis root>
  <div id="nav" data-section="nav">
      <NavbarStyleFullscreen
      navItems={[
        {
          name: "Home",          id: "#home"},
        {
          name: "About Us",          id: "#about"},
        {
          name: "Menu",          id: "#menu"},
        {
          name: "Testimonials",          id: "#testimonials"},
        {
          name: "FAQ",          id: "#faq"},
        {
          name: "Contact",          id: "#contact"},
      ]}
      logoSrc="http://img.b2bpic.net/free-vector/barbecue-grill_24908-55703.jpg"
      logoAlt="Big Fellas Grill logo"
      brandName="Big Fellas Grill"
    />
  </div>

  <div id="home" data-section="home">
      <HeroBillboard
      background={{
        variant: "plain"}}
      title="Big Fellas Grill"
      description="Experience the best of hearty American grilling. From perfectly seared steaks to smoky BBQ ribs, every dish is crafted for exceptional flavor and satisfaction. Join us for a memorable dining experience."
      buttons={[
        {
          text: "View Our Menu",          href: "#menu"},
        {
          text: "Make a Reservation",          href: "#contact"},
      ]}
      imageSrc="https://images.unsplash.com/photo-1579737151049-5567b4c4f039?auto=format&fit=crop&q=80&w=1920&h=1080&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D"
      imageAlt="Delicious grilled steak on a platter"
      mediaAnimation="opacity"
      avatars={[
        {
          src: "http://img.b2bpic.net/free-photo/medium-shot-smiley-man-holding-burger_23-2148705543.jpg",          alt: "Smiling customer"},
        {
          src: "http://img.b2bpic.net/free-photo/ecstatic-caucasian-girl-sitting-cafe-eating-salad-blithesome-woman-enjoying-fresh-vegetables_197531-17191.jpg",          alt: "Happy woman dining"},
        {
          src: "http://img.b2bpic.net/free-photo/medium-shot-man-eating-indoors_23-2148972802.jpg",          alt: "Satisfied man"},
        {
          src: "http://img.b2bpic.net/free-photo/medium-shot-smiley-friends-sitting-table_23-2149655605.jpg",          alt: "Couple enjoying dinner"},
        {
          src: "http://img.b2bpic.net/free-photo/medium-shot-smiley-man-holding-food-plate_23-2149631670.jpg",          alt: "Confident chef"},
      ]}
      avatarText="Join 1000+ happy diners!"
      marqueeItems={[
        {
          type: "text",          text: "Prime Steaks"},
        {
          type: "text",          text: "Smoky Ribs"},
        {
          type: "text",          text: "Gourmet Burgers"},
        {
          type: "text",          text: "Fresh Salads"},
        {
          type: "text",          text: "Craft Beers"},
      ]}
    />
  </div>

  <div id="about" data-section="about">
      <MetricSplitMediaAbout
      useInvertedBackground={false}
      title="Our Story & Passion for Grilling"
      description="At Big Fellas Grill, we believe in the timeless art of grilling. Our journey began with a simple passion: to serve robust, flavorful dishes made with the finest ingredients. Every cut of meat is hand-selected and prepared with expertise, ensuring a dining experience that's both comforting and extraordinary."
      metrics={[
        {
          value: "20+",          title: "Years Grilling"},
        {
          value: "100%",          title: "Satisfaction"},
        {
          value: "Top",          title: "Quality Ingredients"},
      ]}
      imageSrc="http://img.b2bpic.net/free-photo/man-cutting-steak-round-shape-wearing-black-gloves_140725-8334.jpg"
      imageAlt="Chef grilling meat on a hot grill"
      mediaAnimation="slide-up"
      metricsAnimation="opacity"
    />
  </div>

  <div id="features" data-section="features">
      <FeatureCardOne
      animationType="slide-up"
      textboxLayout="default"
      gridVariant="three-columns-all-equal-width"
      useInvertedBackground={true}
      carouselMode="buttons"
      features={[
        {
          title: "Smoky BBQ Ribs",          description: "Slow-smoked to perfection, falling off the bone, and smothered in our homemade tangy BBQ sauce.",          imageSrc: "http://img.b2bpic.net/free-photo/rib-barbecue_74190-2771.jpg",          imageAlt: "Plate of smoky BBQ ribs"},
        {
          title: "The Big Fella Burger",          description: "A juicy, handcrafted patty topped with melted cheese, crispy bacon, and our special Big Fellas sauce.",          imageSrc: "http://img.b2bpic.net/free-photo/top-view-cheesy-meat-burger-with-seasonings-dark-floor-bun-sandwich-fast-food_140725-82157.jpg",          imageAlt: "Gourmet burger with cheese and bacon"},
        {
          title: "Perfectly Seared Steak",          description: "Premium cuts, seasoned and grilled to your exact preference, delivering a tender and unforgettable bite.",          imageSrc: "http://img.b2bpic.net/free-photo/top-view-baked-chicken-potatoes-pan_23-2148682774.jpg",          imageAlt: "Perfectly seared steak with herbs"},
      ]}
      title="Our Signature Creations"
      description="Discover the dishes that make Big Fellas Grill a local favorite. Each item is a testament to our dedication to flavor and culinary excellence."
    />
  </div>

  <div id="menu" data-section="menu">
      <ProductCardTwo
      animationType="slide-up"
      textboxLayout="default"
      gridVariant="four-items-2x2-equal-grid"
      useInvertedBackground={false}
      carouselMode="buttons"
      products={[
        {
          id: "steak",          brand: "Big Fellas Cuts",          name: "Signature Ribeye Steak",          price: "$32.99",          rating: 5,
          reviewCount: "250+",          imageSrc: "http://img.b2bpic.net/free-photo/gourmet-steak-dinner-with-mashed-potatoes-vegetables_84443-82580.jpg",          imageAlt: "Signature Ribeye Steak"},
        {
          id: "burger",          brand: "The Classic",          name: "The Big Fella Burger",          price: "$16.99",          rating: 4.8,
          reviewCount: "300+",          imageSrc: "http://img.b2bpic.net/free-photo/grilled-beef-burger-with-fresh-tomato-cheese-generated-by-ai_188544-21432.jpg",          imageAlt: "The Big Fella Burger"},
        {
          id: "ribs",          brand: "BBQ Masterpiece",          name: "Smoky BBQ Ribs",          price: "$28.99",          rating: 4.9,
          reviewCount: "280+",          imageSrc: "http://img.b2bpic.net/free-photo/grilled-rib-pork-with-barbecue-sauce-vegetable-frech-fries-wooden-cutting-board_1339-7636.jpg",          imageAlt: "Smoky BBQ Ribs"},
        {
          id: "chicken",          brand: "Grilled Delights",          name: "Herb Grilled Chicken",          price: "$19.99",          rating: 4.7,
          reviewCount: "150+",          imageSrc: "http://img.b2bpic.net/free-photo/top-view-table-full-various-types-food_23-2149139493.jpg",          imageAlt: "Herb Grilled Chicken"},
        {
          id: "fish",          brand: "Ocean Catch",          name: "Seared Salmon Fillet",          price: "$24.99",          rating: 4.6,
          reviewCount: "120+",          imageSrc: "http://img.b2bpic.net/free-photo/seadfood-salad-with-mussels-fried-shrimps-vegetables_140725-273.jpg",          imageAlt: "Seared Salmon Fillet"},
        {
          id: "salad",          brand: "Fresh Greens",          name: "Big Fellas Garden Salad",          price: "$12.99",          rating: 4.5,
          reviewCount: "100+",          imageSrc: "http://img.b2bpic.net/free-photo/half-shot-delicious-vegan-salad-plate-with-various-vegetables-dark-background_179666-47217.jpg",          imageAlt: "Big Fellas Garden Salad"},
      ]}
      title="Explore Our Full Menu"
      description="From prime steaks to hearty burgers and fresh salads, our menu offers something delicious for everyone."
    />
  </div>

  <div id="testimonials" data-section="testimonials">
      <TestimonialCardTwo
      textboxLayout="default"
      useInvertedBackground={true}
      carouselMode="buttons"
      uniformGridCustomHeightClasses="min-h-none"
      animationType="slide-up"
      testimonials={[
        {
          id: "1",          name: "Sarah J.",          role: "Local Foodie",          testimonial: "The ribeye was cooked to perfection, incredibly tender and juicy. Big Fellas Grill never disappoints! A must-visit for any steak lover.",          imageSrc: "http://img.b2bpic.net/free-photo/front-view-smiley-man-sitting-outdoors_23-2150168078.jpg",          imageAlt: "Sarah J."},
        {
          id: "2",          name: "Mark D.",          role: "Regular Patron",          testimonial: "Their Big Fella Burger is legendary! Hands down the best burger in town. The atmosphere is great too.",          imageSrc: "http://img.b2bpic.net/free-photo/cute-young-woman-lifestyle-blogger-cooking-sitting-kitchen-with-vegetables-chopping-board_1258-204708.jpg",          imageAlt: "Mark D."},
        {
          id: "3",          name: "Emily R.",          role: "Family Diner",          testimonial: "We brought the whole family, and everyone found something they loved. The BBQ ribs were a huge hit with the kids!",          imageSrc: "http://img.b2bpic.net/free-photo/front-view-young-female-dark-jacket-pink-background_179666-14660.jpg",          imageAlt: "Emily R."},
        {
          id: "4",          name: "David L.",          role: "Business Traveler",          testimonial: "Excellent service and a fantastic meal. The grilled chicken was surprisingly flavorful and cooked just right. Highly recommend!",          imageSrc: "http://img.b2bpic.net/free-photo/couple-enjoying-food-restaurant_23-2149269179.jpg",          imageAlt: "David L."},
        {
          id: "5",          name: "Jessica M.",          role: "Casual Diner",          testimonial: "Came here for a quick dinner and was thoroughly impressed. The salmon was fresh and perfectly seared. Will definitely be back!",          imageSrc: "http://img.b2bpic.net/free-photo/young-male-barista-holding-coffee-cup-looking-surprised-standing-black-apron-against-yellow-b_1258-155558.jpg",          imageAlt: "Jessica M."},
      ]}
      title="What Our Guests Say"
      description="Don't just take our word for it – hear from our happy customers who love the Big Fellas Grill experience."
    />
  </div>

  <div id="faq" data-section="faq">
      <FaqSplitMedia
      textboxLayout="default"
      useInvertedBackground={false}
      faqs={[
        {
          id: "faq-1",          title: "Do you offer vegetarian options?",          content: "Yes, we have a variety of vegetarian-friendly dishes, including our Big Fellas Garden Salad and a delicious grilled vegetable platter. Please ask your server for today's specials."},
        {
          id: "faq-2",          title: "Can I make a reservation online?",          content: "Absolutely! You can easily make a reservation through our website's contact form, or by calling us directly during business hours. We recommend booking in advance for weekend evenings."},
        {
          id: "faq-3",          title: "Do you cater for events?",          content: "Big Fellas Grill offers catering services for various events, from corporate gatherings to private parties. Our team can help you customize a menu to suit your needs. Please contact us for more details."},
        {
          id: "faq-4",          title: "What are your opening hours?",          content: "We are open Tuesday to Sunday from 11:30 AM to 10:00 PM. We are closed on Mondays. Happy hour specials run daily from 4:00 PM to 6:00 PM."},
      ]}
      imageSrc="https://images.unsplash.com/photo-1517248135467-4c7edab717fa?auto=format&fit=crop&q=80&w=800&h=600&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D"
      imageAlt="Cozy restaurant interior"
      mediaAnimation="opacity"
      mediaPosition="left"
      title="Frequently Asked Questions"
      description="Have questions about our menu, reservations, or anything else? Find quick answers here."
      faqsAnimation="slide-up"
    />
  </div>

  <div id="contact" data-section="contact">
      <ContactSplitForm
      useInvertedBackground={true}
      title="Contact & Reservations"
      description="Ready to savor the flavor? Reach out to us for reservations, catering inquiries, or any questions you may have. We look forward to hearing from you!"
      inputs={[
        {
          name: "name",          type: "text",          placeholder: "Your Name",          required: true,
        },
        {
          name: "email",          type: "email",          placeholder: "Your Email",          required: true,
        },
        {
          name: "phone",          type: "tel",          placeholder: "Phone Number (Optional)"},
      ]}
      textarea={{
        name: "message",        placeholder: "Your Message or Reservation Details",        rows: 4,
      }}
      imageSrc="https://images.unsplash.com/photo-1555567228-580a656461a3?auto=format&fit=crop&q=80&w=800&h=600&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D"
      imageAlt="Restaurant exterior at night"
      mediaAnimation="opacity"
      mediaPosition="right"
      buttonText="Send Message"
    />
  </div>

  <div id="footer" data-section="footer">
      <FooterMedia
      imageSrc="http://img.b2bpic.net/free-photo/garnished-traditional-bavarian-spiral-sausages_23-2148167627.jpg"
      imageAlt="Abstract restaurant ambiance background"
      logoSrc="http://img.b2bpic.net/free-vector/barbecue-grill_24908-55703.jpg"
      logoAlt="Big Fellas Grill logo"
      logoText="Big Fellas Grill"
      columns={[
        {
          title: "Explore",          items: [
            {
              label: "Home",              href: "#home"},
            {
              label: "About Us",              href: "#about"},
            {
              label: "Our Menu",              href: "#menu"},
            {
              label: "Testimonials",              href: "#testimonials"},
          ],
        },
        {
          title: "Support",          items: [
            {
              label: "FAQ",              href: "#faq"},
            {
              label: "Contact Us",              href: "#contact"},
            {
              label: "Reservations",              href: "#contact"},
          ],
        },
        {
          title: "Legal",          items: [
            {
              label: "Privacy Policy",              href: "#"},
            {
              label: "Terms of Service",              href: "#"},
          ],
        },
      ]}
      copyrightText="© 2024 Big Fellas Grill. All rights reserved."
    />
  </div>
      </ReactLenis>
    </ThemeProvider>
  );
}
