"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleApple from '@/components/navbar/NavbarStyleApple/NavbarStyleApple';
import FeatureCardMedia from '@/components/sections/feature/FeatureCardMedia';
import MetricCardThree from '@/components/sections/metrics/MetricCardThree';
import ContactText from '@/components/sections/contact/ContactText';
import FooterSimple from '@/components/sections/footer/FooterSimple';
import { Users, Award, Clock } from "lucide-react";

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-story" data-section="about-story">
        <FeatureCardMedia
          title="Built on Quality, Trust, and Communication"
          description="Martinez Metal Roofing & Construction was founded on the principle that great work speaks for itself—but clear communication makes the entire experience exceptional."
          tag="Our Story"
          features={[
            {
              id: "experience",              title: "Years of Experience",              description: "Decades of combined experience in metal roofing and construction, specializing in standing seam installations.",              tag: "Experience",              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=3"
            },
            {
              id: "values",              title: "Our Core Values",              description: "Responsive communication, clean job sites, and premium workmanship on every project, regardless of size.",              tag: "Values",              imageSrc: "https://img.b2bpic.net/free-photo/smiling-business-man-talking-phone-lounge_1262-3626.jpg?_wi=2"
            },
            {
              id: "community",              title: "Community Focused",              description: "Proudly serving homeowners and businesses in our local community with integrity and professionalism.",              tag: "Community",              imageSrc: "https://img.b2bpic.net/free-photo/full-shot-people-working-construction_23-2150772881.jpg?_wi=4"
            }
          ]}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
        />
      </div>

      <div id="about-metrics" data-section="about-metrics">
        <MetricCardThree
          title="Our Track Record Speaks for Itself"
          description="Numbers that reflect our commitment to quality, communication, and customer satisfaction."
          metrics={[
            {
              id: "1",              icon: Users,
              title: "Happy Customers",              value: "200+"
            },
            {
              id: "2",              icon: Award,
              title: "Years Experience",              value: "15+"
            },
            {
              id: "3",              icon: Clock,
              title: "Projects Completed",              value: "500+"
            }
          ]}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
        />
      </div>

      <div id="about-cta" data-section="about-cta">
        <ContactText
          text="Ready to experience the Martinez difference? Let's discuss your roofing or construction project and show you what quality workmanship looks like."
          animationType="reveal-blur"
          buttons={[
            { text: "Get Started Today", href: "/contact" },
            { text: "See Our Work", href: "/projects" }
          ]}
          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>
  );
}