/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
*/

/* ======================== */
/*         GLOBALE          */
/* ======================== */
#site-header {
	display: none;
}

/* ======================== */
/*     MENU PRINCIPALE      */
/* ======================== */
#master-menu,
#mobile-menu-custom {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  opacity: 0;
  transform: translateY(-100%);
  transition: all 0.3s ease;
}

#master-menu.visible,
#mobile-menu-custom.visible {
  opacity: 1;
  transform: translateY(0);
}

#mobile-menu-custom.elementor-nav-menu--dropdown {
  opacity: 1 !important;
  transform: none !important;
} /* Permetti a Elementor di aprire le voci del menu mobile */


li .separatore-menu a:hover {
  color: #313131;
}


/* ===================== */
/*     HOME PAGE         */
/* ===================== */
#headline {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80px;         /* spazio fisso per evitare salti */
    opacity: 0;
    transition: opacity 1s ease-in-out; 
    color: #ffffff;
    font-size: 70px;          /* più grande su desktop */
    font-weight: 800;
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
    text-align: center;
    margin: 0 auto;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}
#headline.show {
    opacity: 1;
}

/* ======================== */
/*   PAGINA PROGETTAZIONE   */
/* ======================== */
.custom-weight-h1 {
	font-weight: 300;
}

/* ======================== */
/*   PAGINA SANIFICAZIONE   */
/* ======================== */
.airlightpro-h2 {
	font-size: 50px;
	font-weight: 800;
}

/* =================== */
/*  Responsive Mobile  */
/* =================== */
@media (max-width: 768px) {
  #headline {
    font-size: 36px;   /* più grande rispetto a prima */
    line-height: 1.3;
    padding: 0 10px;
    min-height: 60px;  /* mantiene altezza costante */
  }
}

@media (max-width: 480px) {
  #headline {
    font-size: 28px;   /* leggibile su smartphone */
    min-height: 50px; 
    line-height: 1.3;
  }
  .airlightpro-h2 {
	font-size: 32px;
	font-weight: 800;
  }
}
