/* header.css - v1.0 */

.navbar {
	height: 100px;
	padding: 10px 0;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	background: rgba(10, 10, 10, 0.85);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	transition: height 1s ease, padding 1s ease, background 1s ease;
}

.navbar.scrolled {
	height: 50px;
	padding: 5px 0;
	background: rgba(10, 10, 10, 0.95);
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.navbar:hover {
	height: 100px !important;
	padding: 10px 0 !important;
	transition: height 0.5s ease, padding 0.5s ease;
}


.nav-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: 80px;
	transition: height 1s ease, padding 1s ease;
}

.navbar.scrolled .nav-container {
	height: 40px;
}

.navbar:hover .nav-container {
	height: 80px !important;
}


.nav-logo-container {
	display: flex;
	align-items: center;
}


.nav-logo img {
	height: 76px;
	width: 100px;
	display: block;
	filter: drop-shadow(0 4px 8px rgba(16, 185, 129, 0.3));
	transition: height 1s ease, width 1s ease;
}

.navbar.scrolled .nav-logo img {
	height: 38px;
	width: 50px;
}

.navbar:hover .nav-logo img {
	height: 76px !important;
	width: 100px !important;
}


.logo-text {
	font-family: var(--font-brand);
	font-weight: var(--weight-bold);
	font-size: 24px;
	margin-left: 12px;
	background: linear-gradient(135deg, var(--primary-green-start), var(--primary-green-end));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	display: inline-block;
	vertical-align: middle;
	transition: all 1s ease;
}

.navbar.scrolled .logo-text {
	font-size: 18px;
	margin-left: 8px;
}

.navbar:hover .logo-text {
	font-size: 24px !important;
	margin-left: 12px !important;
}


.nav-menu {
	display: flex;
	list-style: none;
	gap: 32px;
	align-items: center;
}

.nav-item {
	position: relative;
}

.nav-link {
	font-family: var(--font-body);
	font-weight: var(--weight-medium);
	font-size: 15px;
	color: var(--gray-lightest);
	text-decoration: none;
	transition: all 0.2s ease;
	display: flex;
	align-items: center;
	gap: 6px;
}

.nav-link:hover,
.nav-link.active {
	color: var(--primary-green-mid);
}

.navbar.scrolled .nav-link {
	font-size: 13px;
}

.navbar:hover .nav-link {
	font-size: 15px !important;
}

.navbar.scrolled .logo-text {
	font-size: 18px;
	margin-left: 8px;
}

.nav-logo-container {
	display: flex;
	align-items: center;
}


.nav-link.nav-cta {
	padding: 10px 24px;
	background: linear-gradient(135deg, var(--primary-green-start), var(--primary-green-mid));
	border-radius: 50px;
	color: white;
	font-weight: var(--weight-semibold);
	transition: all 0.2s ease;
}

.navbar.scrolled .nav-link.nav-cta {
	padding: 6px 24px;
}

.navbar:hover .nav-link.nav-cta {
	padding: 10px 24px !important;
}

.nav-link.nav-cta:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}


a.nav-logo {
	text-decoration: none !important;
}


.dropdown-arrow {
	font-size: 10px;
	transition: transform 0.2s ease;
}

.nav-dropdown:hover .dropdown-arrow {
	transform: rotate(180deg);
}

.dropdown-menu {
	position: absolute;
	top: calc(100% + 12px);
	left: 0;
	background: rgba(26, 26, 26, 0.95);
	backdrop-filter: blur(12px);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 12px;
	padding: 12px 0;
	min-width: 220px;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-10px);
	transition: all 0.3s ease;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
	list-style: none;
	z-index: 1001;
}

.nav-dropdown:hover .dropdown-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.dropdown-menu li {
	margin: 0;
}

.dropdown-menu a {
	display: block;
	padding: 12px 20px;
	color: var(--gray-light);
	text-decoration: none;
	font-size: 14px;
	transition: all 0.2s ease;
}

.dropdown-menu a:hover {
	background: rgba(16, 185, 129, 0.1);
	color: var(--primary-green-mid);
	padding-left: 24px;
}


.hamburger {
	display: none;
	background: none;
	border: none;
	cursor: pointer;
	padding: 14px;
	margin-left: 10px;
	position: relative;
	z-index: 1002;
	width: 40px;
	height: 40px;
	justify-content: center;
	align-items: center;
}

.hamburger-line {
	width: 24px;
	height: 2px;
	background: var(--primary-green-mid);
	border-radius: 2px;
	transition: all 0.3s ease;
	position: absolute;
}

.hamburger-line:nth-child(1) {
	transform: translateY(-8px);
}

.hamburger-line:nth-child(3) {
	transform: translateY(8px);
}

.hamburger.active .hamburger-line:nth-child(1) {
	transform: rotate(45deg);
	height: 3px;
}

.hamburger.active .hamburger-line:nth-child(2) {
	opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
	transform: rotate(-45deg);
	height: 3px;
}


@media (max-width: 768px) {
	.hamburger {
		display: flex;
	}

	.nav-container {
		padding: 0 16px;
	}

	
	.navbar .nav-container {
		justify-content: space-between;
	}

	
	.nav-logo-container {
		margin-right: auto;
	}

	.nav-menu {
		position: fixed;
		top: 100px;
		left: 20px;
		right: 0;
		width: 90%;
		background: rgba(10, 10, 10, 0.9);
		backdrop-filter: blur(12px);
		flex-direction: column;
		gap: 5px;
		padding: 10px 10px 10px 20px;
		border-bottom: 1px solid rgba(255, 255, 255, 0.1);
		max-height: calc(100vh - 76px);
		overflow-y: auto;
		opacity: 0;
		align-items: stretch;
		visibility: hidden;
		transform: translateY(-20px);
		transition: all 0.3s ease;   
		z-index: 999;
	}

	.nav-menu.active {
		opacity: 1;
		visibility: visible;
		transform: translateY(0);
	}

	.nav-item {
		text-align: center;
	}

	.nav-dropdown .dropdown-menu {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		box-shadow: none;
		border: none;
		padding: 0;
		margin-top: 8px;
		background: rgba(26, 26, 26, 0.5);
	}
	
	.nav-link.nav-cta {
		width: 100%;
		justify-content: center;
		margin-top: 16px;
	}		

	.dropdown-menu {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		background: rgba(255, 255, 255, 0.05);
		margin-top: 12px;
		max-height: 0;
		overflow: hidden;
		transition: max-height 0.3s ease;
	}
	
	.nav-dropdown.active .dropdown-menu {
		max-height: 400px;
	}
}