"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarLayoutFloatingInline from '@/components/navbar/NavbarLayoutFloatingInline';
import ContactCenter from '@/components/sections/contact/ContactCenter';
import MetricCardEleven from '@/components/sections/metrics/MetricCardEleven';
import TestimonialCardTwelve from '@/components/sections/testimonial/TestimonialCardTwelve';
import FooterLogoEmphasis from '@/components/sections/footer/FooterLogoEmphasis';
import { Phone, Clock, Star } from 'lucide-react';

export default function ContactPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="text-stagger"
      defaultTextAnimation="background-highlight"
      borderRadius="rounded"
      contentWidth="smallMedium"
      sizing="mediumLargeSizeMediumTitles"
      background="grid"
      cardStyle="outline"
      primaryButtonStyle="double-inset"
      secondaryButtonStyle="glass"
      headingFontWeight="bold"
    >
      <div id="nav" data-section="nav">
        <NavbarLayoutFloatingInline
          brandName="Tony's Tire Shop"
          navItems={[
            { name: "Home", id: "/" },
            { name: "Services", id: "/services" },
            { name: "Tires", id: "/tires" },
            { name: "About", id: "/about" },
            { name: "Contact", id: "/contact" }
          ]}
          button={{
            text: "Call Now",
            href: "tel:+1-800-TIRES-01"
          }}
        />
      </div>

      <div id="contact-main" data-section="contact-main">
        <ContactCenter
          tag="Get In Touch"
          title="Ready to Get Your Tires Fixed?"
          description="Call us now for same-day service availability, or fill out a quick quote request. We're here to help."
          tagIcon={Phone}
          background={{ variant: "rotated-rays-animated-grid" }}
          useInvertedBackground={true}
          inputPlaceholder="Enter your email"
          buttonText="Get a Quote"
          termsText="We'll follow up within 1 hour on business days with your tire quote and same-day options."
        />
      </div>

      <div id="contact-info" data-section="contact-info">
        <MetricCardEleven
          title="Fast Response & Flexible Hours"
          description="We're here when you need us most. Same-day service available with extended hours for your convenience."
          tag="Contact Info"
          tagIcon={Clock}
          metrics={[
            {
              id: "1",
              value: "1 Hour",
              title: "Response Time",
              description: "Quick response to all service requests and quote inquiries",
              imageSrc: "http://img.b2bpic.net/free-photo/mechanic-holding-tire-tire-repair-garage-replacement-winter-summer-tires_146671-18338.jpg",
              imageAlt: "Fast response time guarantee"
            },
            {
              id: "2",
              value: "7am-6pm",
              title: "Mon-Fri Hours",
              description: "Extended hours Monday through Friday, Saturday 8am-4pm",
              imageSrc: "http://img.b2bpic.net/free-photo/happy-mechanic-greeting-with-his-african-american-coworker-auto-repair-shop_637285-11601.jpg",
              imageAlt: "Convenient business hours"
            }
          ]}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
        />
      </div>

      <div id="contact-testimonials" data-section="contact-testimonials">
        <TestimonialCardTwelve
          cardTitle="Customers love our quick response times and accommodating service. Emergency tire issues handled the same day, every time."
          cardTag="Customer experiences"
          cardTagIcon={Star}
          cardAnimation="slide-up"
          useInvertedBackground={true}
          testimonials={[
            { 
              id: "1", 
              name: "David Park", 
              imageSrc: "http://img.b2bpic.net/free-photo/smiling-young-businessman-suit-looking-camera-meeting_1163-4654.jpg"
            },
            { 
              id: "2", 
              name: "Lisa Thompson", 
              imageSrc: "http://img.b2bpic.net/free-photo/smiling-young-businessman-suit-looking-camera-meeting_1163-4654.jpg"
            },
            { 
              id: "3", 
              name: "Robert Wilson", 
              imageSrc: "http://img.b2bpic.net/free-photo/smiling-young-businessman-suit-looking-camera-meeting_1163-4654.jpg"
            },
            { 
              id: "4", 
              name: "Maria Garcia", 
              imageSrc: "http://img.b2bpic.net/free-photo/smiling-young-businessman-suit-looking-camera-meeting_1163-4654.jpg"
            }
          ]}
        />
      </div>

      <FooterLogoEmphasis
        logoText="Tony's Tire Shop"
        columns={[
          {
            items: [
              { label: "Home", href: "/" },
              { label: "Services", href: "/services" },
              { label: "Tires", href: "/tires" },
              { label: "About", href: "/about" }
            ]
          },
          {
            items: [
              { label: "Contact", href: "/contact" },
              { label: "Call: (800) 123-4567", href: "tel:+1-800-123-4567" }
            ]
          }
        ]}
      />
    </ThemeProvider>
  );
}