<?php
/**
 * Title: CTA Banner
 * Slug: blokio/cta-banner
 * Categories: blokio-cta
 * Description: Full-width call-to-action band with heading, supporting text, and a button — for driving readers to a landing/contact page.
 * Keywords: cta, call to action, banner
 * Block Types: core/group
 */
?>
<!-- wp:group {"align":"full","backgroundColor":"ink","style":{"spacing":{"padding":{"top":"var:preset|spacing|xl","bottom":"var:preset|spacing|xl"}}},"layout":{"type":"constrained","contentSize":"640px"}} -->
<div class="wp-block-group alignfull has-ink-background-color has-background" style="padding-top:var(--wp--preset--spacing--xl);padding-bottom:var(--wp--preset--spacing--xl)">

    <!-- wp:heading {"textAlign":"center","level":2,"textColor":"paper"} -->
    <h2 class="wp-block-heading has-text-align-center has-paper-color has-text-color"><?php echo esc_html__( 'Ready to Plan Your Next Trip?', 'blokio' ); ?></h2>
    <!-- /wp:heading -->

    <!-- wp:paragraph {"align":"center","style":{"color":{"text":"#CBD5E1"}}} -->
    <p class="has-text-align-center" style="color:#CBD5E1"><?php echo esc_html__( 'Browse the full destination guide library or get in touch for a custom itinerary.', 'blokio' ); ?></p>
    <!-- /wp:paragraph -->

    <!-- wp:buttons {"layout":{"type":"flex","justifyContent":"center"}} -->
    <div class="wp-block-buttons">
        <!-- wp:button {"backgroundColor":"accent"} -->
        <div class="wp-block-button"><a class="wp-block-button__link has-accent-background-color has-background wp-element-button"><?php echo esc_html__( 'Browse Destinations', 'blokio' ); ?></a></div>
        <!-- /wp:button -->

        <!-- wp:button {"className":"is-style-outline"} -->
        <div class="wp-block-button is-style-outline"><a class="wp-block-button__link wp-element-button" style="color:#FFFFFF;border-color:#FFFFFF"><?php echo esc_html__( 'Contact Us', 'blokio' ); ?></a></div>
        <!-- /wp:button -->
    </div>
    <!-- /wp:buttons -->

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