"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 TestimonialCardThirteen from '@/components/sections/testimonial/TestimonialCardThirteen';
import ContactText from '@/components/sections/contact/ContactText';
import FooterSimple from '@/components/sections/footer/FooterSimple';
import { Quote } from "lucide-react";

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">
        <ProductCardTwo
          title="Services Built Around Metal Roofing Excellence"
          description="Comprehensive solutions for every roofing and construction need."
          products={[
            {
              id: "1",
              brand: "Martinez",
              name: "Standing Seam Metal Roofing",
              price: "Custom Pricing",
              rating: 5,
              reviewCount: "50+",
              imageSrc: "https://img.b2bpic.net/free-photo/full-shot-man-wearing-protection-helmet_23-2149343634.jpg?_wi=2",
              imageAlt: "Standing seam metal roofing installation"
            },
            {
              id: "2",
              brand: "Martinez",
              name: "Repairs & Panel Replacement",
              price: "Custom Pricing",
              rating: 5,
              reviewCount: "45+",
              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: "3",
              brand: "Martinez",
              name: "Construction & Exterior Projects",
              price: "Custom Pricing",
              rating: 5,
              reviewCount: "40+",
              imageSrc: "https://img.b2bpic.net/free-photo/experts-check-warehouse-inventory_482257-75354.jpg?_wi=1"
            }
          ]}
          gridVariant="three-columns-all-equal-width"
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
          buttons={[
            { text: "Request Pricing & Availability", href: "/contact" }
          ]}
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardThirteen
          title="5-Star Results, Repeat Customers"
          description="Hear directly from homeowners who've experienced our work."
          testimonials={[
            {
              id: "1",
              name: "Sarah Johnson",
              handle: "@homeowner_1",
              testimonial: "Second home we hired them for—again, a great experience.",
              rating: 5,
              imageSrc: "https://img.b2bpic.net/free-photo/close-up-portrait-young-handsome-successful-man_1163-5475.jpg?_wi=1"
            },
            {
              id: "2",
              name: "Michael Chen",
              handle: "@homeowner_2",
              testimonial: "Prompt, on schedule, and easy to work with.",
              rating: 5,
              imageSrc: "https://img.b2bpic.net/free-photo/close-up-portrait-young-handsome-successful-man_1163-5475.jpg?_wi=2"
            },
            {
              id: "3",
              name: "Emily Rodriguez",
              handle: "@homeowner_3",
              testimonial: "Professional from start to finish on a standing seam roof.",
              rating: 5,
              imageSrc: "https://img.b2bpic.net/free-photo/positive-confident-businesswoman-wearing-formal-suit-standing-with-arms-folded_74855-10328.jpg?_wi=1"
            }
          ]}
          showRating={true}
          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>
  );
}