"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered';
import HeroBillboard from '@/components/sections/hero/HeroBillboard';
import FeatureCardTwentySix from '@/components/sections/feature/FeatureCardTwentySix';
import MediaAbout from '@/components/sections/about/MediaAbout';
import SocialProofOne from '@/components/sections/socialProof/SocialProofOne';
import TestimonialCardFifteen from '@/components/sections/testimonial/TestimonialCardFifteen';
import PricingCardNine from '@/components/sections/pricing/PricingCardNine';
import FaqSplitMedia from '@/components/sections/faq/FaqSplitMedia';
import ContactCenter from '@/components/sections/contact/ContactCenter';
import FooterLogoEmphasis from '@/components/sections/footer/FooterLogoEmphasis';
import { ArrowRight, Award, Briefcase, CheckCircle, DollarSign, HelpCircle, Mail, Zap } from 'lucide-react';

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="hover-magnetic"
      defaultTextAnimation="reveal-blur"
      borderRadius="pill"
      contentWidth="medium"
      sizing="medium"
      background="none"
      cardStyle="inset"
      primaryButtonStyle="gradient"
      secondaryButtonStyle="solid"
      headingFontWeight="medium"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleCentered
          navItems={[
            { name: "Services", id: "services" },
            { name: "Why Us", id: "about" },
            { name: "Pricing", id: "pricing" },
            { name: "FAQ", id: "faq" },
            { name: "Contact", id: "contact" },
          ]}
          button={{ text: "Get Free Quote", href: "contact" }}
          brandName="JunkGone"
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroBillboard
          title="Junk Gone Today, Stress Gone Forever"
          description="We handle all the heavy lifting—from your attic to your driveway. Fast, affordable, and hassle-free junk removal in your area."
          background={{ variant: "plain" }}
          tag="Same-Day Service"
          tagIcon={Zap}
          tagAnimation="slide-up"
          buttons={[
            { text: "Get Your Free Quote", href: "contact" },
            { text: "How It Works", href: "#services" },
          ]}
          imageSrc="http://img.b2bpic.net/free-photo/wheel-loader-transporting-municipal-waste-waste-treatment-plant_181624-57005.jpg?_wi=1"
          imageAlt="Professional junk removal team at work"
          mediaAnimation="slide-up"
          useInvertedBackground={false}
          ariaLabel="Hero section - Junk removal services"
        />
      </div>

      <div id="services" data-section="services">
        <FeatureCardTwentySix
          title="Our Services"
          description="Comprehensive junk removal solutions tailored to residential and commercial needs"
          tag="What We Do"
          tagIcon={Briefcase}
          tagAnimation="slide-up"
          textboxLayout="default"
          useInvertedBackground={true}
          features={[
            {
              title: "Residential Cleanup",              description: "Estate cleanouts, renovations, and general decluttering. We handle it all with care and professionalism.",              imageSrc: "http://img.b2bpic.net/free-photo/woman-cleaning-house_53876-30618.jpg?_wi=1",              imageAlt: "Residential cleanup service",              buttonIcon: ArrowRight,
              buttonHref: "contact"},
            {
              title: "Commercial Junk Removal",              description: "Bulk debris removal for contractors, property managers, and business owners with flexible scheduling.",              imageSrc: "http://img.b2bpic.net/free-photo/still-life-with-gardening-concept_23-2148127871.jpg?_wi=1",              imageAlt: "Commercial junk removal",              buttonIcon: ArrowRight,
              buttonHref: "contact"},
            {
              title: "Renovation Debris",              description: "Post-renovation cleanup with efficient removal of construction waste and scrap materials.",              imageSrc: "http://img.b2bpic.net/free-photo/infected-radiation-gas-masks-floor-boxes-chernobyl-nuclear-power-plant-zone-alienation_627829-11723.jpg?_wi=1",              imageAlt: "Renovation debris removal",              buttonIcon: ArrowRight,
              buttonHref: "contact"},
            {
              title: "Fast & Reliable",              description: "Same-day quotes, transparent pricing, and scheduled pickups that work with your timeline.",              imageSrc: "http://img.b2bpic.net/free-photo/wheel-loader-transporting-municipal-waste-waste-treatment-plant_181624-57005.jpg?_wi=2",              imageAlt: "Fast junk removal service",              buttonIcon: ArrowRight,
              buttonHref: "contact"},
          ]}
        />
      </div>

      <div id="about" data-section="about">
        <MediaAbout
          title="Why Choose JunkGone?"
          description="We're trusted by thousands of homeowners and contractors for transparent pricing, professional service, and stress-free junk disposal that eliminates the hassle completely."
          tag="About Us"
          tagIcon={CheckCircle}
          tagAnimation="slide-up"
          buttons={[{ text: "Book Now", href: "contact" }]}
          imageSrc="http://img.b2bpic.net/free-photo/woman-cleaning-house_53876-30618.jpg?_wi=2"
          imageAlt="Our professional junk removal team"
          useInvertedBackground={false}
          ariaLabel="About JunkGone - Why choose us section"
        />
      </div>

      <div id="social-proof" data-section="social-proof">
        <SocialProofOne
          title="Trusted by Leading Property Managers & Contractors"
          description="Industry leaders choose JunkGone for reliable, affordable debris disposal"
          tag="Trusted Partners"
          tagIcon={Award}
          tagAnimation="slide-up"
          textboxLayout="default"
          useInvertedBackground={true}
          names={[
            "Property Management Plus",            "BuildRight Contractors",            "Urban Renovations Inc",            "Estate Solutions Pro",            "Green Clean Services",            "Metro Realty Group",            "Quick Flip Homes"]}
          speed={40}
          showCard={true}
          ariaLabel="Trusted partners social proof section"
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardFifteen
          testimonial="JunkGone came the same day I called. The team was professional, courteous, and fair on pricing. They took care of everything from my attic cleanout without any fuss. Couldn't recommend them more!"
          rating={5}
          author="Margaret S., Homeowner"
          avatars={[
            { src: "http://img.b2bpic.net/free-photo/close-up-portrait-young-handsome-successful-man_1163-5475.jpg", alt: "Margaret S." },
            { src: "http://img.b2bpic.net/free-photo/smiling-businessman-standing-airport_107420-85035.jpg", alt: "James T." },
            { src: "http://img.b2bpic.net/free-photo/close-up-portrait-young-handsome-successful-man_1163-5475.jpg", alt: "Linda M." },
            { src: "http://img.b2bpic.net/free-photo/portrait-smiley-business-woman_23-2148603029.jpg", alt: "David R." },
            { src: "http://img.b2bpic.net/free-photo/smiling-businessman-standing-airport-terminal_107420-85070.jpg", alt: "Sarah K." },
            { src: "http://img.b2bpic.net/free-photo/close-up-portrait-young-handsome-successful-man_1163-5475.jpg", alt: "Thomas W." },
          ]}
          ratingAnimation="slide-up"
          avatarsAnimation="slide-up"
          useInvertedBackground={false}
          ariaLabel="Customer testimonial section"
        />
      </div>

      <div id="pricing" data-section="pricing">
        <PricingCardNine
          title="Simple, Transparent Pricing"
          description="Get a free quote based on the volume and type of junk. No hidden fees, just honest pricing."
          tag="Pricing"
          tagIcon={DollarSign}
          tagAnimation="slide-up"
          textboxLayout="default"
          useInvertedBackground={true}
          animationType="slide-up"
          plans={[
            {
              id: "small-load",              title: "Small Load",              price: "Starting",              period: "$149",              imageSrc: "http://img.b2bpic.net/free-photo/woman-cleaning-house_53876-30618.jpg?_wi=3",              imageAlt: "Small junk removal load",              button: { text: "Get Quote", href: "contact" },
              features: [
                "Up to 1/4 truck load",                "Same-day scheduling available",                "Transparent pricing",                "Quick 15-minute service"],
            },
            {
              id: "standard-load",              title: "Standard Load",              price: "Starting",              period: "$349",              imageSrc: "http://img.b2bpic.net/free-photo/still-life-with-gardening-concept_23-2148127871.jpg?_wi=2",              imageAlt: "Standard junk removal service",              button: { text: "Get Quote", href: "contact" },
              features: [
                "Up to 1/2 truck load",                "Multiple room cleanout",                "Professional team handling",                "Flexible scheduling"],
            },
            {
              id: "large-load",              title: "Large Load",              price: "Starting",              period: "$599",              imageSrc: "http://img.b2bpic.net/free-photo/infected-radiation-gas-masks-floor-boxes-chernobyl-nuclear-power-plant-zone-alienation_627829-11723.jpg?_wi=2",              imageAlt: "Large junk removal project",              button: { text: "Get Quote", href: "contact" },
              features: [
                "Full truck load",                "Estate cleanouts & renovations",                "Heavy item removal",                "Priority scheduling"],
            },
          ]}
        />
      </div>

      <div id="faq" data-section="faq">
        <FaqSplitMedia
          title="Frequently Asked Questions"
          description="Get answers to common questions about our junk removal services and booking process."
          tag="FAQ"
          tagIcon={HelpCircle}
          tagAnimation="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
          imageSrc="http://img.b2bpic.net/free-photo/young-beautiful-female-support-phone-operator-speaking-consulting-office_176420-957.jpg"
          imageAlt="Customer support representative"
          mediaPosition="left"
          mediaAnimation="slide-up"
          faqsAnimation="slide-up"
          animationType="smooth"
          showCard={true}
          faqs={[
            {
              id: "how-pricing",              title: "How is pricing determined?",              content: "We provide free, upfront quotes based on the volume and type of junk. Simply describe what you need removed, and we'll give you an honest price with no hidden fees. Same-day quotes available by phone or online."},
            {
              id: "schedule-service",              title: "How quickly can you schedule service?",              content: "We offer same-day service in most areas. Call or submit a quote request, and we'll confirm your appointment time. We're flexible with scheduling to work around your availability."},
            {
              id: "what-we-remove",              title: "What types of junk do you remove?",              content: "We remove virtually everything: furniture, appliances, electronics, construction debris, yard waste, and more. We handle heavy items and hard-to-reach spaces. Just ask if you're unsure about something specific."},
            {
              id: "payment-options",              title: "What payment methods do you accept?",              content: "We accept all major credit cards, checks, and cash. Payment is due upon service completion. We also offer convenient online payment options for recurring customers."},
            {
              id: "environmentally-friendly",              title: "Do you recycle or donate items?",              content: "Yes! We donate usable items to local charities and recycle materials whenever possible. We're committed to responsible disposal and minimizing landfill waste. Ask us about donation options."},
          ]}
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactCenter
          tag="Ready to Book?"
          title="Get Your Free Quote Today"
          description="No obligation. No hidden fees. Just honest pricing and professional service. We'll get back to you within 2 hours."
          tagIcon={Mail}
          tagAnimation="slide-up"
          background={{ variant: "radial-gradient" }}
          useInvertedBackground={true}
          inputPlaceholder="Enter your email"
          buttonText="Get Free Quote"
          termsText="We respect your privacy and will never spam. Unsubscribe at any time."
          ariaLabel="Contact and email signup section"
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterLogoEmphasis
          logoText="JunkGone"
          columns={[
            {
              items: [
                { label: "Services", href: "#services" },
                { label: "Pricing", href: "#pricing" },
                { label: "How It Works", href: "#services" },
                { label: "FAQ", href: "#faq" },
              ],
            },
            {
              items: [
                { label: "About Us", href: "#about" },
                { label: "Contact", href: "#contact" },
                { label: "Service Areas", href: "#" },
                { label: "Careers", href: "#" },
              ],
            },
            {
              items: [
                { label: "Privacy Policy", href: "#" },
                { label: "Terms of Service", href: "#" },
                { label: "Environmental Policy", href: "#" },
              ],
            },
            {
              items: [
                { label: "Facebook", href: "https://facebook.com" },
                { label: "Instagram", href: "https://instagram.com" },
                { label: "Twitter", href: "https://twitter.com" },
              ],
            },
          ]}
          ariaLabel="Site footer with navigation and company information"
        />
      </div>
    </ThemeProvider>
  );
}
