"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarLayoutFloatingOverlay from '@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay';
import HeroLogoBillboard from '@/components/sections/hero/HeroLogoBillboard';
import TextSplitAbout from '@/components/sections/about/TextSplitAbout';
import FeatureCardSix from '@/components/sections/feature/FeatureCardSix';
import ProductCardTwo from '@/components/sections/product/ProductCardTwo';
import PricingCardFive from '@/components/sections/pricing/PricingCardFive';
import TestimonialCardFifteen from '@/components/sections/testimonial/TestimonialCardFifteen';
import SocialProofOne from '@/components/sections/socialProof/SocialProofOne';
import FaqSplitMedia from '@/components/sections/faq/FaqSplitMedia';
import ContactSplitForm from '@/components/sections/contact/ContactSplitForm';
import FooterMedia from '@/components/sections/footer/FooterMedia';
import { Sparkles } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="directional-hover"
      defaultTextAnimation="entrance-slide"
      borderRadius="rounded"
      contentWidth="compact"
      sizing="large"
      background="fluid"
      cardStyle="soft-shadow"
      primaryButtonStyle="diagonal-gradient"
      secondaryButtonStyle="solid"
      headingFontWeight="extrabold"
    >
      <div id="nav" data-section="nav">
        <NavbarLayoutFloatingOverlay
          brandName="RBRN Landscaping LLC"
          navItems={[
            { name: "Home", id: "/" },
            { name: "Services", id: "#services" },
            { name: "Portfolio", id: "#portfolio" },
            { name: "Pricing", id: "#pricing" },
            { name: "Testimonials", id: "#testimonials" },
            { name: "FAQ", id: "#faq" },
            { name: "Contact", id: "#contact" }
          ]}
          button={{
            text: "Get a Quote",            href: "#contact"
          }}
          logoSrc="http://img.b2bpic.net/free-vector/leaf-logo-design_779267-951.jpg"
          logoAlt="RBRN Landscaping Logo"
        />
      </div>
      <div id="hero" data-section="hero">
        <HeroLogoBillboard
          logoText="RBRN Landscaping"
          description="Professional landscaping and grounds maintenance for residential and commercial properties. Award-quality results, reliable service since 2010."
          buttons={[
            { text: "Get Your Free Quote", href: "#contact" }
          ]}
          background={{ variant: "gradient-bars" }}
          imageSrc="http://img.b2bpic.net/free-photo/rustic-patio-furniture-house-deck-with-vegetation_23-2150698296.jpg"
          imageAlt="Beautifully manicured lawn and garden"
          mediaAnimation="entrance-slide"
          buttonAnimation="slide-up"
          useInvertedBackground={false}
        />
      </div>
      <div id="about" data-section="about">
        <TextSplitAbout
          title="Your Trusted Local Landscaping Partner"
          description={[
            "At RBRN Landscaping LLC, we believe in creating outdoor spaces that inspire and delight. With over a decade of experience serving homeowners and businesses, we've built a reputation for meticulous care, innovative design, and unwavering reliability. Our team is dedicated to bringing your vision to life, ensuring every detail reflects our commitment to excellence.",            "We understand that a beautiful landscape is more than just aesthetics—it's an investment in your property's value and your quality of life. From routine lawn maintenance to complex landscape transformations, we handle every project with professionalism and a personal touch. Discover the RBRN difference, where your outdoor dreams become a stunning reality."
          ]}
          useInvertedBackground={true}
        />
      </div>
      <div id="services" data-section="services">
        <FeatureCardSix
          title="Comprehensive Landscaping Solutions"
          description="We offer a full spectrum of services designed to enhance the beauty and functionality of your property. Our expertise ensures vibrant, healthy landscapes year-round, tailored to your specific needs."
          features={[
            { title: "Residential Lawn Care", description: "Keep your home's lawn pristine with our weekly mowing, edging, and blowing services. We use eco-friendly practices to ensure a healthy, vibrant turf.", imageSrc: "http://img.b2bpic.net/free-photo/lifestyle-scene-showing-care-support-from-people-community_23-2151261262.jpg", imageAlt: "Perfectly cut residential lawn" },
            { title: "Commercial Grounds Maintenance", description: "Maintain a professional appearance for your business with our tailored grounds maintenance programs. We handle everything from large estates to corporate parks.", imageSrc: "http://img.b2bpic.net/free-photo/skilful-gardener-using-highaltitude-hedge-trimmer-while-shaping-bush-topiary-garden-side-view_7502-10480.jpg", imageAlt: "Commercial property with well-maintained grounds" },
            { title: "Custom Landscape Design", description: "Transform your vision into reality with our expert landscape design services. We create stunning, functional, and sustainable outdoor spaces personalized to your style.", imageSrc: "http://img.b2bpic.net/free-photo/close-up-blueprints-renewable-energy-project_23-2148890097.jpg", imageAlt: "Landscape design blueprint" },
            { title: "Seasonal Cleanups", description: "Prepare your property for changing seasons with our comprehensive spring and fall cleanups, including leaf removal, pruning, and garden bed preparation.", imageSrc: "http://img.b2bpic.net/free-photo/crop-woman-holding-pile-firewood_23-2147943451.jpg", imageAlt: "Gardener raking leaves" },
            { title: "Irrigation System Management", description: "Ensure efficient watering with our irrigation system installation, maintenance, and repair services, optimizing water usage and plant health.", imageSrc: "http://img.b2bpic.net/free-photo/worker-pours-flowerpoots-girl-black-apron_1157-42016.jpg", imageAlt: "Automated sprinkler system watering lawn" }
          ]}
          textboxLayout="default"
          useInvertedBackground={false}
          buttonAnimation="slide-up"
        />
      </div>
      <div id="portfolio" data-section="portfolio">
        <ProductCardTwo
          title="Our Award-Winning Landscape Transformations"
          description="Explore our portfolio of completed projects, showcasing our commitment to quality, creativity, and customer satisfaction. From lush residential gardens to meticulously maintained commercial grounds, see the RBRN difference."
          products={[
            { id: "p1", brand: "Residential", name: "Modern Garden Design", price: "Custom Quote", rating: 5, reviewCount: "24", imageSrc: "http://img.b2bpic.net/free-photo/beautiful-luxury-swimming-pool-with-palm-trees-thai-style-decoration_1258-111445.jpg", imageAlt: "Modern garden with minimalist design" },
            { id: "p2", brand: "Residential", name: "Backyard Oasis Renovation", price: "Custom Quote", rating: 5, reviewCount: "18", imageSrc: "http://img.b2bpic.net/free-photo/beautiful-autumn-decoration-with-big-shaped-pumpkin-branch-viburnum-kerosene-lamp-outdoors_7502-10558.jpg", imageAlt: "Luxury backyard with pool and lush greenery" },
            { id: "p3", brand: "Commercial", name: "Commercial Property Frontage", price: "Custom Quote", rating: 5, reviewCount: "12", imageSrc: "http://img.b2bpic.net/free-photo/windows-skyscraper-business-office_1112-1079.jpg", imageAlt: "Professional landscaping at a commercial building" },
            { id: "p4", brand: "Residential", name: "Sustainable Xeriscape Project", price: "Custom Quote", rating: 5, reviewCount: "15", imageSrc: "http://img.b2bpic.net/free-photo/composition-garden-tools_93675-131226.jpg", imageAlt: "Drought-tolerant xeriscape garden" },
            { id: "p5", brand: "Residential", name: "Seasonal Flower Bed Installation", price: "Custom Quote", rating: 5, reviewCount: "20", imageSrc: "http://img.b2bpic.net/free-photo/orange-flowers-buttercups-ranunculus-flower-bed_169016-20594.jpg", imageAlt: "Vibrant seasonal flower bed" },
            { id: "p6", brand: "Residential", name: "Hardscaping Patio & Walkways", price: "Custom Quote", rating: 5, reviewCount: "10", imageSrc: "http://img.b2bpic.net/free-photo/wood-texture-background_1232-3333.jpg", imageAlt: "Elegant stone patio and walkway" }
          ]}
          gridVariant="bento-grid"
          animationType="blur-reveal"
          textboxLayout="default"
          useInvertedBackground={true}
        />
      </div>
      <div id="pricing" data-section="pricing">
        <PricingCardFive
          title="Flexible Plans for Every Property"
          description="Choose a landscaping package that best fits your needs and budget. We offer transparent pricing for both residential and commercial clients, with options for ongoing maintenance or one-time projects."
          plans={[
            { id: "residential-essential", tag: "Residential", price: "$129", period: "per month", description: "Ideal for homeowners seeking reliable, basic lawn care to keep their property looking its best.", button: { text: "Choose Plan", href: "#contact" }, featuresTitle: "Includes:", features: ["Weekly Mowing & Edging", "Blowing & Debris Removal", "Seasonal Fertilization (basic)", "Basic Shrub Trimming"] },
            { id: "residential-premium", tag: "Residential", tagIcon: Sparkles, price: "$249", period: "per month", description: "Our most popular option for homeowners desiring comprehensive care and advanced landscaping benefits.", button: { text: "Choose Plan", href: "#contact" }, featuresTitle: "Everything in Essential, plus:", features: ["Advanced Lawn Health Treatments", "Seasonal Flower Bed Maintenance", "Irrigation System Check-ups", "Priority Scheduling"] },
            { id: "commercial-grounds", tag: "Commercial", price: "Custom Quote", period: "per project", description: "Tailored solutions for commercial properties and HOAs, ensuring immaculate grounds and enhanced curb appeal.", button: { text: "Get Custom Quote", href: "#contact" }, featuresTitle: "Services tailored to include:", features: ["Large-Scale Mowing & Maintenance", "Parking Lot & Walkway Cleaning", "Landscape Design & Installation", "Emergency Storm Cleanup"] }
          ]}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
        />
      </div>
      <div id="testimonials" data-section="testimonials">
        <TestimonialCardFifteen
          testimonial="RBRN Landscaping completely transformed our backyard! Their team was professional, detail-oriented, and delivered results beyond our expectations. Our garden is now the envy of the neighborhood. Highly recommend their services!"
          rating={5}
          author="Sarah M., Homeowner"
          avatars={[
            { src: "http://img.b2bpic.net/free-photo/close-up-successful-woman-with-blue-shirt_1098-3627.jpg", alt: "Sarah M." },
            { src: "http://img.b2bpic.net/free-photo/handsome-business-man-wearing-suit-looking-camera-smiling-broadly-with-happy-face-standing-white-background_141793-54115.jpg", alt: "John P." },
            { src: "http://img.b2bpic.net/free-photo/portrait-smiling-young-woman-sitting-table_1262-5373.jpg", alt: "Emily R." },
            { src: "http://img.b2bpic.net/free-photo/happy-young-handsome-man-beige-turtleneck-glasses-looking-front-smiling-cheerfully-showing-v-sign-with-both-hands-standing-pink-wall_141793-52862.jpg", alt: "David C." },
            { src: "http://img.b2bpic.net/free-photo/expressive-senior-woman-posing_344912-3037.jpg", alt: "Maria G." }
          ]}
          ratingAnimation="slide-up"
          avatarsAnimation="entrance-slide"
          useInvertedBackground={true}
        />
      </div>
      <div id="social-proof" data-section="social-proof">
        <SocialProofOne
          title="Trusted by Leading Local Businesses"
          description="We are proud to partner with a diverse range of commercial clients, delivering impeccable grounds maintenance and landscape services that reflect positively on their brand."
          names={[
            "Local Realty Group",            "Downtown Business Alliance",            "Green Valley HOA",            "City Sports Complex",            "Maple Street Shops",            "Oakwood Medical Center",            "Riverside Park District"
          ]}
          textboxLayout="default"
          useInvertedBackground={false}
        />
      </div>
      <div id="faq" data-section="faq">
        <FaqSplitMedia
          title="Common Questions About Our Services"
          description="Find answers to frequently asked questions regarding our landscaping services, scheduling, pricing, and more. If you can't find what you're looking for, feel free to contact us directly."
          faqs={[
            { id: "faq1", title: "What areas do you serve?", content: "RBRN Landscaping LLC proudly serves the greater [Your City/Region] area, including all surrounding suburbs and communities for both residential and commercial clients. Contact us to confirm service availability in your specific location." },
            { id: "faq2", title: "How do I get a free quote?", content: "You can request a free, no-obligation quote by filling out the contact form on our website, calling us directly, or sending an email. We'll schedule a convenient time to visit your property and discuss your needs." },
            { id: "faq3", title: "What payment methods do you accept?", content: "We accept various payment methods, including major credit cards, bank transfers, and checks. Payment plans for larger projects can be discussed during your consultation." },
            { id: "faq4", title: "Do you offer seasonal contracts?", content: "Yes, we offer flexible seasonal contracts for both residential and commercial clients. These contracts can be customized to include year-round maintenance, spring cleanups, fall cleanups, and winter services." },
            { id: "faq5", title: "Are you insured and licensed?", content: "Absolutely. RBRN Landscaping LLC is fully licensed, bonded, and insured, providing you with peace of mind and protection. Our team members are also highly trained and experienced professionals." }
          ]}
          imageSrc="http://img.b2bpic.net/free-photo/front-view-happy-senior-couple_23-2148256632.jpg"
          imageAlt="Gardener working in a garden"
          mediaAnimation="opacity"
          mediaPosition="right"
          faqsAnimation="slide-up"
          textboxLayout="default"
          useInvertedBackground={true}
        />
      </div>
      <div id="contact" data-section="contact">
        <ContactSplitForm
          title="Get Your Free Landscaping Quote"
          description="Ready to transform your outdoor space? Fill out the form below to tell us about your project, and a member of our team will get back to you promptly to schedule a complimentary consultation."
          inputs={[
            { name: "name", type: "text", placeholder: "Your Full Name", required: true },
            { name: "email", type: "email", placeholder: "Your Email Address", required: true },
            { name: "phone", type: "tel", placeholder: "Your Phone Number (Optional)" }
          ]}
          textarea={{
            name: "message",            placeholder: "Tell us about your landscaping needs (e.g., lawn care, garden design, commercial maintenance)",            rows: 5,
            required: true
          }}
          multiSelect={{
            name: "serviceType",            label: "Interested in:",            options: ["Residential Lawn Care", "Commercial Maintenance", "Landscape Design", "Seasonal Cleanup", "Irrigation System"]
          }}
          buttonText="Request Quote"
          useInvertedBackground={false}
          imageSrc="http://img.b2bpic.net/free-photo/building-construction-worker-site-with-architect_23-2149124251.jpg"
          imageAlt="Man reaching out for a handshake, representing contact"
          mediaAnimation="slide-up"
        />
      </div>
      <div id="footer" data-section="footer">
        <FooterMedia
          logoText="RBRN Landscaping LLC"
          imageSrc="http://img.b2bpic.net/free-photo/high-angle-view-building-lake-surrounded-by-forests-cloudy-sky_181624-13346.jpg"
          imageAlt="Overhead shot of a well-maintained garden"
          columns={[
            { title: "Services", items: [{ label: "Residential Lawn Care", href: "#services" }, { label: "Commercial Maintenance", href: "#services" }, { label: "Landscape Design", href: "#services" }, { label: "Seasonal Cleanups", href: "#services" }] },
            { title: "Company", items: [{ label: "About Us", href: "#about" }, { label: "Our Portfolio", href: "#portfolio" }, { label: "Testimonials", href: "#testimonials" }, { label: "FAQ", href: "#faq" }] },
            { title: "Connect", items: [{ label: "Get a Quote", href: "#contact" }, { label: "Call Us", href: "tel:+1234567890" }, { label: "Email Us", href: "mailto:info@rbrnlandscaping.com" }] }
          ]}
          copyrightText="© 2024 RBRN Landscaping LLC. All rights reserved."
        />
      </div>
    </ThemeProvider>
  );
}
