<?php

/**
 * Title: Hero Banner 
 * Slug: cryzel/a1-hero-banner
 * Categories: banner
 * Block Types: core/template-part/banner
 * Description: A full-width cover section with a large background image and an oversized heading.
 *
 * @package WordPress
 * @subpackage Cryzel
 * @since Cryzel 1.0
 */

?>
<!-- wp:group {"metadata":{"categories":["banner"],"patternName":"cryzel/a-hero-banner","name":"Hero Banner"},"align":"full","style":{"background":{"backgroundImage":{"url":"<?php echo esc_url(get_template_directory_uri() . '/assets/images/cryzel-bg-image.webp'); ?>","id":4503,"source":"file","title":"Email Marketing (3)"},"backgroundSize":"cover"},"spacing":{"padding":{"top":"0","bottom":"0","left":"var:preset|spacing|60","right":"var:preset|spacing|60"},"margin":{"top":"-20px"}}},"backgroundColor":"accent-1","layout":{"type":"constrained","contentSize":""}} -->
<div class="wp-block-group alignfull has-accent-1-background-color has-background" style="margin-top:-20px;padding-top:0;padding-right:var(--wp--preset--spacing--60);padding-bottom:0;padding-left:var(--wp--preset--spacing--60)"><!-- wp:cover {"dimRatio":0,"isUserOverlayColor":true,"isDark":false,"sizeSlug":"full","align":"full","style":{"spacing":{"padding":{"top":"var:preset|spacing|40","bottom":"var:preset|spacing|40","left":"var:preset|spacing|60","right":"var:preset|spacing|60"},"margin":{"top":"0px","bottom":"0"},"blockGap":"0"}},"layout":{"type":"constrained"}} -->
    <div class="wp-block-cover alignfull is-light" style="margin-top:0px;margin-bottom:0;padding-top:var(--wp--preset--spacing--40);padding-right:var(--wp--preset--spacing--60);padding-bottom:var(--wp--preset--spacing--40);padding-left:var(--wp--preset--spacing--60)"><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:columns {"style":{"spacing":{"padding":{"top":"var:preset|spacing|80","bottom":"var:preset|spacing|80","left":"0","right":"0"}}}} -->
            <div class="wp-block-columns" style="padding-top:var(--wp--preset--spacing--80);padding-right:0;padding-bottom:var(--wp--preset--spacing--80);padding-left:0"><!-- wp:column {"verticalAlignment":"top","width":"60%","style":{"spacing":{"padding":{"right":"0","left":"0","top":"0","bottom":"0"},"blockGap":"var:preset|spacing|30"}}} -->
                <div class="wp-block-column is-vertically-aligned-top" style="padding-top:0;padding-right:0;padding-bottom:0;padding-left:0;flex-basis:60%"><!-- wp:cryzel/announcement-widget -->
                    <div class="wp-block-cryzel-announcement-widget cryzel-announcement-widget align-left" style="background-color:var(--wp--preset--color--accent-8, rgba(255, 255, 255, 0.2));border:1px solid var(--wp--preset--color--accent-8, rgba(255, 255, 255, 0.2));border-radius:10px;padding:6px 6px 6px 6px;margin:0px 0px 0px 0px;display:inline-flex;align-items:center;justify-content:space-between;gap:12px;min-height:auto;width:auto;max-width:none">
                        <div style="background-color:var(--wp--preset--color--accent-9, #60D184);color:var(--wp--preset--color--base, #FFFFFF);font-size:10px;font-weight:600;padding:4px 12px;border-radius:6px;text-transform:uppercase;letter-spacing:0.5px;white-space:nowrap;display:inline-flex;align-items:center;justify-content:center;min-width:40px;height:24px"><span class="cryzel-announcement-badge-text">NEW</span></div>
                        <p class="cryzel-announcement-text" style="color:var(--wp--preset--color--base, #FFFFFF);font-size:12px;font-weight:500;flex:1px;margin:0;line-height:1.4"><?php echo esc_html__('The Financial Brighter Application', 'cryzel'); ?></p>
                        <div style="background-color:var(--wp--preset--color--accent-8, rgba(255, 255, 255, 0.2));color:var(--wp--preset--color--base, #FFFFFF);width:32px;height:32px;border-radius:50%;display:flex;align-items:center;justify-content:center;flex-shrink:0"><svg width="16" height="16" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
                                <path d="M7 17L17 7M17 7H7M17 7V17" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path>
                            </svg></div>
                    </div>
                    <!-- /wp:cryzel/announcement-widget -->

                    <!-- wp:heading {"textAlign":"left","level":1,"className":"is-style-text-main-header","style":{"elements":{"link":{"color":{"text":"var:preset|color|base"}}},"typography":{"lineHeight":"1.2"},"spacing":{"padding":{"top":"0","bottom":"0","right":"var:preset|spacing|80"}}},"textColor":"base"} -->
                    <h1 class="wp-block-heading has-text-align-left is-style-text-main-header has-base-color has-text-color has-link-color" style="padding-top:0;padding-right:var(--wp--preset--spacing--80);padding-bottom:0;line-height:1.2"><?php echo esc_html__('Capture attention with result-driven campaigns', 'cryzel'); ?></h1>
                    <!-- /wp:heading -->

                    <!-- wp:paragraph {"className":"is-style-default","style":{"spacing":{"margin":{"top":"var:preset|spacing|40","bottom":"var:preset|spacing|50","left":"0","right":"var:preset|spacing|80"}},"typography":{"lineHeight":"1.8"},"elements":{"link":{"color":{"text":"var:preset|color|base"}}}},"textColor":"base","fontSize":"medium"} -->
                    <p class="is-style-default has-base-color has-text-color has-link-color has-medium-font-size" style="margin-top:var(--wp--preset--spacing--40);margin-right:var(--wp--preset--spacing--80);margin-bottom:var(--wp--preset--spacing--50);margin-left:0;line-height:1.8"><?php echo esc_html__('Create email campaigns that not only reach inboxes but drive real results. With Cryzel, you can craft visually engaging.', 'cryzel'); ?></p>
                    <!-- /wp:paragraph -->

                    <!-- wp:group {"layout":{"type":"flex","flexWrap":"wrap"}} -->
                    <div class="wp-block-group"><!-- wp:buttons {"layout":{"type":"flex","orientation":"horizontal","justifyContent":"left","flexWrap":"wrap"}} -->
                        <div class="wp-block-buttons"><!-- wp:button {"textColor":"accent-3","className":"is-style-secondary","style":{"border":{"radius":"15px"},"elements":{"link":{"color":{"text":"var:preset|color|accent-3"}}}}} -->
                            <div class="wp-block-button is-style-secondary"><a class="wp-block-button__link has-accent-3-color has-text-color has-link-color wp-element-button" style="border-radius:15px"><?php echo esc_html__('Get Started', 'cryzel'); ?></a></div>
                            <!-- /wp:button -->
                        </div>
                        <!-- /wp:buttons -->

                        <!-- wp:buttons {"layout":{"type":"flex","orientation":"horizontal","verticalAlignment":"center"}} -->
                        <div class="wp-block-buttons"><!-- wp:button {"className":"is-style-blur-with-arrow","style":{"border":{"radius":"15px","width":"1px"}},"borderColor":"accent-7"} -->
                            <div class="wp-block-button is-style-blur-with-arrow"><a class="wp-block-button__link has-border-color has-accent-7-border-color wp-element-button" style="border-width:1px;border-radius:15px"><?php echo esc_html__('Watch Demo', 'cryzel'); ?> </a></div>
                            <!-- /wp:button -->
                        </div>
                        <!-- /wp:buttons -->
                    </div>
                    <!-- /wp:group -->
                </div>
                <!-- /wp:column -->

                <!-- wp:column {"verticalAlignment":"center","width":"40%","className":"is-style-default","style":{"spacing":{"padding":{"top":"0","bottom":"0","left":"0","right":"var:preset|spacing|60"}}}} -->
                <div class="wp-block-column is-vertically-aligned-center is-style-default" style="padding-top:0;padding-right:var(--wp--preset--spacing--60);padding-bottom:0;padding-left:0;flex-basis:40%"><!-- wp:image {"id":2722,"sizeSlug":"full","linkDestination":"none","align":"right"} -->
                    <figure class="wp-block-image alignright size-full"><img src="<?php echo esc_url(get_template_directory_uri() . '/assets/images/cryzel-illustration-01.png'); ?>" alt="Cryzel Illustration" class="wp-image-2722" /></figure>
                    <!-- /wp:image -->
                </div>
                <!-- /wp:column -->
            </div>
            <!-- /wp:columns -->
        </div>
    </div>
    <!-- /wp:cover -->
</div>
<!-- /wp:group -->