/* 
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 */

.ht-menu-sticky {
    position: fixed !important;
    top: 0 !important;
    left: 0;
    right: 0;
    z-index: 9999 !important;
    width: 100%;
    background: transparent;
    backdrop-filter: blur(0px);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: translateY(0) !important;
    opacity: 1 !important;
}

.ht-menu-sticky a {
	color: #fff;
}

.ht-menu-sticky a:hover {
	color: #C0A677;
}

/* Estado quando o menu está scrollado */
.ht-menu-sticky.scrolled {
    background: #003865;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    animation: menuFadeSlideDown 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

/* Estado quando o menu está no topo */
.ht-menu-sticky.at-top {
    background: transparent;
    backdrop-filter: blur(0px);
    box-shadow: none;
    animation: menuFadeUp 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

/* Animação de descida suave e elegante */
@keyframes menuFadeSlideDown {
    0% {
        transform: translateY(-30px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Animação de subida suave */
@keyframes menuFadeUp {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Estilo para o botão de contato quando sticky */
.ht-menu-sticky.scrolled .jet-button__instance {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.ht-menu-sticky.scrolled .jet-button__instance:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.30);
}

/* LOGO - ESTILOS PRINCIPAIS */
.ht-menu-sticky img { 
    width: 250px !important;
    height: auto;
    transform-origin: left center; /* Alinha à esquerda */
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: block; /* Remove espaços em branco */
}

/* Estado scrollado */
.ht-menu-sticky.scrolled img {
    width: 164px !important;
}

/* Estado no topo */
.ht-menu-sticky.at-top img {
    width: 250px !important;
}

/* Container da logo para garantir alinhamento */
.ht-menu-sticky .logo,
.ht-menu-sticky [class*="logo"] {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Alinha à esquerda */
}

.ht-menu-sticky.scrolled .jet-mega-menu-item:hover .jet-mega-menu-item__link::after {
    width: 100%;
}

/* Header Solid */
.hs-menu-sticky {
	position: fixed !important;
    top: 0 !important;
    left: 0;
    right: 0;
    z-index: 9999 !important;
    width: 100%;
}

.hs-menu-sticky a {
	color: #fff;
}

.hs-menu-sticky a:hover {
	color: #C0A677;
}

.hs-menu-sticky.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    animation: menuFadeSlideDown 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.hs-menu-sticky.at-top {
    box-shadow: none;
    animation: menuFadeUp 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

/* Botão estilo "Contato" */
.contact_button {
  background-color: #ffffff;
  color: #002C50;
  padding: 4px 10px;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.contact_button > .jet-mega-menu-item__inner {
	padding: 0px !important;
}

.contact_button:hover {
  background-color: #CFD1D0;
}

.contact_button .jet-mega-menu-item__label {
  color: #002C50;
  font-weight: 500;
}

/* Responsividade */
@media (max-width: 768px) {
	.ht-menu-sticky img {
    	width: 190px !important;
	}

	.ht-menu-sticky.scrolled img {
		width: 140px !important;
	}

	.ht-menu-sticky.at-top img {
		width: 190px !important;
	}
	
	.main-menu .jet-mega-menu-toggle {
		padding-right: 20px !important;
	}
	
	.main-menu nav {
		width: 100vw;
		height: 100vh;
		z-index: 99999;
	}
	
	.contact_button {
	  	background-color: transparent;
	  	padding: 0px;
		font-weight: normal;
		border: none;	  
	}

	.contact_button > .jet-mega-menu-item__inner {
		padding: 15px 25px !important;
	}

	.contact_button:hover {
	  background-color: transparent;
	}
	
	.contact_button a:hover {
	  color: #b89c6d;
	}
}

#hero-about-us {
  position: relative;
  overflow: hidden;
}

#hero-about-us .jet-video-player {
  position: relative;
  z-index: 2;
}

/* Adiciona a overlay */
#hero-about-us::after {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(0, 56, 101, 0.5);
  z-index: 3;
  pointer-events: none;
}

/* Faz os controles do vídeo ficarem acima da overlay */
#hero-about-us video::-webkit-media-controls,
#hero-about-us video::-moz-media-controls,
#hero-about-us video::media-controls {
  position: relative;
  z-index: 4;
}

