<?php
/**
 * Lawn Care : Block Patterns
 *
 * @package Lawn Care 
 * @since   1.0.0
 */

/**
 * Register Block Pattern Category.
 */
if ( function_exists( 'register_block_pattern_category' ) ) {

	register_block_pattern_category(
		'lawn-care',
		array( 'label' => __( 'Lawn Care ', 'lawn-care' ) )
	);
}

/**
 * Register Block Patterns.
 */
if ( function_exists( 'register_block_pattern' ) ) {
	register_block_pattern(
		'lawn-care/banner-section',
		array(
			'title'      => __( 'Banner Section', 'lawn-care' ),
			'categories' => array( 'lawn-care' ),
			'content'    => "<!-- wp:group {\"metadata\":{\"categories\":[\"lawn-care\"],\"patternName\":\"lawn-care/banner-section\",\"name\":\"Banner Section\"},\"className\":\"banner-section\",\"layout\":{\"type\":\"constrained\"}} -->\n<div class=\"wp-block-group banner-section\"><!-- wp:cover {\"url\":\"" . esc_url(get_template_directory_uri()) . "/inc/block-patterns/images/slider2.png\",\"id\":307,\"dimRatio\":60,\"isUserOverlayColor\":true,\"focalPoint\":{\"x\":0.18,\"y\":0.46},\"minHeight\":750,\"minHeightUnit\":\"px\",\"sizeSlug\":\"large\",\"align\":\"full\",\"className\":\"banner-cover\",\"layout\":{\"type\":\"constrained\"}} -->\n<div class=\"wp-block-cover alignfull banner-cover\" style=\"min-height:750px\"><img class=\"wp-block-cover__image-background wp-image-307 size-large\" alt=\"\" src=\"" . esc_url(get_template_directory_uri()) . "/inc/block-patterns/images/slider2.png\" style=\"object-position:18% 46%\" data-object-fit=\"cover\" data-object-position=\"18% 46%\"/><span aria-hidden=\"true\" class=\"wp-block-cover__background has-background-dim-60 has-background-dim\"></span><div class=\"wp-block-cover__inner-container\"><!-- wp:group {\"className\":\"banner-content position-relative z-2\",\"layout\":{\"type\":\"constrained\"}} -->\n<div class=\"wp-block-group banner-content position-relative z-2\"><!-- wp:paragraph {\"align\":\"center\",\"className\":\"small-heading\",\"style\":{\"typography\":{\"fontSize\":\"16px\",\"fontStyle\":\"normal\",\"fontWeight\":\"500\"}}} -->\n<p class=\"has-text-align-center small-heading\" style=\"font-size:16px;font-style:normal;font-weight:500\">Get the Right Grass with Us</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:heading {\"textAlign\":\"center\",\"style\":{\"typography\":{\"fontSize\":\"41px\",\"fontStyle\":\"normal\",\"fontWeight\":\"700\"}}} -->\n<h2 class=\"wp-block-heading has-text-align-center\" style=\"font-size:41px;font-style:normal;font-weight:700\">The Green Light to a Gorgeous Lawn</h2>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph {\"align\":\"center\",\"style\":{\"typography\":{\"fontSize\":\"14px\",\"fontStyle\":\"normal\",\"fontWeight\":\"400\"}}} -->\n<p class=\"has-text-align-center\" style=\"font-size:14px;font-style:normal;font-weight:400\">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:group {\"className\":\"banner-button-row\",\"layout\":{\"type\":\"flex\",\"flexWrap\":\"nowrap\",\"justifyContent\":\"center\"}} -->\n<div class=\"wp-block-group banner-button-row\"><!-- wp:buttons {\"className\":\"banner-button\"} -->\n<div class=\"wp-block-buttons banner-button\"><!-- wp:button {\"className\":\"is-style-fill banner-button-inner\",\"style\":{\"color\":{\"background\":\"#299922\"},\"typography\":{\"fontSize\":\"14px\",\"fontStyle\":\"normal\",\"fontWeight\":\"700\"}}} -->\n<div class=\"wp-block-button is-style-fill banner-button-inner\"><a class=\"wp-block-button__link has-background has-custom-font-size wp-element-button\" style=\"background-color:#299922;font-size:14px;font-style:normal;font-weight:700\">Read  More</a></div>\n<!-- /wp:button --></div>\n<!-- /wp:buttons -->\n\n<!-- wp:buttons {\"className\":\"banner-button\"} -->\n<div class=\"wp-block-buttons banner-button\"><!-- wp:button {\"className\":\"banner-button-inner\",\"style\":{\"color\":{\"background\":\"#299922\"},\"typography\":{\"fontSize\":\"14px\",\"fontStyle\":\"normal\",\"fontWeight\":\"700\"}}} -->\n<div class=\"wp-block-button banner-button-inner\"><a class=\"wp-block-button__link has-background has-custom-font-size wp-element-button\" style=\"background-color:#299922;font-size:14px;font-style:normal;font-weight:700\">Request a Quote</a></div>\n<!-- /wp:button --></div>\n<!-- /wp:buttons --></div>\n<!-- /wp:group --></div>\n<!-- /wp:group -->\n\n<!-- wp:group {\"className\":\"banner-about position-relative\",\"layout\":{\"type\":\"constrained\"}} -->\n<div class=\"wp-block-group banner-about position-relative\"><!-- wp:columns {\"verticalAlignment\":\"center\",\"className\":\"about-box position-absolute p-3\",\"backgroundColor\":\"white\"} -->\n<div class=\"wp-block-columns are-vertically-aligned-center about-box position-absolute p-3 has-white-background-color has-background\"><!-- wp:column {\"verticalAlignment\":\"center\",\"className\":\"about-sub about-sub-1\"} -->\n<div class=\"wp-block-column is-vertically-aligned-center about-sub about-sub-1\"><!-- wp:columns {\"className\":\"about-inner-col gap-4\"} -->\n<div class=\"wp-block-columns about-inner-col gap-4\"><!-- wp:column {\"width\":\"20%\",\"className\":\"about-icon\"} -->\n<div class=\"wp-block-column about-icon\" style=\"flex-basis:20%\"><!-- wp:html -->\n<i class=\"fa-solid fa-house\"></i>\n<!-- /wp:html --></div>\n<!-- /wp:column -->\n\n<!-- wp:column {\"width\":\"80%\",\"className\":\"icon-content pe-2\"} -->\n<div class=\"wp-block-column icon-content pe-2\" style=\"flex-basis:80%\"><!-- wp:heading {\"style\":{\"elements\":{\"link\":{\"color\":{\"text\":\"var:preset|color|black\"}}},\"typography\":{\"fontSize\":\"18px\"}},\"textColor\":\"black\"} -->\n<h2 class=\"wp-block-heading has-black-color has-text-color has-link-color\" style=\"font-size:18px\">Residential Area</h2>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph {\"className\":\"mb-0\",\"style\":{\"elements\":{\"link\":{\"color\":{\"text\":\"var:preset|color|black\"}}},\"typography\":{\"fontSize\":\"12px\"}},\"textColor\":\"black\"} -->\n<p class=\"mb-0 has-black-color has-text-color has-link-color\" style=\"font-size:12px\">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut</p>\n<!-- /wp:paragraph --></div>\n<!-- /wp:column --></div>\n<!-- /wp:columns --></div>\n<!-- /wp:column -->\n\n<!-- wp:column {\"verticalAlignment\":\"center\",\"className\":\"about-sub\"} -->\n<div class=\"wp-block-column is-vertically-aligned-center about-sub\"><!-- wp:columns {\"className\":\"about-inner-col gap-4\"} -->\n<div class=\"wp-block-columns about-inner-col gap-4\"><!-- wp:column {\"width\":\"20%\",\"className\":\"about-icon\"} -->\n<div class=\"wp-block-column about-icon\" style=\"flex-basis:20%\"><!-- wp:html -->\n<i class=\"fa-solid fa-industry\"></i>\n<!-- /wp:html --></div>\n<!-- /wp:column -->\n\n<!-- wp:column {\"width\":\"80%\",\"className\":\"icon-content\"} -->\n<div class=\"wp-block-column icon-content\" style=\"flex-basis:80%\"><!-- wp:heading {\"style\":{\"elements\":{\"link\":{\"color\":{\"text\":\"var:preset|color|black\"}}},\"typography\":{\"fontSize\":\"18px\"}},\"textColor\":\"black\"} -->\n<h2 class=\"wp-block-heading has-black-color has-text-color has-link-color\" style=\"font-size:18px\">Commercial Area</h2>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph {\"className\":\"mb-0\",\"style\":{\"elements\":{\"link\":{\"color\":{\"text\":\"var:preset|color|black\"}}},\"typography\":{\"fontSize\":\"12px\"}},\"textColor\":\"black\"} -->\n<p class=\"mb-0 has-black-color has-text-color has-link-color\" style=\"font-size:12px\">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut</p>\n<!-- /wp:paragraph --></div>\n<!-- /wp:column --></div>\n<!-- /wp:columns --></div>\n<!-- /wp:column --></div>\n<!-- /wp:columns --></div>\n<!-- /wp:group --></div></div>\n<!-- /wp:cover --></div>\n<!-- /wp:group -->",
		)
	);

	register_block_pattern(
		'lawn-care/category-section',
		array(
			'title'      => __( 'Category Section ', 'lawn-care' ),
			'categories' => array( 'lawn-care' ),
			'content'    => "<!-- wp:group {\"metadata\":{\"categories\":[\"lawn-care\"],\"patternName\":\"lawn-care/category-section\",\"name\":\"Category Section \"},\"className\":\"project-section\",\"layout\":{\"type\":\"constrained\"}} -->\n<div class=\"wp-block-group project-section\"><!-- wp:group {\"className\":\"project-section-content \",\"layout\":{\"type\":\"constrained\"}} -->\n<div class=\"wp-block-group project-section-content\"><!-- wp:paragraph {\"align\":\"center\",\"className\":\"project-small-title position-relative\",\"style\":{\"elements\":{\"link\":{\"color\":{\"text\":\"#222222\"}}},\"typography\":{\"fontSize\":\"15px\",\"fontStyle\":\"normal\",\"fontWeight\":\"500\"},\"color\":{\"text\":\"#222222\"}}} -->\n<p class=\"has-text-align-center project-small-title position-relative has-text-color has-link-color\" style=\"color:#222222;font-size:15px;font-style:normal;font-weight:500\">Our Work</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:heading {\"textAlign\":\"center\",\"className\":\"project-section-title\",\"style\":{\"typography\":{\"fontSize\":\"28px\"},\"elements\":{\"link\":{\"color\":{\"text\":\"#222222\"}}},\"color\":{\"text\":\"#222222\"}}} -->\n<h2 class=\"wp-block-heading has-text-align-center project-section-title has-text-color has-link-color\" style=\"color:#222222;font-size:28px\">OUR PROJECT</h2>\n<!-- /wp:heading --></div>\n<!-- /wp:group -->\n\n<!-- wp:group {\"className\":\"project-buttons-row mb-md-3  mb-2 \",\"layout\":{\"type\":\"flex\",\"flexWrap\":\"nowrap\",\"justifyContent\":\"center\"}} -->\n<div class=\"wp-block-group project-buttons-row mb-md-3  mb-2\"><!-- wp:buttons {\"className\":\"project-buttons\"} -->\n<div class=\"wp-block-buttons project-buttons\"><!-- wp:button {\"className\":\"project-button active is-style-outline\"} -->\n<div class=\"wp-block-button project-button active is-style-outline\"><a class=\"wp-block-button__link wp-element-button\">Garden Care</a></div>\n<!-- /wp:button -->\n\n<!-- wp:button {\"className\":\"project-button is-style-outline\"} -->\n<div class=\"wp-block-button project-button is-style-outline\"><a class=\"wp-block-button__link wp-element-button\">Gardening &amp; Lawn</a></div>\n<!-- /wp:button -->\n\n<!-- wp:button {\"className\":\"project-button is-style-outline\"} -->\n<div class=\"wp-block-button project-button is-style-outline\"><a class=\"wp-block-button__link wp-element-button\">Lawn Care</a></div>\n<!-- /wp:button -->\n\n<!-- wp:button {\"className\":\"project-button is-style-outline\"} -->\n<div class=\"wp-block-button project-button is-style-outline\"><a class=\"wp-block-button__link wp-element-button\">Planting</a></div>\n<!-- /wp:button -->\n\n<!-- wp:button {\"className\":\"project-button is-style-outline\"} -->\n<div class=\"wp-block-button project-button is-style-outline\"><a class=\"wp-block-button__link wp-element-button\">Snow Removal</a></div>\n<!-- /wp:button --></div>\n<!-- /wp:buttons --></div>\n<!-- /wp:group -->\n\n<!-- wp:columns {\"className\":\"images-column\"} -->\n<div class=\"wp-block-columns images-column\"><!-- wp:column -->\n<div class=\"wp-block-column\"><!-- wp:cover {\"url\":\"" . esc_url(get_template_directory_uri()) . "/inc/block-patterns/images/image3.png\",\"id\":40,\"dimRatio\":0,\"isUserOverlayColor\":true,\"minHeight\":275,\"isDark\":false,\"sizeSlug\":\"full\",\"className\":\"my-post-image\",\"layout\":{\"type\":\"constrained\"}} -->\n<div class=\"wp-block-cover is-light my-post-image\" style=\"min-height:275px\"><img class=\"wp-block-cover__image-background wp-image-40 size-full\" alt=\"\" src=\"" . esc_url(get_template_directory_uri()) . "/inc/block-patterns/images/image3.png\" data-object-fit=\"cover\"/><span aria-hidden=\"true\" class=\"wp-block-cover__background has-background-dim-0 has-background-dim\"></span><div class=\"wp-block-cover__inner-container\"><!-- wp:group {\"className\":\"post-content\",\"layout\":{\"type\":\"constrained\"}} -->\n<div class=\"wp-block-group post-content\"><!-- wp:paragraph {\"align\":\"center\",\"placeholder\":\"Write title…\",\"style\":{\"elements\":{\"link\":{\"color\":{\"text\":\"var:preset|color|white\"}}},\"typography\":{\"fontSize\":\"18px\"}},\"textColor\":\"white\"} -->\n<p class=\"has-text-align-center has-white-color has-text-color has-link-color\" style=\"font-size:18px\"><strong>Gardern Cleaning</strong></p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph {\"align\":\"center\",\"style\":{\"elements\":{\"link\":{\"color\":{\"text\":\"var:preset|color|white\"}}},\"typography\":{\"fontSize\":\"12px\"}},\"textColor\":\"white\"} -->\n<p class=\"has-text-align-center has-white-color has-text-color has-link-color\" style=\"font-size:12px\"><strong>Garden Care, Snow Removal</strong></p>\n<!-- /wp:paragraph --></div>\n<!-- /wp:group --></div></div>\n<!-- /wp:cover --></div>\n<!-- /wp:column -->\n\n<!-- wp:column -->\n<div class=\"wp-block-column\"><!-- wp:cover {\"url\":\"" . esc_url(get_template_directory_uri()) . "/inc/block-patterns/images/image2.png\",\"id\":38,\"dimRatio\":0,\"customOverlayColor\":\"#75a987\",\"isUserOverlayColor\":false,\"minHeight\":275,\"isDark\":false,\"sizeSlug\":\"full\",\"className\":\"my-post-image\",\"layout\":{\"type\":\"constrained\"}} -->\n<div class=\"wp-block-cover is-light my-post-image\" style=\"min-height:275px\"><img class=\"wp-block-cover__image-background wp-image-38 size-full\" alt=\"\" src=\"" . esc_url(get_template_directory_uri()) . "/inc/block-patterns/images/image2.png\" data-object-fit=\"cover\"/><span aria-hidden=\"true\" class=\"wp-block-cover__background has-background-dim-0 has-background-dim\" style=\"background-color:#75a987\"></span><div class=\"wp-block-cover__inner-container\"><!-- wp:group {\"className\":\"post-content\",\"layout\":{\"type\":\"constrained\"}} -->\n<div class=\"wp-block-group post-content\"><!-- wp:paragraph {\"align\":\"center\",\"placeholder\":\"Write title…\",\"style\":{\"elements\":{\"link\":{\"color\":{\"text\":\"var:preset|color|white\"}}},\"typography\":{\"fontSize\":\"18px\"}},\"textColor\":\"white\"} -->\n<p class=\"has-text-align-center has-white-color has-text-color has-link-color\" style=\"font-size:18px\"><strong>Gardern Cleaning</strong></p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph {\"align\":\"center\",\"style\":{\"elements\":{\"link\":{\"color\":{\"text\":\"var:preset|color|white\"}}},\"typography\":{\"fontSize\":\"12px\"}},\"textColor\":\"white\"} -->\n<p class=\"has-text-align-center has-white-color has-text-color has-link-color\" style=\"font-size:12px\"><strong>Garden Care, Snow Removal</strong></p>\n<!-- /wp:paragraph --></div>\n<!-- /wp:group --></div></div>\n<!-- /wp:cover --></div>\n<!-- /wp:column -->\n\n<!-- wp:column -->\n<div class=\"wp-block-column\"><!-- wp:cover {\"url\":\"" . esc_url(get_template_directory_uri()) . "/inc/block-patterns/images/image1.png\",\"id\":36,\"dimRatio\":0,\"customOverlayColor\":\"#81835b\",\"isUserOverlayColor\":false,\"minHeight\":275,\"sizeSlug\":\"full\",\"className\":\"my-post-image\",\"layout\":{\"type\":\"constrained\"}} -->\n<div class=\"wp-block-cover my-post-image\" style=\"min-height:275px\"><img class=\"wp-block-cover__image-background wp-image-36 size-full\" alt=\"\" src=\"" . esc_url(get_template_directory_uri()) . "/inc/block-patterns/images/image1.png\" data-object-fit=\"cover\"/><span aria-hidden=\"true\" class=\"wp-block-cover__background has-background-dim-0 has-background-dim\" style=\"background-color:#81835b\"></span><div class=\"wp-block-cover__inner-container\"><!-- wp:group {\"className\":\"post-content\",\"layout\":{\"type\":\"constrained\"}} -->\n<div class=\"wp-block-group post-content\"><!-- wp:paragraph {\"align\":\"center\",\"placeholder\":\"Write title…\",\"style\":{\"elements\":{\"link\":{\"color\":{\"text\":\"var:preset|color|white\"}}},\"typography\":{\"fontSize\":\"18px\"}},\"textColor\":\"white\"} -->\n<p class=\"has-text-align-center has-white-color has-text-color has-link-color\" style=\"font-size:18px\"><strong>Gardern Cleaning</strong></p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph {\"align\":\"center\",\"style\":{\"elements\":{\"link\":{\"color\":{\"text\":\"var:preset|color|white\"}}},\"typography\":{\"fontSize\":\"12px\"}},\"textColor\":\"white\"} -->\n<p class=\"has-text-align-center has-white-color has-text-color has-link-color\" style=\"font-size:12px\"><strong>Garden Care, Snow Removal</strong></p>\n<!-- /wp:paragraph --></div>\n<!-- /wp:group --></div></div>\n<!-- /wp:cover --></div>\n<!-- /wp:column --></div>\n<!-- /wp:columns --></div>\n<!-- /wp:group -->",
		)
	);
}