"use client";

import { MapPin, Compass, Trees, Home } from "lucide-react";
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleApple from '@/components/navbar/NavbarStyleApple/NavbarStyleApple';
import SplitAbout from '@/components/sections/about/SplitAbout';
import FaqBase from '@/components/sections/faq/FaqBase';
import FooterBaseReveal from '@/components/sections/footer/FooterBaseReveal';

export default function AboutPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="expand-hover"
      defaultTextAnimation="entrance-slide"
      borderRadius="pill"
      contentWidth="mediumLarge"
      sizing="mediumLargeSizeMediumTitles"
      background="fluid"
      cardStyle="glass-elevated"
      primaryButtonStyle="radial-glow"
      secondaryButtonStyle="solid"
      headingFontWeight="extrabold"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleApple
          brandName="Catamount Tree Service"
          navItems={[
            { name: "Home", id: "/" },
            { name: "Services", id: "/services" },
            { name: "About", id: "/about" },
            { name: "Reviews", id: "/reviews" },
            { name: "Contact", id: "/contact" }
          ]}
        />
      </div>

      <div id="service-area" data-section="service-area">
        <SplitAbout
          title="Serving Williamstown & Surrounding Vermont Communities"
          description="Based in Williamstown, VT with 24/7 availability. We serve residential and rural properties across Central Vermont, including nearby towns and wooded areas. Whether your property sits on a rural lot or in town, we have the equipment and expertise to handle tree removal safely."
          tag="Service Area"
          tagIcon={MapPin}
          textboxLayout="default"
          useInvertedBackground={false}
          mediaAnimation="slide-up"
          bulletPoints={[
            {
              title: "Williamstown, VT",              description: "Local experts serving our home community",              icon: MapPin
            },
            {
              title: "Central Vermont",              description: "Extensive coverage across the region",              icon: Compass
            },
            {
              title: "Rural & Wooded Properties",              description: "Experienced with challenging terrain and large trees",              icon: Trees
            },
            {
              title: "Residential Focus",              description: "Specializing in homeowner needs and safety",              icon: Home
            }
          ]}
          imageSrc="https://img.b2bpic.net/free-photo/lake-with-autumn-foliage-viewed-from-mountain-top-new-england-stowe_649448-22.jpg"
          imageAlt="Beautiful Vermont forest landscape"
          imagePosition="left"
        />
      </div>

      <div id="faq" data-section="faq">
        <FaqBase
          title="Frequently Asked Questions"
          description="Common questions about our tree removal, trimming, and emergency services"
          tag="Help & Support"
          textboxLayout="default"
          useInvertedBackground={false}
          faqsAnimation="slide-up"
          faqs={[
            {
              id: "1",              title: "How quickly can you respond to emergency tree removal?",              content: "We offer 24/7 emergency service. Call us anytime at (802) 473-2606 and we'll dispatch our crew as soon as possible for storm damage, hazardous trees, or urgent situations."
            },
            {
              id: "2",              title: "Do you offer free estimates?",              content: "Absolutely! We provide free, no-obligation on-site estimates for all tree removal and trimming work. We'll assess your trees, discuss options, and give you transparent pricing before any work begins."
            },
            {
              id: "3",              title: "What's included in your tree removal service?",              content: "Our complete tree removal service includes safe felling, limb removal, stump grinding, debris hauling, and full site cleanup. We use professional equipment and follow industry safety standards throughout."
            },
            {
              id: "4",              title: "Are your crew members experienced and insured?",              content: "Yes. All our team members are trained, experienced arborists. We carry full liability insurance and workers' compensation for your protection and peace of mind."
            },
            {
              id: "5",              title: "How do you handle tree trimming and pruning?",              content: "We trim and prune trees to improve health, remove dead branches, clear sight lines, and prevent damage to nearby property. Our experts assess each tree and recommend the best approach."
            },
            {
              id: "6",              title: "What's your service area?",              content: "We're based in Williamstown, VT and serve Central Vermont communities 24/7. We work on residential properties of all sizes, including rural and wooded lots. Call to confirm your location."
            }
          ]}
        />
      </div>

      <FooterBaseReveal
        columns={[
          {
            title: "Services",            items: [
              { label: "Tree Removal", href: "/services" },
              { label: "Tree Trimming", href: "/services" },
              { label: "Emergency Service", href: "/services" },
              { label: "Storm Cleanup", href: "/services" }
            ]
          },
          {
            title: "Company",            items: [
              { label: "About Us", href: "/about" },
              { label: "Reviews", href: "/reviews" },
              { label: "Service Area", href: "/services" },
              { label: "Contact", href: "/contact" }
            ]
          },
          {
            title: "Contact",            items: [
              { label: "📞 (802) 473-2606", href: "tel:(802)4732606" },
              { label: "1774 Baptist St, Williamstown, VT 05679", href: "https://maps.google.com/?q=1774+Baptist+St+Williamstown+VT+05679" },
              { label: "Available 24/7", href: "/contact" }
            ]
          }
        ]}
        copyrightText="© 2025 Catamount Tree Service. All rights reserved. | Serving Central Vermont"
      />
    </ThemeProvider>
  );
}