"use client"

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarLayoutFloatingInline from '@/components/navbar/NavbarLayoutFloatingInline';
import HeroSplitDualMedia from '@/components/sections/hero/HeroSplitDualMedia';
import TestimonialAboutCard from '@/components/sections/about/TestimonialAboutCard';
import FeatureCardTwentyFour from '@/components/sections/feature/FeatureCardTwentyFour';
import ProductCardTwo from '@/components/sections/product/ProductCardTwo';
import TestimonialCardTen from '@/components/sections/testimonial/TestimonialCardTen';
import ContactCTA from '@/components/sections/contact/ContactCTA';
import FooterLogoReveal from '@/components/sections/footer/FooterLogoReveal';
import { Zap, CheckCircle, Lightbulb, Flame, Heart, Star, Phone } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="bounce-effect"
      defaultTextAnimation="background-highlight"
      borderRadius="soft"
      contentWidth="mediumLarge"
      sizing="mediumLargeSizeMediumTitles"
      background="blurBottom"
      cardStyle="inset"
      primaryButtonStyle="flat"
      secondaryButtonStyle="radial-glow"
      headingFontWeight="medium"
    >
      <div id="nav" data-section="nav">
        <NavbarLayoutFloatingInline
          brandName="Heating & Cooling Chicago"
          navItems={[
            { name: "Services", id: "services" },
            { name: "About", id: "about" },
            { name: "Why Us", id: "why-us" },
            { name: "Testimonials", id: "testimonials" }
          ]}
          button={{
            text: "Schedule Service",            href: "#contact"
          }}
          className="bg-white/80 backdrop-blur-sm border border-accent shadow-lg"
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroSplitDualMedia
          tag="Premium HVAC Services"
          tagIcon={Zap}
          title="Chicago Weather Is Extreme. Your Comfort Shouldn't Be."
          description="Professional Heating, Cooling & Ventilation Services — Done Clean, Done Right, Done On Time. Precision Comfort. Chicago Tough."
          background={{ variant: "plain" }}
          mediaItems={[
            {
              imageSrc: "http://img.b2bpic.net/free-photo/chicago-silhouette_649448-1647.jpg",              imageAlt: "Chicago skyline at dusk with city lights"
            },
            {
              imageSrc: "http://img.b2bpic.net/free-photo/abstract-metallic-surface-wallpaper_23-2148846062.jpg",              imageAlt: "Clean indoor airflow and ventilation visualization"
            }
          ]}
          rating={5}
          ratingText="5-Star Rated • On-Time Technicians • Spotless Work • Fully Licensed & Insured"
          buttons={[
            {
              text: "Schedule Service",              href: "#contact"
            },
            {
              text: "Call Now – Same Day Available",              href: "tel:+1234567890"
            }
          ]}
          tagAnimation="slide-up"
          buttonAnimation="slide-up"
          mediaAnimation="slide-up"
        />
      </div>

      <div id="trust" data-section="trust">
        <TestimonialAboutCard
          tag="Why Choose Us"
          tagIcon={CheckCircle}
          title="Same-Day Appointments • Transparent Pricing • Clean, Respectful Technicians • Advanced Vent & Airflow Specialists"
          description="Trust & Expertise"
          subdescription="Every appointment, every detail, every time."
          icon={CheckCircle}
          imageSrc="http://img.b2bpic.net/free-photo/cheerful-asian-plumber-overalls-standing-door-with-toolbox_1098-17819.jpg?_wi=1"
          imageAlt="Professional HVAC technician in clean uniform"
          useInvertedBackground={false}
          mediaAnimation="slide-up"
        />
      </div>

      <div id="about" data-section="about">
        <TestimonialAboutCard
          tag="About Heating & Cooling Chicago"
          tagIcon={Lightbulb}
          title="Engineered Comfort for Chicago Homes"
          description="At Heating & Cooling Chicago, we don't just install systems — we optimize comfort. Our trained HVAC specialists arrive on time, explain every step clearly, and complete projects efficiently without sacrificing detail. From vent cleaning to full airflow transformations, we leave your home cleaner, fresher, and more comfortable than we found it. We believe professionalism isn't optional. It's the standard."
          subdescription="Precision. Cleanliness. Results."
          icon={Lightbulb}
          imageSrc="http://img.b2bpic.net/free-photo/high-end-home-office-trendy-loft-apartment-with-empty-desk_482257-122616.jpg?_wi=1"
          imageAlt="Clean organized workspace showing professional HVAC work"
          useInvertedBackground={true}
          mediaAnimation="slide-up"
        />
      </div>

      <div id="services" data-section="services">
        <FeatureCardTwentyFour
          title="Our HVAC Services"
          description="Complete heating, cooling, and ventilation solutions tailored to your Chicago home's unique needs."
          tag="Premium Services"
          tagIcon={Flame}
          features={[
            {
              id: "heating",              title: "Heating Services",              author: "Year-Round Comfort",              description: "Furnace installation, repair, tune-ups, and emergency heating response. Keep your family warm through brutal Chicago winters with our expert heating solutions.",              tags: ["Furnace", "Installation", "Repair"],
              imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-nurse-giving-scan-patient_23-2149341551.jpg?_wi=1",              imageAlt: "Professional furnace installation and heating system"
            },
            {
              id: "cooling",              title: "Cooling Services",              author: "Summer Relief",              description: "AC installation, repair, maintenance, and system optimization. Beat the summer heat with efficient cooling systems that keep your home perfectly comfortable.",              tags: ["AC", "Installation", "Maintenance"],
              imageSrc: "http://img.b2bpic.net/free-photo/smoke-pipe-industry-factory_1127-3436.jpg?_wi=1",              imageAlt: "Professional air conditioning unit and cooling system"
            },
            {
              id: "vent-cleaning",              title: "Vent & Duct Cleaning",              author: "Breathe Easy",              description: "Deep vent cleaning that improves airflow and indoor air quality. Notice the difference immediately as fresh, clean air flows through your home.",              tags: ["Cleaning", "Ducts", "Air Quality"],
              imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-people-wearing-helmets-work_23-2149366667.jpg?_wi=1",              imageAlt: "Professional vent and duct cleaning service"
            },
            {
              id: "airflow",              title: "Airflow & Ventilation Upgrades",              author: "Performance Enhancement",              description: "Kitchen ventilation, ceiling vent installs, and airflow redesign. Transform your home's air circulation for optimal comfort and efficiency.",              tags: ["Ventilation", "Installation", "Upgrade"],
              imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-people-wearing-helmets-work_23-2149366667.jpg?_wi=2",              imageAlt: "Professional ventilation upgrade and installation"
            },
            {
              id: "maintenance",              title: "HVAC Maintenance Plans",              author: "Long-Term Care",              description: "Seasonal tune-ups and system longevity plans. Prevent costly breakdowns and extend your system's lifespan with regular professional maintenance.",              tags: ["Tune-Up", "Maintenance", "Prevention"],
              imageSrc: "http://img.b2bpic.net/free-photo/male-plumber-working-with-client-fix-kitchen-problems_23-2150990690.jpg",              imageAlt: "HVAC maintenance and seasonal tune-up service"
            }
          ]}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
        />
      </div>

      <div id="why-us" data-section="why-us">
        <ProductCardTwo
          title="Why Homeowners Trust Us"
          description="Professionalism You Can Feel. Every interaction reflects our commitment to excellence."
          tag="Customer-Focused Service"
          tagIcon={Heart}
          products={[
            {
              id: "1",              brand: "Reliability",              name: "Always On Time",              price: "Zero Late Arrivals",              rating: 5,
              reviewCount: "100%",              imageSrc: "http://img.b2bpic.net/free-photo/cheerful-asian-plumber-overalls-standing-door-with-toolbox_1098-17819.jpg?_wi=2",              imageAlt: "On-time HVAC technician ready to serve"
            },
            {
              id: "2",              brand: "Transparency",              name: "Clear Explanations",              price: "No Hidden Costs",              rating: 5,
              reviewCount: "Guaranteed",              imageSrc: "http://img.b2bpic.net/free-photo/high-end-home-office-trendy-loft-apartment-with-empty-desk_482257-122616.jpg?_wi=2",              imageAlt: "Professional and transparent service explanation"
            },
            {
              id: "3",              brand: "Efficiency",              name: "Fast Completion",              price: "Without Rushing",              rating: 5,
              reviewCount: "Always",              imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-nurse-giving-scan-patient_23-2149341551.jpg?_wi=2",              imageAlt: "Efficient HVAC service completion"
            },
            {
              id: "4",              brand: "Cleanliness",              name: "Spotless Work Sites",              price: "Pristine Results",              rating: 5,
              reviewCount: "Promised",              imageSrc: "http://img.b2bpic.net/free-photo/smoke-pipe-industry-factory_1127-3436.jpg?_wi=2",              imageAlt: "Clean and professional work environment"
            },
            {
              id: "5",              brand: "Expertise",              name: "Airflow Specialists",              price: "Noticeable Results",              rating: 5,
              reviewCount: "Delivered",              imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-people-wearing-helmets-work_23-2149366667.jpg?_wi=3",              imageAlt: "Expert vent and airflow optimization"
            },
            {
              id: "6",              brand: "Professionalism",              name: "Friendly Technicians",              price: "Knowledgeable Staff",              rating: 5,
              reviewCount: "Always",              imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-people-wearing-helmets-work_23-2149366667.jpg?_wi=4",              imageAlt: "Professional and friendly HVAC technicians"
            }
          ]}
          gridVariant="three-columns-all-equal-width"
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground={true}
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardTen
          title="Real Customer Experiences"
          description="Hear directly from Chicago homeowners who've trusted us with their comfort."
          tag="Customer Testimonials"
          tagIcon={Star}
          testimonials={[
            {
              id: "1",              title: "Exceptional Vent Cleaning Results",              quote: "Having never prioritized vent cleaning before, I was amazed at the difference. The technicians arrived on time, explained everything clearly, and were incredibly professional. My air quality improved noticeably.",              name: "Davon Shaniya",              role: "Chicago Homeowner",              imageSrc: "http://img.b2bpic.net/free-photo/happy-businessman-smiling-camera_1163-4660.jpg",              imageAlt: "Davon Shaniya testimonial portrait"
            },
            {
              id: "2",              title: "Seamless Ceiling Vent Installation",              quote: "The ventilated ceiling installation was seamless. They finished quickly and left everything spotless. The airflow improvement is noticeable immediately. Very impressed with the professionalism.",              name: "Nia Jonathon",              role: "Chicago Homeowner",              imageSrc: "http://img.b2bpic.net/free-photo/closeup-young-female-professional-making-eye-contact-against-colored-background_662251-651.jpg",              imageAlt: "Nia Jonathon testimonial portrait"
            },
            {
              id: "3",              title: "Professional and Knowledgeable Service",              quote: "The team explained every aspect of our furnace repair before starting work. They arrived exactly on time, completed the job efficiently, and my home is warmer and more comfortable than ever.",              name: "Marcus Chen",              role: "Chicago Homeowner",              imageSrc: "http://img.b2bpic.net/free-photo/close-up-portrait-young-handsome-successful-man_1163-5475.jpg",              imageAlt: "Marcus Chen testimonial portrait"
            },
            {
              id: "4",              title: "Outstanding AC Installation Experience",              quote: "From consultation to installation, their expertise shined through. They answered all my questions, the installation was clean and precise, and the cooling performance exceeded expectations.",              name: "Sarah Williams",              role: "Chicago Homeowner",              imageSrc: "http://img.b2bpic.net/free-photo/smiling-african-american-man-posing-library_74855-1619.jpg",              imageAlt: "Sarah Williams testimonial portrait"
            }
          ]}
          textboxLayout="default"
          useInvertedBackground={false}
          buttons={[
            {
              text: "Book Your Service Today",              href: "#contact"
            }
          ]}
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactCTA
          tag="Ready to Improve Your Comfort?"
          tagIcon={Phone}
          title="Comfort Should Never Be Complicated."
          description="Schedule your appointment today. Our team is standing by to deliver precision comfort, professional service, and spotless results."
          buttons={[
            {
              text: "Schedule Service Online",              href: "tel:+1-312-555-0147"
            },
            {
              text: "Call Now: (312) 555-0147",              href: "tel:+1-312-555-0147"
            }
          ]}
          background={{ variant: "radial-gradient" }}
          useInvertedBackground={true}
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterLogoReveal
          logoText="Heating & Cooling Chicago"
          leftLink={{
            text: "Privacy Policy",            href: "#"
          }}
          rightLink={{
            text: "Terms of Service",            href: "#"
          }}
        />
      </div>
    </ThemeProvider>
  );
}