"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleFullscreen from "@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen";
import ContactSplit from "@/components/sections/contact/ContactSplit";
import FaqDouble from "@/components/sections/faq/FaqDouble";
import FooterLogoEmphasis from "@/components/sections/footer/FooterLogoEmphasis";
import Link from "next/link";
import {
  Mail,
} from "lucide-react";

export default function ContactPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="shift-hover"
      defaultTextAnimation="entrance-slide"
      borderRadius="rounded"
      contentWidth="medium"
      sizing="largeSmallSizeMediumTitles"
      background="none"
      cardStyle="soft-shadow"
      primaryButtonStyle="flat"
      secondaryButtonStyle="layered"
      headingFontWeight="medium"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleFullscreen
          navItems={[
            { name: "Home", id: "/" },
            { name: "Services", id: "/services" },
            { name: "About", id: "/about" },
            { name: "Contact", id: "/contact" },
            { name: "FAQ", id: "#faq" },
          ]}
          brandName="Local Pro Services"
          bottomLeftText="Serving Your Community"
          bottomRightText="Call: (555) 123-4567"
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactSplit
          tag="Get Your Free Quote"
          title="Ready to Experience Expert Service?"
          description="Contact us today for a free consultation. Our team is ready to answer your questions and provide a transparent quote with no hidden costs or obligations."
          background={{ variant: "plain" }}
          useInvertedBackground={false}
          imageSrc="http://img.b2bpic.net/free-photo/smiling-businessman-sitting-meeting-talking-phone_1262-18075.jpg"
          imageAlt="Contact form customer service phone consultation"
          mediaAnimation="slide-up"
          inputPlaceholder="Enter your email address"
          buttonText="Send Quote Request"
          termsText="We respect your privacy. We'll only use your information to send you a quote and service updates. You can unsubscribe anytime."
        />
      </div>

      <div id="faq" data-section="faq">
        <FaqDouble
          title="Frequently Asked Questions"
          description="Find answers to common questions about our services, pricing, and process"
          tag="Help & Support"
          textboxLayout="default"
          useInvertedBackground={false}
          faqsAnimation="slide-up"
          faqs={[
            {
              id: "1",
              title: "How quickly can you respond to service calls?",
              content:
                "We prioritize emergency calls and typically respond within 2-4 hours during business hours. Our 24/7 emergency line ensures we're available when you need us most. For non-emergency service, we schedule appointments at your convenience, usually within 48 hours.",
            },
            {
              id: "2",
              title: "What areas do you serve?",
              content:
                "We proudly serve the entire metro area including Downtown District, Westside, Eastside Heights, North Valley, South Park, Central Plaza, Riverside, and Hill Country. If you're unsure whether we service your location, please call us at (555) 123-4567 and we'll be happy to help.",
            },
            {
              id: "3",
              title: "Do you offer free estimates?",
              content:
                "Yes! We provide completely free, no-obligation estimates for all services. Our technicians will assess your situation and provide a detailed quote explaining all costs upfront. There are no hidden fees or surprises.",
            },
            {
              id: "4",
              title: "What if I need emergency service outside business hours?",
              content:
                "We offer 24/7 emergency service for urgent situations. Simply call our emergency line at (555) 123-4567. While our regular office hours are Monday-Friday 8am-6pm and Saturday 9am-2pm, we're always ready for true emergencies.",
            },
            {
              id: "5",
              title: "Are you licensed and insured?",
              content:
                "Absolutely. Local Pro Services is fully licensed, insured, and bonded. We maintain all necessary certifications and insurance coverage to protect you and your property. All our technicians are background-checked and professionally trained.",
            },
            {
              id: "6",
              title: "What warranty do you offer on work?",
              content:
                "We stand behind our work with a 100% satisfaction guarantee. If you're not completely satisfied with our service, we'll make it right. Parts and labor warranties vary by service type; our team will explain specific warranty details when providing your quote.",
            },
            {
              id: "7",
              title: "Can I schedule service online?",
              content:
                "Yes! Visit our contact page to request a service appointment. You can also call us directly at (555) 123-4567 or fill out our quick quote form. We'll confirm your appointment and provide updates as the service date approaches.",
            },
            {
              id: "8",
              title: "Do you offer maintenance plans?",
              content:
                "Yes, we offer flexible maintenance plans designed to keep your systems running efficiently and prevent costly problems. These plans often include priority service scheduling and discounted rates. Contact us for details on our available maintenance packages.",
            },
          ]}
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterLogoEmphasis
          logoText="Local Pro Services"
          columns={[
            {
              items: [
                { label: "Home", href: "/" },
                { label: "Services", href: "/services" },
                { label: "About Us", href: "/about" },
              ],
            },
            {
              items: [
                { label: "Contact Us", href: "/contact" },
                { label: "FAQ", href: "#faq" },
                { label: "Request Quote", href: "/contact" },
              ],
            },
            {
              items: [
                { label: "Call: (555) 123-4567", href: "tel:+15551234567" },
                {
                  label: "Email: info@localproservices.com",
                  href: "mailto:info@localproservices.com",
                },
                {
                  label: "Mon-Fri: 8am-6pm | Sat: 9am-2pm",
                  href: "#",
                },
              ],
            },
            {
              items: [
                { label: "Privacy Policy", href: "#" },
                { label: "Terms of Service", href: "#" },
                { label: "Sitemap", href: "#" },
              ],
            },
          ]}
        />
      </div>
    </ThemeProvider>
  );
}