"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarLayoutFloatingOverlay from "@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay";
import HeroLogo from "@/components/sections/hero/HeroLogo";
import InlineImageSplitTextAbout from "@/components/sections/about/InlineImageSplitTextAbout";
import FeatureCardTwentySeven from "@/components/sections/feature/FeatureCardTwentySeven";
import ProductCardFour from "@/components/sections/product/ProductCardFour";
import MetricCardTwo from "@/components/sections/metrics/MetricCardTwo";
import TestimonialCardFive from "@/components/sections/testimonial/TestimonialCardFive";
import SocialProofOne from "@/components/sections/socialProof/SocialProofOne";
import FaqBase from "@/components/sections/faq/FaqBase";
import ContactCTA from "@/components/sections/contact/ContactCTA";
import FooterBaseReveal from "@/components/sections/footer/FooterBaseReveal";

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="icon-arrow"
      defaultTextAnimation="entrance-slide"
      borderRadius="soft"
      contentWidth="medium"
      sizing="largeSmall"
      background="circleGradient"
      cardStyle="outline"
      primaryButtonStyle="primary-glow"
      secondaryButtonStyle="layered"
      headingFontWeight="light"
    >
      <div id="nav" data-section="nav">
        <NavbarLayoutFloatingOverlay
          brandName="C Scott Construction & Landscaping"
          navItems={[
            { name: "Home", id: "#home" },
            { name: "Services", id: "#services" },
            { name: "Projects", id: "#projects" },
            { name: "Testimonials", id: "#testimonials" },
            { name: "Contact", id: "#contact" }
          ]}
          button={{
            text: "Get a Free Estimate"
          }}
        />
      </div>

      <div id="home" data-section="home">
        <HeroLogo
          logoText="C Scott Construction & Landscaping"
          description="From sprinkler repairs and irrigation systems to tree removal, sod installation, pavers, grading, and complete landscape transformations, C Scott Construction & Landscaping delivers quality craftsmanship with honest service. Every project receives attention to detail, professional workmanship, and reliable communication."
          buttons={[
            { text: "Get a Free Estimate" },
            { text: "Call Now" }
          ]}
          imageSrc="http://img.b2bpic.net/free-photo/hotel_1127-4037.jpg"
          imageAlt="Professional Landscaping and Outdoor Construction"
          showDimOverlay={true}
        />
      </div>

      <div id="about" data-section="about">
        <InlineImageSplitTextAbout
          heading={[
            { type: "text", content: "Your Trusted Landscaping & Outdoor Construction Partner" }
          ]}
          buttons={[
            { text: "Learn More About Us" }
          ]}
          useInvertedBackground={true}
        />
      </div>

      <div id="services" data-section="services">
        <FeatureCardTwentySeven
          title="Our Comprehensive Landscaping Services"
          description="C Scott Construction & Landscaping offers a wide range of services to enhance your property's beauty and functionality, from essential maintenance to complete outdoor transformations."
          features={[
            {
              id: "irrigation",              title: "Irrigation & Sprinkler Systems",              descriptions: [
                "Expert installation, repair, and maintenance for efficient watering systems.",                "Water-saving solutions tailored to your landscape needs."
              ],
              imageSrc: "http://img.b2bpic.net/free-photo/still-life-with-gardening-concept_23-2148127952.jpg",              imageAlt: "Irrigation system watering a lawn"
            },
            {
              id: "tree-care",              title: "Tree & Shrub Care",              descriptions: [
                "Professional tree removal, pruning, and health assessments to maintain beautiful trees.",                "Ensure safety and enhance your property's curb appeal."
              ],
              imageSrc: "http://img.b2bpic.net/free-photo/camper-life-concept-with-branches-shelter_23-2148456447.jpg",              imageAlt: "Arborist climbing a tree for pruning"
            },
            {
              id: "pavers-patios",              title: "Pavers & Outdoor Living",              descriptions: [
                "Design and build stunning patios, walkways, and driveways with durable, stylish pavers.",                "Create custom outdoor living spaces for relaxation and entertainment."
              ],
              imageSrc: "http://img.b2bpic.net/free-photo/irregular-antique-surface-backgrounds-castle_1232-3934.jpg",              imageAlt: "Modern paver patio with outdoor furniture"
            },
            {
              id: "sod-grading",              title: "Sod Installation & Grading",              descriptions: [
                "Achieve a lush, healthy lawn with professional sod installation and precise land grading.",                "Improve drainage and prepare your yard for optimal growth."
              ],
              imageSrc: "http://img.b2bpic.net/free-photo/scene-construction-site-with-equipment_23-2151317297.jpg",              imageAlt: "New sod being rolled out onto prepared ground"
            }
          ]}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground={true}
        />
      </div>

      <div id="projects" data-section="projects">
        <ProductCardFour
          title="Our Signature Projects"
          description="Explore stunning before-and-after transformations from our recent landscaping and outdoor construction projects."
          products={[
            {
              id: "project-1",              name: "Modern Backyard Oasis",              price: "Request Quote",              variant: "Residential Landscaping",              imageSrc: "http://img.b2bpic.net/free-photo/contrasting-outdoor-texture-design_23-2149756529.jpg",              imageAlt: "Modern backyard with new patio and landscaping"
            },
            {
              id: "project-2",              name: "Commercial Grounds Makeover",              price: "Request Quote",              variant: "Commercial Maintenance",              imageSrc: "http://img.b2bpic.net/free-photo/businesswoman-suit-walking-city-going-work-with-laptop-documents-corporate-people-conce_1258-123457.jpg",              imageAlt: "Before and after of a commercial property landscape"
            },
            {
              id: "project-3",              name: "Durable Paver Driveway",              price: "Request Quote",              variant: "Outdoor Construction",              imageSrc: "http://img.b2bpic.net/free-photo/outdoors-cobblestone-texture-with-skateboard_23-2149432958.jpg",              imageAlt: "Newly installed paver driveway"
            },
            {
              id: "project-4",              name: "Efficient Irrigation Upgrade",              price: "Request Quote",              variant: "Water Management",              imageSrc: "http://img.b2bpic.net/free-photo/drone-quad-copter-with-high-resolution-digital-camera-green-corn-field_146671-19056.jpg",              imageAlt: "Advanced irrigation system sprayers"
            },
            {
              id: "project-5",              name: "Elegant Garden Redesign",              price: "Request Quote",              variant: "Custom Landscape Design",              imageSrc: "http://img.b2bpic.net/free-photo/cactus-houseplant-collection-decoration-set_53876-31084.jpg",              imageAlt: "Beautifully redesigned residential garden"
            },
            {
              id: "project-6",              name: "Tree & Stump Removal",              price: "Request Quote",              variant: "Property Safety",              imageSrc: "http://img.b2bpic.net/free-photo/strong-lumberjack-chopping-wood-chips-fly-apart-ax-hatchet-axe-split-log-with-ax-birch-firewood-background-wood-wallpaper_1391-226.jpg",              imageAlt: "Cleared area after tree and stump removal"
            }
          ]}
          gridVariant="three-columns-all-equal-width"
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
        />
      </div>

      <div id="metrics" data-section="metrics">
        <MetricCardTwo
          title="Experience You Can Trust"
          description="Years of dedicated service, satisfied clients, and successful projects speak for themselves. We deliver quality and reliability."
          metrics={[
            { id: "years", value: "20+", description: "Years of Industry Experience" },
            { id: "projects", value: "500+", description: "Successful Projects Completed" },
            { id: "clients", value: "250+", description: "Satisfied Residential & Commercial Clients" }
          ]}
          gridVariant="uniform-all-items-equal"
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground={true}
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardFive
          title="What Our Clients Say"
          description="Hear directly from homeowners and commercial property managers who've experienced our commitment to excellence and unparalleled service."
          testimonials={[
            {
              id: "1",              name: "Sarah J.",              date: "March 2024",              title: "Dream Backyard Transformed",              quote: "C Scott Construction completely transformed our backyard! The new patio and landscaping are beyond our expectations. Professional, timely, and excellent communication.",              tag: "Homeowner",              avatarSrc: "http://img.b2bpic.net/free-photo/young-cheerful-woman-coat-with-coffee-go-happily-looking-camera-park_574295-3133.jpg",              avatarAlt: "Sarah Johnson avatar",              imageSrc: "http://img.b2bpic.net/free-photo/road-with-trees-around_1127-2249.jpg",              imageAlt: "Transformed backyard"
            },
            {
              id: "2",              name: "Michael T.",              date: "February 2024",              title: "Reliable Commercial Service",              quote: "Their team handles all our commercial property's landscaping needs efficiently and professionally. Always on budget and responsive to urgent requests.",              tag: "Property Manager",              avatarSrc: "http://img.b2bpic.net/free-photo/handsome-young-male-walking-street_158595-4693.jpg",              avatarAlt: "Michael Thompson avatar",              imageSrc: "http://img.b2bpic.net/free-photo/town-square_1359-1046.jpg",              imageAlt: "Commercial property landscape"
            },
            {
              id: "3",              name: "Emily R.",              date: "January 2024",              title: "Quick Sprinkler Repair",              quote: "Had a broken sprinkler head that needed immediate attention. C Scott Construction was out the same day and fixed it perfectly. Highly recommend!",              tag: "Homeowner",              avatarSrc: "http://img.b2bpic.net/free-photo/woman-with-curly-hair-posing_23-2148728587.jpg",              avatarAlt: "Emily Rodriguez avatar",              imageSrc: "http://img.b2bpic.net/free-photo/close-up-gardener-watering-plants-with-sprinkler_23-2148396765.jpg",              imageAlt: "Sprinkler system in action"
            },
            {
              id: "4",              name: "David L.",              date: "December 2023",              title: "Beautiful Tree Removal",              quote: "They removed a large, tricky tree near our house safely and without any damage. Clean-up was impeccable. True experts.",              tag: "Homeowner",              avatarSrc: "http://img.b2bpic.net/free-photo/close-up-portrait-attractive-mature-bearded-hispanic-florist-smiling-camera-watching-flowers-garden-near-countryside-house-with-happy-relaxed-face-expression_176420-19938.jpg",              avatarAlt: "David Lee avatar",              imageSrc: "http://img.b2bpic.net/free-photo/carpenter-working-sawmill-wood-manufacture_1303-22893.jpg",              imageAlt: "Tree removal service"
            },
            {
              id: "5",              name: "Jessica M.",              date: "November 2023",              title: "Seamless Sod Installation",              quote: "Our new lawn looks fantastic thanks to C Scott Construction. The sod was laid perfectly, and they gave great advice on care. Very happy!",              tag: "Homeowner",              avatarSrc: "http://img.b2bpic.net/free-photo/close-up-portrait-attractive-female-with-freckled-skin-blue-eyes-dimples-cheeks-having-confident-look-into-camera-isolated-white-cute-blonde-female-posing-studio_176532-8263.jpg",              avatarAlt: "Jessica Miller avatar",              imageSrc: "http://img.b2bpic.net/free-photo/male-gardener-working-garden_23-2148165264.jpg",              imageAlt: "Sod installation"
            }
          ]}
          textboxLayout="default"
          useInvertedBackground={false}
        />
      </div>

      <div id="social-proof" data-section="social-proof">
        <SocialProofOne
          names={[
            "Fast Response Times",            "Competitive Pricing",            "Licensed & Insured",            "Residential & Commercial",            "Quality Craftsmanship",            "Honest Service",            "Attention to Detail"
          ]}
          title="Our Pillars of Trust"
          description="We are committed to delivering exceptional service and results on every project, backed by our core values."
          textboxLayout="default"
          useInvertedBackground={true}
          speed={50}
          showCard={false}
        />
      </div>

      <div id="faq" data-section="faq">
        <FaqBase
          title="Frequently Asked Questions"
          description="Get quick answers to common questions about our landscaping and outdoor construction services, pricing, and process."
          faqs={[
            {
              id: "q1",              title: "What services do you offer?",              content: "We offer a full range of landscaping and outdoor construction services, including irrigation, tree removal, sod installation, pavers, grading, and complete landscape design and build solutions."
            },
            {
              id: "q2",              title: "Do you offer free estimates?",              content: "Yes, we provide free, no-obligation estimates for all our services. Contact us today to schedule your personalized consultation and receive a detailed quote."
            },
            {
              id: "q3",              title: "Are you licensed and insured?",              content: "Absolutely. C Scott Construction & Landscaping is fully licensed and insured for both residential and commercial projects. Your peace of mind is our priority."
            }
          ]}
          faqsAnimation="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactCTA
          tag="Ready to Transform Your Outdoors?"
          title="Get Your Free Landscaping Estimate Today"
          description="Contact C Scott Construction & Landscaping now for a personalized consultation and a detailed quote. Let's build something beautiful and functional together."
          buttons={[
            { text: "Request a Quote" },
            { text: "Call Us Now" }
          ]}
          background={{
            variant: "radial-gradient"
          }}
          useInvertedBackground={true}
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterBaseReveal
          logoText="C Scott Construction & Landscaping"
          columns={[
            {
              title: "Services",              items: [
                { label: "Irrigation", href: "#services" },
                { label: "Tree Care", href: "#services" },
                { label: "Pavers & Patios", href: "#services" },
                { label: "Sod & Grading", href: "#services" }
              ]
            },
            {
              title: "Company",              items: [
                { label: "About Us", href: "#about" },
                { label: "Projects", href: "#projects" },
                { label: "Testimonials", href: "#testimonials" },
                { label: "FAQs", href: "#faq" }
              ]
            },
            {
              title: "Contact",              items: [
                { label: "Get a Quote", href: "#contact" },
                { label: "Call Us", href: "#contact" },
                { label: "Email Us", href: "mailto:info@cscottlandscaping.com" }
              ]
            }
          ]}
          copyrightText="© 2024 C Scott Construction & Landscaping. All rights reserved."
        />
      </div>
    </ThemeProvider>
  );
}
