"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleFullscreen from "@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen";
import PricingCardNine from "@/components/sections/pricing/PricingCardNine";
import FaqDouble from "@/components/sections/faq/FaqDouble";
import ContactSplitForm from "@/components/sections/contact/ContactSplitForm";
import FooterMedia from "@/components/sections/footer/FooterMedia";
import { DollarSign, HelpCircle } from "lucide-react";
import Link from "next/link";

export default function PricingPage() {
  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"
    >
      {/* Navbar */}
      <div id="nav" data-section="nav">
        <NavbarStyleFullscreen
          navItems={[
            { name: "Home", id: "/" },
            { name: "Services", id: "/services" },
            { name: "Pricing", id: "/pricing" },
            { name: "Gallery", id: "/gallery" },
            { name: "Contact", id: "#contact" },
          ]}
          brandName="Elite Auto Detailing"
          bottomLeftText="Professional Auto Detailing"
          bottomRightText="(###) ###-#### or text us"
        />
      </div>

      {/* Pricing Plans */}
      <div id="pricing" data-section="pricing">
        <PricingCardNine
          title="Our Pricing Packages"
          description="Transparent, competitive pricing for every budget. Choose the package that suits your vehicle's needs."
          tag="Pricing & Packages"
          tagIcon={DollarSign}
          tagAnimation="slide-up"
          plans={[
            {
              id: "basic",
              title: "Basic Clean",
              price: "Starting at $89",
              period: "per vehicle",
              imageSrc: "http://img.b2bpic.net/free-photo/close-up-car-care-process_23-2149193171.jpg?_wi=2",
              imageAlt: "Basic Clean package",
              button: { text: "Book Now", href: "#contact" },
              features: ["Exterior wash and dry", "Tire shine", "Window cleaning", "Quick vacuum interior"],
            },
            {
              id: "interior-refresh",
              title: "Interior Refresh",
              price: "Starting at $149",
              period: "per vehicle",
              imageSrc: "http://img.b2bpic.net/free-photo/young-man-washing-car-carwash-station-outdoor_651396-2004.jpg?_wi=2",
              imageAlt: "Interior Refresh package",
              button: { text: "Book Now", href: "#contact" },
              features: ["Complete interior vacuum", "Carpet and upholstery cleaning", "Dashboard cleaning", "Interior protectant"],
            },
            {
              id: "full-detail",
              title: "Full Detail",
              price: "Starting at $299",
              period: "per vehicle",
              imageSrc: "http://img.b2bpic.net/free-photo/man-polishing-car-with-orbital-applicator_1303-30576.jpg?_wi=2",
              imageAlt: "Full Detail package - Most Popular",
              button: { text: "Book Now", href: "#contact" },
              features: ["Complete interior detailing", "Professional exterior detailing", "Paint protection", "Engine bay cleaning", "Leather conditioning", "Interior protectant"],
            },
          ]}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
          buttons={[{ text: "View All Packages", href: "/" }]}
          buttonAnimation="slide-up"
        />
      </div>

      {/* Pricing FAQ */}
      <div id="faq" data-section="faq">
        <FaqDouble
          title="Pricing Questions Answered"
          description="Common questions about our pricing, packages, and how we calculate final costs."
          tag="FAQ"
          tagIcon={HelpCircle}
          tagAnimation="slide-up"
          faqs={[
            { id: "1", title: "How is final pricing determined?", content: "Final pricing depends on your vehicle size, condition, and specific services requested. We provide accurate quotes during your consultation based on these factors." },
            { id: "2", title: "Do you offer discounts for multiple vehicles?", content: "Yes! We offer volume discounts for 2+ vehicles. Contact us to discuss fleet pricing and custom packages for your needs." },
            { id: "3", title: "What's included in each package?", content: "Each package is clearly defined with specific services listed. We're transparent about what's included so there are no surprises when we arrive." },
            { id: "4", title: "Can I customize a package?", content: "Absolutely! We offer custom service combinations. Our team will work with you to create a package that fits your budget and vehicle needs." },
            { id: "5", title: "Do you accept payment plans?", content: "We accept all major credit cards and payment methods. For larger jobs, we can discuss flexible payment arrangements." },
            { id: "6", title: "Is there a mobile service fee?", content: "No additional travel fees within our 15-mile service radius. Locations outside this area may have a small surcharge. We'll confirm when scheduling." },
            { id: "7", title: "What if I'm not satisfied?", content: "100% satisfaction guaranteed! If you're not happy with our work, we'll make it right or provide a full refund." },
            { id: "8", title: "How often should I detail my vehicle?", content: "We recommend detailing 2-4 times per year depending on weather, usage, and desired condition. Our team can advise on the best schedule for your situation." },
          ]}
          textboxLayout="default"
          useInvertedBackground={false}
          faqsAnimation="slide-up"
          animationType="smooth"
        />
      </div>

      {/* Contact */}
      <div id="contact" data-section="contact">
        <ContactSplitForm
          title="Get Your Custom Quote"
          description="Tell us about your vehicle and desired services. We'll provide a detailed quote and availability."
          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", required: true },
          ]}
          textarea={{ name: "details", placeholder: "Describe your vehicle's condition and desired services...", rows: 4 }}
          useInvertedBackground={false}
          imageSrc="http://img.b2bpic.net/free-photo/close-up-car-care-process_23-2149193588.jpg?_wi=3"
          imageAlt="Professional detailing equipment"
          mediaAnimation="slide-up"
          mediaPosition="right"
          buttonText="Request Quote"
        />
      </div>

      {/* Footer */}
      <div id="footer" data-section="footer">
        <FooterMedia
          imageSrc="http://img.b2bpic.net/free-photo/luxury-car-interior-brown-black-colors_181624-31177.jpg?_wi=3"
          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>
  );
}