"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleApple from '@/components/navbar/NavbarStyleApple/NavbarStyleApple';
import HeroSplitKpi from '@/components/sections/hero/HeroSplitKpi';
import AboutMetric from '@/components/sections/about/AboutMetric';
import MetricCardThree from '@/components/sections/metrics/MetricCardThree';
import TestimonialCardTwo from '@/components/sections/testimonial/TestimonialCardTwo';
import PricingCardThree from '@/components/sections/pricing/PricingCardThree';
import SocialProofOne from '@/components/sections/socialProof/SocialProofOne';
import ContactText from '@/components/sections/contact/ContactText';
import FooterMedia from '@/components/sections/footer/FooterMedia';
import { CheckCircle, Clock, Droplet, Droplets, MapPin, Shield, Sparkles, Zap, Star } from 'lucide-react';

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="bounce-effect"
      defaultTextAnimation="reveal-blur"
      borderRadius="soft"
      contentWidth="small"
      sizing="largeSmall"
      background="circleGradient"
      cardStyle="gradient-bordered"
      primaryButtonStyle="shadow"
      secondaryButtonStyle="radial-glow"
      headingFontWeight="normal"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleApple
          brandName="Washington Ave Car Wash"
          navItems={[
            { name: "Services", id: "services" },
            { name: "About", id: "about" },
            { name: "Testimonials", id: "testimonials" },
            { name: "Pricing", id: "pricing" },
            { name: "Contact", id: "contact" }
          ]}
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroSplitKpi
          title="Professional Car Wash, Philadelphia's Trusted Choice"
          description="Shine your vehicle with trusted service from Philadelphia's top-rated car wash. Open 8 AM daily with flexible appointments and transparent pricing"
          background={{ variant: "glowing-orb" }}
          kpis={[
            { value: "500+", label: "Happy Customers" },
            { value: "15+", label: "Years Experience" },
            { value: "99%", label: "Satisfaction Rate" }
          ]}
          enableKpiAnimation={true}
          tag="Washington Ave, Philadelphia"
          tagIcon={MapPin}
          buttons={[
            { text: "Book Your Wash Today", href: "#contact" },
            { text: "View Services", href: "#services" }
          ]}
          imageSrc="http://img.b2bpic.net/free-photo/car-wash-detailing-station_1303-22299.jpg"
          imageAlt="Gleaming clean vehicle after professional car wash"
          mediaAnimation="slide-up"
          imagePosition="right"
        />
      </div>

      <div id="about" data-section="about">
        <AboutMetric
          title="Washington Ave Car Wash has been serving Philadelphia's vehicle owners with exceptional results and unmatched service quality for over 15 years"
          metrics={[
            { icon: Sparkles, label: "Premium Results", value: "Every Time" },
            { icon: Clock, label: "Quick Service", value: "15-30 Min" },
            { icon: Droplet, label: "Water Efficient", value: "Eco-Friendly" },
            { icon: CheckCircle, label: "Satisfaction", value: "Guaranteed" }
          ]}
          metricsAnimation="slide-up"
          useInvertedBackground={false}
        />
      </div>

      <div id="services" data-section="services">
        <MetricCardThree
          title="Our Services"
          description="Choose from our range of professional car wash packages designed to keep your vehicle looking pristine"
          metrics={[
            { id: "1", icon: Droplets, title: "Standard Wash", value: "$19.99" },
            { id: "2", icon: Zap, title: "Premium Detail", value: "$39.99" },
            { id: "3", icon: Droplets, title: "Full Protection", value: "$59.99" },
            { id: "4", icon: Shield, title: "Fleet Service", value: "Custom" }
          ]}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardTwo
          title="Customer Reviews"
          description="Real feedback from Philadelphia drivers who trust us with their vehicles"
          testimonials={[
            {
              id: "1",              name: "Sarah Mitchell",              role: "Marketing Director",              testimonial: "Fantastic service! My car looks brand new every single time. The team is professional and the pricing is fair. I've been coming here for 3 years.",              imageSrc: "http://img.b2bpic.net/free-photo/smiling-businessman-standing-airport-terminal_107420-85070.jpg",              imageAlt: "Sarah Mitchell"
            },
            {
              id: "2",              name: "Marcus Johnson",              role: "Fleet Manager",              testimonial: "Washington Ave handles our company vehicles with excellent care. They're reliable, quick, and professional. Highly recommended for fleet services.",              imageSrc: "http://img.b2bpic.net/free-photo/smiling-middle-aged-attractive-woman-showing-thumb-up-outdoors_1262-12526.jpg",              imageAlt: "Marcus Johnson"
            },
            {
              id: "3",              name: "Jennifer Rodriguez",              role: "Small Business Owner",              testimonial: "The attention to detail is impressive. My car feels pampered every visit. This is exactly what I needed for maintaining my vehicle's appearance.",              imageSrc: "http://img.b2bpic.net/free-photo/smiling-african-american-man-posing-library_74855-1619.jpg",              imageAlt: "Jennifer Rodriguez"
            },
            {
              id: "4",              name: "David Chen",              role: "Software Engineer",              testimonial: "Love the online booking system and flexible hours. It fits perfectly into my busy schedule. Quality work every time without fail.",              imageSrc: "http://img.b2bpic.net/free-photo/alone-specialist-handsome-daydreaming-collar_1262-870.jpg",              imageAlt: "David Chen"
            },
            {
              id: "5",              name: "Patricia Williams",              role: "Healthcare Professional",              testimonial: "The eco-friendly approach really resonates with me. My car gets clean while the environment is protected. That's a win-win.",              imageSrc: "http://img.b2bpic.net/free-photo/smiling-man-sitting-cafe-table-gesturing_1262-1141.jpg",              imageAlt: "Patricia Williams"
            },
            {
              id: "6",              name: "Robert Anderson",              role: "Real Estate Agent",              testimonial: "I bring my clients' vehicles here before showings. The results speak for themselves. Professional service that makes a real difference.",              imageSrc: "http://img.b2bpic.net/free-photo/close-up-portrait-young-handsome-successful-man_1163-5475.jpg",              imageAlt: "Robert Anderson"
            }
          ]}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
        />
      </div>

      <div id="pricing" data-section="pricing">
        <PricingCardThree
          title="Transparent Pricing"
          description="Simple, straightforward pricing with no hidden fees. All services include our satisfaction guarantee."
          plans={[
            {
              id: "1",              price: "$19.99",              name: "Standard Wash",              badge: "Popular",              badgeIcon: Star,
              buttons: [
                { text: "Select Plan", href: "#contact" },
                { text: "Learn More", href: "#services" }
              ],
              features: [
                "Exterior wash with premium foam",                "Wheel and tire cleaning",                "Quick-dry finish",                "Walk-in or appointment"
              ]
            },
            {
              id: "2",              price: "$39.99",              name: "Premium Detail",              badge: "Best Value",              badgeIcon: Sparkles,
              buttons: [
                { text: "Select Plan", href: "#contact" },
                { text: "Learn More", href: "#services" }
              ],
              features: [
                "Everything in Standard Wash",                "Interior vacuum and shine",                "Door jamb cleaning",                "Tire shine and protection",                "Air freshener"
              ]
            },
            {
              id: "3",              price: "$59.99",              name: "Full Protection",              buttons: [
                { text: "Select Plan", href: "#contact" },
                { text: "Learn More", href: "#services" }
              ],
              features: [
                "Everything in Premium Detail",                "Paint sealant application",                "Glass treatment",                "Engine bay clean",                "Undercarriage rinse",                "Hand wax polish"
              ]
            }
          ]}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
        />
      </div>

      <div id="social-proof" data-section="social-proof">
        <SocialProofOne
          title="Trusted by Philadelphia Drivers"
          description="Join thousands of satisfied customers who keep their vehicles pristine at Washington Ave Car Wash"
          names={[
            "Enterprise Fleet Services",            "Philadelphia Business Council",            "City Vehicle Maintenance",            "Professional Services Alliance",            "Regional Transportation Network",            "Local Business Partnership",            "Community Commerce Association"
          ]}
          textboxLayout="default"
          useInvertedBackground={false}
          speed={40}
          showCard={true}
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactText
          text="Ready to experience the Washington Ave Car Wash difference? Book your appointment today or visit us for a walk-in wash. Your vehicle will shine like new."
          animationType="reveal-blur"
          buttons={[
            { text: "Book Appointment", href: "#" },
            { text: "Call Now: (215) 555-0147", href: "tel:2155550147" }
          ]}
          background={{ variant: "plain" }}
          useInvertedBackground={false}
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterMedia
          imageSrc="http://img.b2bpic.net/free-photo/man-washing-car-carwash-station-wearing-orange-vest_651396-2793.jpg"
          imageAlt="Professional car wash facility"
          logoText="Washington Ave Car Wash"
          copyrightText="© 2025 Washington Ave Car Wash. All rights reserved."
          columns={[
            {
              title: "Services",              items: [
                { label: "Standard Wash", href: "#pricing" },
                { label: "Premium Detail", href: "#pricing" },
                { label: "Fleet Service", href: "#services" },
                { label: "Appointments", href: "#contact" }
              ]
            },
            {
              title: "Company",              items: [
                { label: "About Us", href: "#about" },
                { label: "Testimonials", href: "#testimonials" },
                { label: "Blog", href: "#" },
                { label: "Careers", href: "#" }
              ]
            },
            {
              title: "Contact",              items: [
                { label: "Phone: (215) 555-0147", href: "tel:2155550147" },
                { label: "Email: info@washingtavecarwash.com", href: "mailto:info@washingtavecarwash.com" },
                { label: "Hours: 8 AM - 6 PM Daily", href: "#" },
                { label: "Located on Washington Ave", href: "#" }
              ]
            }
          ]}
        />
      </div>
    </ThemeProvider>
  );
}
