"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 MetalRoofingPage() {
  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="services" data-section="services">
        <FeatureCardMedia
          title="Services Built Around Metal Roofing Excellence"
          description="Comprehensive solutions for every roofing and construction need."
          tag="Our Services"
          features={[
            {
              id: "standing-seam",              title: "Standing Seam Metal Roofing",              description: "Premium metal roofing installations with precision craftsmanship and lasting quality.",              tag: "Installation",              imageSrc: "https://img.b2bpic.net/free-photo/full-shot-man-wearing-protection-helmet_23-2149343634.jpg?_wi=2"
            },
            {
              id: "repairs",              title: "Repairs & Panel Replacement",              description: "Expert repairs and panel replacements to restore your roof's integrity and appearance.",              tag: "Repair",              imageSrc: "https://img.b2bpic.net/free-photo/worker-cuts-steel-profiles-drywall-close-up-selective-focus-preparing-installation-ceiling-profile-system-frame-renovation-repair_166373-1903.jpg?_wi=2"
            },
            {
              id: "construction",              title: "Construction & Exterior Projects",              description: "Complete construction services for barns, garages, and exterior renovations.",              tag: "Construction",              imageSrc: "https://img.b2bpic.net/free-photo/experts-check-warehouse-inventory_482257-75354.jpg?_wi=1"
            }
          ]}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
        />
      </div>

      <div id="cta-final" data-section="cta-final">
        <ContactText
          text="Ready to upgrade to premium metal roofing? Get your custom estimate and timeline today."
          animationType="reveal-blur"
          buttons={[
            { text: "Get a Free Estimate", href: "/contact" },
            { text: "Call / Text Joseph", href: "tel:+1-555-0100" }
          ]}
          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>
  );
}