"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import ContactSplit from '@/components/sections/contact/ContactSplit';
import FaqSplitText from '@/components/sections/faq/FaqSplitText';
import FeatureCardTen from '@/components/sections/feature/FeatureCardTen';
import FooterSimple from '@/components/sections/footer/FooterSimple';
import HeroBillboardRotatedCarousel from '@/components/sections/hero/HeroBillboardRotatedCarousel';
import MetricCardEleven from '@/components/sections/metrics/MetricCardEleven';
import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered';
import SocialProofOne from '@/components/sections/socialProof/SocialProofOne';
import TestimonialCardFive from '@/components/sections/testimonial/TestimonialCardFive';
import TextAbout from '@/components/sections/about/TextAbout';
import { Building, CalendarCheck, Droplets, Home, Leaf, ShieldCheck, Sparkles, Sun, Wrench, Shutter, Flower, Bug } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
        defaultButtonVariant="hover-magnetic"
        defaultTextAnimation="entrance-slide"
        borderRadius="pill"
        contentWidth="mediumSmall"
        sizing="largeSizeMediumTitles"
        background="grid"
        cardStyle="subtle-shadow"
        primaryButtonStyle="double-inset"
        secondaryButtonStyle="radial-glow"
        headingFontWeight="medium"
    >
      <ReactLenis root>
  <div id="nav" data-section="nav">
      <NavbarStyleCentered
      navItems={[
        {
          name: "Home",          id: "#hero"},
        {
          name: "About Us",          id: "#about"},
        {
          name: "Services",          id: "#services"},
        {
          name: "Reviews",          id: "#testimonials"},
        {
          name: "FAQ",          id: "#faq"},
        {
          name: "Contact",          id: "#contact"},
      ]}
      button={{
        text: "Get a Quote",        href: "#contact"}}
      brandName="Crisp Window Detail"
    />
  </div>

  <div id="hero" data-section="hero">
      <HeroBillboardRotatedCarousel
      background={{
        variant: "rotated-rays-animated"}}
      title="Sparkling Views, Every Time."
      description="Crisp Window Detail provides exceptional residential and commercial window cleaning services, leaving your windows spotless and your world brighter."
      buttons={[
        {
          text: "Get a Free Quote",          href: "#contact"},
        {
          text: "Our Services",          href: "#services"},
      ]}
      carouselItems={[
        {
          id: "carousel-item-1",          imageSrc: "http://img.b2bpic.net/free-photo/image-beauty-woman-sunglasses-smiling-camera_197531-33682.jpg",          imageAlt: "Professional window cleaner on a high-rise building"},
        {
          id: "carousel-item-2",          imageSrc: "http://img.b2bpic.net/free-photo/buildings-around_1127-2870.jpg",          imageAlt: "Residential window cleaning technician on a ladder"},
        {
          id: "carousel-item-3",          imageSrc: "http://img.b2bpic.net/free-photo/domestic-cleaning-concept-with-wipers-frame_23-2147700612.jpg",          imageAlt: "Close-up of window cleaning tools and water"},
        {
          id: "carousel-item-4",          imageSrc: "http://img.b2bpic.net/free-photo/shopping-girl-looking-store-window_23-2148023339.jpg",          imageAlt: "Commercial building storefront with sparkling clean windows"},
        {
          id: "carousel-item-5",          imageSrc: "http://img.b2bpic.net/free-photo/dinner-table-cafe_1150-12614.jpg",          imageAlt: "Clean window from interior view with bright natural light"},
        {
          id: "carousel-item-6",          imageSrc: "http://img.b2bpic.net/free-photo/low-angle-woman-looking-through-window_23-2148542204.jpg",          imageAlt: "Water spraying on a window during the cleaning process"},
      ]}
      autoPlay={true}
      autoPlayInterval={4000}
    />
  </div>

  <div id="about" data-section="about">
      <TextAbout
      useInvertedBackground={false}
      title="Your Trusted Partner for Impeccable Window Cleaning"
      buttons={[
        {
          text: "Learn More About Us",          href: "#about"},
      ]}
    />
  </div>

  <div id="services" data-section="services">
      <FeatureCardTen
      animationType="slide-up"
      textboxLayout="default"
      useInvertedBackground={true}
      features={[
        {
          title: "Residential Window Cleaning",          description: "Enjoy streak-free windows and a brighter home. We handle all types and sizes of residential properties, ensuring a pristine finish.",          media: {
            imageSrc: "http://img.b2bpic.net/free-photo/boy-with-skateboard-looking-through-window_23-2147667438.jpg",            imageAlt: "Sparkling clean windows on a modern residential home"},
          items: [
            {
              icon: Home,
              text: "Interior & Exterior"},
            {
              icon: Shutter,
              text: "All Window Types"},
            {
              icon: ShieldCheck,
              text: "Safe & Eco-Friendly"},
          ],
          reverse: false
        },
        {
          title: "Commercial Window Cleaning",          description: "Maintain a professional image with impeccably clean windows for your business. We offer flexible scheduling to minimize disruption.",          media: {
            imageSrc: "http://img.b2bpic.net/free-photo/man-doing-professional-home-cleaning-service_23-2150358980.jpg",            imageAlt: "Clean storefront windows of a commercial building"},
          items: [
            {
              icon: Building,
              text: "Storefronts & Offices"},
            {
              icon: CalendarCheck,
              text: "Flexible Scheduling"},
            {
              icon: Sparkles,
              text: "Boost Curb Appeal"},
          ],
          reverse: true
        },
        {
          title: "Screen Cleaning & Repair",          description: "Extend the life and clarity of your screens with our thorough cleaning and minor repair services. Keep pests out and views clear.",          media: {
            imageSrc: "http://img.b2bpic.net/free-photo/hand-cleaning-laptop_23-2148104611.jpg",            imageAlt: "Technician cleaning a window screen"},
          items: [
            {
              icon: Sun,
              text: "Dust & Debris Removal"},
            {
              icon: Wrench,
              text: "Minor Repairs"},
            {
              icon: Flower,
              text: "Increased Airflow"},
          ],
          reverse: false
        },
        {
          title: "Gutter Cleaning",          description: "Protect your property from water damage with our efficient gutter cleaning services, ensuring proper drainage and preventing clogs.",          media: {
            imageSrc: "http://img.b2bpic.net/free-photo/man-fixing-kitchen-sink_53876-24827.jpg",            imageAlt: "Worker cleaning gutters on a house roof"},
          items: [
            {
              icon: Leaf,
              text: "Debris Removal"},
            {
              icon: Droplets,
              text: "Water Flow Optimization"},
            {
              icon: Bug,
              text: "Pest Prevention"},
          ],
          reverse: true
        },
      ]}
      title="Our Professional Window Cleaning Services"
      description="Experience crystal-clear results with our comprehensive range of services, designed to meet your specific needs and exceed your expectations."
    />
  </div>

  <div id="metrics" data-section="metrics">
      <MetricCardEleven
      animationType="slide-up"
      textboxLayout="default"
      useInvertedBackground={false}
      metrics={[
        {
          id: "metric-1",          value: "5.0",          title: "Customer Rating",          description: "Our clients consistently rate us five stars for service excellence and remarkable results.",          imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-young-people-with-reviews_23-2149394417.jpg",          imageAlt: "Five star rating icon"},
        {
          id: "metric-2",          value: "16+",          title: "Verified Reviews",          description: "See what happy customers have to say about our meticulous work and friendly team.",          imageSrc: "http://img.b2bpic.net/free-photo/paper-craft-art-speech-bubble-icon_53876-74767.jpg",          imageAlt: "Speech bubble with review text"},
        {
          id: "metric-3",          value: "5+",          title: "Years of Expertise",          description: "Proudly serving St. George and surrounding areas with professional and reliable service.",          imageSrc: "http://img.b2bpic.net/free-photo/side-view-woman-holding-smartphone_23-2149429172.jpg",          imageAlt: "Calendar icon representing years of experience"},
        {
          id: "metric-4",          value: "1000+",          title: "Projects Completed",          description: "Successfully completed over a thousand projects, ensuring sparkling windows for homes and businesses.",          imageSrc: "http://img.b2bpic.net/free-photo/business-man-working-office_23-2148179152.jpg",          imageAlt: "Checklist icon for completed projects"},
      ]}
      title="Customer Satisfaction is Our Top Priority"
      description="Our commitment to quality and exceptional service is reflected in our outstanding customer feedback and sustained growth."
    />
  </div>

  <div id="testimonials" data-section="testimonials">
      <TestimonialCardFive
      textboxLayout="default"
      useInvertedBackground={true}
      testimonials={[
        {
          id: "t-1",          name: "Wenceslao Estrada",          date: "4 years ago",          title: "Outstanding Professionalism & Efficiency",          quote: "Very great group of guys to work with, Dante was very professional over the phone and friendly when he got to the site. These guys were very punctual and did a GREAT job in a short amount of time. I would definitely recommend Crisp to all my friends and family.",          tag: "Residential Client",          avatarSrc: "http://img.b2bpic.net/free-photo/close-up-successful-entrepreneur_1098-3855.jpg",          avatarAlt: "Avatar of Wenceslao Estrada",          imageSrc: "http://img.b2bpic.net/free-photo/modern-corporate-blue-city-background_1127-2770.jpg",          imageAlt: "Clean windows of a residential property"},
        {
          id: "t-2",          name: "Be Well Within",          date: "4 years ago",          title: "Quality Detail & High Customer Service",          quote: "These guys are amazing. I've been in business for years now And they are very quality detailed oriented and high Customer Service. They came in and were very professional and efficient. Would highly recommend and grateful for the job they did.",          tag: "Business Client",          avatarSrc: "http://img.b2bpic.net/free-photo/young-businessman-happy-expression_1194-1620.jpg",          avatarAlt: "Avatar of Be Well Within",          imageSrc: "http://img.b2bpic.net/free-photo/view-building-with-brick-walls_23-2148252832.jpg",          imageAlt: "Sparkling clean windows on a commercial building"},
        {
          id: "t-3",          name: "Klay Turner",          date: "4 years ago",          title: "Professional & Impressive Results",          quote: "The boys at crisp window wash were so professional throughout the process. I had them clean a total of 16 windows at my residence and I could not be happier with the results. They really take their time with each and every window and screen. Also great pricing for my first time I was impressed!",          tag: "Homeowner",          avatarSrc: "http://img.b2bpic.net/free-photo/transgender-wearing-cool-jacket-medium-shot_23-2149105398.jpg",          avatarAlt: "Avatar of Klay Turner",          imageSrc: "http://img.b2bpic.net/free-photo/young-woman-looking-window-display_23-2147823618.jpg",          imageAlt: "Residential house with newly cleaned windows"},
        {
          id: "t-4",          name: "Sarah Johnson",          date: "3 years ago",          title: "Consistently Perfect",          quote: "Crisp Window Detail always delivers. My office windows are always spotless, and their team is incredibly respectful and efficient. Highly recommend for any business!",          tag: "Office Manager",          avatarSrc: "http://img.b2bpic.net/free-photo/beautiful-senior-woman-portrait-smiling_23-2148891703.jpg",          avatarAlt: "Avatar of Sarah Johnson",          imageSrc: "http://img.b2bpic.net/free-photo/close-up-young-man-luxury-travel-house_23-2149140859.jpg",          imageAlt: "Clean interior office windows with city view"},
        {
          id: "t-5",          name: "Michael Chen",          date: "2 years ago",          title: "Great Value & Meticulous Work",          quote: "I've tried a few window cleaners, and Crisp is by far the best. The pricing is fair, and the attention to detail is unmatched. My home looks so much brighter after their service.",          tag: "Homeowner",          avatarSrc: "http://img.b2bpic.net/free-photo/young-blonde-businesswoman-smiling-happy-standing-city_839833-14128.jpg",          avatarAlt: "Avatar of Michael Chen",          imageSrc: "http://img.b2bpic.net/free-photo/image-windows-morden-office-building_1421-373.jpg",          imageAlt: "Large residential windows reflecting sunlight"},
        {
          id: "t-6",          name: "Emily Rodriguez",          date: "1 year ago",          title: "Friendly & Fast Service",          quote: "The team was super friendly and did an amazing job on our restaurant's windows. They were quick, professional, and left everything sparkling. Will definitely be a regular customer!",          tag: "Restaurant Owner",          avatarSrc: "http://img.b2bpic.net/free-photo/crazy-dealer-happy-expression_1194-2470.jpg",          avatarAlt: "Avatar of Emily Rodriguez",          imageSrc: "http://img.b2bpic.net/free-photo/low-angle-building-with-many-windows_23-2148252801.jpg",          imageAlt: "Sparkling clean restaurant windows from outside"},
      ]}
      title="What Our Happy Clients Say"
      description="Read testimonials from homeowners and businesses who trust Crisp Window Detail for their sparkling windows and exceptional service."
    />
  </div>

  <div id="faq" data-section="faq">
      <FaqSplitText
      useInvertedBackground={false}
      faqs={[
        {
          id: "faq-1",          title: "How often should I have my windows cleaned?",          content: "For optimal clarity and maintenance, we recommend residential windows be cleaned 2-4 times a year. Commercial properties may benefit from more frequent cleanings, typically monthly or bi-monthly, depending on foot traffic and location."},
        {
          id: "faq-2",          title: "What areas do you serve?",          content: "Crisp Window Detail proudly serves St. George, UT, and the surrounding communities. Please contact us to confirm service availability in your specific location."},
        {
          id: "faq-3",          title: "Do you clean interior and exterior windows?",          content: "Yes, our services include both interior and exterior window cleaning. We ensure a comprehensive, streak-free shine on all surfaces, leaving your windows spotless from every angle."},
        {
          id: "faq-4",          title: "Are your cleaning products safe for pets and plants?",          content: "Absolutely. We prioritize the safety of your family, pets, and landscaping. Our cleaning solutions are professional-grade, environmentally friendly, and non-toxic, ensuring a safe cleaning experience."},
        {
          id: "faq-5",          title: "How do I get a quote for my property?",          content: "Getting a free quote is easy! Simply fill out the contact form below, or give us a call at (435) 313-5710. We'll discuss your specific needs and provide a tailored estimate."},
      ]}
      sideTitle="Frequently Asked Questions"
      sideDescription="Find quick answers to common questions about our window cleaning services, scheduling, pricing, and what to expect."
      faqsAnimation="slide-up"
      textPosition="left"
    />
  </div>

  <div id="social-proof" data-section="social-proof">
      <SocialProofOne
      textboxLayout="default"
      useInvertedBackground={true}
      names={[
        "Local Businesses",        "Homeowners Associations",        "Retail Stores",        "Restaurants",        "Office Parks",        "Schools",        "Property Managers",        "Medical Facilities",        "Car Dealerships"]}
      title="Trusted by Businesses and Homeowners Across St. George"
      description="We've had the pleasure of serving a diverse range of clients, ensuring their windows gleam and their properties stand out with our reliable service."
      speed={40}
      showCard={true}
    />
  </div>

  <div id="contact" data-section="contact">
      <ContactSplit
      useInvertedBackground={false}
      background={{
        variant: "plain"}}
      tag="Get a Free Quote"
      title="Ready for Crystal Clear Windows?"
      description="Contact Crisp Window Detail today for a personalized quote. We're happy to answer any questions and schedule your next service. Let us make your world sparkle!"
      imageSrc="http://img.b2bpic.net/free-photo/beautiful-architecture-office-business-building-with-glass-window-shape_74190-6432.jpg"
      imageAlt="Clean window with water droplets"
      mediaAnimation="opacity"
      mediaPosition="right"
      inputPlaceholder="Enter your email or phone number"
      buttonText="Request a Quote"
      termsText="By clicking Request a Quote, you agree to our Terms and Conditions."
    />
  </div>

  <div id="footer" data-section="footer">
      <FooterSimple
      columns={[
        {
          title: "Services",          items: [
            {
              label: "Residential",              href: "#services"},
            {
              label: "Commercial",              href: "#services"},
            {
              label: "Screen Cleaning",              href: "#services"},
            {
              label: "Gutter Cleaning",              href: "#services"},
          ],
        },
        {
          title: "Company",          items: [
            {
              label: "About Us",              href: "#about"},
            {
              label: "Testimonials",              href: "#testimonials"},
            {
              label: "Contact Us",              href: "#contact"},
          ],
        },
        {
          title: "Support",          items: [
            {
              label: "FAQ",              href: "#faq"},
            {
              label: "Privacy Policy",              href: "#"},
            {
              label: "Terms of Service",              href: "#"},
          ],
        },
      ]}
      bottomLeftText="© 2024 Crisp Window Detail. All rights reserved."
      bottomRightText="Built with Webild."
    />
  </div>
      </ReactLenis>
    </ThemeProvider>
  );
}
