"use client";

import Link from "next/link";
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarLayoutFloatingOverlay from "@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay";
import HeroBillboard from "@/components/sections/hero/HeroBillboard";
import FeatureCardTwentyThree from "@/components/sections/feature/FeatureCardTwentyThree";
import InlineImageSplitTextAbout from "@/components/sections/about/InlineImageSplitTextAbout";
import ProductCardTwo from "@/components/sections/product/ProductCardTwo";
import FaqSplitMedia from "@/components/sections/faq/FaqSplitMedia";
import MetricCardTwo from "@/components/sections/metrics/MetricCardTwo";
import TestimonialCardTwo from "@/components/sections/testimonial/TestimonialCardTwo";
import ContactCTA from "@/components/sections/contact/ContactCTA";
import FooterCard from "@/components/sections/footer/FooterCard";
import { Facebook, Instagram, Whatsapp } from "lucide-react";

export default function HomePage() {
  const navItems = [
    {
      name: "Home",      href: "/"
    },
    {
      name: "About Us",      href: "/about"
    }
  ];

  const footerNavItems = [
    {
      label: "Home",      href: "/"
    },
    {
      label: "About Us",      href: "/about"
    }
  ];

  const footerSocialLinks = [
    {
      icon: Facebook,
      href: "#",      ariaLabel: "Facebook"
    },
    {
      icon: Instagram,
      href: "#",      ariaLabel: "Instagram"
    },
    {
      icon: Whatsapp,
      href: "#",      ariaLabel: "Whatsapp"
    }
  ];

  return (
    <ThemeProvider
      defaultButtonVariant="text-shift"
      defaultTextAnimation="background-highlight"
      borderRadius="soft"
      contentWidth="mediumLarge"
      sizing="largeSizeMediumTitles"
      background="aurora"
      cardStyle="glass-depth"
      primaryButtonStyle="double-inset"
      secondaryButtonStyle="solid"
      headingFontWeight="medium"
    >
      <div id="nav" data-section="nav">
        <NavbarLayoutFloatingOverlay
          brandName="KendiJoy Catering Services"
          logoSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=5pcy7x"
          logoAlt="KendiJoy Logo"
          navItems={navItems}
          button={{
            text: "Get a Quote",            href: "/contact"}}
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroBillboard
          title="We Plan. You Celebrate. We Handle the Rest."
          description="KendiJoy is your premium partner for unforgettable events, exceptional catering, and seamless celebrations that leave lasting memories."
          background={{ variant: "plain" }}
          buttons={[
            {
              text: "Our Services",              href: "/services"},
            {
              text: "View Packages",              href: "/packages"},
          ]}
          imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3ELazFsYiafkYVopFrBaT7pxrBL/uploaded-1779968328044-rauycfax.png"
          imageAlt="Luxurious event table setting"
          mediaAnimation="slide-up"
          useInvertedBackground={false}
        />
      </div>

      <div id="services-grid" data-section="services-grid">
        <FeatureCardTwentyThree
          title="Our Expertise"
          description="We bring your vision to life with meticulous planning and creative execution."
          features={[
            {
              id: "event-planning",              title: "Event Planning",              tags: ["Concept to Execution"],
              imageSrc: "http://img.b2bpic.net/free-photo/layered-glasses-with-shampagne_8353-9952.jpg",              imageAlt: "Event Planning Icon"},
            {
              id: "catering-services",              title: "Catering Services",              tags: ["Delicious & Hygienic"],
              imageSrc: "http://img.b2bpic.net/free-photo/front-view-dark-square-plates-with-golden-fork-knife-cup-dark-background_179666-19331.jpg",              imageAlt: "Catering Services Icon"},
            {
              id: "event-styling",              title: "Event Styling",              tags: ["Elegant Setups"],
              imageSrc: "http://img.b2bpic.net/free-photo/served-dinner-table-restaurant_23-2148086091.jpg",              imageAlt: "Event Styling Icon"},
            {
              id: "mc-entertainment",              title: "MC & Entertainment",              tags: ["Professional Hosts"],
              imageSrc: "http://img.b2bpic.net/free-vector/sound-icons-black_24908-61122.jpg",              imageAlt: "MC & Entertainment Icon"},
          ]}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground={true}
        />
      </div>

      <div id="about-section" data-section="about-section">
        <InlineImageSplitTextAbout
          heading={[
            {
              type: "text",              content: "Excellence in Every Detail"
            },
          ]}
          description="KendiJoy Catering Services and Event Organizers is a premier event planning and catering company based in Kenya. We specialize in creating luxurious, well-coordinated events with a touch of African elegance."
          buttons={[
            {
              text: "Learn More",              href: "/about"},
          ]}
          imageSrc="http://img.b2bpic.net/free-photo/minimal-floral-arrangement-red-surface_58702-17399.jpg"
          imageAlt="African woman in traditional attire holding flowers"
          useInvertedBackground={false}
        />
      </div>

      <div id="gallery-section" data-section="gallery-section">
        <ProductCardTwo
          title="Our Work: Memorable Moments"
          description="Explore a collection of our meticulously planned and beautifully executed events."
          products={[
            {
              id: "g-1",              brand: "Wedding",              name: "Grand Celebration",              price: "Tailored",              rating: 5,
              reviewCount: "50+",              imageSrc: "http://img.b2bpic.net/free-photo/flowers-bouquet-dining-table_1339-1210.jpg",              imageAlt: "Luxury wedding decor"},
            {
              id: "g-2",              brand: "Corporate",              name: "Gala Dinner",              price: "Tailored",              rating: 5,
              reviewCount: "30+",              imageSrc: "http://img.b2bpic.net/free-photo/colorful-neon-lights-background_23-2147815402.jpg",              imageAlt: "Vibrant party lighting"},
            {
              id: "g-3",              brand: "Outdoor",              name: "Garden Party",              price: "Tailored",              rating: 5,
              reviewCount: "45+",              imageSrc: "http://img.b2bpic.net/free-photo/beauty-details-this-lovely-table_8353-9904.jpg",              imageAlt: "Elegant outdoor reception"},
            {
              id: "g-4",              brand: "Exclusive",              name: "Private Event",              price: "Tailored",              rating: 5,
              reviewCount: "25+",              imageSrc: "http://img.b2bpic.net/free-photo/christmas-tree-decorations_1232-5039.jpg",              imageAlt: "Indoor luxury event"},
            {
              id: "g-5",              brand: "Themed",              name: "Cultural Festival",              price: "Tailored",              rating: 5,
              reviewCount: "35+",              imageSrc: "http://img.b2bpic.net/free-photo/side-view-woman-celebrating-birthday-together_23-2150572069.jpg",              imageAlt: "Colorful African themed party"},
            {
              id: "g-6",              brand: "Intimate",              name: "Anniversary Dinner",              price: "Tailored",              rating: 5,
              reviewCount: "20+",              imageSrc: "http://img.b2bpic.net/free-photo/man-uniform-working-prepared-desk-waiting-food-visitors-evening-time_146671-14415.jpg",              imageAlt: "Elegant outdoor dinner"},
          ]}
          gridVariant="three-columns-all-equal-width"
          animationType="slide-up"
          textboxLayout="default"
          buttons={[
            {
              text: "View Full Gallery",              href: "/gallery"},
          ]}
          useInvertedBackground={true}
        />
      </div>

      <div id="packages-intro" data-section="packages-intro">
        <FaqSplitMedia
          title="Our Packages: Tailored for Every Occasion"
          description="From intimate gatherings to grand celebrations, we have customizable packages to suit your needs and budget. Let us craft the perfect experience for you."
          imageSrc="http://img.b2bpic.net/free-photo/top-view-dining-tables-without-food_23-2150157792.jpg"
          imageAlt="Luxurious table setting with gold plate"
          mediaAnimation="slide-up"
          mediaPosition="right"
          buttons={[
            {
              text: "View Packages",              href: "/packages"},
          ]}
          faqs={[]}
          faqsAnimation="blur-reveal"
          textboxLayout="default"
          useInvertedBackground={false}
        />
      </div>

      <div id="why-choose-us" data-section="why-choose-us">
        <MetricCardTwo
          title="Why Choose KendiJoy?"
          description="Our commitment to excellence sets us apart."
          metrics={[
            {
              id: "m-1",              value: " ",              description: "Attention to Detail: We don't miss a thing."
            },
            {
              id: "m-2",              value: " ",              description: "Quality & Reliability: You can count on us always."
            },
            {
              id: "m-3",              value: " ",              description: "Creative & Unique: Fresh ideas, beautifully executed."
            },
            {
              id: "m-4",              value: " ",              description: "Passionate Team: We love what we do."
            },
          ]}
          gridVariant="uniform-all-items-equal"
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground={true}
        />
      </div>

      <div id="testimonials-section" data-section="testimonials-section">
        <TestimonialCardTwo
          title="Client Testimonials: What Our Clients Say"
          description="Hear directly from clients who have experienced the KendiJoy difference."
          testimonials={[
            {
              id: "t-1",              name: "Wanjiku & Brian",              role: "Newlyweds, Nairobi",              testimonial: "KendiJoy made our wedding day absolutely perfect! The food was amazing and the setup was beyond our expectations.",              imageSrc: "http://img.b2bpic.net/free-photo/happy-young-elegant-man-smiling_23-2148332976.jpg",              imageAlt: "Wanjiku & Brian"},
            {
              id: "t-2",              name: "James M.",              role: "Corporate Client",              testimonial: "Professional, creative and very organized. They turned our corporate event into a memorable experience.",              imageSrc: "http://img.b2bpic.net/free-photo/confident-successful-middle-aged-business-leader_1262-4872.jpg",              imageAlt: "James M."},
            {
              id: "t-3",              name: "Amina D.",              role: "Birthday Celebration",              testimonial: "The best event planners in Kenya! KendiJoy’s attention to detail is unmatched. Highly recommended!",              imageSrc: "http://img.b2bpic.net/free-photo/portrait-happy-business-woman-posing-outdoors_23-2148603030.jpg",              imageAlt: "Amina D."},
            {
              id: "t-4",              name: "Sarah K.",              role: "Anniversary Event",              testimonial: "Every detail was flawlessly executed. Our anniversary party was truly magical, thanks to KendiJoy's incredible team.",              imageSrc: "http://img.b2bpic.net/free-photo/friendly-professional-sitting-his-workplace_1098-21009.jpg",              imageAlt: "Sarah K."},
            {
              id: "t-5",              name: "David L.",              role: "Product Launch",              testimonial: "The KendiJoy team exceeded all expectations for our product launch. Their creativity and professionalism were outstanding.",              imageSrc: "http://img.b2bpic.net/free-photo/smiling-tender-parisian-girl-stylish-outfit-sends-air-kiss-portrait-young-woman-with-expressive-look_197531-12004.jpg",              imageAlt: "David L."},
          ]}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
        />
      </div>

      <div id="contact-cta-section" data-section="contact-cta-section">
        <ContactCTA
          tag="Ready to Plan?"
          title="Let's Create Your Next Unforgettable Event"
          description="Talk to us today and let's bring your vision to life."
          buttons={[
            {
              text: "Get a Quote",              href: "/contact"},
          ]}
          background={{ variant: "plain" }}
          useInvertedBackground={true}
        />
      </div>

      <div id="footer-section" data-section="footer-section">
        <FooterCard
          logoSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=5pcy7x"
          logoAlt="KendiJoy Logo"
          logoText="KendiJoy Catering Services"
          copyrightText="© 2025 KendiJoy Catering Services. All Rights Reserved."
          socialLinks={footerSocialLinks}
          columns={[
            {
              heading: "Quick Links",              items: footerNavItems,
            },
            {
              heading: "Our Services",              items: [
                {
                  label: "Event Planning",                  href: "/services#event-planning"},
                {
                  label: "Catering Services",                  href: "/services#catering-services"},
                {
                  label: "Event Styling",                  href: "/services#event-styling"},
                {
                  label: "MC & Entertainment",                  href: "/services#mc-entertainment"},
              ],
            },
            {
              heading: "Contact Us",              items: [
                {
                  label: "+254 711 123 456",                  href: "tel:+254711123456"},
                {
                  label: "hello@kendijoy.co.ke",                  href: "mailto:hello@kendijoy.co.ke"},
                {
                  label: "Nairobi, Kenya",                  href: "#"},
                {
                  label: "Mon - Sat: 8:00 AM - 6:00 PM",                  href: "#"},
              ],
            },
          ]}
          useInvertedBackground={false}
        />
      </div>
    </ThemeProvider>
  );
}
