"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleFullscreen from "@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen";
import TextAbout from "@/components/sections/about/TextAbout";
import ContactFaq from "@/components/sections/contact/ContactFaq";
import FaqDouble from "@/components/sections/faq/FaqDouble";
import FooterLogoEmphasis from "@/components/sections/footer/FooterLogoEmphasis";
import Link from "next/link";
import { Phone } from "lucide-react";

export default function ContactPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="hover-magnetic"
      defaultTextAnimation="reveal-blur"
      borderRadius="rounded"
      contentWidth="mediumSmall"
      sizing="medium"
      background="circleGradient"
      cardStyle="inset"
      primaryButtonStyle="shadow"
      secondaryButtonStyle="layered"
      headingFontWeight="bold"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleFullscreen
          navItems={[
            { name: "Home", id: "/" },
            { name: "Services", id: "/services" },
            { name: "About", id: "/about" },
            { name: "Contact", id: "/contact" },
          ]}
          brandName="D-SOL RTO"
          bottomLeftText="Karawal Nagar, Delhi"
          bottomRightText="+91-XXXXXXX"
        />
      </div>

      <div id="contact-header" data-section="contact-header">
        <TextAbout
          title="Let's Connect | Book Your Service Today | We're Here to Help"
          useInvertedBackground={false}
        />
      </div>

      <div id="contact-form" data-section="contact-form">
        <ContactFaq
          faqs={[
            {
              id: "1",              title: "What's the fastest way to reach you?",              content:
                "Call +91-XXXXXXX or WhatsApp us immediately. We respond within 30 minutes during business hours. For emergency services, WhatsApp us anytime."},
            {
              id: "2",              title: "Can I book a service online?",              content:
                "Yes! Call or WhatsApp with your service requirements. We'll confirm appointment details, required documents, and service fee. Payment can be made online or at office."},
            {
              id: "3",              title: "Do you offer home service or door pickup?",              content:
                "For document collection in Karawal Nagar and nearby areas, we can arrange. Call us for details. Service fee may apply based on location."},
          ]}
          ctaTitle="Book Your Service Now"
          ctaDescription="Contact us immediately to schedule your appointment. We're available Monday-Saturday 9AM-6PM."
          ctaButton={{ text: "Call Us Now", href: "tel:+919876543210" }}
          ctaIcon={Phone}
          useInvertedBackground={true}
          animationType="slide-up"
        />
      </div>

      <div id="contact-faq" data-section="contact-faq">
        <FaqDouble
          faqs={[
            {
              id: "1",              title: "What are your office hours?",              content:
                "Monday-Saturday: 9 AM - 6 PM | Sunday: 10 AM - 4 PM | Closed on National Holidays. WhatsApp available 24/7 for urgent queries and bookings."},
            {
              id: "2",              title: "Where is your office located?",              content:
                "We are located in Karawal Nagar, Delhi. Our office is easily accessible by metro and car. DM us on WhatsApp for exact address and directions."},
            {
              id: "3",              title: "What payment methods do you accept?",              content:
                "We accept UPI, net banking, NEFT transfer, and cash. Online payments get 2% discount. Receipt and invoice provided for all transactions."},
            {
              id: "4",              title: "Do you provide follow-up support?",              content:
                "Yes! We provide complete follow-up support for your service. Status updates via WhatsApp. We'll inform you immediately once documents are ready."},
            {
              id: "5",              title: "Can I visit without appointment?",              content:
                "We prefer scheduled appointments to ensure you meet the right consultant. Walk-ins are welcome but you might have to wait. Call ahead for guaranteed consultation."},
            {
              id: "6",              title: "How do I track my application status?",              content:
                "Send your request on WhatsApp and we'll provide real-time status updates. You can also visit office for direct update. We update customers regularly."},
            {
              id: "7",              title: "Do you handle urgent/emergency services?",              content:
                "Yes! For urgent services, contact us immediately. We can prioritize your application for express service. Additional urgent service fees may apply."},
            {
              id: "8",              title: "What if I have a complaint or concern?",              content:
                "We value feedback. Contact our manager directly. We address all concerns within 24 hours. Your satisfaction is our priority. Guaranteed resolution."},
          ]}
          title="Frequently Asked Questions"
          description="Common questions about contacting us and booking services"
          faqsAnimation="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterLogoEmphasis
          logoText="D-SOL RTO"
          columns={[
            {
              items: [
                { label: "Home", href: "/" },
                { label: "Services", href: "/services" },
                { label: "About Us", href: "/about" },
                { label: "Contact", href: "/contact" },
              ],
            },
            {
              items: [
                { label: "DL Renewal", href: "/services" },
                { label: "Insurance Renewal", href: "/services" },
                { label: "RC Transfer", href: "/services" },
                { label: "Fitness Certificate", href: "/services" },
              ],
            },
            {
              items: [
                { label: "📞 Call: +91-XXXXXXX", href: "tel:+919876543210" },
                {
                  label: "💬 WhatsApp: +91-XXXXXXX",                  href: "https://wa.me/919876543210"},
                { label: "📍 Karawal Nagar, Delhi", href: "#" },
                { label: "⏰ Mon-Sat: 9AM-6PM", href: "#" },
              ],
            },
            {
              items: [
                { label: "Privacy Policy", href: "#" },
                { label: "Terms & Conditions", href: "#" },
                { label: "Disclaimer", href: "#" },
                { label: "GST Registration", href: "#" },
              ],
            },
            {
              items: [
                { label: "Facebook", href: "https://facebook.com" },
                { label: "Instagram", href: "https://instagram.com" },
                { label: "Google Reviews", href: "https://google.com" },
                { label: "LinkedIn", href: "https://linkedin.com" },
              ],
            },
          ]}
        />
      </div>
    </ThemeProvider>
  );
}