"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import Link from "next/link";
import NavbarStyleFullscreen from "@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen";
import MetricCardFourteen from "@/components/sections/metrics/MetricCardFourteen";
import TestimonialCardTwelve from "@/components/sections/testimonial/TestimonialCardTwelve";
import ContactSplitForm from "@/components/sections/contact/ContactSplitForm";
import FooterMedia from "@/components/sections/footer/FooterMedia";
import { Star } from "lucide-react";

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

const testimonials = [
  { id: "1", name: "Sarah Johnson", imageSrc: "http://img.b2bpic.net/free-photo/smiling-middle-aged-attractive-woman-showing-thumb-up-outdoors_1262-12526.jpg?_wi=5" },
  { id: "2", name: "Michael Chen", imageSrc: "http://img.b2bpic.net/free-photo/smiling-businessman-standing-airport-terminal_107420-85070.jpg?_wi=3" },
  { id: "3", name: "Emily Rodriguez", imageSrc: "http://img.b2bpic.net/free-photo/happy-businesswoman-smiling-looking-camera-successful-confident-grey-haired-manager-sitting-office-room-workplace-business-management-concept_74855-7343.jpg?_wi=3" },
  { id: "4", name: "David Kim", imageSrc: "http://img.b2bpic.net/free-photo/smiling-businessman-face-portrait-wearing-suit_53876-148135.jpg?_wi=3" },
  { id: "5", name: "Jessica Martinez", imageSrc: "http://img.b2bpic.net/free-photo/smiling-middle-aged-attractive-woman-showing-thumb-up-outdoors_1262-12526.jpg?_wi=6" },
  { id: "6", name: "Robert Thompson", imageSrc: "http://img.b2bpic.net/free-photo/smiling-man-sitting-cafe-table-gesturing_1262-1141.jpg?_wi=3" },
];

const footerColumns = [
  {
    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: "#" },
    ],
  },
];

export default function AboutPage() {
  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={[
            { 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>

      <div id="about-mission" data-section="about-mission">
        <MetricCardFourteen
          title="Our Mission: Excellence in Every Detail"
          tag="About Us"
          tagAnimation="slide-up"
          metrics={[
            { id: "1", value: "15+", description: "Years of professional auto detailing experience and expertise in vehicle care." },
            { id: "2", value: "5000+", description: "Satisfied customers who trust us with their most prized possessions." },
            { id: "3", value: "100%", description: "Satisfaction guarantee. Your vehicle's beauty is our commitment." },
          ]}
          metricsAnimation="slide-up"
          useInvertedBackground={false}
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardTwelve
          testimonials={testimonials}
          cardTitle="Join thousands of customers who trust Elite Auto Detailing"
          cardTag="Customer Testimonials"
          cardTagIcon={Star}
          cardAnimation="slide-up"
          useInvertedBackground={false}
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactSplitForm
          title="Learn More About Our Services"
          description="Curious about how Elite Auto Detailing can transform your vehicle? Get in touch with our team. We're happy to discuss your specific needs and answer any questions."
          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: "subject", type: "text", placeholder: "What can we help you with?", required: true },
          ]}
          textarea={{ name: "message", placeholder: "Tell us your questions or concerns...", rows: 4 }}
          useInvertedBackground={false}
          imageSrc="http://img.b2bpic.net/free-photo/close-up-car-care-process_23-2149193588.jpg?_wi=5"
          imageAlt="Professional detailing equipment"
          mediaAnimation="slide-up"
          mediaPosition="right"
          buttonText="Send Message"
        />
      </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=5"
          imageAlt="Elite Auto Detailing showcase"
          logoText="Elite Auto Detailing & Mobile Services LLC"
          copyrightText="© 2025 Elite Auto Detailing & Mobile Services LLC. All rights reserved."
          columns={footerColumns}
        />
      </div>
    </ThemeProvider>
  );
}