"use client";

import Link from "next/link";
import { Users, Truck, CheckCircle } from "lucide-react";
import NavbarStyleFullscreen from '@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen';
import FeatureCardMedia from '@/components/sections/feature/FeatureCardMedia';
import AboutMetric from '@/components/sections/about/AboutMetric';
import ContactSplit from '@/components/sections/contact/ContactSplit';
import FooterMedia from '@/components/sections/footer/FooterMedia';
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";

export default function AboutPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="bounce-effect"
      defaultTextAnimation="entrance-slide"
      borderRadius="soft"
      contentWidth="mediumLarge"
      sizing="largeSizeMediumTitles"
      background="circleGradient"
      cardStyle="solid"
      primaryButtonStyle="diagonal-gradient"
      secondaryButtonStyle="solid"
      headingFontWeight="bold"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleFullscreen 
          navItems={[
            { name: "Home", id: "/" },
            { name: "Services", id: "/services" },
            { name: "About", id: "/about" },
            { name: "Reviews", id: "/reviews" },
            { name: "Contact", id: "/contact" }
          ]}
          brandName="Trucking & Construction"
          bottomLeftText="Family Owned | Texas Based"
          bottomRightText="Ready to Move Texas Forward"
        />
      </div>

      <div id="about-story" data-section="about-story">
        <FeatureCardMedia
          title="Built on Texas Values, Driven by Excellence"
          description="From humble beginnings to one of Texas's most trusted transportation and construction partners, our family-owned company represents the best of Texas work ethic and reliability."
          features={[
            {
              id: "1",
              title: "Family Legacy",
              description: "Started by a family committed to excellence, we've grown into one of Texas's most trusted trucking and construction service providers through unwavering dedication to quality and reliability.",
              tag: "Founded",
              imageSrc: "https://img.b2bpic.net/free-photo/truck-speeding-through-urban-highway-supplychain-delivery_169016-71317.jpg"
            },
            {
              id: "2",
              title: "Texas Proud",
              description: "We're rooted in Texas values: hard work, integrity, reliability, and respect. These principles guide every job we undertake and every relationship we build with our clients.",
              tag: "Values",
              imageSrc: "https://img.b2bpic.net/free-photo/crawler-bulldozer_1388-578.jpg"
            },
            {
              id: "3",
              title: "Long-Term Partnerships",
              description: "We don't just move cargo or equipment—we build lasting relationships with our clients through consistent, professional service and a commitment to their success.",
              tag: "Relationships",
              imageSrc: "https://img.b2bpic.net/free-photo/truck-speeding-through-urban-highway-supplychain-delivery_169016-71317.jpg"
            }
          ]}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
        />
      </div>

      <div id="company-values" data-section="company-values">
        <AboutMetric
          title="Our Core Values: Integrity, Excellence, and Unwavering Commitment to Every Client's Success"
          metrics={[
            { icon: Users, label: "Family-Owned Values", value: "Since Day 1" },
            { icon: Truck, label: "Professional Excellence", value: "Always" },
            { icon: CheckCircle, label: "Texas Work Ethic", value: "100%" }
          ]}
          useInvertedBackground={false}
        />
      </div>

      <div id="about-cta" data-section="about-cta">
        <ContactSplit
          tag="Get to Know Us"
          title="Ready to Work with a Team You Can Trust?"
          description="Experience the difference that family values and professional excellence make. Contact us to discuss how we can support your next project."
          background={{ variant: "sparkles-gradient" }}
          useInvertedBackground={false}
          imageSrc="https://img.b2bpic.net/free-photo/financial-charts-kpi-metrics-displays-office_482257-126638.jpg"
          mediaPosition="right"
          inputPlaceholder="Enter your email"
          buttonText="Connect With Us"
          termsText="Let's discuss your project needs. We respond to all inquiries within 24 hours."
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterMedia
          imageSrc="https://img.b2bpic.net/free-photo/blue-truck-rural-highway-with-green-line-logistics-motion_169016-69998.jpg"
          imageAlt="Trucking and construction services across Texas"
          logoText="Trucking & Construction Company of Texas"
          columns={[
            {
              title: "Services",
              items: [
                { label: "Heavy Hauling", href: "/services" },
                { label: "Freight Transport", href: "/services" },
                { label: "Equipment Transport", href: "/services" },
                { label: "Construction Services", href: "/services" }
              ]
            },
            {
              title: "Company",
              items: [
                { label: "About Us", href: "/about" },
                { label: "Our Team", href: "/about" },
                { label: "Reviews", href: "/reviews" },
                { label: "Contact", href: "/contact" }
              ]
            },
            {
              title: "Contact",
              items: [
                { label: "Call: (512) 555-0000", href: "tel:+1-512-555-0000" },
                { label: "Email: info@truckingco.tx", href: "mailto:info@truckingco.tx" },
                { label: "Service Area: All of Texas", href: "#" },
                { label: "24/7 Dispatch", href: "#" }
              ]
            }
          ]}
          copyrightText="© 2025 Trucking & Construction Company of Texas. All rights reserved. Family Owned & Operated."
        />
      </div>
    </ThemeProvider>
  );
}