"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 HeroBillboardGallery from '@/components/sections/hero/HeroBillboardGallery';
import InlineImageSplitTextAbout from '@/components/sections/about/InlineImageSplitTextAbout';
import NavbarLayoutFloatingInline from '@/components/navbar/NavbarLayoutFloatingInline';
import ProductCardTwo from '@/components/sections/product/ProductCardTwo';
import TextAbout from '@/components/sections/about/TextAbout';

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="hero" data-section="hero">
      <HeroBillboardGallery
      background={{
        variant: "downward-rays-animated"}}
      title="Experience the Taste of Fried Chicken"
      description="Indulge in our crispy, juicy, and perfectly seasoned fried chicken. Crafted with fresh ingredients and authentic Iraqi flavors."
      buttons={[
        {
          text: "Order Now",          href: "/menu"},
      ]}
      mediaItems={[
        {
          imageSrc: "http://img.b2bpic.net/free-photo/top-view-tasty-chicken-wings-with-greens-tomatoes-light-background-dinner-meat-food-lunch-fries-burger-meal_140725-156965.jpg",          imageAlt: "Crispy fried chicken bucket"},
        {
          imageSrc: "http://img.b2bpic.net/free-photo/grilled-ciabatta-sandwich-with-fresh-vegetables-beef-generated-by-ai_188544-21540.jpg",          imageAlt: "Delicious Zinger sandwich"},
        {
          imageSrc: "http://img.b2bpic.net/free-photo/thin-chicken-roasted-sticks-served-with-tomato-rosemary-sauce_114579-2019.jpg",          imageAlt: "Golden chicken strips with sauce"},
        {
          imageSrc: "http://img.b2bpic.net/free-photo/top-view-fish-chips-with-chopping-board_23-2148784891.jpg",          imageAlt: "Fried chicken family meal"},
        {
          imageSrc: "http://img.b2bpic.net/free-photo/fast-food-made-out-fabric_23-2150864150.jpg",          imageAlt: "Crispy fries and refreshing drink"},
        {
          imageSrc: "http://img.b2bpic.net/free-photo/ketchup-near-grilled-wings_23-2147717013.jpg",          imageAlt: "Spicy chicken wings"},
      ]}
      mediaAnimation="slide-up"
    />
  </div>

  <div id="about-home" data-section="about-home">
      <InlineImageSplitTextAbout
      useInvertedBackground={true}
      heading={[
        {
          type: "text",          content: "Authentic Iraqi Flavors, Globally Inspired Taste"},
      ]}
      buttons={[
        {
          text: "Learn More",          href: "/about"},
      ]}
    />
  </div>

  <div id="offers-home" data-section="offers-home">
      <FeatureCardNineteen
      textboxLayout="default"
      useInvertedBackground={false}
      features={[
        {
          tag: "Daily Deal",          title: "Crispy Bucket Bonanza",          subtitle: "Large bucket, 2 sides & 2 drinks",          description: "Enjoy our most popular bucket with your choice of delicious sides and refreshing beverages.",          imageSrc: "http://img.b2bpic.net/free-photo/fried-chicken-with-fried-potatoes-celebration_140725-113378.jpg",          imageAlt: "Fried Chicken Bucket Offer",          buttons: [
            {
              text: "View Deal",              href: "/offers"},
          ],
        },
        {
          tag: "Combo Offer",          title: "Zinger Supreme Meal",          subtitle: "Zinger sandwich, fries & drink",          description: "Our signature spicy Zinger sandwich with a side of crispy fries and a cool drink.",          imageSrc: "http://img.b2bpic.net/free-photo/juicy-chicken-burger-with-fresh-lettuce-crispy-french-fries-wooden-board_181624-50895.jpg",          imageAlt: "Zinger Supreme Meal Offer",          buttons: [
            {
              text: "View Deal",              href: "/offers"},
          ],
        },
        {
          tag: "Family Pack",          title: "Feast for Four",          subtitle: "8pcs chicken, family fries & salad",          description: "Perfect for sharing with family and friends, featuring generous portions of our famous fried chicken.",          imageSrc: "http://img.b2bpic.net/free-photo/high-angle-arrangement-with-chicken-nuggets_23-2148314146.jpg?_wi=1",          imageAlt: "Family Feast Offer",          buttons: [
            {
              text: "View Deal",              href: "/offers"},
          ],
        },
      ]}
      title="Our Latest Offers & Promotions"
      description="Don't miss out on our special deals for the best fried chicken experience."
    />
  </div>

  <div id="popular-menu" data-section="popular-menu">
      <ProductCardTwo
      animationType="slide-up"
      textboxLayout="default"
      gridVariant="four-items-2x2-equal-grid"
      useInvertedBackground={true}
      products={[
        {
          id: "p1",          brand: "Fried Chicken",          name: "Classic Chicken Bucket (8 pcs)",          price: "IQD 25,000",          rating: 5,
          reviewCount: "256",          imageSrc: "http://img.b2bpic.net/free-photo/still-life-fast-food-dishes_23-2149187929.jpg",          imageAlt: "Classic Chicken Bucket"},
        {
          id: "p2",          brand: "Fried Chicken",          name: "Zinger Supreme Sandwich Meal",          price: "IQD 10,000",          rating: 4,
          reviewCount: "198",          imageSrc: "http://img.b2bpic.net/free-photo/delicious-hot-dogs-with-fried-onion-rings_23-2147684581.jpg",          imageAlt: "Zinger Supreme Sandwich Meal"},
        {
          id: "p3",          brand: "Fried Chicken",          name: "Broasted Chicken Platter (4 pcs)",          price: "IQD 18,000",          rating: 5,
          reviewCount: "142",          imageSrc: "http://img.b2bpic.net/free-photo/still-life-recipe-with-plantain_23-2151062777.jpg",          imageAlt: "Broasted Chicken Platter"},
        {
          id: "p4",          brand: "Fried Chicken",          name: "Crispy Chicken Strips (6 pcs)",          price: "IQD 9,000",          rating: 4,
          reviewCount: "110",          imageSrc: "http://img.b2bpic.net/free-photo/woman-sticking-great-britain-flag-fish-chips-dish-paper-cup_23-2148784934.jpg",          imageAlt: "Crispy Chicken Strips Platter"},
        {
          id: "p5",          brand: "Fried Chicken",          name: "Spicy Hot Wings (10 pcs)",          price: "IQD 12,000",          rating: 4,
          reviewCount: "95",          imageSrc: "http://img.b2bpic.net/free-photo/appetizing-glazed-sesame-chicken-wings-dark-bowl_84443-85767.jpg",          imageAlt: "Spicy Hot Wings"},
        {
          id: "p6",          brand: "Fried Chicken",          name: "Chicken Nuggets (10 pcs)",          price: "IQD 7,000",          rating: 4,
          reviewCount: "80",          imageSrc: "http://img.b2bpic.net/free-photo/high-angle-arrangement-with-chicken-nuggets_23-2148314146.jpg?_wi=2",          imageAlt: "Chicken Nuggets"},
        {
          id: "p7",          brand: "Fried Chicken",          name: "Coleslaw Salad",          price: "IQD 4,000",          rating: 4,
          reviewCount: "60",          imageSrc: "http://img.b2bpic.net/free-photo/top-view-salad-bowl-with-fresh-ingredients_23-2149179043.jpg",          imageAlt: "Coleslaw Salad"},
        {
          id: "p8",          brand: "Fried Chicken",          name: "Large French Fries",          price: "IQD 5,000",          rating: 5,
          reviewCount: "301",          imageSrc: "http://img.b2bpic.net/free-photo/fried-potato-with-ketchup-juice_140725-3649.jpg",          imageAlt: "Large French Fries"},
        {
          id: "p9",          brand: "Fried Chicken",          name: "Soft Drink (Can)",          price: "IQD 2,000",          rating: 4,
          reviewCount: "150",          imageSrc: "http://img.b2bpic.net/free-photo/sweet-soda-drink-ice-cup_140725-78224.jpg",          imageAlt: "Soft Drink Can"},
        {
          id: "p10",         brand: "Fried Chicken",          name: "Chicken Shawarma Wrap",          price: "IQD 8,500",          rating: 4,
          reviewCount: "120",          imageSrc: "http://img.b2bpic.net/free-photo/homemade-shawarma-pita-plate_23-2148967520.jpg",          imageAlt: "Chicken Shawarma Wrap"}
      ]}
      title="Our Most Popular Choices"
      description="Discover what everyone's craving from our diverse menu, from classic buckets to spicy zingers."
    />
  </div>

  <div id="about" data-section="about">
      <TextAbout
      useInvertedBackground={false}
      title="About Fried Chicken"
    />
  </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>
  );
}
