<?php
/**
 * Title: Banner
 * Slug: house-dealer/banner
 * Categories: house-dealer
 * Keywords: banner
 * Block Types: core/post-content
 * Post Types: page, wp_template
 */

$house_dealer_pluginsList = get_option( 'active_plugins' );
$house_dealer_plugin = 'estatik/estatik.php';
$house_dealer_results = in_array( $house_dealer_plugin , $house_dealer_pluginsList);
if ( $house_dealer_results )  {
?>

<!-- wp:group {"metadata":{"name":"Banner Section"},"className":"banner-section wow fadeInDown","style":{"spacing":{"margin":{"top":"0px","bottom":"0px"},"padding":{"right":"0px","left":"0px"}}},"layout":{"type":"constrained","contentSize":"100%"}} -->
<div class="wp-block-group banner-section wow fadeInDown" style="margin-top:0px;margin-bottom:0px;padding-right:0px;padding-left:0px"><!-- wp:cover {"url":"<?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/banner-img.png","id":12,"dimRatio":0,"isUserOverlayColor":true,"minHeight":750,"isDark":false,"sizeSlug":"large","className":"banner-bg","layout":{"type":"constrained","contentSize":"90%"}} -->
<div class="wp-block-cover is-light banner-bg" style="min-height:750px"><img class="wp-block-cover__image-background wp-image-12 size-large" alt="" src="<?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/banner-img.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":"banner-content","layout":{"type":"constrained","contentSize":"35%"}} -->
<div class="wp-block-group banner-content"><!-- wp:heading {"level":1,"className":"banner-heading","style":{"typography":{"fontSize":"46px","textTransform":"capitalize","fontStyle":"normal","fontWeight":"600","lineHeight":"1.3"},"spacing":{"padding":{"right":"0rem"}}}} -->
<h1 class="wp-block-heading banner-heading" style="padding-right:0rem;font-size:46px;font-style:normal;font-weight:600;line-height:1.3;text-transform:capitalize"><?php echo esc_html__( 'find your ', 'house-dealer' ); ?><mark style="background-color:rgba(0, 0, 0, 0)" class="has-inline-color has-contrast-3-color"><?php echo esc_html__( 'dream', 'house-dealer' ); ?><br><?php echo esc_html__( 'apartment', 'house-dealer' ); ?></mark><?php echo esc_html__( ' with us', 'house-dealer' ); ?></h1>
<!-- /wp:heading -->

<!-- wp:paragraph {"className":"banner-para","style":{"elements":{"link":{"color":{"text":"var:preset|color|contrast"}}},"spacing":{"margin":{"top":"30px","bottom":"30px"}}},"textColor":"contrast"} -->
<p class="banner-para has-contrast-color has-text-color has-link-color" style="margin-top:30px;margin-bottom:30px"><?php echo esc_html__( 'Lorem Ipsum&nbsp;is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry\'s standard dummy text ever since the 1500s,', 'house-dealer' ); ?></p>
<!-- /wp:paragraph --></div>
<!-- /wp:group -->

<!-- wp:group {"className":"apartment-search-box","layout":{"type":"default"}} -->
<div class="wp-block-group apartment-search-box"><!-- wp:shortcode --><!-- /wp:shortcode --></div>
<!-- /wp:group -->

<!-- wp:group {"className":"banner-btm-box","layout":{"type":"flex","flexWrap":"nowrap"}} -->
<div class="wp-block-group banner-btm-box"><!-- wp:group {"className":"banner-count-box","layout":{"type":"constrained"}} -->
<div class="wp-block-group banner-count-box"><!-- wp:paragraph {"className":"banner-count-num","style":{"elements":{"link":{"color":{"text":"var:preset|color|primary"}}},"typography":{"fontSize":"25px","fontStyle":"normal","fontWeight":"700"}},"textColor":"primary"} -->
<p class="banner-count-num has-primary-color has-text-color has-link-color" style="font-size:25px;font-style:normal;font-weight:700"><?php echo esc_html__( '200', 'house-dealer' ); ?></p>
<!-- /wp:paragraph -->

<!-- wp:paragraph {"className":"banner-count-text","style":{"elements":{"link":{"color":{"text":"var:preset|color|contrast"}}},"typography":{"fontSize":"16px","textTransform":"capitalize"},"spacing":{"margin":{"top":"0px"}}},"textColor":"contrast"} -->
<p class="banner-count-text has-contrast-color has-text-color has-link-color" style="margin-top:0px;font-size:16px;text-transform:capitalize"><?php echo esc_html__( 'award winning', 'house-dealer' ); ?></p>
<!-- /wp:paragraph --></div>
<!-- /wp:group -->

