<?php
/**
 * Title: Hero Banner
 * Slug: blokio/hero-banner
 * Categories: blokio-hero
 * Description: Large immersive hero with gradient overlay, headline, and search — designed to sit behind the transparent header variant.
 * Keywords: hero, banner, travel, immersive
 * Block Types: core/cover
 */
?>
<!-- wp:cover {"gradient":"primary-accent","minHeight":92,"minHeightUnit":"vh","contentPosition":"center center","align":"full","style":{"spacing":{"padding":{"top":"0","bottom":"0"}}}} -->
<div class="wp-block-cover alignfull" style="min-height:92vh">
    <span aria-hidden="true" class="wp-block-cover__background has-primary-accent-gradient-background has-background-gradient"></span>
    <div class="wp-block-cover__inner-container">

        <!--
          NOTE: This hero ships with a gradient background (no bundled
          stock photo) so nothing is broken out of the box. To use a
          real destination photo instead: select this Cover block in
          the Site Editor, use "Replace" to upload your own image, and
          the gradient becomes the overlay on top of it automatically —
          no code changes needed.
        -->

        <!-- wp:group {"layout":{"type":"constrained","contentSize":"760px"}} -->
        <div class="wp-block-group" style="text-align:center">

            <!-- wp:paragraph {"textColor":"paper","className":"blokio-reveal","style":{"typography":{"fontWeight":"600","fontSize":"0.9rem","textTransform":"uppercase","letterSpacing":"0.1em"}}} -->
            <p class="has-paper-color has-text-color blokio-reveal" style="font-weight:600;text-transform:uppercase;letter-spacing:0.1em"><?php echo esc_html__( '120 Countries. One Story at a Time.', 'blokio' ); ?></p>
            <!-- /wp:paragraph -->

            <!-- wp:heading {"level":1,"textColor":"paper","className":"blokio-reveal","style":{"typography":{"fontSize":"var(--wp--preset--font-size--huge)","lineHeight":"1.05"}}} -->
            <h1 class="has-paper-color has-text-color blokio-reveal"><?php echo esc_html__( 'Find Your Next Great Escape', 'blokio' ); ?></h1>
            <!-- /wp:heading -->

            <!-- wp:paragraph {"textColor":"paper","className":"blokio-reveal","style":{"typography":{"fontSize":"var(--wp--preset--font-size--large)"},"color":{"text":"#E2E8F0"}}} -->
            <p class="has-paper-color has-text-color blokio-reveal" style="color:#E2E8F0"><?php echo esc_html__( 'Real guides, honest reviews, and stories from travelers who\'ve actually been there.', 'blokio' ); ?></p>
            <!-- /wp:paragraph -->

            <!-- wp:group {"className":"blokio-reveal","layout":{"type":"flex","justifyContent":"center"},"style":{"spacing":{"margin":{"top":"var:preset|spacing|md"}}}} -->
            <div class="wp-block-group blokio-reveal" style="margin-top:var(--wp--preset--spacing--md)">
                <!-- wp:search {"label":"","placeholder":"<?php echo esc_attr__( 'Try “Japan in autumn” or “budget Europe”', 'blokio' ); ?>","buttonText":"<?php echo esc_attr__( 'Search', 'blokio' ); ?>","buttonPosition":"button-inside","style":{"border":{"radius":"999px"}}} /-->
            </div>
            <!-- /wp:group -->

        </div>
        <!-- /wp:group -->

    </div>
</div>
<!-- /wp:cover -->
