"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarLayoutFloatingOverlay from '@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay';
import HeroBillboard from '@/components/sections/hero/HeroBillboard';
import TestimonialAboutCard from '@/components/sections/about/TestimonialAboutCard';
import FeatureCardThree from '@/components/sections/feature/featureCardThree/FeatureCardThree';
import MetricCardSeven from '@/components/sections/metrics/MetricCardSeven';
import ProductCardThree from '@/components/sections/product/ProductCardThree';
import TestimonialCardTwo from '@/components/sections/testimonial/TestimonialCardTwo';
import ContactSplitForm from '@/components/sections/contact/ContactSplitForm';
import FooterBaseReveal from '@/components/sections/footer/FooterBaseReveal';
import { Award, Brush, CheckCircle, Home, Image, Shield, Sparkles, Star, Zap } from 'lucide-react';

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="shift-hover"
      defaultTextAnimation="entrance-slide"
      borderRadius="rounded"
      contentWidth="mediumLarge"
      sizing="mediumSizeLargeTitles"
      background="aurora"
      cardStyle="glass-depth"
      primaryButtonStyle="double-inset"
      secondaryButtonStyle="glass"
      headingFontWeight="bold"
    >
      <div id="nav" data-section="nav">
        <NavbarLayoutFloatingOverlay
          brandName="RIBEIRO PAINTER LLC"
          navItems={[
            { name: "Home", id: "hero" },
            { name: "About", id: "about" },
            { name: "Services", id: "services" },
            { name: "Portfolio", id: "portfolio" },
            { name: "Reviews", id: "testimonials" },
            { name: "Contact", id: "contact" }
          ]}
          button={{
            text: "Get Free Estimate",            href: "#contact"
          }}
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroBillboard
          title="Transform Your Space with Professional Painting"
          description="Reliable, affordable, and high-quality painting services you can trust. Licensed, insured, and ready to bring your vision to life."
          tag="Expert Painting Services"
          tagIcon={Sparkles}
          tagAnimation="slide-up"
          buttons={[{
            text: "Get a Free Estimate",            href: "#contact"
          }]}
          buttonAnimation="slide-up"
          imageSrc="http://img.b2bpic.net/free-photo/young-family-painting-apartment-wall-while-redecorating-with-roller-brush-apartment-redecoration-home-construction-while-renovating-improving-repair-decorating_482257-14144.jpg"
          imageAlt="Professional painter working on house painting"
          mediaAnimation="slide-up"
          background={{ variant: "plain" }}
          ariaLabel="Hero section for professional painting services"
        />
      </div>

      <div id="about" data-section="about">
        <TestimonialAboutCard
          tag="About RIBEIRO PAINTER LLC"
          tagIcon={Shield}
          tagAnimation="slide-up"
          title="Excellence in Every Brush Stroke"
          description="RIBEIRO PAINTER LLC is a fully licensed and insured painting company dedicated to delivering exceptional results. With years of experience in both residential and commercial projects, we pride ourselves on meticulous attention to detail, superior craftsmanship, and unwavering customer satisfaction."
          subdescription="Our team of skilled professionals uses only high-quality materials and proven techniques to ensure your project is completed on time, on budget, and to the highest standards."
          icon={Award}
          imageSrc="http://img.b2bpic.net/free-photo/laughing-couple-with-paint-tools_23-2147782344.jpg"
          imageAlt="Professional interior painting work"
          mediaAnimation="slide-up"
          useInvertedBackground={false}
          ariaLabel="About section for painting company"
        />
      </div>

      <div id="services" data-section="services">
        <FeatureCardThree
          title="Our Services"
          description="Comprehensive painting and surface preparation solutions for residential and commercial properties."
          tag="What We Offer"
          tagIcon={Brush}
          tagAnimation="slide-up"
          buttons={[{
            text: "Schedule a Consultation",            href: "#contact"
          }]}
          buttonAnimation="slide-up"
          features={[
            {
              id: "interior-painting",              title: "Interior Painting",              description: "Expert interior painting for walls, ceilings, trim, and custom finishes. Transform any room with our professional techniques.",              imageSrc: "http://img.b2bpic.net/free-photo/laughing-couple-with-paint-tools_23-2147782344.jpg",              imageAlt: "Interior painting service"
            },
            {
              id: "exterior-painting",              title: "Exterior Painting",              description: "Durable exterior painting for homes and buildings. Weather-resistant finishes that protect and enhance your property's curb appeal.",              imageSrc: "http://img.b2bpic.net/free-photo/human-hands-working-it-yourself-project_23-2151509470.jpg",              imageAlt: "Exterior painting service"
            },
            {
              id: "residential-painting",              title: "Residential Painting",              description: "Complete residential painting projects from bedroom refreshes to whole-house renovations. Quality work for your family home.",              imageSrc: "http://img.b2bpic.net/free-photo/laughing-couple-with-paint-tools_23-2147782344.jpg",              imageAlt: "Residential painting service"
            },
            {
              id: "commercial-painting",              title: "Commercial Painting",              description: "Professional commercial painting for offices, retail spaces, and industrial facilities. Minimal downtime, maximum professionalism.",              imageSrc: "http://img.b2bpic.net/free-photo/engineers-front-wall_23-2147704183.jpg",              imageAlt: "Commercial painting service"
            },
            {
              id: "drywall-repair",              title: "Drywall Repair",              description: "Expert drywall repair and finishing services. Smooth, seamless surfaces ready for painting or additional finishes.",              imageSrc: "http://img.b2bpic.net/free-photo/back-view-man-painting-wall_23-2147758685.jpg",              imageAlt: "Drywall repair service"
            },
            {
              id: "pressure-washing",              title: "Pressure Washing",              description: "Professional pressure washing for exteriors, driveways, and surfaces. Clean, pristine results before painting projects.",              imageSrc: "http://img.b2bpic.net/free-photo/legs-skateboarder-preparing-ride_23-2147678296.jpg",              imageAlt: "Pressure washing service"
            }
          ]}
          gridVariant="three-columns-all-equal-width"
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
          ariaLabel="Services section"
        />
      </div>

      <div id="why-choose" data-section="why-choose">
        <MetricCardSeven
          title="Why Choose RIBEIRO PAINTER LLC"
          description="We combine professionalism, quality, and reliability to deliver exceptional results for every project."
          tag="Our Advantages"
          tagIcon={CheckCircle}
          tagAnimation="slide-up"
          metrics={[
            {
              id: "licensed-insured",              value: "100%",              title: "Licensed & Insured",              items: ["Full state licensing", "Comprehensive insurance coverage", "Bonded for your protection"]
            },
            {
              id: "free-estimates",              value: "Free",              title: "Estimates",              items: ["No obligation consultations", "Transparent pricing", "Detailed project assessments"]
            },
            {
              id: "on-time",              value: "100%",              title: "On-Time Completion",              items: ["Reliable scheduling", "Professional project management", "Respect for your time"]
            },
            {
              id: "quality-materials",              value: "Premium",              title: "Materials",              items: ["Top-tier paint brands", "Durable finishes", "Long-lasting results"]
            }
          ]}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
          ariaLabel="Why choose us section"
        />
      </div>

      <div id="portfolio" data-section="portfolio">
        <ProductCardThree
          title="Portfolio Gallery"
          description="Browse our recent projects showcasing quality workmanship and satisfied customers."
          tag="Before & After"
          tagIcon={Image}
          tagAnimation="slide-up"
          products={[
            {
              id: "project-1",              name: "Residential Interior Refresh",              price: "From $2,500",              imageSrc: "http://img.b2bpic.net/free-photo/laughing-couple-with-paint-tools_23-2147782344.jpg",              imageAlt: "Residential interior painting project"
            },
            {
              id: "project-2",              name: "Exterior Home Makeover",              price: "From $3,200",              imageSrc: "http://img.b2bpic.net/free-photo/human-hands-working-it-yourself-project_23-2151509470.jpg",              imageAlt: "Exterior home painting project"
            },
            {
              id: "project-3",              name: "Commercial Office Space",              price: "From $5,000",              imageSrc: "http://img.b2bpic.net/free-photo/engineers-front-wall_23-2147704183.jpg",              imageAlt: "Commercial painting project"
            },
            {
              id: "project-4",              name: "Drywall & Paint Restoration",              price: "From $1,800",              imageSrc: "http://img.b2bpic.net/free-photo/back-view-man-painting-wall_23-2147758685.jpg",              imageAlt: "Drywall and paint restoration"
            }
          ]}
          gridVariant="two-columns-alternating-heights"
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
          ariaLabel="Portfolio gallery section"
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardTwo
          title="What Our Customers Say"
          description="Real reviews from satisfied homeowners and business owners across the United States."
          tag="Customer Reviews"
          tagIcon={Star}
          tagAnimation="slide-up"
          testimonials={[
            {
              id: "review-1",              name: "John M.",              role: "Homeowner",              testimonial: "Ribeiro Painter LLC did an amazing job on our home. Very professional and finished on time! The attention to detail was outstanding.",              imageSrc: "http://img.b2bpic.net/free-photo/laughing-couple-with-paint-tools_23-2147782344.jpg",              imageAlt: "John M. review",              icon: Star
            },
            {
              id: "review-2",              name: "Sarah L.",              role: "Homeowner",              testimonial: "The quality exceeded my expectations. I highly recommend them! The team was courteous, efficient, and the final result looks beautiful.",              imageSrc: "http://img.b2bpic.net/free-photo/human-hands-working-it-yourself-project_23-2151509470.jpg",              imageAlt: "Sarah L. review",              icon: Star
            },
            {
              id: "review-3",              name: "Michael R.",              role: "Business Owner",              testimonial: "Fair pricing and excellent service. Will definitely hire again. They understood our needs and delivered exactly what we wanted.",              imageSrc: "http://img.b2bpic.net/free-photo/engineers-front-wall_23-2147704183.jpg",              imageAlt: "Michael R. review",              icon: Star
            },
            {
              id: "review-4",              name: "David K.",              role: "Homeowner",              testimonial: "Professional team, reliable service, and beautiful results. Highly satisfied with the work and would recommend to anyone.",              imageSrc: "http://img.b2bpic.net/free-photo/back-view-man-painting-wall_23-2147758685.jpg",              imageAlt: "David K. review",              icon: Star
            },
            {
              id: "review-5",              name: "Lisa T.",              role: "Property Manager",              testimonial: "Outstanding communication throughout the project. The painters were respectful of our property and completed work on schedule.",              imageSrc: "http://img.b2bpic.net/free-photo/laughing-couple-with-paint-tools_23-2147782344.jpg",              imageAlt: "Lisa T. review",              icon: Star
            },
            {
              id: "review-6",              name: "Robert J.",              role: "Homeowner",              testimonial: "Excellent craftsmanship and attention to detail. The team cleaned up thoroughly after completion. Very impressed with the results.",              imageSrc: "http://img.b2bpic.net/free-photo/human-hands-working-it-yourself-project_23-2151509470.jpg",              imageAlt: "Robert J. review",              icon: Star
            }
          ]}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
          ariaLabel="Customer testimonials section"
        />
      </div>

      <div id="cta" data-section="cta">
        <TestimonialAboutCard
          tag="Ready for a Change?"
          tagIcon={Zap}
          tagAnimation="slide-up"
          title="Ready to Refresh Your Home?"
          description="Don't wait to transform your space. Contact RIBEIRO PAINTER LLC today for a free, no-obligation estimate."
          subdescription="Our professional painting services are just one click away. Let's discuss your project and bring your vision to life."
          icon={Home}
          imageSrc="http://img.b2bpic.net/free-photo/front-view-man-looking-away_23-2148384498.jpg"
          imageAlt="Professional painter ready to work"
          mediaAnimation="slide-up"
          useInvertedBackground={false}
          ariaLabel="Call to action section"
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactSplitForm
          title="Request Your Free Quote Today"
          description="Fill out the form below and we'll get back to you within 24 hours with a detailed estimate."
          inputs={[
            { name: "name", type: "text", placeholder: "Your Full Name" },
            { name: "phone", type: "tel", placeholder: "(555) 123-4567", required: true },
            { name: "email", type: "email", placeholder: "your@email.com", required: true },
            { name: "service", type: "text", placeholder: "Service Type (e.g., Interior Painting)" }
          ]}
          textarea={{ name: "message", placeholder: "Tell us about your project...", rows: 5 }}
          imageSrc="http://img.b2bpic.net/free-photo/front-view-man-looking-away_23-2148384498.jpg"
          imageAlt="Contact RIBEIRO PAINTER LLC"
          mediaAnimation="slide-up"
          mediaPosition="right"
          useInvertedBackground={false}
          buttonText="Get Your Free Estimate"
          ariaLabel="Contact form section"
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterBaseReveal
          columns={[
            {
              title: "Services",              items: [
                { label: "Interior Painting", href: "#services" },
                { label: "Exterior Painting", href: "#services" },
                { label: "Drywall Repair", href: "#services" },
                { label: "Pressure Washing", href: "#services" }
              ]
            },
            {
              title: "Company",              items: [
                { label: "About Us", href: "#about" },
                { label: "Portfolio", href: "#portfolio" },
                { label: "Reviews", href: "#testimonials" },
                { label: "Contact", href: "#contact" }
              ]
            },
            {
              title: "Contact",              items: [
                { label: "Phone: (555) 123-4567", href: "tel:(555)123-4567" },
                { label: "Email: info@ribeiropinter.com", href: "mailto:info@ribeiropinter.com" },
                { label: "Licensed & Insured", href: "#about" },
                { label: "Free Estimates", href: "#contact" }
              ]
            }
          ]}
          copyrightText="© 2024 RIBEIRO PAINTER LLC. All rights reserved."
          ariaLabel="Footer section"
        />
      </div>
    </ThemeProvider>
  );
}