<!-- wp:group {"className":"banner-count-box","layout":{"type":"constrained"}} -->
<div class="wp-block-group banner-count-box"><!-- wp:paragraph {"className":"banner-count-num","style":{"elements":{"link":{"color":{"text":"var:preset|color|primary"}}},"typography":{"fontSize":"25px","fontStyle":"normal","fontWeight":"700"}},"textColor":"primary"} -->
<p class="banner-count-num has-primary-color has-text-color has-link-color" style="font-size:25px;font-style:normal;font-weight:700"><?php echo esc_html__( '500+', 'house-dealer' ); ?></p>
<!-- /wp:paragraph -->

<!-- wp:paragraph {"className":"banner-count-text","style":{"elements":{"link":{"color":{"text":"var:preset|color|contrast"}}},"typography":{"fontSize":"16px","textTransform":"capitalize"},"spacing":{"margin":{"top":"0px"}}},"textColor":"contrast"} -->
<p class="banner-count-text has-contrast-color has-text-color has-link-color" style="margin-top:0px;font-size:16px;text-transform:capitalize"><?php echo esc_html__( 'happy customer', 'house-dealer' ); ?></p>
<!-- /wp:paragraph --></div>
<!-- /wp:group -->

<!-- wp:group {"className":"banner-count-box","layout":{"type":"constrained"}} -->
<div class="wp-block-group banner-count-box"><!-- wp:paragraph {"className":"banner-count-num","style":{"elements":{"link":{"color":{"text":"var:preset|color|primary"}}},"typography":{"fontSize":"25px","fontStyle":"normal","fontWeight":"700"}},"textColor":"primary"} -->
<p class="banner-count-num has-primary-color has-text-color has-link-color" style="font-size:25px;font-style:normal;font-weight:700"><?php echo esc_html__( '100+', 'house-dealer' ); ?></p>
<!-- /wp:paragraph -->

<!-- wp:paragraph {"className":"banner-count-text","style":{"elements":{"link":{"color":{"text":"var:preset|color|contrast"}}},"typography":{"fontSize":"16px","textTransform":"capitalize"},"spacing":{"margin":{"top":"0px"}}},"textColor":"contrast"} -->
<p class="banner-count-text has-contrast-color has-text-color has-link-color" style="margin-top:0px;font-size:16px;text-transform:capitalize"><?php echo esc_html__( 'property ready', 'house-dealer' ); ?></p>
<!-- /wp:paragraph --></div>
<!-- /wp:group --></div>
<!-- /wp:group --></div></div>
<!-- /wp:cover --></div>
<!-- /wp:group -->

<?php } else { ?>

<!-- wp:group {"metadata":{"name":"Banner Section"},"className":"banner-section wow fadeInDown","style":{"spacing":{"margin":{"top":"0px","bottom":"0px"},"padding":{"right":"0px","left":"0px"}}},"layout":{"type":"constrained","contentSize":"100%"}} -->
<div class="wp-block-group banner-section wow fadeInDown" style="margin-top:0px;margin-bottom:0px;padding-right:0px;padding-left:0px"><!-- wp:cover {"url":"<?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/banner-img.png","id":12,"dimRatio":0,"isUserOverlayColor":true,"minHeight":750,"isDark":false,"sizeSlug":"large","className":"banner-bg","layout":{"type":"constrained","contentSize":"90%"}} -->
<div class="wp-block-cover is-light banner-bg" style="min-height:750px"><img class="wp-block-cover__image-background wp-image-12 size-large" alt="" src="<?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/banner-img.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":"banner-content","layout":{"type":"constrained","contentSize":"35%"}} -->
<div class="wp-block-group banner-content"><!-- wp:heading {"level":1,"className":"banner-heading","style":{"typography":{"fontSize":"46px","textTransform":"capitalize","fontStyle":"normal","fontWeight":"600","lineHeight":"1.3"},"spacing":{"padding":{"right":"0rem"}}}} -->
<h1 class="wp-block-heading banner-heading" style="padding-right:0rem;font-size:46px;font-style:normal;font-weight:600;line-height:1.3;text-transform:capitalize"><?php echo esc_html__( 'find your ', 'house-dealer' ); ?><mark style="background-color:rgba(0, 0, 0, 0)" class="has-inline-color has-contrast-3-color"><?php echo esc_html__( 'dream', 'house-dealer' ); ?><br><?php echo esc_html__( 'apartment', 'house-dealer' ); ?></mark><?php echo esc_html__( ' with us', 'house-dealer' ); ?></h1>
<!-- /wp:heading -->

