"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import ContactCenter from '@/components/sections/contact/ContactCenter';
import FaqSplitMedia from '@/components/sections/faq/FaqSplitMedia';
import FeatureCardOne from '@/components/sections/feature/FeatureCardOne';
import FooterBaseCard from '@/components/sections/footer/FooterBaseCard';
import HeroCarouselLogo from '@/components/sections/hero/heroCarouselLogo/HeroCarouselLogo';
import MetricCardThree from '@/components/sections/metrics/MetricCardThree';
import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered';
import ProductCardTwo from '@/components/sections/product/ProductCardTwo';
import TestimonialCardOne from '@/components/sections/testimonial/TestimonialCardOne';
import TextSplitAbout from '@/components/sections/about/TextSplitAbout';
import { MapPin, Star, Timer, Users } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
        defaultButtonVariant="text-shift"
        defaultTextAnimation="reveal-blur"
        borderRadius="soft"
        contentWidth="small"
        sizing="large"
        background="noise"
        cardStyle="glass-elevated"
        primaryButtonStyle="shadow"
        secondaryButtonStyle="solid"
        headingFontWeight="semibold"
    >
      <ReactLenis root>
  <div id="nav" data-section="nav">
      <NavbarStyleCentered
      navItems={[
        {
          name: "Home",
          id: "#hero",
        },
        {
          name: "About Us",
          id: "#about",
        },
        {
          name: "Menu",
          id: "#menu",
        },
        {
          name: "Reviews",
          id: "#testimonials",
        },
        {
          name: "FAQ",
          id: "#faq",
        },
        {
          name: "Contact",
          id: "#contact",
        },
      ]}
      button={{
        text: "Order Now",
        href: "#menu",
      }}
      logoSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=jzdvpq"
      logoAlt="Big Banana Logo"
      brandName="Big Banana"
    />
  </div>

  <div id="hero" data-section="hero">
      <HeroCarouselLogo
      logoText="Big Banana"
      description="Antigua's Favorite Pizza & Local Flavors. Experience the taste of the Caribbean with our delicious pizzas, fresh seafood, and signature cocktails."
      buttons={[
        {
          text: "View Our Menu",
          href: "#menu",
        },
        {
          text: "Order Online",
          href: "#contact",
        },
      ]}
      slides={[
        {
          imageSrc: "http://img.b2bpic.net/free-photo/vegetarian-pizza_1388-636.jpg",
          imageAlt: "Delicious Pepperoni Pizza",
        },
        {
          imageSrc: "http://img.b2bpic.net/free-photo/view-tasty-food-composition_23-2148601667.jpg",
          imageAlt: "Gourmet Meat Lovers Pizza",
        },
        {
          imageSrc: "http://img.b2bpic.net/free-photo/top-view-female-hands-holding-raw-vegan-mushroom-pizza-served-wooden-board_181624-53528.jpg",
          imageAlt: "Fresh Veggie Pizza",
        },
        {
          imageSrc: "http://img.b2bpic.net/free-photo/woman-eating-food-restaurant_23-2150520105.jpg",
          imageAlt: "Inviting Restaurant Interior",
        },
        {
          imageSrc: "http://img.b2bpic.net/free-photo/woman-kneading-dough-table_23-2148613507.jpg",
          imageAlt: "Chef preparing pizza dough",
        },
        {
          imageSrc: "http://img.b2bpic.net/free-photo/abstract-blur-defocused-restaurant-with-bar-coffee-shop-cafe_1203-9471.jpg",
          imageAlt: "Happy customers dining",
        },
      ]}
    />
  </div>

  <div id="about" data-section="about">
      <TextSplitAbout
      useInvertedBackground={false}
      title="Our Story & Island Charm"
      description={[
        "Nestled in the heart of Redcliffe Street, Big Banana has been a culinary landmark in Antigua for years. We pride ourselves on crafting the best pizzas on the island, using fresh, local ingredients and time-honored recipes.",
        "Beyond our acclaimed pizzas, our menu features a delightful array of signature pastas, fresh seafood, and refreshing tropical drinks, all served in our historic and inviting restaurant. Whether you're dining in, taking away, or enjoying delivery, we promise a memorable taste of Antigua.",
      ]}
      buttons={[
        {
          text: "Learn More",
          href: "#",
        },
      ]}
    />
  </div>

  <div id="menu" data-section="menu">
      <ProductCardTwo
      animationType="slide-up"
      textboxLayout="default"
      gridVariant="three-columns-all-equal-width"
      useInvertedBackground={false}
      products={[
        {
          id: "p1",
          brand: "Classic Pizza",
          name: "Pepperoni Pizza",
          price: "$22.00",
          rating: 4.5,
          reviewCount: "120 reviews",
          imageSrc: "http://img.b2bpic.net/free-photo/pizza-restaurant-table_7939-2643.jpg",
          imageAlt: "Pepperoni Pizza",
        },
        {
          id: "p2",
          brand: "Chef's Special",
          name: "Meat Lovers Pizza",
          price: "$28.00",
          rating: 4.8,
          reviewCount: "95 reviews",
          imageSrc: "http://img.b2bpic.net/free-photo/pizza-inside-packaging-green-table_58702-1318.jpg",
          imageAlt: "Meat Lovers Pizza",
        },
        {
          id: "p3",
          brand: "Garden Fresh",
          name: "Veggie Pizza",
          price: "$24.00",
          rating: 4.3,
          reviewCount: "80 reviews",
          imageSrc: "http://img.b2bpic.net/free-photo/delicious-pizza-served-wooden-table_23-2147926042.jpg",
          imageAlt: "Veggie Pizza",
        },
        {
          id: "p4",
          brand: "Signature Pasta",
          name: "Chicken Pasta",
          price: "$20.00",
          rating: 4.2,
          reviewCount: "60 reviews",
          imageSrc: "http://img.b2bpic.net/free-photo/top-view-raw-pasta-plate-with-tomatoes-garlic-bunch-mint-beige-napkin_141793-18529.jpg",
          imageAlt: "Signature Chicken Pasta",
        },
        {
          id: "p5",
          brand: "Antigua Catch",
          name: "Grilled Mahi Mahi",
          price: "$30.00",
          rating: 4.7,
          reviewCount: "70 reviews",
          imageSrc: "http://img.b2bpic.net/free-photo/beautiful-fish-undersea_23-2150737637.jpg",
          imageAlt: "Grilled Mahi Mahi",
        },
        {
          id: "p6",
          brand: "Tropical Drink",
          name: "Banana Colada",
          price: "$10.00",
          rating: 4.9,
          reviewCount: "150 reviews",
          imageSrc: "http://img.b2bpic.net/free-photo/delicious-pina-colada-cocktail_23-2150143197.jpg",
          imageAlt: "Refreshing Banana Colada",
        },
      ]}
      title="Our Delicious Menu"
      description="From our famous pizzas to local specialties, there's something for everyone to enjoy."
    />
  </div>

  <div id="features" data-section="features">
      <FeatureCardOne
      animationType="slide-up"
      textboxLayout="default"
      gridVariant="three-columns-all-equal-width"
      useInvertedBackground={false}
      features={[
        {
          title: "Delightful Dine-in",
          description: "Enjoy our cozy and historic interior or the charming outdoor seating area with views of Redcliffe Quay shops. Perfect for any occasion.",
          imageSrc: "http://img.b2bpic.net/free-photo/close-up-delicious-pizza_23-2150852145.jpg",
          imageAlt: "People dining in a restaurant",
        },
        {
          title: "Quick Takeaway",
          description: "In a hurry? Call ahead or stop by for quick and convenient takeaway service. Your delicious meal will be ready when you are.",
          imageSrc: "http://img.b2bpic.net/free-photo/delivery-person-getting-parcel-out-delivery_23-2149371920.jpg",
          imageAlt: "Takeaway pizza box",
        },
        {
          title: "Reliable Delivery",
          description: "Craving Big Banana at home? We offer reliable delivery service within Antigua. Enjoy your favorites delivered right to your door.",
          imageSrc: "http://img.b2bpic.net/free-photo/close-up-opened-pizza-box-motorcycle_23-2148247850.jpg",
          imageAlt: "Food delivery service",
        },
      ]}
      title="Experience Big Banana Your Way"
      description="Choose how you want to enjoy Antigua's best pizza and local dishes."
    />
  </div>

  <div id="testimonials" data-section="testimonials">
      <TestimonialCardOne
      animationType="slide-up"
      textboxLayout="default"
      gridVariant="three-columns-all-equal-width"
      useInvertedBackground={false}
      testimonials={[
        {
          id: "1",
          name: "Andy Michniewicz",
          role: "Local Guide",
          company: "Antigua Explorer",
          rating: 4,
          imageSrc: "http://img.b2bpic.net/free-photo/serious-african-american-guy-talking-cell-looking-tablet-screen_74855-10371.jpg",
          imageAlt: "Andy Michniewicz",
        },
        {
          id: "2",
          name: "Dan Lane",
          role: "Local Guide",
          company: "Travel Blogger",
          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/portrait-smiling-young-woman-colorful-t-shirt_23-2148066869.jpg",
          imageAlt: "Dan Lane",
        },
        {
          id: "3",
          name: "T.S.H",
          role: "Local Guide",
          company: "Food Critic",
          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/young-businessman-working-from-his-office-concept-hard-work_181624-33428.jpg",
          imageAlt: "T.S.H",
        },
        {
          id: "4",
          name: "Sarah Johnson",
          role: "Happy Customer",
          company: "Vacationer",
          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/close-up-good-looking-smiling-friendly-female-trainee-ready-tackle-assignments-smiling-broadly-feeling-lucky-day-work-self-assured-encouraged-achieve-success-goal-white-wall_176420-35567.jpg",
          imageAlt: "Sarah Johnson",
        },
        {
          id: "5",
          name: "Michael Chen",
          role: "Frequent Diner",
          company: "Antigua Resident",
          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-smiley-woman-taking-selfie_23-2149250086.jpg",
          imageAlt: "Michael Chen",
        },
        {
          id: "6",
          name: "Emily Rodriguez",
          role: "Pizza Enthusiast",
          company: "Foodie",
          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/woman-exclaims-gladfully-reacts-something-amazing-wears-headband-denim-shirt-feels-very-glad-isolated-pink-people-joy_273609-55967.jpg",
          imageAlt: "Emily Rodriguez",
        },
      ]}
      title="What Our Customers Say"
      description="Don't just take our word for it – hear from our happy diners!"
    />
  </div>

  <div id="faq" data-section="faq">
      <FaqSplitMedia
      textboxLayout="default"
      useInvertedBackground={false}
      faqs={[
        {
          id: "faq1",
          title: "What are your opening hours?",
          content: "We are open daily from 11:00 AM to 9:30 PM. Please check our social media for any holiday hours or special closures.",
        },
        {
          id: "faq2",
          title: "Do you offer vegetarian or vegan options?",
          content: "Yes, we have a variety of vegetarian pizzas and pasta dishes. For vegan options, please inform our staff, and we'll be happy to customize your order.",
        },
        {
          id: "faq3",
          title: "Can I make a reservation?",
          content: "We primarily operate on a walk-in basis, but for large groups (6+ people), we recommend calling ahead to ensure we can accommodate you comfortably.",
        },
        {
          id: "faq4",
          title: "What is the average price range?",
          content: "Our menu items typically range from $20-$40 per person, offering great value for high-quality dishes and generous portions.",
        },
      ]}
      imageSrc="http://img.b2bpic.net/free-photo/miami-bayside-landscape_23-2151636395.jpg"
      imageAlt="Exterior of Big Banana restaurant"
      mediaAnimation="opacity"
      title="Frequently Asked Questions"
      description="Find quick answers to common questions about Big Banana."
      faqsAnimation="slide-up"
    />
  </div>

  <div id="metrics" data-section="metrics">
      <MetricCardThree
      animationType="slide-up"
      textboxLayout="default"
      useInvertedBackground={false}
      metrics={[
        {
          id: "m1",
          icon: Star,
          title: "Average Rating",
          value: "4.1 Stars",
        },
        {
          id: "m2",
          icon: Users,
          title: "Happy Customers",
          value: "1000+",
        },
        {
          id: "m3",
          icon: Timer,
          title: "Years Serving Antigua",
          value: "15+",
        },
      ]}
      title="Big Banana by the Numbers"
      description="Proudly serving delicious food and happy memories in Antigua for over a decade."
    />
  </div>

  <div id="contact" data-section="contact">
      <ContactCenter
      useInvertedBackground={false}
      background={{
        variant: "plain",
      }}
      tag="Get in Touch"
      title="Visit Us or Order Now"
      description="Located on Redcliffe Street in St John's, Antigua. Give us a call or stop by for a fantastic dining experience. We also offer takeaway and delivery!"
      tagIcon={MapPin}
      inputPlaceholder="Your Inquiry..."
      buttonText="Call Us Now"
    />
  </div>

  <div id="footer" data-section="footer">
      <FooterBaseCard
      logoText="Big Banana"
      columns={[
        {
          title: "Company",
          items: [
            {
              label: "Our Story",
              href: "#about",
            },
            {
              label: "Reviews",
              href: "#testimonials",
            },
            {
              label: "Careers",
              href: "#",
            },
          ],
        },
        {
          title: "Menu",
          items: [
            {
              label: "Pizzas",
              href: "#menu",
            },
            {
              label: "Pastas",
              href: "#menu",
            },
            {
              label: "Seafood",
              href: "#menu",
            },
            {
              label: "Drinks",
              href: "#menu",
            },
          ],
        },
        {
          title: "Support",
          items: [
            {
              label: "FAQs",
              href: "#faq",
            },
            {
              label: "Contact Us",
              href: "#contact",
            },
            {
              label: "Privacy Policy",
              href: "#",
            },
          ],
        },
      ]}
      copyrightText="© 2024 Big Banana. All rights reserved."
    />
  </div>
      </ReactLenis>
    </ThemeProvider>
  );
}
