"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import ContactText from '@/components/sections/contact/ContactText';
import FeatureCardNineteen from '@/components/sections/feature/FeatureCardNineteen';
import FooterBase from '@/components/sections/footer/FooterBase';
import HeroSplitKpi from '@/components/sections/hero/HeroSplitKpi';
import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered';
import ProductCardTwo from '@/components/sections/product/ProductCardTwo';
import TestimonialCardSixteen from '@/components/sections/testimonial/TestimonialCardSixteen';
import TextAbout from '@/components/sections/about/TextAbout';
import { Award, Flame, Heart, MapPin, Users } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
        defaultButtonVariant="expand-hover"
        defaultTextAnimation="background-highlight"
        borderRadius="soft"
        contentWidth="small"
        sizing="mediumLargeSizeLargeTitles"
        background="circleGradient"
        cardStyle="solid"
        primaryButtonStyle="gradient"
        secondaryButtonStyle="glass"
        headingFontWeight="bold"
    >
      <ReactLenis root>
  <div id="nav" data-section="nav">
      <NavbarStyleCentered
      navItems={[
        {
          name: "Home",
          id: "/",
        },
        {
          name: "Menu",
          id: "/menu",
        },
        {
          name: "Catering",
          id: "/catering",
        },
        {
          name: "About",
          id: "/about",
        },
        {
          name: "Careers",
          id: "/careers",
        },
        {
          name: "Contact",
          id: "/contact",
        },
      ]}
      brandName="Rooster Roo"
    />
  </div>

  <div id="hero" data-section="hero">
      <HeroSplitKpi
      background={{
        variant: "plain",
      }}
      imagePosition="right"
      title="Rowlett's Favorite Chicken & Comfort Food Restaurant"
      description="Fresh ingredients, bold flavors, and a welcoming atmosphere for the whole family."
      kpis={[
        {
          value: "10+",
          label: "Years in Business",
        },
        {
          value: "4.9",
          label: "Star Rating",
        },
        {
          value: "2000+",
          label: "Happy Customers",
        },
      ]}
      enableKpiAnimation={true}
      buttons={[
        {
          text: "Order Online",
          href: "/menu#online-order",
        },
        {
          text: "View Menu",
          href: "/menu",
        },
      ]}
      imageSrc="http://img.b2bpic.net/free-photo/friends-eating-tasty-dishes_23-2147680639.jpg?_wi=1"
      imageAlt="Signature chicken meal with sides"
      mediaAnimation="slide-up"
      avatars={[
        {
          src: "http://img.b2bpic.net/free-photo/beautiful-mature-woman-having-fun-time_23-2149232830.jpg",
          alt: "Happy customer review",
        },
        {
          src: "http://img.b2bpic.net/free-photo/medium-shot-woman-holding-cup_23-2149005452.jpg",
          alt: "Satisfied diner",
        },
        {
          src: "http://img.b2bpic.net/free-photo/young-woman-cafe-dines-traditional-shakshuka-ayran_169016-16512.jpg",
          alt: "Young woman enjoying meal",
        },
        {
          src: "http://img.b2bpic.net/free-photo/friends-eating-conversating-restaurant_23-2148006709.jpg",
          alt: "Friends eating at restaurant",
        },
        {
          src: "http://img.b2bpic.net/free-photo/group-friends-eating-restaurant_23-2148395390.jpg",
          alt: "Group of friends dining",
        },
      ]}
      avatarText="Join over 2000 happy customers!"
      marqueeItems={[
        {
          type: "text-icon",
          text: "Texas Hospitality",
          icon: Heart,
        },
        {
          type: "text-icon",
          text: "Crispy Fried Chicken",
          icon: Award,
        },
        {
          type: "text-icon",
          text: "Family-Friendly Dining",
          icon: Users,
        },
        {
          type: "text-icon",
          text: "Freshly Prepared Daily",
          icon: Flame,
        },
        {
          type: "text-icon",
          text: "Local Rowlett Favorite",
          icon: MapPin,
        },
      ]}
      marqueeSpeed={40}
    />
  </div>

  <div id="about-us" data-section="about-us">
      <TextAbout
      useInvertedBackground={true}
      title="Our Story: Fresh, Flavorful, Family-Friendly"
      buttons={[
        {
          text: "Learn More",
          href: "/about",
        },
      ]}
      description="Rooster Roo is a locally loved restaurant in Rowlett, Texas, dedicated to serving delicious chicken, comfort food, and family favorites. Our mission is simple: provide exceptional food, friendly service, and a welcoming place where families and friends can gather, creating cherished memories around the table."
    />
  </div>

  <div id="featured-menu" data-section="featured-menu">
      <ProductCardTwo
      animationType="slide-up"
      textboxLayout="default"
      gridVariant="four-items-2x2-equal-grid"
      useInvertedBackground={false}
      products={[
        {
          id: "chicken-meal-1",
          brand: "Rooster Roo",
          name: "Classic Chicken Meal",
          price: "$12.99",
          rating: 5,
          reviewCount: "250",
          imageSrc: "http://img.b2bpic.net/free-photo/close-up-grandmother-granddaughter-smelling-food_23-2148314882.jpg",
          imageAlt: "Classic Chicken Meal",
        },
        {
          id: "chicken-sandwich-2",
          brand: "Rooster Roo",
          name: "Spicy Chicken Sandwich",
          price: "$10.49",
          rating: 4,
          reviewCount: "180",
          imageSrc: "http://img.b2bpic.net/free-photo/grilled-beef-burger-ciabatta-bun-homemade-generated-by-ai_188544-21445.jpg",
          imageAlt: "Spicy Chicken Sandwich",
        },
        {
          id: "family-meal-3",
          brand: "Rooster Roo",
          name: "Family Feast Bucket",
          price: "$34.99",
          rating: 5,
          reviewCount: "120",
          imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-roommates-sitting-table_23-2148903599.jpg",
          imageAlt: "Family Feast Bucket",
        },
        {
          id: "mac-cheese-4",
          brand: "Rooster Roo",
          name: "Creamy Mac & Cheese",
          price: "$4.99",
          rating: 5,
          reviewCount: "300",
          imageSrc: "http://img.b2bpic.net/free-photo/high-angle-view-macaroni-bowls-with-autumn-harvest_23-2148224451.jpg",
          imageAlt: "Creamy Mac & Cheese",
        },
        {
          id: "dessert-pie-5",
          brand: "Rooster Roo",
          name: "Homestyle Apple Pie",
          price: "$5.99",
          rating: 4,
          reviewCount: "90",
          imageSrc: "http://img.b2bpic.net/free-photo/caramel-cake-slice-blue-surface-with-glass-tea_114579-16309.jpg",
          imageAlt: "Homestyle Apple Pie",
        },
        {
          id: "drink-lemonade-6",
          brand: "Rooster Roo",
          name: "Fresh-Squeezed Lemonade",
          price: "$3.29",
          rating: 5,
          reviewCount: "150",
          imageSrc: "http://img.b2bpic.net/free-photo/detox-lemon-water-two-glasses-delicous-homemade-lemonade_482257-24527.jpg",
          imageAlt: "Fresh-Squeezed Lemonade",
        },
      ]}
      title="Our Signature Dishes"
      description="Explore our most popular chicken meals, tenders, sandwiches, family meals, and delicious sides – crafted with fresh ingredients and bold Texas flavors."
    />
  </div>

  <div id="why-choose-us" data-section="why-choose-us">
      <FeatureCardNineteen
      textboxLayout="default"
      useInvertedBackground={true}
      features={[
        {
          tag: "Quality",
          title: "Fresh Ingredients",
          subtitle: "Always Fresh, Always Delicious",
          description: "We believe great food starts with the best ingredients, sourced fresh to deliver unparalleled taste.",
          imageSrc: "http://img.b2bpic.net/free-photo/spices-vegetables-red-ripe-fresh-tomatoes-green-bell-peppers-along-with-cream-colored-towel-wooden-rustic-floor_179666-727.jpg",
          imageAlt: "Fresh vegetables",
        },
        {
          tag: "Atmosphere",
          title: "Family Friendly",
          subtitle: "A Place for Everyone",
          description: "Our welcoming environment is perfect for families and friends to gather, relax, and create lasting memories.",
          imageSrc: "http://img.b2bpic.net/free-photo/happy-extended-family-having-fun-while-toasting-lunch-dining-table-focus-is-young-man_637285-2868.jpg",
          imageAlt: "Happy family dining",
        },
        {
          tag: "Service",
          title: "Fast Service",
          subtitle: "Delicious Food, No Wait",
          description: "Enjoy quick and efficient service without compromising on the quality and taste of your favorite meals.",
          imageSrc: "http://img.b2bpic.net/free-photo/blur-coffee-shop_1203-8642.jpg",
          imageAlt: "Fast service icon",
        },
        {
          tag: "Community",
          title: "Locally Loved",
          subtitle: "A Rowlett Favorite",
          description: "Proudly serving our community for years, we're a local staple cherished by our neighbors and friends.",
          imageSrc: "http://img.b2bpic.net/free-photo/manual-worker-warehouse_329181-12793.jpg",
          imageAlt: "Local community hands",
        },
        {
          tag: "Value",
          title: "Great Value",
          subtitle: "Quality Without Compromise",
          description: "Enjoy generous portions of high-quality food at prices that make family dining affordable and enjoyable.",
          imageSrc: "http://img.b2bpic.net/free-photo/woman-using-digital-tablet-cafe_1170-736.jpg",
          imageAlt: "Great value icon",
        },
        {
          tag: "Location",
          title: "Convenient Location",
          subtitle: "Easy to Find, Easy to Enjoy",
          description: "Located right in the heart of Rowlett, we're your easy-to-reach spot for a satisfying meal.",
          imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-friends-dinner-party_23-2150648877.jpg",
          imageAlt: "Map pin icon",
        },
      ]}
      title="Why Choose Rooster Roo?"
      description="Discover what makes Rooster Roo Rowlett's top choice for family dining and delicious comfort food, served with genuine Texas hospitality."
    />
  </div>

  <div id="customer-reviews" data-section="customer-reviews">
      <TestimonialCardSixteen
      textboxLayout="default"
      useInvertedBackground={false}
      testimonials={[
        {
          id: "1",
          name: "Sarah J.",
          role: "Local Resident",
          company: "Rowlett, TX",
          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/woman-eating-restaurant_23-2148006700.jpg",
          imageAlt: "Sarah Johnson",
        },
        {
          id: "2",
          name: "Michael C.",
          role: "Family Man",
          company: "Rowlett, TX",
          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-people-clinking-bottles_23-2149152926.jpg",
          imageAlt: "Michael Chen",
        },
        {
          id: "3",
          name: "Emily R.",
          role: "Community Member",
          company: "Rowlett, TX",
          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/front-view-woman-getting-pedicure_23-2150507059.jpg",
          imageAlt: "Emily Rodriguez",
        },
        {
          id: "4",
          name: "David K.",
          role: "Student",
          company: "Rowlett, TX",
          rating: 4,
          imageSrc: "http://img.b2bpic.net/free-photo/happy-woman-eating-bed_23-2147667262.jpg",
          imageAlt: "David Kim",
        },
        {
          id: "5",
          name: "Patricia G.",
          role: "Retired Teacher",
          company: "Rowlett, TX",
          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/middle-age-friends-having-fun_23-2149150925.jpg",
          imageAlt: "Patricia G.",
        },
      ]}
      kpiItems={[
        {
          value: "4.9",
          label: "Avg. Rating",
        },
        {
          value: "300+",
          label: "Reviews",
        },
        {
          value: "Top",
          label: "Family Favorite",
        },
      ]}
      title="What Our Customers Say"
      description="Hear from families and friends who love Rooster Roo for its delicious food, friendly service, and welcoming atmosphere. Your feedback fuels our passion!"
    />
  </div>

  <div id="gallery" data-section="gallery">
      <ProductCardTwo
      animationType="scale-rotate"
      textboxLayout="default"
      gridVariant="uniform-all-items-equal"
      useInvertedBackground={true}
      products={[
        {
          id: "gallery-food-1",
          brand: "Rooster Roo",
          name: "Signature Fried Chicken",
          price: "See Menu",
          rating: 0,
          imageSrc: "http://img.b2bpic.net/free-photo/top-view-tasty-chicken-wings-with-greens-tomatoes-light-background-fries-food-sandwich-meat-burger-meal_140725-156990.jpg",
          imageAlt: "Delicious fried chicken dish",
        },
        {
          id: "gallery-dining-2",
          brand: "Rooster Roo",
          name: "Inviting Dining Room",
          price: "Experience",
          rating: 0,
          imageSrc: "http://img.b2bpic.net/free-photo/dining-room-interior-with-modern-furniture_23-2152007078.jpg",
          imageAlt: "Modern restaurant interior",
        },
        {
          id: "gallery-family-3",
          brand: "Rooster Roo",
          name: "Happy Family Dining",
          price: "Memories",
          rating: 0,
          imageSrc: "http://img.b2bpic.net/free-photo/friends-eating-tasty-dishes_23-2147680639.jpg?_wi=2",
          imageAlt: "gourmet fried chicken dish",
        },
      ]}
      title="Our Story in Pictures"
      description="A glimpse into the heart of Rooster Roo: our delicious food, vibrant dining room, happy customers, and the friendly faces that make our restaurant special."
    />
  </div>

  <div id="cta-contact" data-section="cta-contact">
      <ContactText
      useInvertedBackground={false}
      background={{
        variant: "plain",
      }}
      text="Order Online for a quick meal, plan your next event with our Catering services, or simply Visit Us Today in Rowlett, Texas! We can't wait to serve you."
      buttons={[
        {
          text: "Order Now",
          href: "/menu#online-order",
        },
        {
          text: "Catering Inquiry",
          href: "/catering#inquiry",
        },
        {
          text: "Get Directions",
          href: "https://www.google.com/maps/search/Rooster+Roo+Rowlett+Texas",
        },
      ]}
    />
  </div>

  <div id="footer" data-section="footer">
      <FooterBase
      columns={[
        {
          title: "Navigation",
          items: [
            {
              label: "Home",
              href: "/",
            },
            {
              label: "Menu",
              href: "/menu",
            },
            {
              label: "Catering",
              href: "/catering",
            },
            {
              label: "About Us",
              href: "/about",
            },
            {
              label: "Careers",
              href: "/careers",
            },
            {
              label: "Contact",
              href: "/contact",
            },
          ],
        },
        {
          title: "Services",
          items: [
            {
              label: "Order Online",
              href: "/menu#online-order",
            },
            {
              label: "Catering Options",
              href: "/catering#inquiry",
            },
            {
              label: "Reservations",
              href: "/contact#faqs",
            },
          ],
        },
        {
          title: "Legal",
          items: [
            {
              label: "Privacy Policy",
              href: "#",
            },
            {
              label: "Terms of Service",
              href: "#",
            },
          ],
        },
      ]}
      logoText="Rooster Roo"
      copyrightText="© 2024 Rooster Roo. All rights reserved."
    />
  </div>
      </ReactLenis>
    </ThemeProvider>
  );
}
