<?php
/**
 * 404 error template.
 *
 * @package BASCO_UAE
 */

get_header(); ?>

<?php
if ( function_exists( 'elementor_theme_do_location' ) && elementor_theme_do_location( 'single' ) ) :
	// Elementor rendered the 404 (via its 404 template).
else :
?>

<header class="page-header">
	<div class="container">
		<h1>404</h1>
		<p style="color:rgba(255,255,255,.85);"><?php esc_html_e( 'The page you’re looking for couldn’t be found.', 'basco-uae' ); ?></p>
	</div>
</header>

<main id="content" class="content-wrap" style="text-align:center;">
	<div class="container">
		<p><?php esc_html_e( 'It may have been moved or deleted. Try the homepage, or search for what you need.', 'basco-uae' ); ?></p>
		<div style="margin:2rem 0;max-width:480px;margin-left:auto;margin-right:auto;">
			<?php get_search_form(); ?>
		</div>
		<a href="<?php echo esc_url( home_url( '/' ) ); ?>" class="btn btn-primary"><?php esc_html_e( 'Return Home', 'basco-uae' ); ?></a>
	</div>
</main>

<?php endif; // End Elementor 404 location check. ?>

<?php get_footer(); ?>
