"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import Link from "next/link";
import NavbarStyleApple from "@/components/navbar/NavbarStyleApple/NavbarStyleApple";
import ProductCardTwo from "@/components/sections/product/ProductCardTwo";
import FeatureCardMedia from "@/components/sections/feature/FeatureCardMedia";
import TestimonialCardThirteen from "@/components/sections/testimonial/TestimonialCardThirteen";
import FooterSimple from "@/components/sections/footer/FooterSimple";

export default function ConstructionPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="elastic-effect"
      defaultTextAnimation="reveal-blur"
      borderRadius="soft"
      contentWidth="mediumLarge"
      sizing="largeSizeMediumTitles"
      background="floatingGradient"
      cardStyle="glass-elevated"
      primaryButtonStyle="flat"
      secondaryButtonStyle="solid"
      headingFontWeight="medium"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleApple
          brandName="Martinez Roofing"
          navItems={[
            { name: "Metal Roofing", id: "/metal-roofing" },
            { name: "Construction", id: "/construction" },
            { name: "Projects", id: "/projects" },
            { name: "About", id: "/about" },
            { name: "Contact", id: "/contact" }
          ]}
        />
      </div>

      <div id="construction-services" data-section="construction-services">
        <ProductCardTwo
          title="Custom Construction & Exterior Projects"
          description="Beyond metal roofing, we provide comprehensive construction services for barns, garages, cottages, and exterior improvements with the same attention to detail and quality craftsmanship."
          products={[
            {
              id: "1",
              brand: "Martinez",
              name: "Barn Construction & Restoration",
              price: "Custom Build",
              rating: 5,
              reviewCount: "25+",
              imageSrc: "https://img.b2bpic.net/free-photo/beautiful-shot-store-building-from-wood-stones-west-bloomfield-mi_181624-60264.jpg?_wi=1",
              imageAlt: "Custom barn construction project"
            },
            {
              id: "2",
              brand: "Martinez",
              name: "Garage & Workshop Construction",
              price: "Quality Build",
              rating: 5,
              reviewCount: "30+",
              imageSrc: "https://img.b2bpic.net/free-photo/experts-check-warehouse-inventory_482257-75354.jpg?_wi=2"
            },
            {
              id: "3",
              brand: "Martinez",
              name: "Cottage & Camp Construction",
              price: "Custom Design",
              rating: 5,
              reviewCount: "20+",
              imageSrc: "https://img.b2bpic.net/free-photo/beautiful-shot-store-building-from-wood-stones-west-bloomfield-mi_181624-60264.jpg?_wi=2"
            }
          ]}
          gridVariant="three-columns-all-equal-width"
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
          buttons={[
            { text: "Discuss Your Construction Project", href: "/contact" }
          ]}
        />
      </div>

      <div id="construction-approach" data-section="construction-approach">
        <FeatureCardMedia
          title="Our Construction Philosophy"
          description="Every construction project receives the same dedication to quality, communication, and craftsmanship that defines our roofing work."
          tag="Our Approach"
          features={[
            {
              id: "planning",
              title: "Detailed Planning & Design",
              description: "Collaborative planning process to understand your vision, requirements, and budget for the perfect custom build.",
              tag: "Planning",
              imageSrc: "https://img.b2bpic.net/free-photo/closeup-hands-business-meeting_93675-132442.jpg?_wi=2"
            },
            {
              id: "execution",
              title: "Quality Construction",
              description: "Skilled craftsmanship using premium materials and proven construction techniques for lasting durability.",
              tag: "Building",
              imageSrc: "https://img.b2bpic.net/free-photo/full-shot-people-working-construction_23-2150772881.jpg?_wi=2"
            },
            {
              id: "completion",
              title: "Clean Completion",
              description: "Professional finish with thorough cleanup and final walkthrough to ensure your complete satisfaction.",
              tag: "Delivery",
              imageSrc: "https://img.b2bpic.net/free-photo/company-manager-holding-project-plans-while-talking-african-american-manual-worker-who-is-pointing-something-factory_637285-4115.jpg?_wi=2"
            }
          ]}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
        />
      </div>

      <div id="construction-testimonials" data-section="construction-testimonials">
        <TestimonialCardThirteen
          title="Construction Project Success Stories"
          description="See what customers say about our construction and exterior project work."
          testimonials={[
            {
              id: "1",
              name: "Emily Rodriguez",
              handle: "@homeowner_3",
              testimonial: "Professional from start to finish on our barn construction project.",
              rating: 5,
              imageSrc: "https://img.b2bpic.net/free-photo/positive-confident-businesswoman-wearing-formal-suit-standing-with-arms-folded_74855-10328.jpg?_wi=4"
            },
            {
              id: "2",
              name: "Michael Chen",
              handle: "@homeowner_2",
              testimonial: "Prompt, on schedule, and easy to work with on our garage build.",
              rating: 5,
              imageSrc: "https://img.b2bpic.net/free-photo/close-up-portrait-young-handsome-successful-man_1163-5475.jpg?_wi=4"
            },
            {
              id: "3",
              name: "Sarah Johnson",
              handle: "@homeowner_1",
              testimonial: "Second project we hired them for—excellent construction work.",
              rating: 5,
              imageSrc: "https://img.b2bpic.net/free-photo/positive-confident-businesswoman-wearing-formal-suit-standing-with-arms-folded_74855-10328.jpg?_wi=5"
            }
          ]}
          showRating={true}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterSimple
          columns={[
            {
              title: "Navigate",
              items: [
                { label: "Home", href: "/" },
                { label: "Metal Roofing", href: "/metal-roofing" },
                { label: "Construction", href: "/construction" },
                { label: "Projects", href: "/projects" }
              ]
            },
            {
              title: "Company",
              items: [
                { label: "About Us", href: "/about" },
                { label: "Contact", href: "/contact" }
              ]
            },
            {
              title: "Services",
              items: [
                { label: "Standing Seam Install", href: "/metal-roofing" },
                { label: "Repairs & Replacement", href: "/metal-roofing" },
                { label: "Custom Projects", href: "/construction" }
              ]
            },
            {
              title: "Legal",
              items: [
                { label: "Privacy Policy", href: "#" },
                { label: "Terms of Service", href: "#" }
              ]
            }
          ]}
          bottomLeftText="© 2025 Martinez Metal Roofing & Construction. All rights reserved."
          bottomRightText="Built for quality and precision."
        />
      </div>
    </ThemeProvider>
  );
}