"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleFullscreen from '@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen';
import InlineImageSplitTextAbout from '@/components/sections/about/InlineImageSplitTextAbout';
import MetricCardTwo from '@/components/sections/metrics/MetricCardTwo';
import SocialProofOne from '@/components/sections/socialProof/SocialProofOne';
import FooterMedia from '@/components/sections/footer/FooterMedia';

export default function AboutPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="text-stagger"
      defaultTextAnimation="reveal-blur"
      borderRadius="pill"
      contentWidth="small"
      sizing="medium"
      background="circleGradient"
      cardStyle="gradient-radial"
      primaryButtonStyle="double-inset"
      secondaryButtonStyle="layered"
      headingFontWeight="extrabold"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleFullscreen 
          navItems={[
            { name: "Home", id: "/" },
            { name: "Services", id: "/services" },
            { name: "About", id: "/about" },
            { name: "Contact", id: "/contact" },
            { name: "Reviews", id: "/reviews" }
          ]}
          brandName="Stemple Electric"
          bottomLeftText="Licensed • Insured • Fast Response"
          bottomRightText="(307) 555-ELEC"
        />
      </div>

      <div id="about" data-section="about">
        <InlineImageSplitTextAbout 
          heading={[
            { type: "text", content: "Meet the Team Behind" },
            { type: "text", content: "Stemple Electric" }
          ]}
          useInvertedBackground={false}
          buttons={[
            { text: "Schedule Service", href: "/contact" },
            { text: "View Our Services", href: "/services" }
          ]}
        />
      </div>

      <div id="benefits" data-section="benefits">
        <MetricCardTwo 
          title="Our Core Values"
          description="The principles that drive every aspect of our electrical work"
          metrics={[
            { id: "1", value: "Trust", description: "Honest communication and transparent pricing" },
            { id: "2", value: "Quality", description: "Code-compliant, professional workmanship" },
            { id: "3", value: "Service", description: "Fast response and reliable scheduling" },
            { id: "4", value: "Respect", description: "Treating your home and family with care" }
          ]}
          gridVariant="uniform-all-items-equal"
          textboxLayout="default"
          animationType="slide-up"
          useInvertedBackground={false}
        />
      </div>

      <div id="service-areas" data-section="service-areas">
        <SocialProofOne 
          title="Proudly Serving Wyoming Communities"
          description="Local electricians you can trust, serving communities across the state"
          textboxLayout="default"
          useInvertedBackground={false}
          names={["Cheyenne", "Casper", "Laramie", "Gillette", "Sheridan", "Rock Springs", "Evanston", "Green River", "Jackson", "Cody", "Rawlins", "Torrington"]}
          showCard={true}
          speed={35}
        />
      </div>

      <FooterMedia 
        imageSrc="http://img.b2bpic.net/free-vector/electrical-works-horizontal-banners_1284-10214.jpg?_wi=3"
        imageAlt="Modern electrical work and safety"
        logoText="Stemple Electric LLC"
        copyrightText="© 2025 Stemple Electric LLC. All rights reserved."
        columns={[
          {
            title: "Services",
            items: [
              { label: "Panel Upgrades", href: "/services#panel-upgrades" },
              { label: "Lighting Installation", href: "/services#lighting" },
              { label: "EV Chargers", href: "/services#ev-chargers" },
              { label: "Troubleshooting & Repairs", href: "/services#repairs" }
            ]
          },
          {
            title: "Company",
            items: [
              { label: "About Us", href: "/about" },
              { label: "Contact", href: "/contact" },
              { label: "Reviews", href: "/reviews" },
              { label: "FAQ", href: "/#faq" }
            ]
          },
          {
            title: "Connect",
            items: [
              { label: "Phone: (307) 555-ELEC", href: "tel:+13075551352" },
              { label: "Email: info@stempleelectric.com", href: "mailto:info@stempleelectric.com" },
              { label: "License & Insurance", href: "#" },
              { label: "Privacy Policy", href: "#" }
            ]
          }
        ]}
      />
    </ThemeProvider>
  );
}