"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleCentered from "@/components/navbar/NavbarStyleCentered/NavbarStyleCentered";
import HeroSplitTestimonial from "@/components/sections/hero/HeroSplitTestimonial";
import SocialProofOne from "@/components/sections/socialProof/SocialProofOne";
import FooterSimple from "@/components/sections/footer/FooterSimple";
import Link from "next/link";

export default function ContactPage() {
  const navItems = [
    { name: "Home", id: "/" },
    { name: "Services", id: "/services" },
    { name: "About", id: "/about" },
    { name: "Contact", id: "/contact" },
  ];

  const footerColumns = [
    {
      title: "Navigation",      items: [
        { label: "Home", href: "/" },
        { label: "Services", href: "/services" },
        { label: "About", href: "/about" },
        { label: "Contact", href: "/contact" },
      ],
    },
    {
      title: "Services",      items: [
        { label: "Mutual Funds", href: "/services" },
        { label: "Equity Investments", href: "/services" },
        { label: "Insurance Planning", href: "/services" },
        { label: "Loans", href: "/services" },
        { label: "Real Estate", href: "/services" },
      ],
    },
    {
      title: "Connect",      items: [
        { label: "Email Us", href: "mailto:info@evergrowwealth.com" },
        { label: "WhatsApp", href: "#" },
        { label: "Call Now", href: "tel:+919876543210" },
        { label: "Book Appointment", href: "/contact" },
      ],
    },
    {
      title: "Legal",      items: [
        { label: "Privacy Policy", href: "#" },
        { label: "Terms of Service", href: "#" },
        { label: "Disclaimer", href: "#" },
        { label: "SEBI Compliance", href: "#" },
      ],
    },
  ];

  return (
    <ThemeProvider
      defaultButtonVariant="expand-hover"
      defaultTextAnimation="entrance-slide"
      borderRadius="rounded"
      contentWidth="mediumLarge"
      sizing="mediumLargeSizeMediumTitles"
      background="noiseDiagonalGradient"
      cardStyle="outline"
      primaryButtonStyle="radial-glow"
      secondaryButtonStyle="glass"
      headingFontWeight="extrabold"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleCentered
          navItems={navItems}
          button={{ text: "Book Consultation", href: "/contact" }}
          brandName="EVERGROW WEALTH"
        />
      </div>

      <div id="contact-hero" data-section="contact-hero" className="py-20 md:py-32">
        <HeroSplitTestimonial
          title="Get in Touch with Our Expert Team"
          description="Ready to take charge of your financial future? Our team of certified financial advisors is here to listen, understand your goals, and create a personalized wealth-building strategy tailored to your unique circumstances. Book a free consultation with us today."
          tag="We're Here to Help"
          tagAnimation="entrance-slide"
          buttons={[
            { text: "Schedule Appointment", href: "#" },
            { text: "Call Now", href: "tel:+919876543210" },
          ]}
          buttonAnimation="slide-up"
          imageSrc="http://img.b2bpic.net/free-photo/agent-office-using-software-laptop-build-emergency-fund-plan-family_482257-112015.jpg"
          imageAlt="Professional financial advisors ready to assist you"
          mediaAnimation="slide-up"
          imagePosition="right"
          testimonials={[
            {
              name: "Response Within 24 Hours",              handle: "Dedicated Support",              testimonial: "We prioritize your inquiries and respond promptly to all consultation requests.",              rating: 5,
              imageSrc: "http://img.b2bpic.net/free-photo/positive-confident-businesswoman-wearing-formal-suit-standing-with-arms-folded_74855-10328.jpg"},
            {
              name: "100% Confidential",              handle: "Privacy First",              testimonial: "All your financial information is handled with complete confidentiality and security.",              rating: 5,
              imageSrc: "http://img.b2bpic.net/free-photo/close-up-portrait-young-handsome-successful-man_1163-5475.jpg"},
            {
              name: "Expert Guidance",              handle: "Professional Team",              testimonial: "Get personalized advice from certified financial professionals with years of experience.",              rating: 5,
              imageSrc: "http://img.b2bpic.net/free-photo/positive-confident-businesswoman-wearing-formal-suit-standing-with-arms-folded_74855-10328.jpg"},
          ]}
          useInvertedBackground={false}
          background={{ variant: "glowing-orb" }}
          ariaLabel="Contact page hero section"
        />
      </div>

      <div id="contact-info" data-section="contact-info" className="py-12 md:py-20">
        <SocialProofOne
          title="Multiple Ways to Connect"
          description="Choose the most convenient way to reach us. We're available through phone, email, WhatsApp, or by booking an appointment online."
          tag="Reach Out"
          tagAnimation="entrance-slide"
          textboxLayout="default"
          useInvertedBackground={false}
          names={[
            "📞 Phone: +91 98765 43210",            "📧 Email: info@evergrowwealth.com",            "💬 WhatsApp: +91 98765 43210",            "🏢 Office Hours: Mon-Fri, 10 AM - 6 PM IST",            "📅 Book Online: Easy Appointment Booking",            "🎯 Emergency Support: 24/7 Availability"]}
          speed={40}
          showCard={true}
          ariaLabel="Contact information section"
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterSimple
          columns={footerColumns}
          bottomLeftText="© 2024 EVERGROW WEALTH. All rights reserved."
          bottomRightText="Trusted Financial Guidance Since 2017"
          ariaLabel="Site footer"
        />
      </div>
    </ThemeProvider>
  );
}