<!-- wp:paragraph {"className":"banner-para","style":{"elements":{"link":{"color":{"text":"var:preset|color|contrast"}}},"spacing":{"margin":{"top":"30px","bottom":"30px"}}},"textColor":"contrast"} -->
<p class="banner-para has-contrast-color has-text-color has-link-color" style="margin-top:30px;margin-bottom:30px"><?php echo esc_html__( 'Lorem Ipsum&nbsp;is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry\'s standard dummy text ever since the 1500s,', 'house-dealer' ); ?></p>
<!-- /wp:paragraph --></div>
<!-- /wp:group -->

<!-- wp:group {"className":"apartment-search-box","style":{"spacing":{"margin":{"top":"30px","bottom":"30px"}}},"layout":{"type":"default"}} -->
<div class="wp-block-group apartment-search-box" style="margin-top:30px;margin-bottom:30px"><!-- wp:html -->
<form>
    <div class="apartment-in-form">
        <div class="country mb-3">
            <div class="option-box">
                <label><?php echo esc_html__( 'Location', 'house-dealer' ); ?></label>
                <input id="country" class="form-select" type="text" name="country name" placeholder="Address, City, ZIP">
            </div>
        </div>
        <div class="apartment-type mb-3">
            <div class="option-box">
                <label><?php echo esc_html__( 'Price', 'house-dealer' ); ?></label>
                <div class="select-box">
                    <input type="number" name="quantity" id="apartment-type" class="form-select" min="1" max="5" placeholder="No min">
                    <input type="number" name="quantity" id="apartment-type" class="form-select" min="1" max="5" placeholder="No max">
                </div>
            </div>
        </div>
        <div class="apartment-range mb-3">
            <div class="option-box">
                <label><?php echo esc_html__( 'Area', 'house-dealer' ); ?></label>
                <div class="select-box">
                    <select id="apartment-range" class="form-select" required>
                        <option value="" class="form-select" disabled selected hidden><?php echo esc_html__( 'No Max', 'house-dealer' ); ?></option>
                        <option><?php echo esc_html__( '500 sq ft', 'house-dealer' ); ?></option>
                        <option><?php echo esc_html__( '750 sq ft', 'house-dealer' ); ?></option>
                        <option><?php echo esc_html__( '1000 sq ft', 'house-dealer' ); ?></option>
                        <option><?php echo esc_html__( '1250 sq ft', 'house-dealer' ); ?></option>
                        <option><?php echo esc_html__( '1500 sq ft', 'house-dealer' ); ?></option>
                        <option><?php echo esc_html__( '1750 sq ft', 'house-dealer' ); ?></option>
                        <option><?php echo esc_html__( '2000 sq ft', 'house-dealer' ); ?></option>
                        <option><?php echo esc_html__( '2250 sq ftk', 'house-dealer' ); ?></option>
                        <option><?php echo esc_html__( '2500 sq ftk', 'house-dealer' ); ?></option>
                    </select>
                    <select id="apartment-range" class="form-select" required>
                        <option value="" class="form-select" disabled selected hidden><?php echo esc_html__( 'No Max', 'house-dealer' ); ?></option>
                        <option><?php echo esc_html__( '500 sq ft', 'house-dealer' ); ?></option>
                        <option><?php echo esc_html__( '750 sq ft', 'house-dealer' ); ?></option>
                        <option><?php echo esc_html__( '1000 sq ft', 'house-dealer' ); ?></option>
                        <option><?php echo esc_html__( '1250 sq ft', 'house-dealer' ); ?></option>
                        <option><?php echo esc_html__( '1500 sq ft', 'house-dealer' ); ?></option>
                        <option><?php echo esc_html__( '1750 sq ft', 'house-dealer' ); ?></option>
                        <option><?php echo esc_html__( '2000 sq ft', 'house-dealer' ); ?></option>
                        <option><?php echo esc_html__( '2250 sq ftk', 'house-dealer' ); ?></option>
                        <option><?php echo esc_html__( '2500 sq ftk', 'house-dealer' ); ?></option>
                    </select>
                </div>
            </div>
        </div>
        <div class="button-box">
            <button type="submit" class="btn search-btn"><?php echo esc_html__( 'Search', 'house-dealer' ); ?></button>
        </div>
    </div>
