/* 
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
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

.elementor-button {
    margin-top: 30px !important; 
}


/* Stile dell'icona hamburger */
.custom-hamburger-menu {
  cursor: pointer;
  z-index: 10001;
  position: relative;
  width: 40px;
  height: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.custom-hamburger-menu span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #00427F;
  transition: all 0.3s ease-in-out;
}

.custom-hamburger-menu .hamburger-icon {
	display: flex;
	flex-flow: column;
	gap: 6px;
}

/* Animazione dell'hamburger in "X" */
.custom-hamburger-menu.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.custom-hamburger-menu.active span:nth-child(2) {
  opacity: 0;
}

.custom-hamburger-menu.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Stile del menu a schermo intero (overlay) */
.fullscreen-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  z-index: 10000;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease-in-out;
}

.fullscreen-menu-overlay.open {
  opacity: 1;
  visibility: visible;
}

/* Struttura a due colonne */
.fullscreen-menu-content {
  display: flex;
  width: 100%;
  max-width: 1400px;
}

.menu-column {
  width: 50%;
  padding: 0 50px;
}

.left {
  text-align: left;
}

.main-menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.main-menu-list li {
  margin-bottom: 20px;
}

/* Stile per i link del menu */
.main-menu-list a {
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  font-size: 30px;
  line-height: 40px;
  color: #00427F;
  font-weight: 600;
}

/* Colore al passaggio del mouse (hover) */
.main-menu-list a:hover {
  color: #336899; 
}

/* Stile per le immagini */
.menu-column.right {
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.menu-image {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 100%;
  max-height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.menu-image.active {
  opacity: 1;
}