<?php
/**
 * Title: Main Banner
 * Slug: nova-autocare/main-banner
 * Categories: nova-autocare
 *
 * @package nova-autocare
 * @since 1.0.0
 */
?>


<!-- wp:group {"align":"wide","className":"banner-main","style":{"spacing":{"padding":{"top":"0px","bottom":"0px","left":"0","right":"0"}}},"backgroundColor":"secondary","layout":{"type":"constrained","contentSize":"80%"}} -->
<div class="wp-block-group alignwide banner-main has-secondary-background-color has-background" style="padding-top:0px;padding-right:0;padding-bottom:0px;padding-left:0"><!-- wp:columns -->
<div class="wp-block-columns"><!-- wp:column {"verticalAlignment":"center","width":"60%"} -->
<div class="wp-block-column is-vertically-aligned-center" style="flex-basis:60%"><!-- wp:group {"className":"banner-content","style":{"spacing":{"blockGap":"0"}},"layout":{"type":"default"}} -->
<div class="wp-block-group banner-content"><!-- wp:heading {"style":{"typography":{"fontSize":"50px","fontStyle":"normal","fontWeight":"700"},"elements":{"link":{"color":{"text":"var:preset|color|contrast-one"}}},"spacing":{"margin":{"bottom":"30px"}}},"textColor":"contrast-one","fontFamily":"montserrat"} -->
<h2 class="wp-block-heading has-contrast-one-color has-text-color has-link-color has-montserrat-font-family" style="margin-bottom:30px;font-size:50px;font-style:normal;font-weight:700"><?php esc_html_e('BEST','nova-autocare'); ?><br><span><?php esc_html_e('AUTO MOBILE','nova-autocare'); ?><br><?php esc_html_e('DEALER','nova-autocare'); ?></span><br><?php esc_html_e('IN YOUR TOWN','nova-autocare'); ?></h2>
<!-- /wp:heading -->

<!-- wp:buttons {"className":"banner-btn","style":{"spacing":{"margin":{"top":"35px"}}}} -->
<div class="wp-block-buttons banner-btn" style="margin-top:35px"><!-- wp:button {"backgroundColor":"primary","textColor":"base","style":{"elements":{"link":{"color":{"text":"var:preset|color|base"}}},"border":{"radius":{"topLeft":"4px","topRight":"4px","bottomLeft":"4px","bottomRight":"4px"},"width":"0px","style":"none"},"spacing":{"padding":{"left":"30px","right":"30px","top":"10px","bottom":"10px"}},"typography":{"fontSize":"14px","fontStyle":"normal","fontWeight":"500"},"shadow":"none"},"fontFamily":"poppins"} -->
<div class="wp-block-button"><a class="wp-block-button__link has-base-color has-primary-background-color has-text-color has-background has-link-color has-poppins-font-family has-custom-font-size wp-element-button" href="#" style="border-style:none;border-width:0px;border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-left-radius:4px;border-bottom-right-radius:4px;padding-top:10px;padding-right:30px;padding-bottom:10px;padding-left:30px;box-shadow:none;font-size:14px;font-style:normal;font-weight:500"><?php esc_html_e('GET IN TOUCH','nova-autocare'); ?></a></div>
<!-- /wp:button --></div>
<!-- /wp:buttons --></div>
<!-- /wp:group --></div>
<!-- /wp:column -->

<!-- wp:column {"verticalAlignment":"bottom","width":"40%"} -->
<div class="wp-block-column is-vertically-aligned-bottom" style="flex-basis:40%"><!-- wp:group {"className":"image-box","style":{"border":{"radius":{"topLeft":"15px","topRight":"15px","bottomLeft":"15px","bottomRight":"15px"}},"dimensions":{"minHeight":"550px"}},"layout":{"type":"constrained","contentSize":"100%","justifyContent":"right"}} -->
<div class="wp-block-group image-box" style="border-top-left-radius:15px;border-top-right-radius:15px;border-bottom-left-radius:15px;border-bottom-right-radius:15px;min-height:550px"><!-- wp:image {"id":60,"sizeSlug":"full","linkDestination":"none","className":"center-image","style":{"spacing":{"margin":{"top":"70px"}}}} -->
<figure class="wp-block-image size-full center-image" style="margin-top:70px"><img src="<?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/banner.png" alt="" class="wp-image-60"/></figure>
<!-- /wp:image --></div>
<!-- /wp:group --></div>
<!-- /wp:column --></div>
<!-- /wp:columns --></div>
<!-- /wp:group -->