</form>
<!-- /wp:html --></div>
<!-- /wp:group -->

<!-- wp:group {"className":"banner-btm-box","layout":{"type":"flex","flexWrap":"nowrap"}} -->
<div class="wp-block-group banner-btm-box"><!-- wp:group {"className":"banner-count-box","layout":{"type":"constrained"}} -->
<div class="wp-block-group banner-count-box"><!-- wp:paragraph {"className":"banner-count-num","style":{"elements":{"link":{"color":{"text":"var:preset|color|primary"}}},"typography":{"fontSize":"25px","fontStyle":"normal","fontWeight":"700"}},"textColor":"primary"} -->
<p class="banner-count-num has-primary-color has-text-color has-link-color" style="font-size:25px;font-style:normal;font-weight:700"><?php echo esc_html__( '200', 'house-dealer' ); ?></p>
<!-- /wp:paragraph -->

<!-- wp:paragraph {"className":"banner-count-text","style":{"elements":{"link":{"color":{"text":"var:preset|color|contrast"}}},"typography":{"fontSize":"16px","textTransform":"capitalize"},"spacing":{"margin":{"top":"0px"}}},"textColor":"contrast"} -->
<p class="banner-count-text has-contrast-color has-text-color has-link-color" style="margin-top:0px;font-size:16px;text-transform:capitalize"><?php echo esc_html__( 'award winning', 'house-dealer' ); ?></p>
<!-- /wp:paragraph --></div>
<!-- /wp:group -->

<!-- wp:group {"className":"banner-count-box","layout":{"type":"constrained"}} -->
<div class="wp-block-group banner-count-box"><!-- wp:paragraph {"className":"banner-count-num","style":{"elements":{"link":{"color":{"text":"var:preset|color|primary"}}},"typography":{"fontSize":"25px","fontStyle":"normal","fontWeight":"700"}},"textColor":"primary"} -->
<p class="banner-count-num has-primary-color has-text-color has-link-color" style="font-size:25px;font-style:normal;font-weight:700"><?php echo esc_html__( '500+', 'house-dealer' ); ?></p>
<!-- /wp:paragraph -->

<!-- wp:paragraph {"className":"banner-count-text","style":{"elements":{"link":{"color":{"text":"var:preset|color|contrast"}}},"typography":{"fontSize":"16px","textTransform":"capitalize"},"spacing":{"margin":{"top":"0px"}}},"textColor":"contrast"} -->
<p class="banner-count-text has-contrast-color has-text-color has-link-color" style="margin-top:0px;font-size:16px;text-transform:capitalize"><?php echo esc_html__( 'happy customer', 'house-dealer' ); ?></p>
<!-- /wp:paragraph --></div>
<!-- /wp:group -->

<!-- wp:group {"className":"banner-count-box","layout":{"type":"constrained"}} -->
<div class="wp-block-group banner-count-box"><!-- wp:paragraph {"className":"banner-count-num","style":{"elements":{"link":{"color":{"text":"var:preset|color|primary"}}},"typography":{"fontSize":"25px","fontStyle":"normal","fontWeight":"700"}},"textColor":"primary"} -->
<p class="banner-count-num has-primary-color has-text-color has-link-color" style="font-size:25px;font-style:normal;font-weight:700"><?php echo esc_html__( '100+', 'house-dealer' ); ?></p>
<!-- /wp:paragraph -->

<!-- wp:paragraph {"className":"banner-count-text","style":{"elements":{"link":{"color":{"text":"var:preset|color|contrast"}}},"typography":{"fontSize":"16px","textTransform":"capitalize"},"spacing":{"margin":{"top":"0px"}}},"textColor":"contrast"} -->
<p class="banner-count-text has-contrast-color has-text-color has-link-color" style="margin-top:0px;font-size:16px;text-transform:capitalize"><?php echo esc_html__( 'property ready', 'house-dealer' ); ?></p>
<!-- /wp:paragraph --></div>
<!-- /wp:group --></div>
<!-- /wp:group --></div></div>
<!-- /wp:cover --></div>
<!-- /wp:group -->

<?php } ?>