"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import Link from "next/link";
import NavbarStyleFullscreen from "@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen";
import ContactSplitForm from "@/components/sections/contact/ContactSplitForm";
import FeatureCardTwelve from "@/components/sections/feature/FeatureCardTwelve";
import FooterBase from "@/components/sections/footer/FooterBase";

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

  const footerColumns = [
    {
      title: "Quick Links",
      items: [
        { label: "Home", href: "/" },
        { label: "Services", href: "#services" },
        { label: "About Us", href: "/about" },
        { label: "Contact", href: "/contact" },
      ],
    },
    {
      title: "Services",
      items: [
        { label: "Germany Work Visa", href: "/services/germany-work-visa" },
        { label: "Canada PR", href: "/services/canada-pr" },
        { label: "Australia PR", href: "/services/australia-pr" },
        { label: "UK Work Visa", href: "/services/uk-work-visa" },
      ],
    },
    {
      title: "Contact Info",
      items: [
        { label: "Phone: +91 98702 96179", href: "tel:+919870296179" },
        {
          label: "Address: Laxmi Deep Building, V3S Mall, Laxmi Nagar, Delhi",
          href: "#",
        },
        {
          label: "Email: info@infiniximmigration.com",
          href: "mailto:info@infiniximmigration.com",
        },
        { label: "WhatsApp: +91 98702 96179", href: "https://wa.me/919870296179" },
      ],
    },
    {
      title: "Legal",
      items: [
        { label: "Privacy Policy", href: "#" },
        { label: "Terms of Service", href: "#" },
        { label: "Disclaimer", href: "#" },
        { label: "Code of Conduct", href: "#" },
      ],
    },
  ];

  return (
    <ThemeProvider
      defaultButtonVariant="text-stagger"
      defaultTextAnimation="reveal-blur"
      borderRadius="pill"
      contentWidth="small"
      sizing="mediumSizeLargeTitles"
      background="none"
      cardStyle="solid"
      primaryButtonStyle="flat"
      secondaryButtonStyle="solid"
      headingFontWeight="semibold"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleFullscreen
          navItems={navItems}
          brandName="Infinix Immigration Services"
          bottomLeftText="Delhi, India"
          bottomRightText="+91 98702 96179"
        />
      </div>

      <div id="contact-form" data-section="contact-form">
        <ContactSplitForm
          title="Book Your Free Consultation"
          description="Talk to our immigration experts. Get honest feedback on your profile and visa options. No obligation. No pressure."
          inputs={[
            {
              name: "name",
              type: "text",
              placeholder: "Your Full Name",
              required: true,
            },
            {
              name: "phone",
              type: "tel",
              placeholder: "+91 Your Phone Number",
              required: true,
            },
            {
              name: "email",
              type: "email",
              placeholder: "Your Email Address",
              required: true,
            },
            {
              name: "visaInterest",
              type: "text",
              placeholder:
                "Which visa/PR are you interested in? (e.g., Germany Work Visa, Canada PR)",
              required: true,
            },
          ]}
          textarea={{
            name: "message",
            placeholder:
              "Tell us about your background, experience, and visa goals...",
            rows: 5,
            required: false,
          }}
          useInvertedBackground={false}
          buttonText="Send Consultation Request"
          mediaAnimation="slide-up"
        />
      </div>

      <div id="contact-info" data-section="contact-info">
        <FeatureCardTwelve
          title="Get in Touch"
          description="Multiple ways to reach us. Choose the method that works best for you."
          features={[
            {
              id: "phone",
              label: "Phone",
              title: "Call Our Team Directly",
              items: [
                "Main Line: +91 98702 96179",
                "Available: Monday - Saturday, 10 AM - 6 PM",
                "Quick queries: Same-day response",
                "Consultation booking: Available for immediate scheduling",
                "Urgent matters: Priority handling for existing clients",
              ],
            },
            {
              id: "whatsapp",
              label: "WhatsApp",
              title: "Chat With Us on WhatsApp",
              items: [
                "Number: +91 98702 96179",
                "Quick document sharing for profile review",
                "Real-time conversation with our team",
                "Case status updates via message",
                "Available for follow-ups and queries",
              ],
            },
            {
              id: "office",
              label: "Office",
              title: "Visit Our Delhi Office",
              items: [
                "Location: Laxmi Deep Building, V3S Mall, Laxmi Nagar, Delhi 110092",
                "Hours: Monday - Saturday, 10 AM - 6 PM",
                "Sunday: Closed",
                "Face-to-face consultations available",
                "Free initial consultation at office",
              ],
            },
          ]}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterBase
          logoText="Infinix Immigration Services"
          copyrightText="© 2025 Infinix Immigration Services Pvt. Ltd. All rights reserved."
          columns={footerColumns}
        />
      </div>
    </ThemeProvider>
  );
}