<?php

/**
 * Title: Hero/Banner Section
 * Slug: storemate/hero-section
 * Categories: storemate
 */
$storemate_url = trailingslashit(get_template_directory_uri());
$storemate_images = array(
    $storemate_url . 'assets/images/banner_bg.jpg',
    $storemate_url . 'assets/images/slide_img.png',
);
?>
<!-- wp:cover {"url":"<?php echo esc_url($storemate_images[0]) ?>","id":5304,"gradient":"light-shade-color","contentPosition":"center center","style":{"spacing":{"padding":{"top":"0","bottom":"0","left":"0","right":"0"}}},"layout":{"type":"constrained","contentSize":"100%"}} -->
<div class="wp-block-cover" style="padding-top:0;padding-right:0;padding-bottom:0;padding-left:0"><span aria-hidden="true" class="wp-block-cover__background has-background-dim-100 has-background-dim wp-block-cover__gradient-background has-background-gradient has-light-shade-color-gradient-background"></span><img class="wp-block-cover__image-background wp-image-5304" alt="" src="<?php echo esc_url($storemate_images[0]) ?>" data-object-fit="cover" />
    <div class="wp-block-cover__inner-container"><!-- wp:group {"style":{"spacing":{"blockGap":"0","padding":{"right":"var:preset|spacing|40","left":"var:preset|spacing|40","top":"0","bottom":"0"}}},"layout":{"type":"constrained","contentSize":"1340px"}} -->
        <div class="wp-block-group" style="padding-top:0;padding-right:var(--wp--preset--spacing--40);padding-bottom:0;padding-left:var(--wp--preset--spacing--40)"><!-- wp:columns {"verticalAlignment":"center"} -->
            <div class="wp-block-columns are-vertically-aligned-center"><!-- wp:column {"verticalAlignment":"center","width":"55%"} -->
                <div class="wp-block-column is-vertically-aligned-center" style="flex-basis:55%"><!-- wp:group {"className":"storemate-slide-up","layout":{"type":"constrained","contentSize":"1000px"}} -->
                    <div class="wp-block-group storemate-slide-up"><!-- wp:heading {"style":{"typography":{"fontStyle":"normal","fontWeight":"400","textTransform":"uppercase"},"elements":{"link":{"color":{"text":"var:preset|color|primary"}}}},"textColor":"primary","fontSize":"small"} -->
                        <h2 class="wp-block-heading has-primary-color has-text-color has-link-color has-small-font-size" style="font-style:normal;font-weight:400;text-transform:uppercase"><?php esc_html_e('Save up to 50% on Winter sale', 'storemate') ?></h2>
                        <!-- /wp:heading -->

                        <!-- wp:heading {"textAlign":"left","level":1,"style":{"elements":{"link":{"color":{"text":"var:preset|color|heading-color"}}},"typography":{"lineHeight":"1.4","letterSpacing":"0px","textTransform":"none","fontSize":"64px","fontStyle":"normal","fontWeight":"700"},"spacing":{"margin":{"top":"16px","bottom":"44px"}}},"textColor":"heading-color"} -->
                        <h1 class="wp-block-heading has-text-align-left has-heading-color-color has-text-color has-link-color" style="margin-top:16px;margin-bottom:44px;font-size:64px;font-style:normal;font-weight:700;letter-spacing:0px;line-height:1.4;text-transform:none"><?php esc_html_e('Find Your Perfect Fit, Explore Our Premium Collection!', 'storemate') ?></h1>
                        <!-- /wp:heading -->

                        <!-- wp:buttons {"layout":{"type":"flex","justifyContent":"left"},"style":{"spacing":{"margin":{"top":"40px"}}}} -->
                        <div class="wp-block-buttons" style="margin-top:40px"><!-- wp:button {"backgroundColor":"primary","textColor":"light-color","style":{"border":{"radius":"5px","width":"0px","style":"none"},"elements":{"link":{"color":{"text":"var:preset|color|light-color"}}},"typography":{"fontStyle":"normal","fontWeight":"500"},"spacing":{"padding":{"left":"36px","right":"36px","top":"18px","bottom":"18px"}}},"className":"is-style-button-hover-secondary-bgcolor","fontSize":"normal"} -->
                            <div class="wp-block-button has-custom-font-size is-style-button-hover-secondary-bgcolor has-normal-font-size" style="font-style:normal;font-weight:500"><a class="wp-block-button__link has-light-color-color has-primary-background-color has-text-color has-background has-link-color wp-element-button" style="border-style:none;border-width:0px;border-radius:5px;padding-top:18px;padding-right:36px;padding-bottom:18px;padding-left:36px"><?php esc_html_e('Browse Store', 'storemate') ?></a></div>
                            <!-- /wp:button -->

                            <!-- wp:button {"backgroundColor":"transparent","textColor":"dark-color","style":{"border":{"radius":"5px","width":"1px"},"elements":{"link":{"color":{"text":"var:preset|color|dark-color"}}},"typography":{"fontStyle":"normal","fontWeight":"500"},"spacing":{"padding":{"left":"36px","right":"36px","top":"16px","bottom":"16px"}}},"borderColor":"heading-color","className":"is-style-button-hover-secondary-bgcolor","fontSize":"normal"} -->
                            <div class="wp-block-button has-custom-font-size is-style-button-hover-secondary-bgcolor has-normal-font-size" style="font-style:normal;font-weight:500"><a class="wp-block-button__link has-dark-color-color has-transparent-background-color has-text-color has-background has-link-color has-border-color has-heading-color-border-color wp-element-button" style="border-width:1px;border-radius:5px;padding-top:16px;padding-right:36px;padding-bottom:16px;padding-left:36px"><?php esc_html_e('Learn More', 'storemate') ?></a></div>
                            <!-- /wp:button -->
                        </div>
                        <!-- /wp:buttons -->
                    </div>
                    <!-- /wp:group -->
                </div>
                <!-- /wp:column -->

                <!-- wp:column {"verticalAlignment":"center"} -->
                <div class="wp-block-column is-vertically-aligned-center"><!-- wp:image {"id":5307,"sizeSlug":"full","linkDestination":"none"} -->
                    <figure class="wp-block-image size-full"><img src="<?php echo esc_url($storemate_images[1]) ?>" alt="" class="wp-image-5307" /></figure>
                    <!-- /wp:image -->
                </div>
                <!-- /wp:column -->
            </div>
            <!-- /wp:columns -->
        </div>
        <!-- /wp:group -->
    </div>
</div>
<!-- /wp:cover -->