/* ===================================================
   kq-header.css – Header, Logo, Navigation, Mobile Menu
   =================================================== */

/* ── Header – Desktop ── */
.header-main {
	height: 50px;
}

.header-main .nav > li > a {
	line-height: 16px;
}

/* Sticky header */
.header.show-on-scroll,
.stuck .header-main {
	height: 70px !important;
}

.stuck .header-main .nav > li > a {
	line-height: 50px;
}

/* ── Logo ── */
#logo {
	width: auto;
	max-width: 140px;
}

#logo a {
	display: flex;
	align-items: center;
}

#logo img {
	max-height: 50px;
}

.stuck #logo img {
	max-height: 70px !important;
}

/* Override sticky logo on mobile */
@media only screen and (max-width: 48em) {
	.stuck #logo img {
		max-height: 50px !important;
	}
}

/* ── Header alignment ── */
.header-inner {
	align-items: center;
}

/* ── Nav Dropdown ── */
.nav-dropdown {
	border-radius: 5px;
	font-size: 100%;
}

.nav-dropdown-has-arrow li.has-dropdown:after {
	border-bottom-color: #2d6e36;
}

.nav .nav-dropdown {
	background-color: #2d6e36;
}

/* ── Header – Tablet (550–849px) ── */
@media (min-width: 550px) and (max-width: 849px) {
	.header-main {
		height: 60px;
	}

	#logo img {
		max-height: 50px;
	}
}

/* ── Header – Mobile (<550px) ── */
@media (max-width: 549px) {
	.header-main {
		height: 70px;
	}

	#logo img {
		max-height: 50px;
	}
}

/* ── Full-screen Mobile Menu ── */
#fullScreenMenu {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	background-color: #fff;
	z-index: 9999;
	padding: 30px 20px;
	box-sizing: border-box;
	animation: fadeIn 0.3s ease-in-out;
}

#fullScreenMenu .close-btn {
	position: absolute;
	top: 20px;
	right: 25px;
	font-size: 28px;
	font-weight: bold;
	color: #333;
	cursor: pointer;
}

#fullScreenMenu ul {
	list-style: none;
	padding: 0;
	text-align: center;
}

#fullScreenMenu li {
	margin: 20px 0;
}

#fullScreenMenu a {
	font-size: 22px;
	text-decoration: none;
	color: #2d6e36;
}

@keyframes fadeIn {
	from { opacity: 0; }
	to   { opacity: 1; }
}

@media (max-width: 600px) {
	#fullScreenMenu a {
		font-size: 20px;
	}
}
