<?php
/**
 * The template for displaying the footer
 *
 * Contains the closing of the #content div and all content after.
 *
 * @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
 *
 * @package Lusy_Photography_Portfolio
 */

?>
  <?php 
  $footer_logo = get_theme_mod( 'footer_logo_img', get_template_directory_uri() . '/assets/images/logo-light.png' ); 
  $footer_bg_img = get_theme_mod( 'footer_bg_img', get_template_directory_uri() . '/assets/images/default-bg.jpg' );  
  ?>
  <footer id="footer-section" class="footer footer-bg" style="background: url('<?php echo esc_url( $footer_bg_img ); ?>') top center; background-size: cover; background-blend-mode:multiply;  background-color: rgba(243, 55, 196, 0.12); ">
    
     <div class="top-fade"></div>
    <div class="left-fade"></div>

        <div class="container">
            <!-- display text -->
             <div class="title-logo posotion-relative"><img src="<?php echo esc_url( $footer_logo ); ?>" class="logo-row" alt=""></div>
                   
                    <div ><div class="textwidget custom-html-widget"><div class="footer-cotact-info ">
              <?php $footer_adress = get_theme_mod( 'lusy_footer_adress', '<span>address: </span> Beverly Hills, Los Angeles CA, USA' ); ?>
            <?php $footer_phone = get_theme_mod( 'lusy_footer_phone', '<span>phone: </span> +(123) 456 789' ); ?>
            <?php $footer_email = get_theme_mod( 'lusy_footer_email', sprintf( __( '<span>e-mail: </span>%s', 'lusy-photography-portfolio' ), 'info@thedomain.com' ) ); ?>
                        <p><?php echo wp_kses_post( $footer_adress ); ?></p>
                        <p><?php echo wp_kses_post( $footer_phone ); ?></p>
                        <p><?php echo wp_kses_post( $footer_email ); ?></p>
               </div>
            <div class="line"></div> 
              <?php do_action( 'lusy_social' ); ?>
                </div></div>        
        </div>
     <div class="copyright">
    <?php
    $lusy_copyright = get_theme_mod('lusy_copyright', sprintf( __('2025 - <span>%s</span> ALL RIGHTS RESERVED.', 'lusy-photography-portfolio'), get_bloginfo('name')));
    ?>
    <p>
    <?php echo wp_kses_post( $lusy_copyright ); ?> | 
    <a href="https://pixelonetry.com/downloads/lusy-photography-portfolio-wordpress-theme/">
        <span><?php echo esc_html__('Lusy Photography Portfolio', 'lusy-photography-portfolio'); ?></span>
    </a>
    | 
    <a href="<?php echo esc_url( __( 'https://wordpress.org/', 'lusy-photography-portfolio' ) ); ?>">
        <span>
            <?php
            /* translators: %s: CMS name, i.e. WordPress. */
            printf( esc_html__( 'PROUDLY POWERED BY %s', 'lusy-photography-portfolio' ), 'WORDPRESS' );
            ?>
        </span>
    </a>
</p>

</div>
    </footer>

<?php wp_footer(); ?>
</body>
</html>
