/* Estilização da Navbar */
.navbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	background-color: #f8fafc;
	height: 80px;
	margin: auto; display: flex; align-items: center; justify-content: space-between;
}

.wrapper-nav-home{
	display: flex; gap: 30px; margin-right: 10px;
}

.navbar-fixed {
    position: fixed;
	height: 80px;
    top: 0;
    width: 100vw;
    z-index: 1000;
    background-color: #f8fafc;
}


/* Ícone do Menu */
.navbar .menu-icon {
	background-color: white;
	border-radius: 50%;
	padding: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	box-shadow: 0 0 6px rgba(0, 0, 0, 0.1);
	cursor: pointer;
}

/* Logo */
.logo-navbar {
	object-fit: contain; /* Garante que a imagem não seja cortada */
	margin: 0;
	max-width: 130px;
}

/* Barra de Pesquisa */
.navbar .search-container {
	display: flex;
	align-items: center;
	background: white;
	border-radius: 30px;
	width: 60%;
	border: 1px solid #AFBACC;
	padding: 0 20px;
	height: 48px;
	width: 730px;
}

.navbar .search-container input {
	border: none;
	outline: none;
	flex: 1;
	padding: 8px;
	font-size: 14px;
	color: #707A8B;
	background: white;
	border-radius: 90px;
}

.navbar .search-container button {
	background: transparent;
	border: none;
	cursor: pointer;
	color: #006D77;
	font-size: 18px;
	margin-left: 8px;
	display: flex;
	align-items: center;
}

/* Idioma e Contraste */
.navbar .options {
	display: flex;
	align-items: center;
	gap: 15px;
}

.navbar .options button {
	background: transparent;
	border: none;
	cursor: pointer;
	color: #006D77;
	font-size: 14px;
	display: flex;
	align-items: center;
	gap: 5px;
}



/* Botão de Login */
.login-btn {
	height: 40px;
	background-color: white;
	text-decoration: none;
	background: white;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0px 15px;
	border: 1px solid #007D7A;
	border-radius: 30px;
	color: #007D7A;
	font-weight: medium;
	cursor: pointer;
	gap: 5px;
}

.fa-circle-user:hover {
	color: white;
}

.navbar .login-btn:hover {
	background: #006D77;
	color: white;
}




/* MENU DE LINKS */


/* Container do menu */
.menu-container {
	position: relative;
	display: flex;
	align-items: center;
}

/* Ícone do menu */
.menu-icon {
	background-color: white;
	border-radius: 50%;
	padding: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	box-shadow: 0 0 6px rgba(0, 0, 0, 0.1);
	cursor: pointer;
	border: none;
	outline: none;
}

/* Dropdown do menu */
.menu-dropdown_nav {
	position: absolute;
	top: 50px;
	left: 0;
	background-color: #025257;
	color: white;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	border-radius: 0px;
	width: 340px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-10px);
	transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
	z-index: 100000;
	overflow: hidden;
}

/* Tornar visível quando ativo */
.menu-dropdown_nav.dropdown-active {
	background-color: #025257;
	color: white;
	opacity: 1 !important;
	visibility: visible !important;
	transform: translateY(0);
	display: flex !important;
	flex-direction: column;
}

/* Links dentro do menu */
.menu-dropdown_nav .nav-link {
	text-decoration: none;
	color: white;
	font-weight: medium;
	padding: 12px 24px;
	border-radius: 8px;
	transition: background 0.3s ease, color 0.3s ease;
	display: block;
	margin: 0;
}

.menu-dropdown .nav-link:hover {
	border-radius: 0px;
	background: #024248;
	color: white;
}

@media (max-width: 768px) {
    .navbar {
        height: 110px; 
        position: fixed;
        flex-wrap: wrap;
        padding: 8px 12px;
		align-content: flex-start;
		max-width: 100vw;
		z-index: 10000;
    }

	.mobile-ss{
		width: 390px;
	}

	.mobile-ss {
		margin: 0;
	}

    /* Top row elements */
    .menu-container, .logo-navbar, .options {
        margin-top: 5px;
    }

    /* Make logo smaller */
    .logo-navbar {
        width: 80px;
        height: auto;
    }

    /* Make menu icon smaller */
    .navbar .menu-icon {
        width: 32px;
        height: 32px;
        padding: 6px;
    }
    
    .navbar .menu-icon .material-icons {
        font-size: 20px;
    }

    /* Adjust options spacing */
    .navbar .options {
        gap: 13px;
    }
    
    /* Make login button smaller */
    .navbar .login-btn {
		height: 40px;
        padding: 5px 10px;
        font-size: 12px;
    }
    
    .navbar .login-btn .material-icons {
        font-size: 16px;
    }
    
    /* Make option buttons smaller */
    .navbar .options button {
        font-size: 12px;
    }
    
    .navbar .options button .material-icons {
        font-size: 16px;
    }

    /* Search bar positioning */
    .navbar .search-container {
		display: none;
        position: absolute;
        bottom: 8px;
        width: 390px;
		max-width: 93%;
		height: 35px;
        margin: auto;
        padding: 4px 10px;
    }
    
    .navbar .search-container input {
        padding: 6px;
        font-size: 13px;
    }
    
    .navbar .search-container button {
        margin-left: 5px;
    }
    
    .navbar .search-container button .material-icons {
        font-size: 18px;
    }
}

/* For very small screens */
@media (max-width: 480px) {
    
    .logo-navbar {
        width: 110px;
    }
    
    .navbar .options button:not(.login-btn) {
        padding: 0;
    }

    
    .navbar .login-btn {
        padding: 5px;
        width: 82px;
        height: 20px;
        justify-content: center;
		height: 40px;
    }
}
