"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import Link from "next/link";
import { MessageSquare, Calendar, Zap } from "lucide-react";
import NavbarStyleApple from "@/components/navbar/NavbarStyleApple/NavbarStyleApple";
import FeatureCardMedia from "@/components/sections/feature/FeatureCardMedia";
import MetricCardThree from "@/components/sections/metrics/MetricCardThree";
import TestimonialCardThirteen from "@/components/sections/testimonial/TestimonialCardThirteen";
import FooterSimple from "@/components/sections/footer/FooterSimple";

export default function AboutPage() {
  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="about-values" data-section="about-values">
        <FeatureCardMedia
          title="Built on Trust, Driven by Excellence"
          description="Martinez Metal Roofing & Construction was founded on the principle that exceptional craftsmanship and clear communication create lasting relationships with our clients."
          tag="Our Values"
          features={[
            {
              id: "craftsmanship",
              title: "Superior Craftsmanship",
              description: "Every project reflects our commitment to precision, quality materials, and attention to detail that ensures lasting results.",
              tag: "Quality",
              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=5"
            },
            {
              id: "communication",
              title: "Clear Communication",
              description: "We believe in transparent, responsive communication throughout every project, keeping you informed at every step.",
              tag: "Transparency",
              imageSrc: "https://img.b2bpic.net/free-photo/smiling-blonde-business-woman-talking-by-mobile-phone_171337-2871.jpg?_wi=2"
            },
            {
              id: "integrity",
              title: "Professional Integrity",
              description: "Honest assessments, realistic timelines, and respectful job sites—we do what we say we'll do.",
              tag: "Trust",
              imageSrc: "https://img.b2bpic.net/free-photo/middle-aged-couple-meeting-with-notary_74855-2978.jpg?_wi=1"
            }
          ]}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
        />
      </div>

      <div id="about-experience" data-section="about-experience">
        <MetricCardThree
          title="Experience You Can Count On"
          description="Years of dedicated service in metal roofing and construction have taught us that successful projects start with understanding your needs and end with results that exceed expectations."
          metrics={[
            {
              id: "1",
              icon: MessageSquare,
              title: "Responsive Service",
              value: "24hr"
            },
            {
              id: "2",
              icon: Calendar,
              title: "On-Time Delivery",
              value: "100%"
            },
            {
              id: "3",
              icon: Zap,
              title: "Quality Installs",
              value: "500+"
            }
          ]}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
        />
      </div>

      <div id="about-testimonials" data-section="about-testimonials">
        <TestimonialCardThirteen
          title="What Clients Say About Working With Us"
          description="The relationships we've built and the trust we've earned speak to our commitment to excellence in every project."
          testimonials={[
            {
              id: "1",
              name: "Sarah Johnson",
              handle: "@repeat_client",
              testimonial: "Second home we hired them for—again, a great experience. Professional and reliable.",
              rating: 5,
              imageSrc: "https://img.b2bpic.net/free-photo/positive-confident-businesswoman-wearing-formal-suit-standing-with-arms-folded_74855-10328.jpg?_wi=7"
            },
            {
              id: "2",
              name: "Michael Chen",
              handle: "@satisfied_customer",
              testimonial: "Prompt, on schedule, and easy to work with. Exactly what you want in a contractor.",
              rating: 5,
              imageSrc: "https://img.b2bpic.net/free-photo/close-up-portrait-young-handsome-successful-man_1163-5475.jpg?_wi=7"
            },
            {
              id: "3",
              name: "Emily Rodriguez",
              handle: "@happy_homeowner",
              testimonial: "Professional from start to finish. The attention to detail is what sets them apart.",
              rating: 5,
              imageSrc: "https://img.b2bpic.net/free-photo/positive-confident-businesswoman-wearing-formal-suit-standing-with-arms-folded_74855-10328.jpg?_wi=8"
            }
          ]}
          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>
  );
}