"use client" import { SiteHeader } from "@/components/site-header" import { SiteFooter } from "@/components/site-footer" import { Button } from "@/components/ui/button" import Link from "next/link" import { ArrowRight, CheckCircle2, Shield, Zap, Hammer, GraduationCap, Layers, ChevronRight } from "lucide-react" import { useState, useEffect } from "react" import { cn } from "@/lib/utils" export default function ServicesPage() { const [activeSection, setActiveSection] = useState("foundations") const services = [ { id: "foundations", title: "Footers & Foundations", icon: Layers, description: "Start your build off right with a solid foundation. An ICF basement provides a comfortable and energy-efficient environment - even on cold Colorado winter nights.", details: [ "Superior insulation values (R-22+)", "Waterproofing and drainage solutions", "Precision leveling and layout", "Reinforced concrete core strength", ], image: "/icf-foundation-construction.jpg", }, { id: "heating", title: "Radiant Heating Systems", icon: Zap, description: "Say goodbye to cold floors and fluctuating heat. Radiant heating systems provide consistent heat from the floor up keeping your energy bills down. Paired with a concrete structural floor, you can have the best of both worlds.", details: [ "Even heat distribution", "Reduced energy costs (up to 30%)", "Silent operation", "Allergen-free heating method", ], image: "/radiant-floor-heating-installation.jpg", }, { id: "walls", title: "ICF Above-Grade Walls", icon: Shield, description: "ICFs aren't only for foundations. Poured walls will significantly raise the R value of your structure as compared to a traditional build. It also provides a high level of protection from fires and the ever-present Colorado winds.", details: [ "Sound dampening (STC 50+)", "Fire resistance (up to 4 hours)", "Wind resistance (up to 250mph)", "Mold and pest resistance", ], image: "/icf-above-grade-walls-construction.jpg", }, { id: "training", title: "Training and Consulting", icon: GraduationCap, description: "Want to install your own ICFs but need a little guidance for the first project? With over 20 years experience building with ICFs, the installers at High Performance Structures can provide you with a number of options to suit your needs.", details: [ "On-site installation training", "Project planning and estimation", "Tool and equipment guidance", "Quality assurance checks", ], image: "/construction-training-consultation.jpg", }, { id: "flooring", title: "Structural Flooring", icon: Hammer, description: "With the use of LiteDeck, we can easily install structural concrete flooring and decking for added strength and protection. Don't like the look of concrete floors? Not a problem as the floors can be stamped, stained or covered with your choice of flooring.", details: [ "Long spans without columns", "Integrated soundproofing", "High load-bearing capacity", "Compatible with radiant heating", ], image: "/concrete-structural-flooring.jpg", }, { id: "shelters", title: "Safe Rooms & Shelters", icon: Shield, description: "Whether it's to protect your family or your valuables in case of a fire, tornado or other natural disaster, ICFs provide superior protection.", details: [ "FEMA-grade protection", "Integrated into home design", "Ballistic protection", "Emergency supply storage", ], image: "/safe-room-shelter-construction.jpg", }, ] useEffect(() => { const handleScroll = () => { const sections = services.map((s) => document.getElementById(s.id)) const scrollPosition = window.scrollY + 200 // Offset for header for (const section of sections) { if ( section && section.offsetTop <= scrollPosition && section.offsetTop + section.offsetHeight > scrollPosition ) { setActiveSection(section.id) } } } window.addEventListener("scroll", handleScroll) return () => window.removeEventListener("scroll", handleScroll) }, []) // Removed services from dependencies const scrollToSection = (id: string) => { const element = document.getElementById(id) if (element) { const offset = 120 // Increased offset to account for header height + spacing const bodyRect = document.body.getBoundingClientRect().top const elementRect = element.getBoundingClientRect().top const elementPosition = elementRect - bodyRect const offsetPosition = elementPosition - offset window.scrollTo({ top: offsetPosition, behavior: "smooth", }) } } return (
{/* Hero Section */}
HPS Services

Our Services

Comprehensive concrete and construction solutions tailored to your project's needs.

{/* Sticky Sidebar Navigation */} {/* Main Content */}
{services.map((service, index) => (
{service.title}

{service.title}

{service.description}

{service.details.map((detail, i) => (
{detail}
))}
{index !== services.length - 1 &&
}
))}
{/* Bottom CTA */}

Ready to Start Your Project?

Our team of experts is ready to help you build with confidence and precision.

) }