<?php
/**
 * Title: Footer
 * Slug: larder/footer-default
 * Categories: larder
 * Description: Default footer with three columns: about, quick links, and contact.
 * Keywords: footer
 * Block Types: core/template-part/footer
 * Inserter: false
 */

?>
<!-- wp:group {"className":"larder-footer","style":{"spacing":{"padding":{"top":"var:preset|spacing|60","bottom":"var:preset|spacing|60","right":"var:preset|spacing|40","left":"var:preset|spacing|40"}}},"backgroundColor":"footer-bg","layout":{"type":"constrained","contentSize":"67.141em"}} -->
<div class="wp-block-group larder-footer has-footer-bg-background-color has-background" style="padding-top:var(--wp--preset--spacing--60);padding-right:var(--wp--preset--spacing--40);padding-bottom:var(--wp--preset--spacing--60);padding-left:var(--wp--preset--spacing--40)">

	<!-- wp:columns {"className":"larder-footer-widgets","style":{"spacing":{"blockGap":{"left":"var:preset|spacing|60"}}}} -->
	<div class="wp-block-columns larder-footer-widgets">

		<!-- wp:column -->
		<div class="wp-block-column">
			<!-- wp:heading {"level":3,"className":"larder-widget-title","style":{"typography":{"fontSize":"0.9375rem","textTransform":"uppercase","letterSpacing":"1px","fontWeight":"900"}},"textColor":"heading","fontFamily":"body"} -->
			<h3 class="wp-block-heading larder-widget-title has-heading-color has-text-color has-body-font-family" style="font-size:0.9375rem;font-weight:900;letter-spacing:1px;text-transform:uppercase"><?php esc_html_e( 'About us', 'larder' ); ?></h3>
			<!-- /wp:heading -->

			<!-- wp:paragraph {"textColor":"foreground","fontSize":"small"} -->
			<p class="has-foreground-color has-text-color has-small-font-size"><?php esc_html_e( 'We are passionate about bringing you the freshest organic produce and artisan goods, sourced directly from local farms and trusted producers.', 'larder' ); ?></p>
			<!-- /wp:paragraph -->
		</div>
		<!-- /wp:column -->

		<!-- wp:column -->
		<div class="wp-block-column">
			<!-- wp:heading {"level":3,"className":"larder-widget-title","style":{"typography":{"fontSize":"0.9375rem","textTransform":"uppercase","letterSpacing":"1px","fontWeight":"900"}},"textColor":"heading","fontFamily":"body"} -->
			<h3 class="wp-block-heading larder-widget-title has-heading-color has-text-color has-body-font-family" style="font-size:0.9375rem;font-weight:900;letter-spacing:1px;text-transform:uppercase"><?php esc_html_e( 'Quick links', 'larder' ); ?></h3>
			<!-- /wp:heading -->

			<!-- wp:navigation {"overlayMenu":"never","layout":{"type":"flex","orientation":"vertical"},"fontSize":"small"} /-->
		</div>
		<!-- /wp:column -->

		<!-- wp:column -->
		<div class="wp-block-column">
			<!-- wp:heading {"level":3,"className":"larder-widget-title","style":{"typography":{"fontSize":"0.9375rem","textTransform":"uppercase","letterSpacing":"1px","fontWeight":"900"}},"textColor":"heading","fontFamily":"body"} -->
			<h3 class="wp-block-heading larder-widget-title has-heading-color has-text-color has-body-font-family" style="font-size:0.9375rem;font-weight:900;letter-spacing:1px;text-transform:uppercase"><?php esc_html_e( 'Contact', 'larder' ); ?></h3>
			<!-- /wp:heading -->

			<!-- wp:paragraph {"textColor":"foreground","fontSize":"small"} -->
			<p class="has-foreground-color has-text-color has-small-font-size"><?php
				echo esc_html__( '123 Market Street', 'larder' ) . '<br>';
				echo esc_html__( 'Organic Valley, OV 12345', 'larder' ) . '<br>';
				printf(
					'<a href="%s">%s</a>',
					esc_url( 'mailto:hello@example.com' ),
					esc_html__( 'hello@example.com', 'larder' )
				);
			?></p>
			<!-- /wp:paragraph -->
		</div>
		<!-- /wp:column -->

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

	<!-- wp:separator {"className":"is-style-wide larder-footer-separator","style":{"spacing":{"margin":{"top":"var:preset|spacing|40","bottom":"var:preset|spacing|30"}}},"backgroundColor":"background"} -->
	<hr class="wp-block-separator has-text-color has-background-color has-alpha-channel-opacity has-background-background-color has-background is-style-wide larder-footer-separator" style="margin-top:var(--wp--preset--spacing--40);margin-bottom:var(--wp--preset--spacing--30)"/>
	<!-- /wp:separator -->

	<!-- wp:group {"layout":{"type":"flex","justifyContent":"center"}} -->
	<div class="wp-block-group">
		<!-- wp:paragraph {"textColor":"muted","fontSize":"small"} -->
		<p class="has-muted-color has-text-color has-small-font-size"><?php
			printf(
				/* translators: %s: WordPress URL. */
				esc_html__( 'Larder. Powered by %s.', 'larder' ),
				'<a href="' . esc_url( 'https://wordpress.org' ) . '">WordPress</a>'
			);
		?></p>
		<!-- /wp:paragraph -->
	</div>
	<!-- /wp:group -->

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