/* Header Component Styles */

/* Header */
.header {
	background: rgba(37, 37, 37, 0.97);
	padding: 0.75rem 5rem;
	position: fixed;
	width: 100%;
	z-index: 1000;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.hamburger {
	display: none;
	font-size: 26px;
	background: none;
	border: none;
	color: #fff;
	cursor: pointer;
}

.navbar {
	max-width: 1600px;
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
}

.nav-brand {
	display: flex;
	align-items: center;
	color: white;
	font-size: 1.25rem;
	font-weight: 600;
	gap: 0.5rem;
}

.logo {
	width: auto;
	height: 60px;
}

.nav-menu {
	display: flex;
	list-style: none;
	gap: 2.5rem;
	margin: 0;
	padding: 0;
}

.nav-menu a {
	color: #ffffff;
	text-decoration: none;
	font-size: 15px;
	font-style: semibold;
	font-weight: 400;
}

.nav-menu a:hover {
	color: white;
}

.nav-actions {
	display: flex;
	align-items: center;
	gap: 1.25rem;
}

.action-button {
	padding: 0.6rem 1.25rem;
	background: transparent;
	border: 0.7px solid rgba(255, 255, 255, 0.2);
	border-radius: 50px;
	font-weight: 700;
	color: #ffffff;
	display: flex;
	align-items: center;
	gap: 5px;
	min-height: 45px;
}

.lang-wrapper {
	position: relative;
	display: inline-block;
}

.popup {
	position: absolute;
	top: 145%;
	left: 0;
	background: white;
	box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.1);
	border-radius: 20px;
	padding: 30px 10px 30px 26px;
	z-index: 999;
	font-family: sans-serif;
}

.popup-content {
	width: 275px;
}

.popup h3 {
	margin: 0 0 30px;
	font-size: 19px;
	line-height: 16px;
	font-weight: 700;
}

.popup ul {
	max-height: 330px;
	overflow-y: auto;
	padding-right: 26px;
	margin: 0;
	list-style: none;
}

.popup ul li {
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-bottom: 1px solid #eee;
	font-size: 15px;
}

.popup ul li .country {
	font-weight: 700;
}

.popup ul li .language {
	font-weight: 500;
}

.popup ul li:has(input[type="radio"]:checked) {
	font-weight: 700;
}

.popup ul li:first-child {
	padding: 0 0 13px;
}

.popup ul li:last-child {
	padding: 13px 0 0;
	border-bottom: none;
}

.popup ul li:not(:first-child):not(:last-child) {
	padding: 13px 0;
}

.language-select .selected-language {
	background: transparent;
	color: white;
	border: none;
	font-size: 13px;
	font-weight: 700;
}

.language-select .selected-language:focus-visible {
	outline: none;
}

.call-btn {
	font-size: 14px;
}

.contact-btn {
	font-size: 16px;
	color: #000000;
	background: linear-gradient(to right, #797a7e 0%, #d2d2d2 100%);
}

.action-button:hover {
	background: linear-gradient(to right, #232323 -28%, #797a7e 100%);
}

/* Responsive Design for Header */
@media (max-width: 1024px) {
	.navbar {
		padding: 0 1.5rem;
	}

	.nav-menu {
		gap: 2rem;
	}

	.nav-menu a {
		font-size: 0.9rem;
	}
}

@media (max-width: 768px) {
	.logo {
		height: 40px;
	}
	.hamburger {
		/* display: block; */
		display: none;
	}

	.nav-menu {
		display: none;
		flex-direction: column;
		width: 100%;
		background-color: #262626;
		position: absolute;
		top: 60px; /* adjust as needed */
		left: 0;
		box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
		z-index: 99;
	}

	.nav-menu.active {
		display: flex;
	}

	.nav-actions {
		display: none;
	}

	.header {
		padding: 0.5rem 0;
	}

	.navbar {
		flex-direction: row;
		gap: 1rem;
		padding: 0 1rem;
	}

	.nav-menu li {
		margin: 0 auto;
	}

	.nav-menu a,
	.nav-menu a:hover {
		color: #fff;
	}

	.nav-actions {
		gap: 1rem;
	}

	.call-btn,
	.contact-btn {
		padding: 0.5rem 1rem;
		font-size: 0.85rem;
	}
}

@media (max-width: 480px) {
	.nav-actions {
		flex-direction: column;
		gap: 0.75rem;
		width: 100%;
	}

	.call-btn,
	.contact-btn {
		width: 100%;
		justify-content: center;
	}
}

@media (max-width: 768px) {
	.mobile-menu {
		list-style: none;
		padding: 0;
		margin: 0;
	}

	.mobile-menu li.menu-item-has-children > ul {
		display: none;
		padding-left: 15px;
	}

	.mobile-menu li.open > ul {
		display: block;
	}

	.submenu-toggle {
		background: none;
		border: none;
		font-size: 20px;
		cursor: pointer;
		float: right;
		margin-top: -28px;
		margin-right: 10px;
		color: #fff; /* or match your theme */
	}

	/* .mega-menu-link {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.submenu-toggle-icon {
    font-size: 20px;
    margin-left: auto;
    padding-left: 10px;
    transition: transform 0.3s ease;
} */
}
