"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarLayoutFloatingOverlay from "@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay";
import HeroSplitDoubleCarousel from "@/components/sections/hero/HeroSplitDoubleCarousel";
import MetricCardFourteen from "@/components/sections/metrics/MetricCardFourteen";
import FeatureCardOne from "@/components/sections/feature/FeatureCardOne";
import MetricSplitMediaAbout from "@/components/sections/about/MetricSplitMediaAbout";
import TestimonialCardOne from "@/components/sections/testimonial/TestimonialCardOne";
import ContactText from "@/components/sections/contact/ContactText";
import FooterCard from "@/components/sections/footer/FooterCard";
import { Sparkles, Leaf, CheckCircle, Star, Facebook, Instagram, Phone } from "lucide-react";

export default function HomePage() {
  return (
    <ThemeProvider
      defaultButtonVariant="shift-hover"
      defaultTextAnimation="background-highlight"
      borderRadius="rounded"
      contentWidth="mediumLarge"
      sizing="mediumLarge"
      background="noise"
      cardStyle="inset"
      primaryButtonStyle="primary-glow"
      secondaryButtonStyle="solid"
      headingFontWeight="semibold"
    >
      {/* Navbar */}
      <div id="nav" data-section="nav">
        <NavbarLayoutFloatingOverlay
          brandName="Monjas YSK"
          navItems={[
            { name: "Home", id: "/" },
            { name: "Services", id: "/services" },
            { name: "Gallery", id: "/gallery" },
            { name: "About", id: "/about" },
            { name: "Contact", id: "/contact" },
          ]}
          button={{ text: "Call Now", href: "tel:+17755551234" }}
        />
      </div>

      {/* Hero Section */}
      <div id="hero" data-section="hero">
        <HeroSplitDoubleCarousel
          tag="Professional Landscaping"
          tagIcon={Sparkles}
          title="Transform Your Reno Yard Into An Outdoor Oasis"
          description="Artificial turf, irrigation systems, hardscaping, and complete landscape renovations serving Reno & Carson City with professional craftsmanship and fair pricing."
          background={{ variant: "noise" }}
          leftCarouselItems={[
            {
              imageSrc: "http://img.b2bpic.net/free-photo/high-view-shot-woman-holding-chinese-food_23-2148242620.jpg",
              imageAlt: "Artificial turf installation",
            },
            {
              imageSrc: "http://img.b2bpic.net/free-photo/soft-focus-vintage-bicycle_1339-1871.jpg",
              imageAlt: "Irrigation system",
            },
          ]}
          rightCarouselItems={[
            {
              imageSrc: "http://img.b2bpic.net/free-photo/vertical-shot-material-pieces-wooden-boxes_181624-18062.jpg",
              imageAlt: "Retaining wall hardscape",
            },
            {
              imageSrc: "http://img.b2bpic.net/free-photo/terrace-with-trees-forest-cozy-outdoor-relaxation-space_169016-69565.jpg",
              imageAlt: "Landscape patio design",
            },
          ]}
          buttons={[
            { text: "Call Now", href: "tel:+17755551234" },
            { text: "Get Free Estimate", href: "/contact" },
          ]}
          tagAnimation="slide-up"
          buttonAnimation="slide-up"
          carouselPosition="right"
          ariaLabel="Hero section with landscaping carousel"
        />
      </div>

      {/* Trust Signals */}
      <div id="trust-signals" data-section="trust-signals">
        <MetricCardFourteen
          title="Trusted by hundreds of homeowners across the Reno area with proven results and 5-star service."
          tag="Proven Results"
          tagAnimation="slide-up"
          metrics={[
            {
              id: "1",
              value: "4.5★",
              description:
                "58 verified reviews on Yelp from satisfied customers in Reno and Carson City",
            },
            {
              id: "2",
              value: "20+",
              description:
                "Years of combined professional landscaping and outdoor construction experience",
            },
            {
              id: "3",
              value: "100%",
              description:
                "On-time service with transparent pricing and professional crew members",
            },
          ]}
          metricsAnimation="slide-up"
          useInvertedBackground={false}
          ariaLabel="Trust signals and metrics"
        />
      </div>

      {/* Services */}
      <div id="services" data-section="services">
        <FeatureCardOne
          features={[
            {
              title: "Artificial Turf Installation",
              description:
                "Water-saving synthetic grass perfect for Nevada's climate. Pet-friendly, durable, and maintenance-free.",
              imageSrc:
                "http://img.b2bpic.net/free-photo/old-woman-doing-fitness-exercises_23-2149565535.jpg",
              imageAlt: "Artificial turf installation",
              button: { text: "Learn More", href: "/services" },
            },
            {
              title: "Irrigation Systems",
              description:
                "Professional design, installation, and repair of efficient irrigation and sprinkler systems for residential and commercial.",
              imageSrc:
                "http://img.b2bpic.net/free-photo/gardening_23-2148020412.jpg",
              imageAlt: "Irrigation system installation",
              button: { text: "Learn More", href: "/services" },
            },
            {
              title: "Hardscapes & Construction",
              description:
                "Retaining walls, patios, walkways, driveways, and custom outdoor structures built to last.",
              imageSrc:
                "http://img.b2bpic.net/free-photo/path-way_74190-2125.jpg",
              imageAlt: "Hardscape patio construction",
              button: { text: "Learn More", href: "/services" },
            },
            {
              title: "Tree & Shrub Care",
              description:
                "Professional tree planting, pruning, trimming, and disease management for healthy landscapes.",
              imageSrc:
                "http://img.b2bpic.net/free-photo/hands-gardener-orange-gloves-are-trimming-overgrown-green-shrub-using-hedge-shears-sunny-backyard-worker-landscaping-garden-close-up_639032-841.jpg",
              imageAlt: "Tree care and pruning",
              button: { text: "Learn More", href: "/services" },
            },
            {
              title: "Snow Removal",
              description:
                "Reliable winter snow removal service for residential and small commercial properties. Priority scheduling for existing clients.",
              imageSrc:
                "http://img.b2bpic.net/free-photo/closeup-shot-fo-male-with-his-foot-snow-shovel-while-standing-snowy-field_181624-12187.jpg",
              imageAlt: "Snow removal service",
              button: { text: "Learn More", href: "/services" },
            },
          ]}
          title="Core Services"
          description="Complete landscaping solutions for residential and light commercial properties in Reno and surrounding areas."
          tag="What We Offer"
          tagIcon={Leaf}
          tagAnimation="slide-up"
          textboxLayout="default"
          gridVariant="uniform-all-items-equal"
          animationType="slide-up"
          useInvertedBackground={false}
          buttonAnimation="slide-up"
          ariaLabel="Services showcase"
        />
      </div>

      {/* Why Choose Us */}
      <div id="why-choose" data-section="why-choose">
        <MetricSplitMediaAbout
          tag="Why Choose Us"
          tagIcon={CheckCircle}
          title="Professional Landscaping You Can Trust"
          description="At Monjas YSK Landscaping, we combine skilled craftsmanship with fair pricing and reliable service. Our hard-working crew treats every project with the care and attention it deserves, delivering results that exceed expectations."
          metrics={[
            { value: "Licensed & Insured", title: "Professional Credentials" },
            { value: "Fair Pricing", title: "Transparent Quotes" },
          ]}
          imageSrc="http://img.b2bpic.net/free-photo/couple-collects-leaves-cleans-park_1157-27418.jpg"
          imageAlt="Professional landscaping team at work"
          mediaAnimation="slide-up"
          metricsAnimation="slide-up"
          useInvertedBackground={false}
          tagAnimation="slide-up"
          ariaLabel="About section highlighting our advantages"
        />
      </div>

      {/* Testimonials */}
      <div id="testimonials" data-section="testimonials">
        <TestimonialCardOne
          testimonials={[
            {
              id: "1",
              name: "Jeff V.",
              role: "Homeowner",
              company: "Reno",
              rating: 5,
              imageSrc:
                "http://img.b2bpic.net/free-photo/happy-businessman-smiling-camera_1163-4660.jpg",
              imageAlt: "Jeff V. - Reno homeowner",
            },
            {
              id: "2",
              name: "Victoria T.",
              role: "Property Owner",
              company: "Carson City",
              rating: 5,
              imageSrc:
                "http://img.b2bpic.net/free-photo/happy-businessman-smiling-camera_1163-4660.jpg",
              imageAlt: "Victoria T. - Carson City homeowner",
            },
            {
              id: "3",
              name: "Sean H.",
              role: "Homeowner",
              company: "Reno",
              rating: 5,
              imageSrc:
                "http://img.b2bpic.net/free-photo/happy-businessman-smiling-camera_1163-4660.jpg",
              imageAlt: "Sean H. - Reno homeowner",
            },
            {
              id: "4",
              name: "Maria R.",
              role: "HOA Manager",
              company: "Reno",
              rating: 5,
              imageSrc:
                "http://img.b2bpic.net/free-photo/happy-businessman-smiling-camera_1163-4660.jpg",
              imageAlt: "Maria R. - HOA manager",
            },
            {
              id: "5",
              name: "David K.",
              role: "Business Owner",
              company: "Reno",
              rating: 5,
              imageSrc:
                "http://img.b2bpic.net/free-photo/happy-businessman-smiling-camera_1163-4660.jpg",
              imageAlt: "David K. - Business owner",
            },
            {
              id: "6",
              name: "Jennifer L.",
              role: "Homeowner",
              company: "Carson City",
              rating: 5,
              imageSrc:
                "http://img.b2bpic.net/free-photo/happy-businessman-smiling-camera_1163-4660.jpg",
              imageAlt: "Jennifer L. - Carson City homeowner",
            },
          ]}
          title="What Our Customers Say"
          description="Real testimonials from satisfied homeowners across Reno and Carson City who trust us with their landscaping needs."
          tag="Customer Reviews"
          tagIcon={Star}
          tagAnimation="slide-up"
          gridVariant="uniform-all-items-equal"
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
          carouselMode="buttons"
          ariaLabel="Customer testimonials section"
        />
      </div>

      {/* Call to Action */}
      <div id="cta" data-section="cta">
        <ContactText
          text="Ready to transform your yard into the outdoor space of your dreams? Contact Monjas YSK Landscaping today for a free estimate. Serving Reno & Carson City."
          animationType="entrance-slide"
          background={{ variant: "noise" }}
          useInvertedBackground={false}
          buttons={[
            { text: "Call Now", href: "tel:+17755551234" },
            { text: "Request Quote", href: "/contact" },
          ]}
          ariaLabel="Final call to action section"
        />
      </div>

      {/* Footer */}
      <div id="footer" data-section="footer">
        <FooterCard
          logoText="Monjas YSK"
          copyrightText="© 2025 Monjas YSK Landscaping. All rights reserved. Professional Landscaping & Outdoor Construction serving Reno & Carson City, NV."
          socialLinks={[
            { icon: Facebook, href: "https://facebook.com", ariaLabel: "Facebook" },
            { icon: Instagram, href: "https://instagram.com", ariaLabel: "Instagram" },
            { icon: Phone, href: "tel:+17755551234", ariaLabel: "Call us" },
          ]}
          ariaLabel="Site footer"
        />
      </div>
    </ThemeProvider>
  );
}