"use client";

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

const navItems = [
  { name: "Home", id: "/" },
  { name: "Services", id: "/services" },
  { name: "Pricing", id: "/pricing" },
  { name: "Gallery", id: "/gallery" },
  { name: "Contact", id: "/contact" },
];

export default function ContactPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="hover-bubble"
      defaultTextAnimation="reveal-blur"
      borderRadius="rounded"
      contentWidth="small"
      sizing="mediumLargeSizeMediumTitles"
      background="fluid"
      cardStyle="gradient-bordered"
      primaryButtonStyle="gradient"
      secondaryButtonStyle="glass"
      headingFontWeight="medium"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleFullscreen
          navItems={navItems}
          brandName="Elite Auto Detailing"
          bottomLeftText="Professional Auto Detailing"
          bottomRightText="(###) ###-#### or text us"
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactSplitForm
          title="Get Started Today"
          description="Book your appointment or request a quote. Our team responds within hours. Mobile service available throughout our service area."
          inputs={[
            {
              name: "name",
              type: "text",
              placeholder: "Your Name",
              required: true,
            },
            {
              name: "phone",
              type: "tel",
              placeholder: "(###) ###-####",
              required: true,
            },
            {
              name: "email",
              type: "email",
              placeholder: "your@email.com",
              required: true,
            },
            {
              name: "vehicleType",
              type: "text",
              placeholder: "Vehicle Type (Car, Truck, SUV, etc.)",
              required: true,
            },
            {
              name: "service",
              type: "text",
              placeholder: "Service Desired",
              required: true,
            },
            {
              name: "address",
              type: "text",
              placeholder: "Service Address",
              required: true,
            },
          ]}
          textarea={{
            name: "notes",
            placeholder: "Additional details or preferred date/time",
            rows: 4,
          }}
          useInvertedBackground={false}
          imageSrc="http://img.b2bpic.net/free-photo/close-up-car-care-process_23-2149193588.jpg"
          imageAlt="Professional detailing equipment"
          mediaAnimation="slide-up"
          mediaPosition="right"
          buttonText="Request Appointment"
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterMedia
          imageSrc="http://img.b2bpic.net/free-photo/luxury-car-interior-brown-black-colors_181624-31177.jpg?_wi=6"
          imageAlt="Elite Auto Detailing showcase"
          logoText="Elite Auto Detailing & Mobile Services LLC"
          copyrightText="© 2025 Elite Auto Detailing & Mobile Services LLC. All rights reserved."
          columns={[
            {
              title: "Services",
              items: [
                { label: "Interior Detailing", href: "/services" },
                { label: "Exterior Detailing", href: "/services" },
                { label: "Paint Correction", href: "/services" },
                { label: "Ceramic Coating", href: "/services" },
                { label: "Fleet Detailing", href: "/services" },
              ],
            },
            {
              title: "Company",
              items: [
                { label: "Home", href: "/" },
                { label: "About Us", href: "/about" },
                { label: "Gallery", href: "/gallery" },
                { label: "Pricing", href: "/pricing" },
                { label: "Contact", href: "#contact" },
              ],
            },
            {
              title: "Contact",
              items: [
                { label: "Call: (###) ###-####", href: "tel:+1-###-###-####" },
                { label: "Text Us", href: "sms:+1-###-###-####" },
                {
                  label: "Email: info@eliteautodetailing.com",
                  href: "mailto:info@eliteautodetailing.com",
                },
                { label: "Service Area: [City/Region]", href: "#" },
                { label: "Hours: Mon-Sun, By Appointment", href: "#" },
              ],
            },
          ]}
        />
      </div>
    </ThemeProvider>
  );
}