"use client"

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleApple from '@/components/navbar/NavbarStyleApple/NavbarStyleApple';
import HeroBillboardCarousel from '@/components/sections/hero/HeroBillboardCarousel';
import FeatureCardSeven from '@/components/sections/feature/FeatureCardSeven';
import TestimonialAboutCard from '@/components/sections/about/TestimonialAboutCard';
import MetricCardFourteen from '@/components/sections/metrics/MetricCardFourteen';
import TestimonialCardOne from '@/components/sections/testimonial/TestimonialCardOne';
import FaqSplitMedia from '@/components/sections/faq/FaqSplitMedia';
import ContactSplitForm from '@/components/sections/contact/ContactSplitForm';
import FooterLogoReveal from '@/components/sections/footer/FooterLogoReveal';
import { Sparkles, CheckCircle, Award, Shield, Star, HelpCircle } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="icon-arrow"
      defaultTextAnimation="background-highlight"
      borderRadius="pill"
      contentWidth="medium"
      sizing="mediumLarge"
      background="plain"
      cardStyle="glass-depth"
      primaryButtonStyle="radial-glow"
      secondaryButtonStyle="layered"
      headingFontWeight="light"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleApple
          brandName="Spyglass Services"
          navItems={[
            { name: "Services", id: "services" },
            { name: "About", id: "about" },
            { name: "Testimonials", id: "testimonials" },
            { name: "FAQ", id: "faq" },
            { name: "Contact", id: "contact" }
          ]}
        />
      </div>
      
      <div id="hero" data-section="hero">
        <HeroBillboardCarousel
          title="Professional Window Cleaning Since 2004"
          description="Traditional hand-cleaned windows for residential homes and commercial buildings across Northern Kentucky. We deliver sparkling results with professional expertise and non-toxic products."
          tag="Premium Service"
          tagIcon={Sparkles}
          buttons={[
            { text: "Call Now", href: "tel:859-938-7390" },
            { text: "Get Estimate", href: "contact" }
          ]}
          mediaItems={[
            {
              imageSrc: "https://img.b2bpic.net/free-photo/man-servant-washing-windows_23-2149530873.jpg",              imageAlt: "Professional window cleaning service in progress"
            },
            {
              imageSrc: "https://img.b2bpic.net/free-photo/man-servant-washing-windows_23-2149530808.jpg",              imageAlt: "Interior and exterior window cleaning demonstration"
            },
            {
              imageSrc: "https://img.b2bpic.net/free-photo/man-cleaning-his-home_23-2148112428.jpg",              imageAlt: "Professional window cleaning at high elevation"
            },
            {
              imageSrc: "https://img.b2bpic.net/free-photo/housemaid-wearing-white-t-shirt-yellow-protective-gloves-wiping-glass-with-rag-view-brunette-housewife-cleaning-big-dirty-window-concept-housework-apartment-service_132075-11716.jpg",              imageAlt: "Residential home window cleaning service"
            },
            {
              imageSrc: "https://img.b2bpic.net/free-photo/man-doing-professional-home-cleaning-service_23-2150358973.jpg",              imageAlt: "Commercial building window cleaning"
            },
            {
              imageSrc: "https://img.b2bpic.net/free-photo/medium-shot-people-cleaning-building_23-2150454517.jpg",              imageAlt: "Professional Spyglass Services team member"
            }
          ]}
          ariaLabel="Spyglass window cleaning services showcase"
        />
      </div>
      
      <div id="services" data-section="services">
        <FeatureCardSeven
          title="Our Premium Services"
          description="Comprehensive window cleaning solutions tailored to meet the needs of residential and commercial clients throughout the Northern Kentucky area."
          tag="What We Offer"
          tagIcon={CheckCircle}
          textboxLayout="default"
          animationType="slide-up"
          useInvertedBackground="invertDefault"
          features={[
            {
              id: 1,
              title: "Interior & Exterior Cleaning",              description: "Professional cleaning of all window types using industry-grade tools that won't scratch your glass. Our technicians deliver crystal-clear results on both sides of your windows.",              imageSrc: "https://img.b2bpic.net/free-photo/man-servant-washing-windows_23-2149530808.jpg"
            },
            {
              id: 2,
              title: "High-Access Window Cleaning",              description: "Safe professional cleaning up to 30 feet high. We handle challenging heights with specialized equipment and trained technicians to ensure safety and quality.",              imageSrc: "https://img.b2bpic.net/free-photo/man-cleaning-his-home_23-2148112428.jpg"
            },
            {
              id: 3,
              title: "Specialty Services",              description: "Beyond windows: screen cleaning, spider web removal, paint removal, window frame cleaning, stucco tape removal, and high-access dusting for complete exterior maintenance.",              imageSrc: "https://img.b2bpic.net/free-photo/man-doing-professional-home-cleaning-service_23-2150358973.jpg"
            },
            {
              id: 4,
              title: "Recurring Maintenance Plans",              description: "Scheduled maintenance keeps your windows spotless year-round. Residential homes: 2x annually. Commercial: every 4 weeks. We handle scheduling so you don't have to.",              imageSrc: "https://img.b2bpic.net/free-photo/housemaid-wearing-white-t-shirt-yellow-protective-gloves-wiping-glass-with-rag-view-brunette-housewife-cleaning-big-dirty-window-concept-housework-apartment-service_132075-11716.jpg"
            }
          ]}
        />
      </div>
      
      <div id="about" data-section="about">
        <TestimonialAboutCard
          tag="Professional Excellence"
          tagIcon={Award}
          title="20 Years of Professional Window Cleaning Excellence"
          description="Mike & Team"
          subdescription="Spyglass Services - Edgewood, KY"
          icon={Shield}
          imageSrc="https://img.b2bpic.net/free-photo/medium-shot-people-cleaning-building_23-2150454517.jpg"
          imageAlt="Spyglass Services professional team member"
          useInvertedBackground="noInvert"
        />
      </div>
      
      <div id="why-professional" data-section="why-professional">
        <MetricCardFourteen
          title="Why Choose Professional Window Cleaning? Professional window cleaning saves time, improves results, and protects your investment by identifying potential problems early like damaged glass or wood rot."
          tag="Key Benefits"
          metrics={[
            {
              id: "1",              value: "2x",              description: "Residential homes should have windows cleaned at least twice per year for optimal cleanliness and window longevity."
            },
            {
              id: "2",              value: "30ft",              description: "Safe maximum work height for our professional technicians using industry-standard equipment and safety protocols."
            },
            {
              id: "3",              value: "Non-Toxic",              description: "All our products are biodegradable and environmentally friendly, safe for your family and pets."
            },
            {
              id: "4",              value: "100%",              description: "Professional microfiber tools and soft squeegees ensure zero scratches on all glass surfaces."
            }
          ]}
          useInvertedBackground="invertDefault"
        />
      </div>
      
      <div id="testimonials" data-section="testimonials">
        <TestimonialCardOne
          title="What Our Customers Say"
          description="Real feedback from satisfied customers across Northern Kentucky who trust Spyglass Services for their window cleaning needs."
          tag="Testimonials"
          tagIcon={Star}
          textboxLayout="default"
          animationType="blur-reveal"
          useInvertedBackground="noInvert"
          gridVariant="uniform-all-items-equal"
          carouselMode="buttons"
          testimonials={[
            {
              id: "1",              name: "Teresa M.",              role: "Homeowner",              company: "Google Review",              rating: 5,
              imageSrc: "https://img.b2bpic.net/free-photo/smiling-businessman-standing-airport-terminal_107420-85070.jpg",              imageAlt: "Teresa M., satisfied customer"
            },
            {
              id: "2",              name: "Gayle S.",              role: "Property Owner",              company: "Facebook Review",              rating: 5,
              imageSrc: "https://img.b2bpic.net/free-photo/smiling-businessman-standing-airport_107420-85035.jpg",              imageAlt: "Gayle S., happy client"
            },
            {
              id: "3",              name: "Isaiah A.",              role: "Business Owner",              company: "Google Review",              rating: 5,
              imageSrc: "https://img.b2bpic.net/free-photo/smiling-homosexual-man-official-suit-looking-camera-close-up-shot-happy-gay-getting-dressed-wedding-ceremony-standing-hotel-room-with-his-partner-background-love-emotion-concept_74855-22675.jpg",              imageAlt: "Isaiah A., satisfied business owner"
            },
            {
              id: "4",              name: "Laura W.",              role: "Homeowner",              company: "Google Review",              rating: 5,
              imageSrc: "https://img.b2bpic.net/free-photo/close-up-portrait-young-handsome-successful-man_1163-5475.jpg",              imageAlt: "Laura W., happy homeowner"
            },
            {
              id: "5",              name: "Mary C.",              role: "Business Manager",              company: "Google Review",              rating: 5,
              imageSrc: "https://img.b2bpic.net/free-photo/alone-specialist-handsome-daydreaming-collar_1262-870.jpg",              imageAlt: "Mary C., satisfied manager"
            },
            {
              id: "6",              name: "Professional Service",              role: "Trusted Cleaner",              company: "Spyglass Verified",              rating: 5,
              imageSrc: "https://img.b2bpic.net/free-photo/casual-smile-street-style-background-spring_1139-777.jpg",              imageAlt: "Professional window cleaning service"
            }
          ]}
        />
      </div>
      
      <div id="faq" data-section="faq">
        <FaqSplitMedia
          title="Frequently Asked Questions"
          description="Learn more about our window cleaning services, scheduling, and what makes Spyglass Services the trusted choice for Northern Kentucky."
          tag="Common Questions"
          tagIcon={HelpCircle}
          textboxLayout="default"
          animationType="smooth"
          useInvertedBackground="invertDefault"
          mediaPosition="right"
          imageSrc="https://img.b2bpic.net/free-photo/cleaning-objects-flat-lay_23-2148118447.jpg"
          imageAlt="Professional window cleaning tools and supplies"
          faqs={[
            {
              id: "1",              title: "What is traditional window cleaning?",              content: "Traditional window cleaning involves the application of soapy water to windows, which are then scrubbed clean. A squeegee is wiped over the glass like a car windscreen wiper, removing the soapy water and leaving clean windows. Any water runs are wiped up with a dry microfiber cloth for a spotless finish."
            },
            {
              id: "2",              title: "How often should I have my windows cleaned?",              content: "Residential homes should schedule window cleaning at least twice a year. If you live on a busy street or in an area with lots of pollen and trees, you might choose to have them cleaned three times a year. Businesses should get their windows cleaned weekly, bi-weekly, or monthly depending on their location and foot traffic."
            },
            {
              id: "3",              title: "What happens if windows aren't cleaned regularly?",              content: "Dirt, dust, and grime settle on windows over time and make them look dull while increasing allergen growth that can cause allergic reactions and respiratory issues. Windows that aren't cleaned have a higher risk of etching, which weakens the glass and makes it fragile and prone to shattering. Regular cleaning extends window lifespan."
            },
            {
              id: "4",              title: "Is professional window cleaning worth it?",              content: "Yes! Professional window cleaning saves you time and delivers better results than DIY. Professional cleaners can spot potential problems like damaged glass, wood rot, or poorly-fitting screens—addressing these early saves time and money later. You get cleaner, clearer windows without the hassle."
            },
            {
              id: "5",              title: "What areas do you serve?",              content: "We serve Northern Kentucky (NKY) including Boone, Kenton, and Campbell counties. We handle residential homes, small commercial buildings, restaurants, and plaza storefronts. Call us at 859-938-7390 to confirm service availability for your location."
            },
            {
              id: "6",              title: "Do you use safe cleaning products?",              content: "Yes! All our products are non-toxic and biodegradable, safe for your family, pets, and the environment. We use professional industry-grade tools including microfiber scrubbers and soft squeegee rubbers that won't scratch your glass."
            }
          ]}
        />
      </div>
      
      <div id="contact" data-section="contact">
        <ContactSplitForm
          title="Request Your Free Window Cleaning Estimate"
          description="Contact Spyglass Services today to schedule your professional window cleaning. We'll respond promptly to provide a free estimate and discuss your specific needs."
          useInvertedBackground="noInvert"
          imageSrc="https://img.b2bpic.net/free-photo/housemaid-wearing-white-t-shirt-yellow-protective-gloves-wiping-glass-with-rag-view-brunette-housewife-cleaning-big-dirty-window-concept-housework-apartment-service_132075-11716.jpg"
          imageAlt="Professional window cleaning service"
          mediaPosition="right"
          buttonText="Send Request"
          inputs={[
            {
              name: "name",              type: "text",              placeholder: "Your Full Name",              required: true
            },
            {
              name: "phone",              type: "tel",              placeholder: "Phone Number (859-938-7390)",              required: true
            },
            {
              name: "email",              type: "email",              placeholder: "Email Address",              required: true
            },
            {
              name: "address",              type: "text",              placeholder: "Service Address (Boone, Kenton, Campbell)",              required: true
            }
          ]}
          textarea={{
            name: "message",            placeholder: "Tell us about your window cleaning needs (property type, accessibility, frequency, etc.)",            rows: 4,
            required: false
          }}
        />
      </div>
      
      <div id="footer" data-section="footer">
        <FooterLogoReveal
          logoText="Spyglass Services"
          logoLineHeight={1.2}
          ariaLabel="Spyglass Services footer"
        />
      </div>
    </ThemeProvider>
  );
}