"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarLayoutFloatingInline from "@/components/navbar/NavbarLayoutFloatingInline";
import ContactCenter from "@/components/sections/contact/ContactCenter";
import FaqSplitMedia from "@/components/sections/faq/FaqSplitMedia";
import FooterSimple from "@/components/sections/footer/FooterSimple";
import Link from "next/link";
import { Mail, HelpCircle } from "lucide-react";

export default function ContactPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="text-stagger"
      defaultTextAnimation="reveal-blur"
      borderRadius="soft"
      contentWidth="compact"
      sizing="largeSmallSizeLargeTitles"
      background="blurBottom"
      cardStyle="gradient-bordered"
      primaryButtonStyle="primary-glow"
      secondaryButtonStyle="radial-glow"
      headingFontWeight="normal"
    >
      <div id="nav" data-section="nav">
        <NavbarLayoutFloatingInline
          brandName="BuildCorp Kenya"
          navItems={[
            { name: "Home", id: "/" },
            { name: "Projects", id: "/projects" },
            { name: "About", id: "/about" },
            { name: "Contact", id: "/contact" }
          ]}
          button={{
            text: "Get Started",
            href: "/contact"
          }}
          animateOnLoad={true}
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactCenter
          tag="Get In Touch"
          tagIcon={Mail}
          title="Ready to Partner with Us?"
          description="Let's discuss how BuildCorp Kenya can support your development goals. Whether you're a developer, investor, or government agency, we're ready to explore opportunities."
          background={{ variant: "rotated-rays-animated-grid" }}
          useInvertedBackground={false}
          inputPlaceholder="your@email.com"
          buttonText="Schedule Consultation"
          termsText="We respect your privacy and will only use your email to send project updates and partnership opportunities. Unsubscribe anytime."
        />
      </div>

      <div id="faq" data-section="faq">
        <FaqSplitMedia
          title="Partnership Frequently Asked Questions"
          description="Get answers to common questions about working with BuildCorp Kenya and our partnership models"
          tag="Help & Support"
          tagIcon={HelpCircle}
          tagAnimation="blur-reveal"
          textboxLayout="default"
          useInvertedBackground={true}
          imageSrc="http://img.b2bpic.net/free-photo/young-beautiful-female-support-phone-operator-speaking-consulting-office_176420-957.jpg?_wi=2"
          imageAlt="BuildCorp Kenya support team"
          mediaAnimation="slide-up"
          mediaPosition="right"
          faqsAnimation="slide-up"
          faqs={[
            {
              id: "1",
              title: "What types of projects does BuildCorp undertake?",
              content: "We specialize in residential developments (apartments, townhouses, estates), commercial properties (office towers, retail spaces), mixed-use developments, and infrastructure projects. Our experience spans portfolio sizes from KES 500M to KES 5B+ in total project value."
            },
            {
              id: "2",
              title: "How do you ensure on-time project delivery?",
              content: "Our 98% on-time delivery rate is achieved through: detailed project scheduling, experienced site management, proactive supply chain coordination, weather contingency planning, and transparent progress reporting. We use integrated project management systems with weekly stakeholder updates."
            },
            {
              id: "3",
              title: "What are your payment and investment structures?",
              content: "We work with various financing models including: direct developer partnerships, joint venture arrangements, equity partnerships with international funds, and government procurement contracts. Each structure is customized based on project scope and partner requirements. Typical payment schedules align with project milestones."
            }
          ]}
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterSimple
          columns={[
            {
              title: "Company",
              items: [
                { label: "About Us", href: "/about" },
                { label: "Our Projects", href: "/projects" },
                { label: "Services", href: "/#services" },
                { label: "Careers", href: "#" }
              ]
            },
            {
              title: "Resources",
              items: [
                { label: "Blog", href: "#" },
                { label: "Case Studies", href: "#" },
                { label: "Industry Reports", href: "#" },
                { label: "FAQ", href: "/#faq" }
              ]
            },
            {
              title: "Partnership",
              items: [
                { label: "Become a Partner", href: "/contact" },
                { label: "Investment Opportunities", href: "#" },
                { label: "Supplier Portal", href: "#" },
                { label: "Contact Us", href: "/contact" }
              ]
            },
            {
              title: "Legal",
              items: [
                { label: "Privacy Policy", href: "#" },
                { label: "Terms of Service", href: "#" },
                { label: "Compliance", href: "#" },
                { label: "Security", href: "#" }
              ]
            }
          ]}
          bottomLeftText="© 2025 BuildCorp Kenya. All rights reserved."
          bottomRightText="Building Kenya's Future"
        />
      </div>
    </ThemeProvider>
  );
}