"use client";

import ReactLenis from "lenis/react";
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleFullscreen from "@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen";
import HeroOverlayTestimonial from "@/components/sections/hero/HeroOverlayTestimonial";
import TestimonialAboutCard from "@/components/sections/about/TestimonialAboutCard";
import FeatureCardNineteen from "@/components/sections/feature/FeatureCardNineteen";
import TeamCardSix from "@/components/sections/team/TeamCardSix";
import TestimonialCardTwelve from "@/components/sections/testimonial/TestimonialCardTwelve";
import FaqDouble from "@/components/sections/faq/FaqDouble";
import ContactSplitForm from "@/components/sections/contact/ContactSplitForm";
import FooterSimple from "@/components/sections/footer/FooterSimple";
import { Leaf, TreePine } from "lucide-react";

export default function LandscapingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="expand-hover"
      defaultTextAnimation="entrance-slide"
      borderRadius="soft"
      contentWidth="mediumLarge"
      sizing="large"
      background="none"
      cardStyle="glass-elevated"
      primaryButtonStyle="gradient"
      secondaryButtonStyle="glass"
      headingFontWeight="semibold"
    >
      <ReactLenis root>
        <div id="nav" data-section="nav">
          <NavbarStyleFullscreen
            brandName="Git R Down Tree Service"
            navItems={[
              { name: "Services", id: "services" },
              { name: "About", id: "about" },
              { name: "Testimonials", id: "testimonials" },
              { name: "Contact", id: "contact" }
            ]}
            button={{ text: "Call Now", href: "tel:7175578323" }}
          />
        </div>

        <div id="hero" data-section="hero">
          <HeroOverlayTestimonial
            tag="Cumberland County's Trusted Arborists"
            tagIcon={TreePine}
            title="Expert Tree Removal, Trimming, and Stump Grinding"
            description="Your premier partner for safe, efficient, and affordable tree care services in Mechanicsburg, PA and beyond. We handle every job with professionalism and minimal disruption."
            buttons={[
              { text: "Get Free Estimate", href: "#contact" },
              { text: "Our Services", href: "#services" }
            ]}
            buttonAnimation="slide-up"
            imageSrc="https://img.b2bpic.net/free-photo/beautiful-landscape-big-tree-forest-with-low-angel-view_74190-6.jpg?id=3500986"
            imageAlt="Professional tree service crew working on a large tree"
            showDimOverlay={true}
            textPosition="top"
            testimonials={[
              {
                name: "Dutch Rules",                handle: "Satisfied Client",                testimonial: "I highly recommend this company for tree work.",                rating: 5,
                imageSrc: "http://img.b2bpic.net/free-photo/letter-made-green-grass-isolated-transparent-background_169016-59761.jpg",                imageAlt: "Dutch Rules"},
              {
                name: "Bob Anderson",                handle: "HOA Representative",                testimonial: "Andy and the crew are true professionals and did excellent work for our HOA.",                rating: 5,
                imageSrc: "http://img.b2bpic.net/free-photo/realistic-t-letter-with-metallic-surface_23-2150458468.jpg",                imageAlt: "Bob Anderson"},
            ]}
            titleClassName="text-7xl md:text-8xl lg:text-9xl"
          />
        </div>

        <div id="about" data-section="about">
          <TestimonialAboutCard
            tag="About Git R Down"
            tagIcon={TreePine}
            tagAnimation="slide-up"
            title="Specializing in tree, shrub, and stump removal and trimming at reasonable prices. We get the job done on time with minimal disruption."
            description="Andy & The Crew"
            subdescription="Serving Cumberland County, PA"
            icon={TreePine}
            imageSrc="https://img.b2bpic.net/premium-photo/forest-worker-operating-heavy-machinery-timber-harvesting_1092689-70013.jpg?id=364249099"
            imageAlt="Tree service crew working on a residential property"
            mediaAnimation="slide-up"
            useInvertedBackground={false}
          />
        </div>

        <div id="services" data-section="services">
          <FeatureCardNineteen
            tag="Our Services"
            tagIcon={TreePine}
            title="Comprehensive Tree Care Solutions"
            description="From routine trimming to emergency removal, we've got you covered."
            buttonAnimation="slide-up"
            textboxLayout="default"
            useInvertedBackground={false}
            imageContainerClassName="!rotate-0 !aspect-square"
            features={[
              {
                tag: "Removal",                title: "Tree Removal",                subtitle: "Safe & Efficient",                description: "Expert removal of hazardous, diseased, or unwanted trees. We ensure safety and cleanliness throughout the process.",                imageSrc: "https://img.b2bpic.net/free-photo/pile-logs-green-forest_181624-42990.jpg?id=17121362",                imageAlt: "Tree removal process"},
              {
                tag: "Trimming",                title: "Tree Trimming & Pruning",                subtitle: "Health & Aesthetics",                description: "Professional pruning to enhance tree health, improve appearance, and prevent potential hazards.",                imageSrc: "https://img.b2bpic.net/free-photo/man-cutting-dried-branches_23-2148396748.jpg?id=6403175",                imageAlt: "Tree trimming arborist"},
              {
                tag: "Stumps",                title: "Stump Grinding",                subtitle: "Complete Removal",                description: "Eliminate unsightly tree stumps efficiently, reclaiming your yard space for new possibilities.",                imageSrc: "https://img.b2bpic.net/premium-photo/old-axe-stump-axe-ready-cutting-timber-woodworking-tool-lumberjack-axe-wood-chopping_644346-4615.jpg?id=288564197",                imageAlt: "Stump grinding machine at work"},
              {
                tag: "Emergency",                title: "Emergency Services",                subtitle: "24/7 Response",                description: "Rapid response for storm-damaged or fallen trees, ensuring quick and safe property recovery.",                imageSrc: "https://img.b2bpic.net/premium-photo/tree-fallen-mountains-due-to-disease-uprooted-roots_601242-410.jpg?id=100287502",                imageAlt: "Fallen tree after storm"},
            ]}
          />
        </div>

        <div id="why-us" data-section="why-us">
          <TeamCardSix
            title="Why Choose Git R Down Tree Service?"
            description="Our commitment to safety, efficiency, and customer satisfaction sets us apart."
            textboxLayout="default"
            useInvertedBackground={false}
            gridVariant="uniform-all-items-equal"
            animationType="slide-up"
            members={[
              {
                id: "1",                name: "Safety First Approach",                role: "Certified professionals using advanced techniques and equipment to ensure every job is done safely.",                imageSrc: "https://img.b2bpic.net/free-photo/asian-man-cutting-trees-using-electrical-chainsaw_1150-5896.jpg?id=3737770",                imageAlt: "Tree service safety equipment"},
              {
                id: "2",                name: "Experienced & Professional",                role: "Andy and his crew are true professionals, delivering excellent results for all types of tree work.",                imageSrc: "https://img.b2bpic.net/premium-photo/fallen-tree-after-storm-with-workers-removing-debris_1563500-11.jpg?id=422282945",                imageAlt: "Professional arborists working"},
              {
                id: "3",                name: "Timely & Reliable Service",                role: "We pride ourselves on completing projects on time and with minimal disruption to your daily life.",                imageSrc: "https://img.b2bpic.net/free-photo/field-full-trees-with-no-leaves-green-grass-spring_181624-19618.jpg?id=10835267",                imageAlt: "Tree service truck delivering"},
            ]}
          />
        </div>

        <div id="testimonials" data-section="testimonials">
          <TestimonialCardTwelve
            cardTag="Highly Recommended"
            cardTagIcon={TreePine}
            cardTitle="With a 4.548 Google rating, our clients consistently praise our professionalism and quality work."
            buttons={[{ text: "Contact Now", href: "#contact" }]}
            buttonAnimation="slide-up"
            cardAnimation="slide-up"
            useInvertedBackground={false}
            testimonials={[
              {
                id: "1",                name: "Dutch Rules",                imageSrc: "https://img.b2bpic.net/free-photo/low-angle-shot-lot-beautiful-tall-trees-blue-sky_181624-45967.jpg?id=17247117",                imageAlt: "Dutch Rules"},
              {
                id: "2",                name: "Bob Anderson",                imageSrc: "https://img.b2bpic.net/free-photo/low-angle-shot-tall-trees-forest-sunny-day_181624-38160.jpg?id=15327774",                imageAlt: "Bob Anderson"},
              {
                id: "3",                name: "Satisfied Client 1",                imageSrc: "https://img.b2bpic.net/premium-photo/low-angle-view-sunlight-streaming-through-trees-forest_1635773-5068.jpg?id=122976807",                imageAlt: "Satisfied Client 1"},
              {
                id: "4",                name: "Satisfied Client 2",                imageSrc: "https://img.b2bpic.net/free-photo/vertical-low-angle-shot-tall-trees-forest-skrad-municipality-croatia_181624-6733.jpg?id=8943614",                imageAlt: "Satisfied Client 2"},
            ]}
          />
        </div>

        <div id="faq" data-section="faq">
          <FaqDouble
            tag="FAQ"
            title="Common Questions About Tree Service"
            description="Answers to your most frequently asked questions about our services and process."
            textboxLayout="default"
            useInvertedBackground={false}
            faqsAnimation="slide-up"
            faqs={[
              {
                id: "1",                title: "How long does tree removal take?",                content: "The duration depends on the size, location, and complexity of the tree. Smaller trees can be removed in a few hours, while larger, more challenging ones may take a full day or more. We provide an estimated timeline during your consultation."},
              {
                id: "2",                title: "Are you insured?",                content: "Yes, Git R Down Tree Service is fully licensed and insured for your protection and peace of mind. We prioritize safety for both our crew and your property."},
              {
                id: "3",                title: "Do I need to be home for the service?",                content: "While you don't always need to be present for the entire service, we recommend being available at the start to discuss any final details and at the end for a final walk-through."},
              {
                id: "4",                title: "What happens to the wood and debris?",                content: "We offer various options, including hauling away all wood and debris, or cutting it into firewood lengths for your use. Stump grinding debris is typically backfilled into the hole."},
              {
                id: "5",                title: "How do I get an estimate?",                content: "Simply contact us by phone or through our website form to schedule a free, no-obligation on-site estimate. We'll assess your tree care needs and provide a detailed quote."},
              {
                id: "6",                title: "Do you offer emergency services?",                content: "Yes, we provide emergency tree services for hazardous situations like storm-damaged or fallen trees. Call us immediately for urgent assistance."},
            ]}
          />
        </div>

        <div id="contact" data-section="contact" className="relative overflow-hidden">
          <div className="absolute inset-0 w-full h-full">
            <video
              src="https://img.b2bpic.net/free-photo/grove-summer_1398-333.jpg?id=1186565"
              autoPlay
              muted
              loop
              playsInline
              aria-hidden="true"
              className="w-full h-full object-cover"
            />
            <div className="absolute inset-0 bg-foreground/70" />
          </div>
          <ContactSplitForm
            title="Get Your Free Tree Service Estimate"
            description="Contact Git R Down Tree Service today for professional tree removal, trimming, or stump grinding. We'll respond promptly."
            useInvertedBackground={false}
            mediaAnimation="none"
            buttonText="Request Estimate"
            contentClassName="!grid-cols-1 max-w-[600px] mx-auto"
            mediaWrapperClassName="hidden"
            inputs={[
              { name: "name", type: "text", placeholder: "Full Name", required: true },
              { name: "email", type: "email", placeholder: "Email Address", required: true },
              { name: "phone", type: "tel", placeholder: "Phone Number" },
            ]}
            multiSelect={{
              name: "service",              label: "Select a Service",              options: ["Tree Removal", "Tree Trimming", "Stump Grinding", "Emergency Service", "Other"],
            }}
            textarea={{ name: "message", placeholder: "Tell us about your tree service needs...", rows: 4, required: true }}
          />
        </div>

        <div id="footer" data-section="footer">
          <FooterSimple
            columns={[
              {
                title: "Services",                items: [
                  { label: "Tree Removal", href: "#services" },
                  { label: "Tree Trimming", href: "#services" },
                  { label: "Stump Grinding", href: "#services" },
                  { label: "Emergency Service", href: "#services" },
                ],
              },
              {
                title: "Company",                items: [
                  { label: "About Us", href: "#about" },
                  { label: "Testimonials", href: "#testimonials" },
                  { label: "FAQ", href: "#faq" },
                ],
              },
              {
                title: "Contact",                items: [
                  { label: "(717) 557-8323", href: "tel:7175578323" },
                  { label: "1317 Old Willow Mill Rd, Mechanicsburg, PA 17050" },
                ],
              },
            ]}
            bottomLeftText="© 2024 Git R Down Tree Service"
            bottomRightText="All rights reserved"
          />
        </div>
      </ReactLenis>
    </ThemeProvider>
  );
}
