/* Site header: logo, contact button, and the drawer menu on inner pages. */

.danel-site-header {
	height: 1px;
}

.danel-header-floating-bar {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	width: 100%;
	max-width: none;
	z-index: 999;
	background-color: #ffffff;
	border-bottom: none;
	border-radius: 0;
	box-shadow: none;
	padding: 16px 40px;
	box-sizing: border-box;
	direction: rtl;
}

.danel-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	max-width: 1400px;
	margin: 0 auto;
	box-sizing: border-box;
}

.danel-header-right {
	display: flex;
	align-items: center;
	flex-shrink: 0;
}

.danel-header-logo-link {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
	outline: none;
}

.danel-header-logo-link img {
	height: 46px;
	width: auto;
	max-width: 200px;
	display: block;
	object-fit: contain;
}

.danel-header-left {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 18px;
	flex-shrink: 0;
}

.danel-header-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background-color: #ffffff;
	color: #000000 !important;
	font-size: var(--danel-fs-small);
	font-weight: 500;
	padding: 10px 22px;
	border-radius: 0;
	text-decoration: none;
	transition: border-color 0.2s ease;
	white-space: nowrap;
	border: 1px solid var(--danel-border);
}

.danel-header-btn:hover {
	background-color: #ffffff;
	color: #000000 !important;
	border-color: #000000;
}

.danel-header-btn-mobile {
	display: none;
}

.danel-header-btn-desktop {
	display: inline;
}

button.danel-header-hamburger,
.danel-header-hamburger {
	all: unset !important;
	display: inline-flex !important;
	background: transparent !important;
	background-color: transparent !important;
	border: none !important;
	outline: none !important;
	box-shadow: none !important;
	cursor: pointer !important;
	padding: 5px !important;
	color: #000000 !important;
	align-items: center !important;
	justify-content: center !important;
	text-decoration: none !important;
	transition: opacity 0.2s ease !important;
	box-sizing: border-box !important;
	-webkit-tap-highlight-color: transparent !important;
}

button.danel-header-hamburger:hover,
button.danel-header-hamburger:focus,
button.danel-header-hamburger:active,
.danel-header-hamburger:hover {
	all: unset !important;
	display: inline-flex !important;
	background: transparent !important;
	background-color: transparent !important;
	border: none !important;
	outline: none !important;
	box-shadow: none !important;
	cursor: pointer !important;
	padding: 5px !important;
	color: #000000 !important;
	align-items: center !important;
	justify-content: center !important;
	opacity: 0.5 !important;
	box-sizing: border-box !important;
}

.danel-header-hamburger svg {
	width: 26px;
	height: 26px;
	stroke: currentColor;
	fill: none;
	stroke-width: 2;
	stroke-linecap: square;
	stroke-linejoin: miter;
	display: block;
}

.danel-drawer-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.4);
	z-index: 99998;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}

.danel-drawer-overlay.active {
	opacity: 1;
	visibility: visible;
}

.danel-drawer {
	position: fixed;
	top: 0;
	left: 0;
	width: 380px;
	max-width: 85%;
	height: 100%;
	background-color: #ffffff;
	z-index: 99999;
	transform: translateX(-100%);
	transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	direction: rtl;
	display: flex;
	flex-direction: column;
	padding: 32px 28px;
	box-sizing: border-box;
	box-shadow: 4px 0 24px rgba(0, 0, 0, 0.08);
}

.danel-drawer.active {
	transform: translateX(0);
}

.danel-drawer-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 40px;
}

.danel-drawer-title {
	font-size: var(--danel-fs-body);
	font-weight: 600;
	color: var(--danel-text-faint);
}

button.danel-drawer-close,
.danel-drawer-close {
	all: unset !important;
	cursor: pointer !important;
	padding: 6px !important;
	color: #000000 !important;
	background: transparent !important;
	background-color: transparent !important;
	border: none !important;
	outline: none !important;
	box-shadow: none !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	box-sizing: border-box !important;
	-webkit-tap-highlight-color: transparent !important;
}

button.danel-drawer-close:hover,
button.danel-drawer-close:focus,
button.danel-drawer-close:active,
.danel-drawer-close:hover,
.danel-drawer-close:focus,
.danel-drawer-close:active {
	all: unset !important;
	cursor: pointer !important;
	padding: 6px !important;
	color: #000000 !important;
	background: transparent !important;
	background-color: transparent !important;
	border: none !important;
	outline: none !important;
	box-shadow: none !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	box-sizing: border-box !important;
}

.danel-drawer-close svg {
	width: 24px;
	height: 24px;
	stroke: currentColor;
	fill: none;
	stroke-width: 2;
	stroke-linecap: square;
	stroke-linejoin: miter;
	display: block;
}

.danel-drawer-nav {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 22px;
}

.danel-drawer-nav li a {
	font-size: var(--danel-fs-card);
	font-weight: 500;
	color: #111111;
	text-decoration: none;
	transition: color 0.2s ease;
	display: block;
}

.danel-drawer-nav li a:hover {
	color: var(--danel-text-soft);
}

.danel-drawer-bottom {
	margin-top: auto;
	padding-top: 24px;
	border-top: 1px solid var(--danel-border);
}

.danel-drawer-home-link {
	font-size: var(--danel-fs-body);
	color: var(--danel-text-soft);
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	transition: color 0.2s ease;
}

.danel-drawer-home-link:hover {
	color: #000000;
}

@media screen and (max-width: 1024px) {

	.danel-header-floating-bar {
		padding: 12px 20px;
	}

	.danel-header-btn-desktop {
		display: none !important;
	}

	.danel-header-logo-link img {
		height: 36px;
		max-height: 36px;
		max-width: 150px;
	}

	.danel-header-left {
		gap: 12px;
	}

	.danel-header-btn {
		display: inline-flex !important;
		padding: 8px 16px;
		font-size: var(--danel-fs-label);
	}

	.danel-header-btn-mobile {
		display: inline !important;
	}

	.danel-header-hamburger {
		padding: 3px !important;
	}

	.danel-header-hamburger svg {
		width: 24px;
		height: 24px;
	}

}
