<?php
/**
 * Title: Art Coming Soon
 * Slug: technicalistic/coming-soon-art
 * Categories: technicalistic-coming-soon, technicalistic
 * Description: Art page coming soon content with teal theme.
 */
?>
<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"5rem","bottom":"5rem"}}},"className":"jb-section-gradient-art","layout":{"type":"constrained","contentSize":"48rem"}} -->
<div class="wp-block-group alignfull jb-section-gradient-art" style="padding-top:5rem;padding-bottom:5rem">

	<?php if ( get_theme_mod( 'technicalistic_show_art_launching', true ) ) : ?>
	<!-- wp:group {"className":"coming-soon-card","style":{"spacing":{"padding":{"top":"3rem","right":"3rem","bottom":"3rem","left":"3rem"}}},"layout":{"type":"constrained"}} -->
	<div class="wp-block-group coming-soon-card" style="padding-top:3rem;padding-right:3rem;padding-bottom:3rem;padding-left:3rem">

		<!-- wp:group {"className":"badge badge-teal","style":{"spacing":{"margin":{"bottom":"1.5rem"}}},"layout":{"type":"flex","justifyContent":"center"}} -->
		<div class="wp-block-group badge badge-teal" style="margin-bottom:1.5rem">
			<!-- wp:paragraph {"style":{"typography":{"fontSize":"0.875rem"}}} -->
			<p style="font-size:0.875rem">&#10024; <?php esc_html_e( 'Coming Soon', 'technicalistic' ); ?></p>
			<!-- /wp:paragraph -->
		</div>
		<!-- /wp:group -->

		<!-- wp:group {"className":"icon-teal","style":{"spacing":{"margin":{"bottom":"1.5rem"}},"layout":{"selfStretch":"fit"}},"layout":{"type":"flex","justifyContent":"center"}} -->
		<div class="wp-block-group icon-teal" style="margin-bottom:1.5rem">
			<!-- wp:paragraph {"style":{"typography":{"fontSize":"2rem"}}} -->
			<p style="font-size:2rem">&#127912;</p>
			<!-- /wp:paragraph -->
		</div>
		<!-- /wp:group -->

		<!-- wp:heading {"textAlign":"center","level":2,"style":{"typography":{"fontSize":"1.875rem","fontWeight":"700"},"spacing":{"margin":{"bottom":"1rem"}}},"textColor":"white"} -->
		<h2 class="wp-block-heading has-text-align-center has-white-color has-text-color" style="font-size:1.875rem;font-weight:700;margin-bottom:1rem"><?php echo esc_html( get_theme_mod( 'technicalistic_art_launching_heading', __( 'Creative Portfolio Launching Soon', 'technicalistic' ) ) ); ?></h2>
		<!-- /wp:heading -->

		<!-- wp:paragraph {"align":"center","style":{"typography":{"fontSize":"1.1rem"},"spacing":{"margin":{"bottom":"2rem"}}},"textColor":"slate-300"} -->
		<p class="has-text-align-center has-slate-300-color has-text-color" style="font-size:1.1rem;margin-bottom:2rem"><?php echo esc_html( get_theme_mod( 'technicalistic_art_launching_text', __( 'This section will showcase creative projects, visual art, and design work. A curated selection of works is being prepared to demonstrate artistic range and creative approach.', 'technicalistic' ) ) ); ?></p>
		<!-- /wp:paragraph -->

		<!-- wp:buttons {"layout":{"type":"flex","justifyContent":"center"}} -->
		<div class="wp-block-buttons">
			<?php if ( get_theme_mod( 'technicalistic_show_request_portfolio', false ) ) : ?>
			<!-- wp:button {"className":"btn-teal btn-lg","style":{"border":{"radius":"0.625rem"}}} -->
			<div class="wp-block-button btn-teal btn-lg"><a class="wp-block-button__link wp-element-button" style="border-radius:0.625rem" href="<?php echo esc_url( get_theme_mod( 'technicalistic_request_portfolio_url', '/contact/' ) ); ?>"><?php esc_html_e( 'Request Portfolio', 'technicalistic' ); ?></a></div>
			<!-- /wp:button -->
			<?php endif; ?>

			<?php if ( get_theme_mod( 'technicalistic_show_etsy_link', false ) ) : ?>
			<!-- wp:button {"className":"is-style-outline btn-teal-outline btn-lg","style":{"border":{"radius":"0.625rem"}}} -->
			<div class="wp-block-button is-style-outline btn-teal-outline btn-lg"><a class="wp-block-button__link wp-element-button" style="border-radius:0.625rem" href="<?php echo esc_url( get_theme_mod( 'technicalistic_etsy_url', 'https://www.etsy.com/' ) ); ?>"><?php esc_html_e( 'Visit Etsy Shop', 'technicalistic' ); ?> &#8599;</a></div>
			<!-- /wp:button -->
			<?php endif; ?>
		</div>
		<!-- /wp:buttons -->

	</div>
	<!-- /wp:group -->
	<?php endif; ?>

	<?php if ( get_theme_mod( 'technicalistic_show_whats_coming', true ) ) : ?>
	<!-- wp:group {"className":"upcoming-section-card teal","style":{"spacing":{"margin":{"top":"3rem"},"padding":{"top":"2rem","right":"2rem","bottom":"2rem","left":"2rem"}},"border":{"radius":"0.75rem","width":"1px","color":"rgba(20,184,166,0.3)"}},"layout":{"type":"constrained"}} -->
	<div class="wp-block-group upcoming-section-card teal has-border-color" style="border-color:rgba(20,184,166,0.3);border-width:1px;border-radius:0.75rem;margin-top:3rem;padding-top:2rem;padding-right:2rem;padding-bottom:2rem;padding-left:2rem">

		<!-- wp:heading {"level":3,"style":{"typography":{"fontSize":"1.5rem","fontWeight":"700"},"spacing":{"margin":{"bottom":"1.5rem"}}},"textColor":"white"} -->
		<h3 class="wp-block-heading has-white-color has-text-color" style="font-size:1.5rem;font-weight:700;margin-bottom:1.5rem">&#10024; <?php echo esc_html( get_theme_mod( 'technicalistic_whats_coming_heading', __( "What's Coming", 'technicalistic' ) ) ); ?></h3>
		<!-- /wp:heading -->

		<?php
		$art_items_raw = get_theme_mod( 'technicalistic_whats_coming_items', "Fine art sculpture gallery\nDigital art & design work\nCreative project case studies\nVisual art portfolio\nAvailable works for purchase\nCommission information" );
		$art_items = array_filter( array_map( 'trim', explode( "\n", $art_items_raw ) ) );
		$art_icons = array( '&#128396;', '&#128444;', '&#9776;', '&#127912;', '&#9650;', '&#10024;' );
		$art_half  = (int) ceil( count( $art_items ) / 2 );
		$art_col1  = array_slice( $art_items, 0, $art_half );
		$art_col2  = array_slice( $art_items, $art_half );
		?>

		<!-- wp:columns {"style":{"spacing":{"blockGap":{"left":"1rem","top":"1rem"}}}} -->
		<div class="wp-block-columns">
			<!-- wp:column -->
			<div class="wp-block-column">
				<?php foreach ( $art_col1 as $i => $item ) : ?>
				<!-- wp:group {"className":"upcoming-item teal","layout":{"type":"flex","flexWrap":"nowrap"}} -->
				<div class="wp-block-group upcoming-item teal">
					<!-- wp:paragraph {"className":"upcoming-icon teal"} -->
					<p class="upcoming-icon teal"><?php echo $art_icons[ $i % count( $art_icons ) ]; ?></p>
					<!-- /wp:paragraph -->
					<!-- wp:paragraph {"textColor":"slate-200","style":{"typography":{"fontSize":"0.95rem"}}} -->
					<p class="has-slate-200-color has-text-color" style="font-size:0.95rem"><?php echo esc_html( $item ); ?></p>
					<!-- /wp:paragraph -->
				</div>
				<!-- /wp:group -->
				<?php endforeach; ?>
			</div>
			<!-- /wp:column -->

			<!-- wp:column -->
			<div class="wp-block-column">
				<?php foreach ( $art_col2 as $j => $item ) : ?>
				<!-- wp:group {"className":"upcoming-item teal","layout":{"type":"flex","flexWrap":"nowrap"}} -->
				<div class="wp-block-group upcoming-item teal">
					<!-- wp:paragraph {"className":"upcoming-icon teal"} -->
					<p class="upcoming-icon teal"><?php echo $art_icons[ ( $art_half + $j ) % count( $art_icons ) ]; ?></p>
					<!-- /wp:paragraph -->
					<!-- wp:paragraph {"textColor":"slate-200","style":{"typography":{"fontSize":"0.95rem"}}} -->
					<p class="has-slate-200-color has-text-color" style="font-size:0.95rem"><?php echo esc_html( $item ); ?></p>
					<!-- /wp:paragraph -->
				</div>
				<!-- /wp:group -->
				<?php endforeach; ?>
			</div>
			<!-- /wp:column -->
		</div>
		<!-- /wp:columns -->

	</div>
	<!-- /wp:group -->
	<?php endif; ?>

	<?php if ( get_theme_mod( 'technicalistic_show_creative_philosophy', true ) ) : ?>
	<!-- wp:group {"className":"philosophy-section-card","style":{"spacing":{"margin":{"top":"2rem"},"padding":{"top":"2rem","right":"2rem","bottom":"2rem","left":"2rem"}},"border":{"radius":"0.75rem","width":"1px","color":"rgba(20,184,166,0.3)"}},"layout":{"type":"constrained"}} -->
	<div class="wp-block-group philosophy-section-card has-border-color" style="border-color:rgba(20,184,166,0.3);border-width:1px;border-radius:0.75rem;margin-top:2rem;padding-top:2rem;padding-right:2rem;padding-bottom:2rem;padding-left:2rem">

		<!-- wp:heading {"level":3,"style":{"typography":{"fontSize":"1.25rem","fontWeight":"700"},"spacing":{"margin":{"bottom":"1rem"}}},"textColor":"white"} -->
		<h3 class="wp-block-heading has-white-color has-text-color" style="font-size:1.25rem;font-weight:700;margin-bottom:1rem"><?php echo esc_html( get_theme_mod( 'technicalistic_creative_philosophy_heading', __( 'Creative Philosophy', 'technicalistic' ) ) ); ?></h3>
		<!-- /wp:heading -->

		<!-- wp:group {"className":"teal-bullet-list","layout":{"type":"default"}} -->
		<div class="wp-block-group teal-bullet-list">
			<?php
			$philosophy_raw = get_theme_mod( 'technicalistic_creative_philosophy_items', "Exploring the intersection of traditional craft and contemporary expression\nWorking with physical materials and digital tools\nChallenging conventional boundaries and inviting deeper engagement\nCommitment to technical excellence and conceptual depth" );
			$philosophy_items = array_filter( array_map( 'trim', explode( "\n", $philosophy_raw ) ) );
			foreach ( $philosophy_items as $item ) :
			?>
			<!-- wp:paragraph {"textColor":"slate-200"} -->
			<p class="has-slate-200-color has-text-color"><?php echo esc_html( $item ); ?></p>
			<!-- /wp:paragraph -->
			<?php endforeach; ?>
		</div>
		<!-- /wp:group -->

	</div>
	<!-- /wp:group -->
	<?php endif; ?>

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