<?php
/**
 * Title: Hero
 * Slug: marble-st/hero
 * Categories: marble-st
 * Description: Hero section with heading, description, social links, and image.
 */
?>
<!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"top":"var:preset|spacing|70","bottom":"var:preset|spacing|70","left":"0","right":"0"}}},"layout":{"type":"default"}} -->
<div class="wp-block-group alignwide" style="padding-top:var(--wp--preset--spacing--70);padding-right:0;padding-bottom:var(--wp--preset--spacing--70);padding-left:0"><!-- wp:columns {"style":{"spacing":{"blockGap":{"left":"var:preset|spacing|70"}}}} -->
<div class="wp-block-columns"><!-- wp:column {"verticalAlignment":"center","width":"58%"} -->
<div class="wp-block-column is-vertically-aligned-center" style="flex-basis:58%"><!-- wp:heading {"level":1,"style":{"spacing":{"margin":{"bottom":"var:preset|spacing|50"}}}} -->
<h1 class="wp-block-heading" style="margin-bottom:var(--wp--preset--spacing--50)"><?php esc_html_e('Honest coffee since 2018', 'marble-st');?></h1>
<!-- /wp:heading -->

<!-- wp:paragraph {"style":{"typography":{"fontSize":"1.25rem","lineHeight":"1.7"}},"textColor":"secondary"} -->
<p class="has-secondary-color has-text-color" style="font-size:1.25rem;line-height:1.7"><?php esc_html_e('We roast small batches every Tuesday and Friday. No blends with fancy names — just clean, traceable beans from farms we visit ourselves. Walk in, sit down, take your time.', 'marble-st');?></p>
<!-- /wp:paragraph -->

<!-- wp:group {"style":{"spacing":{"margin":{"top":"var:preset|spacing|60"},"blockGap":"var:preset|spacing|30"}},"layout":{"type":"flex","flexWrap":"wrap","justifyContent":"space-between"}} -->
<div class="wp-block-group" style="margin-top:var(--wp--preset--spacing--60)"><!-- wp:group {"style":{"spacing":{"margin":{"top":"0"},"blockGap":"var:preset|spacing|50"}},"layout":{"type":"flex","flexWrap":"wrap"}} -->
<div class="wp-block-group" style="margin-top:0"><!-- wp:paragraph {"style":{"typography":{"fontSize":"0.75rem","fontStyle":"normal","fontWeight":"700","letterSpacing":"0.2em","textTransform":"uppercase"}},"textColor":"primary","fontFamily":"body"} -->
<p class="has-primary-color has-text-color has-body-font-family" style="font-size:0.75rem;font-style:normal;font-weight:700;letter-spacing:0.2em;text-transform:uppercase"><?php /* Translators: 1. is the start of a 'a' HTML element, 2. is the end of a 'a' HTML element */
echo sprintf( esc_html__( '%1$sX%2$s', 'marble-st' ), '<a href="' . esc_url( '#' ) . '">', '</a>' ); ?></p>
<!-- /wp:paragraph -->

<!-- wp:paragraph {"style":{"typography":{"fontSize":"0.75rem","fontStyle":"normal","fontWeight":"700","letterSpacing":"0.2em","textTransform":"uppercase"}},"textColor":"primary","fontFamily":"body"} -->
<p class="has-primary-color has-text-color has-body-font-family" style="font-size:0.75rem;font-style:normal;font-weight:700;letter-spacing:0.2em;text-transform:uppercase"><?php /* Translators: 1. is the start of a 'a' HTML element, 2. is the end of a 'a' HTML element */
echo sprintf( esc_html__( '%1$sFacebook%2$s', 'marble-st' ), '<a href="' . esc_url( '#' ) . '">', '</a>' ); ?></p>
<!-- /wp:paragraph -->

<!-- wp:paragraph {"style":{"typography":{"fontSize":"0.75rem","fontStyle":"normal","fontWeight":"700","letterSpacing":"0.2em","textTransform":"uppercase"}},"textColor":"primary","fontFamily":"body"} -->
<p class="has-primary-color has-text-color has-body-font-family" style="font-size:0.75rem;font-style:normal;font-weight:700;letter-spacing:0.2em;text-transform:uppercase"><?php /* Translators: 1. is the start of a 'a' HTML element, 2. is the end of a 'a' HTML element */
echo sprintf( esc_html__( '%1$sInstagram%2$s', 'marble-st' ), '<a href="' . esc_url( '#' ) . '">', '</a>' ); ?></p>
<!-- /wp:paragraph --></div>
<!-- /wp:group -->

<!-- wp:paragraph {"style":{"typography":{"letterSpacing":"0.05em"}},"textColor":"primary","fontSize":"label"} -->
<p class="has-primary-color has-text-color has-label-font-size" style="letter-spacing:0.05em"><?php esc_html_e('☁ Wi-Fi available · Password: marblest', 'marble-st');?></p>
<!-- /wp:paragraph --></div>
<!-- /wp:group --></div>
<!-- /wp:column -->

<!-- wp:column {"width":"42%"} -->
<div class="wp-block-column" style="flex-basis:42%"><!-- wp:image {"aspectRatio":"3/4","scale":"cover","sizeSlug":"full","linkDestination":"none","className":"is-style-default","style":{"color":{"duotone":["#000000","#ffffff"]}}} -->
<figure class="wp-block-image size-full is-style-default"><img src="<?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/night-cafe-warm-lights-cozy-atmosphere-coffee-date-bar-interior-restaurant-1704330-pxhere.com_.jpg" alt="<?php esc_attr_e( 'Cozy cafe interior with warm lights', 'marble-st' ); ?>" class="" style="aspect-ratio:3/4;object-fit:cover"/></figure>
<!-- /wp:image --></div>
<!-- /wp:column --></div>
<!-- /wp:columns --></div>
<!-- /wp:group -->
