"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleApple from '@/components/navbar/NavbarStyleApple/NavbarStyleApple';
import FeatureCardMedia from '@/components/sections/feature/FeatureCardMedia';
import ContactText from '@/components/sections/contact/ContactText';
import FooterSimple from '@/components/sections/footer/FooterSimple';

export default function ProjectsPage() {
  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="projects" data-section="projects">
        <FeatureCardMedia
          title="Recent Projects"
          description="Standing seam installs, repairs, cottages, camps, barns, and garages—done with a clean, premium finish."
          tag="Our Work"
          features={[
            {
              id: "modern-home",              title: "Modern Home Standing Seam Installation",              description: "Clean lines and superior durability for a contemporary home renovation.",              tag: "Residential",              imageSrc: "https://img.b2bpic.net/free-photo/modern-house-architecture-navy-roof-wooden-soffit-blue-sky_626616-509.jpg?_wi=1"
            },
            {
              id: "barn-construction",              title: "Custom Barn Exterior & Metal Roofing",              description: "Complete structural and roofing upgrade with precision execution.",              tag: "Construction",              imageSrc: "https://img.b2bpic.net/free-photo/beautiful-shot-store-building-from-wood-stones-west-bloomfield-mi_181624-60264.jpg?_wi=3"
            },
            {
              id: "garage-construction",              title: "Premium Garage Construction",              description: "Custom garage build with matching metal roofing and superior craftsmanship.",              tag: "Residential",              imageSrc: "https://img.b2bpic.net/free-photo/experts-check-warehouse-inventory_482257-75354.jpg?_wi=4"
            }
          ]}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
        />
      </div>

      <div id="projects-cta" data-section="projects-cta">
        <ContactText
          text="Inspired by what you see? Let's discuss your project and create something exceptional together."
          animationType="reveal-blur"
          buttons={[
            { text: "Start Your Project", href: "/contact" },
            { text: "Get an Estimate", href: "/contact" }
          ]}
          background={{ variant: "plain" }}
          useInvertedBackground={false}
        />
      </div>

      <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."
      />
    </ThemeProvider>
  );
}