"use client"

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarLayoutFloatingOverlay from '@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay';
import HeroBillboardSplit from '@/components/sections/hero/HeroBillboardSplit';
import FeatureCardEleven from '@/components/sections/feature/FeatureCardEleven';
import ProductCardFour from '@/components/sections/product/ProductCardFour';
import TestimonialCardEleven from '@/components/sections/testimonial/TestimonialCardEleven';
import ContactFaq from '@/components/sections/contact/ContactFaq';
import FooterBase from '@/components/sections/footer/FooterBase';
import { Phone } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="directional-hover"
      defaultTextAnimation="background-highlight"
      borderRadius="pill"
      contentWidth="mediumLarge"
      sizing="largeSmall"
      background="animatedAurora"
      cardStyle="outline-light"
      primaryButtonStyle="gradient"
      secondaryButtonStyle="minimal"
      headingFontWeight="bold"
    >
      <div id="nav" data-section="nav">
        <NavbarLayoutFloatingOverlay
          brandName="Reem Garden"
          navItems={[
            { name: "Services", id: "services" },
            { name: "Portfolio", id: "portfolio" },
            { name: "Reviews", id: "testimonials" },
            { name: "Contact", id: "contact" }
          ]}
          button={{
            text: "Call Now",
            href: "tel:0506714102"
          }}
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroBillboardSplit
          title="Professional Landscaping Services in California"
          description="Transform your outdoor space with expert lawn care, tree trimming, artificial grass installation, and yard cleanup services. Let Reem Garden create the perfect landscape for your home."
          tag="Expert Landscaping"
          buttons={[
            { text: "Get Free Quote", href: "contact" },
            { text: "View Portfolio", href: "portfolio" }
          ]}
          imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767517323553-1cozjzc4.jpg"
          imageAlt="Beautiful landscaped garden with green lawn and professional design"
          frameStyle="browser"
        />
      </div>

      <div id="services" data-section="services">
        <FeatureCardEleven
          title="Our Services"
          description="Comprehensive landscaping solutions tailored to your property needs"
          features={[
            {
              id: 1,
              title: "Lawn Mowing",
              description: "Professional grass cutting and lawn maintenance to keep your yard looking pristine year-round. We handle regular maintenance with precision and attention to detail.",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767517324820-u69auivv.jpg",
              imageAlt: "Professional lawn mowing service"
            },
            {
              id: 2,
              title: "Tree Trimming",
              description: "Expert tree pruning and trimming to promote healthy growth and enhance your landscape aesthetics. Safe, efficient, and environmentally conscious practices.",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767517325818-jglg605s.jpg",
              imageAlt: "Professional tree trimming and pruning"
            },
            {
              id: 3,
              title: "Artificial Grass Installation",
              description: "Premium fake grass installation for a lush, maintenance-free lawn. Perfect for California's climate with eco-friendly options and professional installation.",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767517326713-ptk69vmj.jpg",
              imageAlt: "Artificial grass installation"
            },
            {
              id: 4,
              title: "Yard Cleanup",
              description: "Complete yard cleanup services including debris removal, seasonal cleanup, and property maintenance. We'll transform your outdoor space into an inviting area.",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767517327721-l2hkrdw1.jpg",
              imageAlt: "Professional yard cleanup service"
            }
          ]}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground="noInvert"
          usePrimaryButtonImage={false}
        />
      </div>

      <div id="portfolio" data-section="portfolio">
        <ProductCardFour
          title="Our Portfolio"
          description="See before and after transformations of properties we've worked on throughout California"
          products={[
            {
              id: "1",
              name: "Residential Garden Transformation",
              price: "Completed",
              variant: "Lawn mowing and tree trimming",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767517328848-eu2nbth9.jpg",
              imageAlt: "Before and after garden landscape transformation"
            },
            {
              id: "2",
              name: "Artificial Grass Installation",
              price: "Completed",
              variant: "Full yard synthetic grass",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767517329716-q7mo1iyk.jpg",
              imageAlt: "Artificial grass installation project"
            },
            {
              id: "3",
              name: "Complete Yard Renovation",
              price: "Completed",
              variant: "Cleanup, trimming, and landscaping",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767517330571-34rjt68x.jpg",
              imageAlt: "Complete yard renovation and landscaping project"
            }
          ]}
          animationType="slide-up"
          textboxLayout="default"
          gridVariant="uniform-all-items-equal"
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardEleven
          title="What Our Customers Say"
          description="Real feedback from satisfied homeowners across California"
          textboxLayout="default"
          useInvertedBackground="noInvert"
          testimonials={[
            {
              id: "1",
              nameTitle: "John Martinez, Homeowner",
              quote: "Reem Garden transformed our backyard completely. The team was professional, punctual, and did excellent work. Highly recommended!",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766140152452-p4x3ah4p.jpg",
              imageAlt: "John Martinez testimonial"
            },
            {
              id: "2",
              nameTitle: "Sarah Johnson, Property Owner",
              quote: "The artificial grass installation is perfect. It looks amazing and requires almost no maintenance. Best decision we made for our yard.",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766320181151-p24uxfcb.jpg",
              imageAlt: "Sarah Johnson testimonial"
            },
            {
              id: "3",
              nameTitle: "David Lee, Homeowner",
              quote: "Regular lawn maintenance service has been fantastic. Our yard looks healthier and more vibrant than ever. Professional service every time.",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766163678723-295psgl3.jpg",
              imageAlt: "David Lee testimonial"
            },
            {
              id: "4",
              nameTitle: "Maria Garcia, Residential Client",
              quote: "The tree trimming work was exceptional. They cleared overgrown branches safely and our landscape looks so much better. Great team!",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766184724760-wxlm9bjg.jpg",
              imageAlt: "Maria Garcia testimonial"
            },
            {
              id: "5",
              nameTitle: "Robert Chen, Property Owner",
              quote: "Yard cleanup service was thorough and efficient. They handled everything professionally and the yard transformation exceeded expectations.",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766140063369-vzpeyskp.jpg",
              imageAlt: "Robert Chen testimonial"
            },
            {
              id: "6",
              nameTitle: "Linda Wilson, Homeowner",
              quote: "Outstanding customer service and beautiful landscaping work. Reem Garden is my go-to for all landscape maintenance needs.",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766185880597-ieb2jad3.jpg",
              imageAlt: "Linda Wilson testimonial"
            }
          ]}
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactFaq
          ctaTitle="Ready to Transform Your Yard?"
          ctaDescription="Contact Reem Garden today for a free consultation and quote. Call or fill out our form to get started."
          ctaButton={{
            text: "Request Quote",
            href: "tel:0506714102"
          }}
          ctaIcon={Phone}
          useInvertedBackground="noInvert"
          animationType="slide-up"
          faqs={[
            {
              id: "1",
              title: "What areas do you service?",
              content: "We provide landscaping services throughout California. Contact us to confirm service availability for your specific location."
            },
            {
              id: "2",
              title: "Do you offer free estimates?",
              content: "Yes! We provide free consultations and quotes for all our services. Call us or fill out the contact form to schedule your free estimate."
            },
            {
              id: "3",
              title: "What is your lawn care schedule?",
              content: "We offer flexible maintenance schedules including weekly, bi-weekly, and monthly lawn care services. We'll work with you to find the perfect plan."
            },
            {
              id: "4",
              title: "How long does artificial grass last?",
              content: "Quality artificial grass can last 10-15 years or more with proper care. We install premium materials that are durable and UV-resistant."
            }
          ]}
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterBase
          logoText="Reem Garden"
          copyrightText="© 2025 Reem Garden. All rights reserved."
          columns={[
            {
              title: "Services",
              items: [
                { label: "Lawn Mowing", href: "services" },
                { label: "Tree Trimming", href: "services" },
                { label: "Artificial Grass", href: "services" },
                { label: "Yard Cleanup", href: "services" }
              ]
            },
            {
              title: "Company",
              items: [
                { label: "About Us", href: "about" },
                { label: "Portfolio", href: "portfolio" },
                { label: "Contact", href: "contact" }
              ]
            }
          ]}
        />
      </div>
    </ThemeProvider>
  );
}