<?php
/**
 * The template for displaying 404 pages (not found)
 *
 * @link https://codex.wordpress.org/Creating_an_Error_404_Page
 *
 * @package elina-lite-portfolio-gallery
 */

get_header();
?>
<?php $header_image_url = get_header_image(); // Retrieve the default header image

// If the header image is not set, use a fallback
if (!$header_image_url) {
	$header_image_url = get_template_directory_uri() . '/images/bg.jpg';
	// Default image URL
} ?>
	 <!-- Blog Heading -->
	 <div class="parallax-blog" data-overlay-dark="4" style="background-image: url(<?php echo esc_url($header_image_url); ?>);"> </div>
	<div id="primary" class="blog">
	<div class="inner-blog">
	<div class="container">        
            <div class="row">
                <div class="col-xl-9 col-lg-8">

		<section class="error-404 not-found">
				<h1 class="page-title"><?php esc_html_e( 'Oops! That page can&rsquo;t be found.', 'elina-lite-portfolio-gallery' ); ?></h1>
			<div class="page-content">
				<p><?php esc_html_e( 'It looks like nothing was found at this location. Maybe try one of the links below or a search?', 'elina-lite-portfolio-gallery' ); ?></p>

					<?php
					get_search_form();
					?>*/


			</div><!-- .page-content -->
		</section><!-- .error-404 -->

		</div>
<?php wp_reset_postdata(); ?>
<div class="col-xl-3 col-lg-4"><?php get_sidebar(); ?></div>

        </div> <!-- #end row -->
    </div> <!-- #end container -->
	</div><!-- #end inner blgo -->
</div><!-- #end blog -->

<?php get_footer();
