"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleFullscreen from "@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen";
import FeatureCardTwentyFive from "@/components/sections/feature/FeatureCardTwentyFive";
import TestimonialCardTwelve from "@/components/sections/testimonial/TestimonialCardTwelve";
import ContactSplitForm from "@/components/sections/contact/ContactSplitForm";
import FooterMedia from "@/components/sections/footer/FooterMedia";
import { Sparkles, Check, Shield, Star } from "lucide-react";
import Link from "next/link";

export default function GalleryPage() {
  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>

      {/* Before & After Gallery */}
      <div id="before-after" data-section="before-after">
        <FeatureCardTwentyFive
          title="Before & After Transformations"
          description="See the incredible results we achieve for our customers. Every detail matters."
          tag="Gallery"
          tagAnimation="slide-up"
          features={[
            {
              title: "Interior Transformation",
              description: "Complete interior refresh showing the dramatic difference professional detailing makes for your cabin's appearance and cleanliness.",
              icon: Sparkles,
              mediaItems: [
                { imageSrc: "http://img.b2bpic.net/free-photo/woman-cleaning-her-car-dashboard-with-rag_23-2150318453.jpg?_wi=3", imageAlt: "Interior before cleaning" },
                { imageSrc: "http://img.b2bpic.net/free-photo/young-man-washing-car-carwash-station-outdoor_651396-2795.jpg?_wi=3", imageAlt: "Interior after cleaning" },
              ],
            },
            {
              title: "Full Detail Results",
              description: "Experience the complete transformation of a full detail package - interior and exterior restored to showroom condition.",
              icon: Check,
              mediaItems: [
                { imageSrc: "http://img.b2bpic.net/free-photo/man-white-shirt-wipes-car-car-wash_1157-27235.jpg?_wi=2", imageAlt: "Full detail before" },
                { imageSrc: "http://img.b2bpic.net/free-photo/stylish-elegant-couple-car-salon_1157-22274.jpg?_wi=2", imageAlt: "Full detail after" },
              ],
            },
            {
              title: "Paint Correction Excellence",
              description: "Professional paint correction removes swirls, scratches, and oxidation to reveal a flawless, glossy finish.",
              icon: Shield,
              mediaItems: [
                { imageSrc: "http://img.b2bpic.net/free-photo/photo-metal-texture-pattern_58702-16073.jpg?_wi=3", imageAlt: "Paint before correction" },
                { imageSrc: "http://img.b2bpic.net/free-photo/car-wrapping-with-foil-car-service_1303-32335.jpg?_wi=3", imageAlt: "Paint after correction" },
              ],
            },
          ]}
          animationType="blur-reveal"
          textboxLayout="default"
          useInvertedBackground={false}
          buttonAnimation="slide-up"
        />
      </div>

      {/* Testimonials */}
      <div id="testimonials" data-section="testimonials">
        <TestimonialCardTwelve
          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=3", imageAlt: "Sarah Johnson" },
            { id: "2", name: "Michael Chen", imageSrc: "http://img.b2bpic.net/free-photo/smiling-businessman-standing-airport-terminal_107420-85070.jpg?_wi=2", imageAlt: "Michael Chen" },
            { 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=2", imageAlt: "Emily Rodriguez" },
            { id: "4", name: "David Kim", imageSrc: "http://img.b2bpic.net/free-photo/smiling-businessman-face-portrait-wearing-suit_53876-148135.jpg?_wi=2", imageAlt: "David Kim" },
          ]}
          cardTitle="Our customers love the transformation we deliver"
          cardTag="Customer Satisfaction"
          cardTagIcon={Star}
          cardAnimation="slide-up"
          useInvertedBackground={false}
        />
      </div>

      {/* Contact CTA */}
      <div id="contact" data-section="contact">
        <ContactSplitForm
          title="Get Your Vehicle Transformed"
          description="Book your detailing appointment today and join thousands of satisfied customers."
          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: "notes", placeholder: "What services are you interested in?", rows: 4 }}
          useInvertedBackground={false}
          imageSrc="http://img.b2bpic.net/free-photo/close-up-car-care-process_23-2149193588.jpg?_wi=4"
          imageAlt="Professional detailing equipment"
          mediaAnimation="slide-up"
          mediaPosition="right"
          buttonText="Schedule Now"
        />
      </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=4"
          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>
  );
}