"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarLayoutFloatingOverlay from '@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay';
import ContactCTA from '@/components/sections/contact/ContactCTA';
import SocialProofOne from '@/components/sections/socialProof/SocialProofOne';
import FooterCard from '@/components/sections/footer/FooterCard';
import { Facebook, Instagram, Whatsapp } from "lucide-react";

export default function ContactPage() {
  const navItems = [
    {
      name: "Event Packages",      id: "/packages"
    },
    {
      name: "Contact Us",      id: "/contact"
    }
  ];

  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="contact-page" data-section="contact-page">
        <ContactCTA
          tag="Get in Touch"
          title="Let's Plan Your Perfect Event"
          description="Have questions or ready to start planning? Reach out to us through any of the channels below."
          buttons={[
            {
              text: "Call Us: +254 711 123 456",              href: "tel:+254711123456"
            },
            {
              text: "Email Us: hello@kendijoy.co.ke",              href: "mailto:hello@kendijoy.co.ke"
            }
          ]}
          background={{ variant: "plain" }}
          useInvertedBackground={true}
        />
      </div>

      <div id="contact-social-proof" data-section="contact-social-proof">
        <SocialProofOne
          title="Trusted by Leading Brands & Individuals"
          description="Our commitment to excellence has earned the trust of many satisfied clients."
          names={[
            "Corporate X Solutions",            "Grand Weddings Magazine",            "Luxury Event Magazine",            "Kenya Tourism Board",            "Hotel Excellence Group",            "Celebrity Management Inc.",            "African Heritage Foundation"
          ]}
          buttons={[]}
          textboxLayout="default"
          useInvertedBackground={false}
        />
      </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={[
            {
              icon: Facebook,
              href: "#",              ariaLabel: "Facebook"
            },
            {
              icon: Instagram,
              href: "#",              ariaLabel: "Instagram"
            },
            {
              icon: Whatsapp,
              href: "#",              ariaLabel: "Whatsapp"
            }
          ]}
          columns={[
            {
              heading: "Quick Links",              items: [
                {
                  label: "Packages",                  href: "/packages"
                },
                {
                  label: "Contact Us",                  href: "/contact"
                }
              ]
            },
            {
              heading: "Our Services",              items: []
            },
            {
              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>
  );
}
