"use client"

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleApple from '@/components/navbar/NavbarStyleApple/NavbarStyleApple';
import HeroSplit from '@/components/sections/hero/HeroSplit';
import FeatureHoverPattern from '@/components/sections/feature/featureHoverPattern/FeatureHoverPattern';
import MediaAbout from '@/components/sections/about/MediaAbout';
import ProductCardThree from '@/components/sections/product/ProductCardThree';
import TestimonialCardTwelve from '@/components/sections/testimonial/TestimonialCardTwelve';
import ContactSplitForm from '@/components/sections/contact/ContactSplitForm';
import FooterLogoEmphasis from '@/components/sections/footer/FooterLogoEmphasis';
import { Award, Droplets, Flower, Hammer, Heart, Image, Leaf, Palette, Scissors, Sprout, Trees } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="icon-arrow"
      defaultTextAnimation="background-highlight"
      borderRadius="pill"
      contentWidth="smallMedium"
      sizing="medium"
      background="none"
      cardStyle="gradient-bordered"
      primaryButtonStyle="gradient"
      secondaryButtonStyle="glass"
      headingFontWeight="bold"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleApple
          brandName="Kassner Landscaping"
          navItems={[
            { name: "Services", id: "services" },
            { name: "Portfolio", id: "portfolio" },
            { name: "About", id: "about" },
            { name: "Reviews", id: "testimonials" },
            { name: "Contact", id: "contact" }
          ]}
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroSplit
          title="Transform Your Outdoor Space"
          description="Professional landscaping design and maintenance for residential and commercial properties in the Milford area. Create stunning outdoor environments that enhance your property value."
          tag="Expert Landscapers"
          tagIcon={Sprout}
          background={{ variant: "glowing-orb" }}
          imageSrc="https://img.b2bpic.net/free-photo/female-gardener-s-hand-cutting-plant-with-secateurs_23-2148165259.jpg"
          imageAlt="Beautiful landscaped outdoor garden"
          imagePosition="right"
          buttons={[
            { text: "Get Free Quote", href: "contact" },
            { text: "View Portfolio", href: "portfolio" }
          ]}
        />
      </div>

      <div id="services" data-section="services">
        <FeatureHoverPattern
          title="Our Landscaping Services"
          description="Comprehensive outdoor solutions tailored to your needs and budget. From concept to completion, we deliver excellence."
          tag="Services"
          tagIcon={Leaf}
          features={[
            {
              icon: Palette,
              title: "Landscape Design",              description: "Custom design plans that transform your vision into reality with professional planning and creative concepts."
            },
            {
              icon: Scissors,
              title: "Lawn Maintenance",              description: "Regular care and maintenance to keep your lawn healthy, green, and beautiful year-round."
            },
            {
              icon: Hammer,
              title: "Hardscape Installation",              description: "Expert installation of patios, walkways, retaining walls, and other structural outdoor features."
            },
            {
              icon: Trees,
              title: "Tree & Shrub Care",              description: "Professional pruning, trimming, and care for healthy, vibrant landscape plantings."
            },
            {
              icon: Droplets,
              title: "Irrigation Systems",              description: "Efficient irrigation design and installation for optimal plant health and water conservation."
            },
            {
              icon: Flower,
              title: "Garden Installation",              description: "Beautiful garden beds and plantings that add color, texture, and life to your outdoor space."
            }
          ]}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground="invertDefault"
        />
      </div>

      <div id="about" data-section="about">
        <MediaAbout
          title="Kassner Landscaping Inc"
          description="With over two decades of experience serving the Milford, Ohio community, we've built a reputation for exceptional quality, attention to detail, and outstanding customer service. Our team of skilled professionals is dedicated to creating and maintaining beautiful outdoor spaces that our clients love."
          tag="About Us"
          tagIcon={Award}
          imageSrc="https://img.b2bpic.net/free-photo/reforestation-done-by-voluntary-group_23-2149500875.jpg"
          imageAlt="Professional landscaping team at work"
          useInvertedBackground="noInvert"
          buttons={[
            { text: "Learn More", href: "services" }
          ]}
        />
      </div>

      <div id="portfolio" data-section="portfolio">
        <ProductCardThree
          title="Recent Projects"
          description="Explore our portfolio of completed landscape design and installation projects showcasing our craftsmanship and expertise."
          tag="Portfolio"
          tagIcon={Image}
          products={[
            {
              id: "project-1",              name: "Residential Garden Transformation",              price: "View Project",              imageSrc: "https://img.b2bpic.net/free-photo/long-shot-young-woman-taking-care-plants_23-2148509881.jpg",              imageAlt: "Beautiful residential garden project"
            },
            {
              id: "project-2",              name: "Commercial Landscape Installation",              price: "View Project",              imageSrc: "https://img.b2bpic.net/free-photo/close-up-cactus-with-blurred-background_23-2148249096.jpg",              imageAlt: "Professional commercial landscaping"
            },
            {
              id: "project-3",              name: "Backyard Patio & Garden Design",              price: "View Project",              imageSrc: "https://img.b2bpic.net/free-photo/back-view-young-woman-taking-care-plants_23-2148509882.jpg",              imageAlt: "Elegant backyard patio design"
            }
          ]}
          gridVariant="three-columns-all-equal-width"
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground="invertDefault"
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardTwelve
          testimonials={[
            {
              id: "1",              name: "Sarah Johnson",              imageSrc: "https://img.b2bpic.net/free-photo/young-businesswoman-portrait-office_1262-1506.jpg",              imageAlt: "Sarah Johnson"
            },
            {
              id: "2",              name: "Michael Chen",              imageSrc: "https://img.b2bpic.net/free-photo/alone-specialist-handsome-daydreaming-collar_1262-870.jpg",              imageAlt: "Michael Chen"
            },
            {
              id: "3",              name: "Emily Rodriguez",              imageSrc: "https://img.b2bpic.net/free-photo/smiling-businessman-standing-airport_107420-85035.jpg",              imageAlt: "Emily Rodriguez"
            },
            {
              id: "4",              name: "David Kim",              imageSrc: "https://img.b2bpic.net/free-photo/portrait-smiley-business-woman_23-2148603029.jpg",              imageAlt: "David Kim"
            },
            {
              id: "5",              name: "Jennifer Martinez",              imageSrc: "https://img.b2bpic.net/free-photo/casual-smile-street-style-background-spring_1139-777.jpg",              imageAlt: "Jennifer Martinez"
            },
            {
              id: "6",              name: "Robert Thompson",              imageSrc: "https://img.b2bpic.net/free-photo/close-up-positive-executive-work_1098-519.jpg",              imageAlt: "Robert Thompson"
            }
          ]}
          cardTitle="Over 500+ satisfied customers trust Kassner Landscaping for beautiful outdoor spaces"
          cardTag="See what they say"
          cardTagIcon={Heart}
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactSplitForm
          title="Get Your Free Quote Today"
          description="Ready to transform your outdoor space? Contact us for a free consultation and estimate. Our team will discuss your vision and provide professional recommendations."
          inputs={[
            { name: "name", type: "text", placeholder: "Your Name", required: true },
            { name: "email", type: "email", placeholder: "Your Email", required: true },
            { name: "phone", type: "tel", placeholder: "Your Phone", required: true },
            { name: "address", type: "text", placeholder: "Property Address", required: true }
          ]}
          textarea={{
            name: "message",            placeholder: "Describe your landscaping project or questions...",            rows: 5,
            required: true
          }}
          useInvertedBackground="invertDefault"
          imageSrc="https://img.b2bpic.net/free-photo/man-with-phone_1303-5961.jpg"
          imageAlt="Professional landscaper working on a project"
          mediaPosition="right"
          buttonText="Request Quote"
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterLogoEmphasis
          logoText="Kassner Landscaping"
          columns={[
            {
              items: [
                { label: "Services", href: "services" },
                { label: "Portfolio", href: "portfolio" },
                { label: "About", href: "about" }
              ]
            },
            {
              items: [
                { label: "Contact", href: "contact" },
                { label: "Reviews", href: "testimonials" },
                { label: "Privacy Policy", href: "#" }
              ]
            },
            {
              items: [
                { label: "(513) 831-6778", href: "tel:+15138316778" },
                { label: "Milford, OH 45150", href: "#" },
                { label: "Licensed & Insured", href: "#" }
              ]
            }
          ]}
        />
      </div>
    </ThemeProvider>
  );
}