"use client"

import NavbarStyleMinimal from '@/components/navbar/NavbarStyleMinimal';
import HeroBillboardCarousel from '@/components/sections/hero/HeroBillboardCarousel';
import AboutMetric from '@/components/sections/about/AboutMetric';
import FeatureCardEight from '@/components/sections/feature/FeatureCardEight';
import TestimonialCardTen from '@/components/sections/testimonial/TestimonialCardTen';
import ContactFaq from '@/components/sections/contact/ContactFaq';
import FooterSimple from '@/components/sections/footer/FooterSimple';
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import { ShieldCheck, Star, ThumbsUp, Clock, DollarSign, Zap, Phone } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="hover-bubble"
      defaultTextAnimation="entrance-slide"
      borderRadius="sharp"
      contentWidth="mediumSmall"
      sizing="largeSmallSizeMediumTitles"
      background="plain"
      cardStyle="inset"
      primaryButtonStyle="inset-glow"
      secondaryButtonStyle="layered"
      headingFontWeight="extrabold"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleMinimal
          brandName="North Richland Plumbing"
          button={{
            text: "Call Now",            href: "tel:+18175551234"
          }}
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroBillboardCarousel
          title="Fast, Reliable 24/7 Plumbing Service in North Richland Hills"
          description="We're your trusted local plumber for emergency repairs, drain cleaning, kitchen remodels, and all your plumbing needs. 4.6★ rated with 49 customer reviews."
          tag="Licensed & Insured"
          tagIcon={ShieldCheck}
          buttons={[
            { text: "Schedule Service", href: "#contact" },
            { text: "Emergency Call", href: "tel:+18175551234" }
          ]}
          mediaItems={[
            {
              imageSrc: "https://img.b2bpic.net/free-photo/service-maintenance-worker-repairing_23-2149176719.jpg",              imageAlt: "Professional plumber performing emergency service"
            },
            {
              imageSrc: "https://img.b2bpic.net/free-photo/cheerful-asian-plumber-sitting-floor-repairing-kitchen-sink_1098-17780.jpg",              imageAlt: "Plumbing service van ready for dispatch"
            },
            {
              imageSrc: "https://img.b2bpic.net/free-photo/sanitary-technician-gesturing-thumb-up_23-2147772204.jpg",              imageAlt: "Expert plumber working on pipes and installation"
            },
            {
              imageSrc: "https://img.b2bpic.net/free-photo/household-repair-middle-aged-man-inspecting-pipe-touching-hand-sink-stylish-modern-kitchen_259150-58265.jpg",              imageAlt: "Modern kitchen plumbing renovation project"
            },
            {
              imageSrc: "https://img.b2bpic.net/free-photo/low-angle-man-working-as-plumber_23-2150746296.jpg",              imageAlt: "Professional bathroom plumbing upgrade"
            }
          ]}
        />
      </div>

      <div id="about" data-section="about">
        <AboutMetric
          title="Trusted by families and businesses throughout the Mid-Cities area. We treat every home and business like our own."
          metrics={[
            {
              icon: Star,
              label: "Customer Rating",              value: "4.6★"
            },
            {
              icon: ThumbsUp,
              label: "Customer Reviews",              value: "49+"
            },
            {
              icon: Clock,
              label: "24/7 Emergency Response",              value: "Always Ready"
            },
            {
              icon: DollarSign,
              label: "Transparent Pricing",              value: "No Surprises"
            }
          ]}
          useInvertedBackground="invertDefault"
        />
      </div>

      <div id="features" data-section="features">
        <FeatureCardEight
          title="Complete Plumbing Solutions"
          description="From emergency drain cleaning to full kitchen and bathroom remodels, we handle it all with professionalism and integrity."
          tag="Our Services"
          tagIcon={Zap}
          textboxLayout="default"
          useInvertedBackground="noInvert"
          features={[
            {
              id: 1,
              title: "24/7 Emergency Response",              description: "Burst pipes, leaks, and backups don't wait. Neither do we. Fast response times to minimize damage and get your plumbing back to normal.",              imageSrc: "https://img.b2bpic.net/free-vector/24-hours-open-service-everyday-banner-with-clock-sign_1017-52830.jpg",              imageAlt: "Emergency plumbing response"
            },
            {
              id: 2,
              title: "Drain Cleaning & Repairs",              description: "Slow drains and backups? We use advanced techniques to clear clogs and prevent future issues without damaging your pipes.",              imageSrc: "https://img.b2bpic.net/free-vector/247-hours-open-helpline-yellow-template-design_1017-54495.jpg",              imageAlt: "Professional drain cleaning service"
            },
            {
              id: 3,
              title: "Transparent Pricing",              description: "No hidden fees, no surprises. You'll get an honest quote upfront. We believe in fair pricing and quality work every time.",              imageSrc: "https://img.b2bpic.net/free-vector/24-hrs-7-days-always-open-service-availability-poster_1017-52820.jpg",              imageAlt: "Clear and honest pricing quote"
            },
            {
              id: 4,
              title: "Expert Installation & Remodels",              description: "Kitchen and bathroom plumbing upgrades done right. From layout planning to final installation, we ensure quality work.",              imageSrc: "https://img.b2bpic.net/free-vector/24-hour-everyday-open-service-concept-background_1017-42466.jpg",              imageAlt: "Expert plumbing installation work"
            }
          ]}
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardTen
          title="Real Stories from Real Customers"
          description="See why families and businesses trust us for their plumbing needs"
          textboxLayout="default"
          useInvertedBackground="invertDefault"
          testimonials={[
            {
              id: "1",              title: "Fixed our emergency at midnight",              quote: "Our main line backed up on a Saturday night. We called and they were here within an hour. Professional, quick, and fair pricing. Highly recommend!",              name: "Jennifer Martinez",              role: "Homeowner",              imageSrc: "https://img.b2bpic.net/free-photo/smiling-man-sitting-cafe-table-gesturing_1262-1141.jpg",              imageAlt: "Jennifer Martinez"
            },
            {
              id: "2",              title: "Perfect kitchen remodel plumbing",              quote: "We were renovating our kitchen and needed a plumber we could trust. They coordinated perfectly with our contractor and did beautiful work.",              name: "David Chen",              role: "Homeowner",              imageSrc: "https://img.b2bpic.net/free-photo/older-woman-with-thumb-up_1149-1162.jpg",              imageAlt: "David Chen"
            },
            {
              id: "3",              title: "Honest about what we actually needed",              quote: "They diagnosed our issue, explained it clearly, and didn't try to upsell us. That kind of integrity is rare. We'll use them again.",              name: "Sarah Johnson",              role: "Property Manager",              imageSrc: "https://img.b2bpic.net/free-photo/handsome-man-making-ok-sign_1368-6336.jpg",              imageAlt: "Sarah Johnson"
            },
            {
              id: "4",              title: "Drain cleaning saved our day",              quote: "Multiple slow drains and they cleared everything without tearing up our yard. Great service, great price, great people.",              name: "Michael Torres",              role: "Homeowner",              imageSrc: "https://img.b2bpic.net/free-photo/happy-man-with-thumbs-up_1187-3144.jpg",              imageAlt: "Michael Torres"
            },
            {
              id: "5",              title: "Reliable plumber for our office building",              quote: "For our light commercial space, they're always dependable. Scheduled maintenance, emergency calls—they handle it all professionally.",              name: "Lisa Anderson",              role: "Business Owner",              imageSrc: "https://img.b2bpic.net/free-photo/smiling-middle-aged-attractive-woman-showing-thumb-up-outdoors_1262-12526.jpg",              imageAlt: "Lisa Anderson"
            },
            {
              id: "6",              title: "Worth every penny",              quote: "Not the cheapest option, but the best value. Quality work, professional team, and they back their work. That's worth it.",              name: "Robert Williams",              role: "Homeowner",              imageSrc: "https://img.b2bpic.net/free-photo/woman-with-thumbs-up_1149-1163.jpg",              imageAlt: "Robert Williams"
            }
          ]}
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactFaq
          ctaTitle="Need Plumbing Help?"
          ctaDescription="Call us now for emergency service or schedule an appointment at your convenience."
          ctaIcon={Phone}
          ctaButton={{
            text: "Call (817) 555-1234",            href: "tel:+18175551234"
          }}
          useInvertedBackground="noInvert"
          animationType="slide-up"
          faqs={[
            {
              id: "1",              title: "Do you offer emergency service?",              content: "Yes! We're available 24/7 for emergency plumbing calls. Burst pipes, backed-up drains, and water heater failures—we're here to help anytime."
            },
            {
              id: "2",              title: "What areas do you serve?",              content: "We proudly serve North Richland Hills and throughout the Mid-Cities area, including Arlington, Grand Prairie, and surrounding communities."
            },
            {
              id: "3",              title: "How do you charge for service?",              content: "We believe in transparent pricing. You'll receive an honest quote before we start work. No hidden fees, no surprises—just fair pricing for quality work."
            },
            {
              id: "4",              title: "Do you handle remodeling projects?",              content: "Absolutely. We specialize in kitchen and bathroom plumbing for remodels. We can work with your contractor or serve as your primary plumbing contact."
            },
            {
              id: "5",              title: "Are you licensed and insured?",              content: "Yes, we're fully licensed and insured. Your peace of mind is important to us, and we stand behind every job we do."
            }
          ]}
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterSimple
          columns={[
            {
              title: "Service",              items: [
                { label: "Emergency Plumbing", href: "#services" },
                { label: "Drain Cleaning", href: "#services" },
                { label: "Kitchen Remodel", href: "#services" },
                { label: "Bathroom Upgrade", href: "#services" }
              ]
            },
            {
              title: "Company",              items: [
                { label: "About Us", href: "#about" },
                { label: "Reviews", href: "#testimonials" },
                { label: "Contact", href: "#contact" },
                { label: "Service Area", href: "#services" }
              ]
            },
            {
              title: "Legal",              items: [
                { label: "Privacy Policy", href: "#" },
                { label: "Terms of Service", href: "#" },
                { label: "License Info", href: "#" }
              ]
            }
          ]}
          bottomLeftText="© 2025 North Richland Plumbing. All rights reserved. Licensed & Insured."
          bottomRightText="Serving North Richland Hills & the Mid-Cities area"
        />
      </div>
    </ThemeProvider>
  );
}