"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import FeatureCardNineteen from '@/components/sections/feature/FeatureCardNineteen';
import FooterSimple from '@/components/sections/footer/FooterSimple';
import NavbarLayoutFloatingInline from '@/components/navbar/NavbarLayoutFloatingInline';
import PricingCardTwo from '@/components/sections/pricing/PricingCardTwo';

export default function LandingPage() {
  return (
    <ThemeProvider
        defaultButtonVariant="bounce-effect"
        defaultTextAnimation="entrance-slide"
        borderRadius="soft"
        contentWidth="compact"
        sizing="mediumLargeSizeMediumTitles"
        background="blurBottom"
        cardStyle="inset"
        primaryButtonStyle="gradient"
        secondaryButtonStyle="glass"
        headingFontWeight="bold"
    >
      <ReactLenis root>
  <div id="nav" data-section="nav">
      <NavbarLayoutFloatingInline
      navItems={[
        {
          name: "Home",
          id: "/",
        },
        {
          name: "Menu",
          id: "/menu",
        },
        {
          name: "Offers",
          id: "/offers",
        },
        {
          name: "Branches",
          id: "/branches",
        },
        {
          name: "About Us",
          id: "/about",
        },
        {
          name: "Contact",
          id: "/contact",
        },
      ]}
      logoSrc="http://img.b2bpic.net/free-vector/set-hand-drawn-hen-logos_23-2147626216.jpg"
      logoAlt="Fried Chicken Logo"
      brandName="Fried Chicken"
      button={{
        text: "Order Now",
        href: "/menu",
      }}
      animateOnLoad={true}
    />
  </div>

  <div id="exclusive-offers" data-section="exclusive-offers">
      <PricingCardTwo
      animationType="slide-up"
      textboxLayout="default"
      useInvertedBackground={false}
      plans={[
        {
          id: "daily-deal",
          badge: "Daily Special",
          price: "IQD 15,000",
          subtitle: "Crispy Chicken Bucket + Sides",
          buttons: [
            {
              text: "Order Now",
              href: "/menu",
            },
          ],
          features: [
            "8 pcs Fried Chicken",
            "Large Fries",
            "2 Drinks",
            "Available weekdays only",
          ],
        },
        {
          id: "family-offer",
          badge: "Family Favorite",
          price: "IQD 30,000",
          subtitle: "Generous Meal for the Whole Family",
          buttons: [
            {
              text: "Order Now",
              href: "/menu",
            },
          ],
          features: [
            "12 pcs Fried Chicken",
            "Family Size Fries",
            "Coleslaw Salad",
            "4 Drinks",
          ],
        },
        {
          id: "weekend-promo",
          badge: "Weekend Blast",
          price: "IQD 22,000",
          subtitle: "Spicy Zinger Meals for Two",
          buttons: [
            {
              text: "Order Now",
              href: "/menu",
            },
          ],
          features: [
            "2 Zinger Supreme Sandwiches",
            "Large Hot Wings (6pcs)",
            "2 Drinks",
            "Valid Sat-Sun",
          ],
        },
      ]}
      title="Exclusive Offers & Deals"
      description="Unlock incredible savings with our limited-time promotions, designed for every craving."
    />
  </div>

  <div id="more-promos" data-section="more-promos">
      <FeatureCardNineteen
      textboxLayout="default"
      useInvertedBackground={true}
      features={[
        {
          tag: "Student Discount",
          title: "Student Zinger Deal",
          subtitle: "Special price for students!",
          description: "Show your student ID and get a discount on our Zinger Supreme Meal.",
          imageSrc: "http://img.b2bpic.net/free-photo/photorealistic-burger-meal_23-2151432854.jpg",
          imageAlt: "Student Zinger Deal",
          buttons: [
            {
              text: "Claim Now",
              href: "/offers",
            },
          ],
        },
        {
          tag: "Loyalty Program",
          title: "Earn Loyalty Points",
          subtitle: "Get rewards with every order",
          description: "Join our loyalty program and start earning points to redeem for free meals and discounts.",
          imageSrc: "http://img.b2bpic.net/free-photo/front-view-young-female-black-shirt-holding-potato-chips-white-surface_140725-70028.jpg",
          imageAlt: "Loyalty Points Offer",
          buttons: [
            {
              text: "Join Program",
              href: "/contact",
            },
          ],
        },
        {
          tag: "Birthday Special",
          title: "Celebrate with Us",
          subtitle: "Free dessert on your birthday",
          description: "Register your birthday with us and receive a complimentary dessert with any meal purchase.",
          imageSrc: "http://img.b2bpic.net/free-photo/flat-lay-american-food-with-copy-space_23-2148454865.jpg",
          imageAlt: "Birthday Special Offer",
          buttons: [
            {
              text: "Register Now",
              href: "/contact",
            },
          ],
        },
      ]}
      title="Don't Miss These Promotions!"
      description="Even more ways to enjoy your favorite Fried Chicken meals at unbeatable prices."
    />
  </div>

  <div id="footer" data-section="footer">
      <FooterSimple
      columns={[
        {
          title: "Menu",
          items: [
            {
              label: "Buckets",
              href: "/menu",
            },
            {
              label: "Sandwiches",
              href: "/menu",
            },
            {
              label: "Broasted Chicken",
              href: "/menu",
            },
            {
              label: "Sides & Drinks",
              href: "/menu",
            },
          ],
        },
        {
          title: "Company",
          items: [
            {
              label: "About Us",
              href: "/about",
            },
            {
              label: "Our Branches",
              href: "/branches",
            },
            {
              label: "Offers",
              href: "/offers",
            },
            {
              label: "Contact Us",
              href: "/contact",
            },
          ],
        },
        {
          title: "Follow Us",
          items: [
            {
              label: "Facebook",
              href: "https://facebook.com/FriedChickenIQ",
            },
            {
              label: "Instagram",
              href: "https://instagram.com/FriedChickenIQ",
            },
            {
              label: "WhatsApp",
              href: "https://wa.me/9647xxxxxxxx",
            },
          ],
        },
      ]}
      bottomLeftText="© 2024 Fried Chicken. All rights reserved."
      bottomRightText="Privacy Policy | Terms of Service"
    />
  </div>
      </ReactLenis>
    </ThemeProvider>
  );
}
