"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleFullscreen from '@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen';
import HeroBillboard from '@/components/sections/hero/HeroBillboard';
import TextAbout from '@/components/sections/about/TextAbout';
import FeatureCardThree from '@/components/sections/feature/featureCardThree/FeatureCardThree';
import ProductCardOne from '@/components/sections/product/ProductCardOne';
import MetricCardTen from '@/components/sections/metrics/MetricCardTen';
import ContactFaq from '@/components/sections/contact/ContactFaq';
import FooterBaseCard from '@/components/sections/footer/FooterBaseCard';
import { Hammer, Building2, Wrench, ImageIcon, Star, Phone } from 'lucide-react';

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="text-shift"
      defaultTextAnimation="background-highlight"
      borderRadius="soft"
      contentWidth="compact"
      sizing="largeSmall"
      background="none"
      cardStyle="gradient-radial"
      primaryButtonStyle="diagonal-gradient"
      secondaryButtonStyle="layered"
      headingFontWeight="semibold"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleFullscreen
          brandName="HDR Construction"
          navItems={[
            { name: "Home", id: "home" },
            { name: "Services", id: "services" },
            { name: "Portfolio", id: "portfolio" },
            { name: "About", id: "about" },
            { name: "Contact", id: "contact" }
          ]}
          bottomLeftText="New Jersey"
          bottomRightText="(201) 877-6262"
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroBillboard
          title="Expert Stucco & Brick Work in New Jersey"
          description="HDR Construction brings over 20 years of craftsmanship to every project. From residential stucco finishing to premium brick masonry, we deliver quality work that stands the test of time."
          background={{ variant: "plain" }}
          tag="Quality Craftsmanship"
          tagIcon={Hammer}
          buttons={[
            { text: "Get a Free Quote", href: "#contact" },
            { text: "View Our Work", href: "#portfolio" }
          ]}
          imageSrc="http://img.b2bpic.net/free-photo/builder-men-wearing-safety-helmets_23-2148751997.jpg"
          imageAlt="Professional stucco finishing work"
          mediaAnimation="slide-up"
        />
      </div>

      <div id="about" data-section="about">
        <TextAbout
          tag="About HDR Construction"
          tagIcon={Building2}
          title="Trusted by New Jersey Homeowners and Businesses for Over Two Decades of Excellence"
          useInvertedBackground={false}
          buttons={[
            { text: "Learn More", href: "#services" },
            { text: "Schedule Consultation", href: "#contact" }
          ]}
        />
      </div>

      <div id="services" data-section="services">
        <FeatureCardThree
          title="Our Services"
          description="Professional construction services tailored to your needs"
          tag="Services"
          tagIcon={Wrench}
          features={[
            {
              id: "01",              title: "Stucco Installation & Repair",              description: "Expert stucco finishing and restoration. We handle everything from new installations to repair work with precision and attention to detail.",              imageSrc: "http://img.b2bpic.net/free-photo/builder-men-wearing-safety-helmets_23-2148751997.jpg",              imageAlt: "Stucco installation service"
            },
            {
              id: "02",              title: "Brick Masonry",              description: "Premium brick laying and masonry work. Custom patterns, repairs, and restoration by master craftspeople with decades of experience.",              imageSrc: "http://img.b2bpic.net/free-photo/female-construction-worker-with-helmet-tape-measurer_23-2148813392.jpg",              imageAlt: "Brick masonry work"
            },
            {
              id: "03",              title: "Custom Exterior Finishes",              description: "Combine stucco and brick for stunning custom finishes. We create unique designs that enhance your property's aesthetic and value.",              imageSrc: "http://img.b2bpic.net/free-photo/medieval-church-wooden-door-forged-metal-details-historic-facade_169016-68125.jpg",              imageAlt: "Custom exterior finish"
            },
            {
              id: "04",              title: "Restoration & Repair",              description: "Restore aging stucco and brickwork to original beauty. Weather damage, cracks, and deterioration are no match for our expertise.",              imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-construction-worker-doing-his-job_23-2149366655.jpg",              imageAlt: "Restoration work"
            }
          ]}
          textboxLayout="default"
          animationType="slide-up"
          gridVariant="two-columns-alternating-heights"
          useInvertedBackground={false}
          buttons={[
            { text: "Request a Quote", href: "#contact" }
          ]}
        />
      </div>

      <div id="portfolio" data-section="portfolio">
        <ProductCardOne
          title="Our Portfolio"
          description="Explore completed projects showcasing our quality and expertise"
          tag="Recent Work"
          tagIcon={ImageIcon}
          products={[
            {
              id: "1",              name: "Residential Stucco Finish",              price: "Completed 2024",              imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-construction-worker-doing-his-job_23-2149366655.jpg",              imageAlt: "Beautiful residential stucco exterior"
            },
            {
              id: "2",              name: "Premium Brick Masonry",              price: "Completed 2024",              imageSrc: "http://img.b2bpic.net/free-photo/stylish-man-posing-building-scene_158595-2403.jpg",              imageAlt: "Quality brick masonry work"
            },
            {
              id: "3",              name: "Mixed Finish Exterior",              price: "Completed 2024",              imageSrc: "http://img.b2bpic.net/free-photo/medieval-church-wooden-door-forged-metal-details-historic-facade_169016-68125.jpg",              imageAlt: "Combined brick and stucco design"
            }
          ]}
          textboxLayout="default"
          animationType="slide-up"
          gridVariant="three-columns-all-equal-width"
          useInvertedBackground={false}
          buttons={[
            { text: "See All Projects", href: "#contact" }
          ]}
        />
      </div>

      <div id="features" data-section="features">
        <MetricCardTen
          title="Why Choose HDR Construction"
          description="Proven excellence and commitment to quality craftsmanship"
          tag="Our Strengths"
          tagIcon={Star}
          metrics={[
            {
              id: "1",              title: "20+ Years Experience",              subtitle: "New Jersey - Serving residential and commercial clients",              category: "Experience",              value: "2000+ Projects"
            },
            {
              id: "2",              title: "Licensed & Insured",              subtitle: "Full coverage and compliance with all regulations",              category: "Credentials",              value: "State Certified"
            },
            {
              id: "3",              title: "Premium Materials",              subtitle: "Only the finest materials for lasting results",              category: "Quality",              value: "Best Materials"
            },
            {
              id: "4",              title: "Fast Turnaround",              subtitle: "Efficient scheduling and timely project completion",              category: "Service",              value: "Quick Service"
            }
          ]}
          textboxLayout="default"
          animationType="slide-up"
          useInvertedBackground={true}
          buttons={[
            { text: "Get Started Today", href: "#contact" }
          ]}
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactFaq
          ctaTitle="Ready for Your Next Project?"
          ctaDescription="Contact HDR Construction today for a free consultation and quote. We're here to answer your questions and bring your vision to life."
          ctaButton={{
            text: "Call Now: (201) 877-6262",            href: "tel:(201)877-6262"
          }}
          ctaIcon={Phone}
          faqs={[
            {
              id: "1",              title: "Do you offer free consultations?",              content: "Yes! We provide free on-site consultations for all projects. We'll assess your needs and provide a detailed quote with no obligation."
            },
            {
              id: "2",              title: "What areas of New Jersey do you service?",              content: "We serve all of New Jersey, from Bergen County to the southern regions. Contact us to confirm service availability for your specific location."
            },
            {
              id: "3",              title: "What warranty do you offer?",              content: "We offer a comprehensive warranty on all workmanship and materials. Details vary by project type. We'll discuss this during your consultation."
            },
            {
              id: "4",              title: "How long does a typical project take?",              content: "Timeline depends on project scope. We provide detailed schedules during the consultation phase to keep you informed every step of the way."
            }
          ]}
          useInvertedBackground={false}
          animationType="slide-up"
          accordionAnimationType="smooth"
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterBaseCard
          logoText="HDR Construction"
          columns={[
            {
              title: "Services",              items: [
                { label: "Stucco Work", href: "#services" },
                { label: "Brick Masonry", href: "#services" },
                { label: "Custom Finishes", href: "#services" },
                { label: "Restoration", href: "#services" }
              ]
            },
            {
              title: "Company",              items: [
                { label: "About Us", href: "#about" },
                { label: "Portfolio", href: "#portfolio" },
                { label: "Contact", href: "#contact" }
              ]
            },
            {
              title: "Contact",              items: [
                { label: "Phone: (201) 877-6262", href: "tel:(201)877-6262" },
                { label: "Service Area: New Jersey", href: "#" },
                { label: "Free Consultation", href: "#contact" }
              ]
            }
          ]}
          copyrightText="© 2025 HDR Construction LLC. All rights reserved. Licensed & Insured."
        />
      </div>
    </ThemeProvider>
  );
}
