/* Navigation - Liquid Glass / Glassmorphism Effect */
nav {
	position: fixed;
	top: 0rem;
	left: 0rem;
	right: 0rem;
	z-index: 1100;
	/* Liquid Glass: Semi-transparent background */
	background: rgba(24, 24, 24, 0);
	/* Frosted glass effect through backdrop blur */
	backdrop-filter: var(--backdrop-blur-lg);
	-webkit-backdrop-filter: var(--backdrop-blur-lg);
	border-radius: 0px;
	padding: 1rem 2rem;
	transition: all 0.3s ease;
	/* Liquid Glass: Subtle glow and shadow */
	box-shadow: 
		0 8px 32px rgba(0, 0, 0, 0.2),
		inset 0 1px 2px rgba(255, 255, 255, 0.05);
	/* Liquid Glass: Subtle inner and outer border for depth */
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	border-top: 1px solid rgba(255, 255, 255, 0.03);
	height: 7rem;
	display: flex;
	align-items: center;
	/* Enhance liquid effect */
	will-change: backdrop-filter;
}

.container {
	max-width: 1400px;
	margin: 0 auto;
	padding: 0;
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	height: 100%;
	padding-left: 2rem;
}

.logo {
	height: 2.5rem;
	color: var(--nav-text);
	display: flex;
	align-items: center;
}

.logo:hover {
	color: var(--nav-text-hover);
}

.nav-links {
	display: flex;
	list-style: none;
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
}

.nav-links a {
	color: var(--nav-text);
	text-decoration: none;
	font-weight: 400;
	font-size: 0.95rem;
	transition: all 0.5s ease;
	letter-spacing: 0.3px;
	padding: 0.5rem 1rem;
	border-radius: 2rem;
	position: relative;
	/* Liquid Glass hover effect */
	background: rgba(255, 255, 255, 0);
}

.nav-links a:hover {
	
	/* Liquid Glass: Subtle glass highlight on hover */
	background: rgba(255, 255, 255, 0.07);
	backdrop-filter: blur(2px);
	-webkit-backdrop-filter: blur(2px);
	transition: all 0.5s ease;
}

:root {
	--nav-magnify-effect-strength: .12rem;
	--nav-magnify-text-grow-strength: .7rem;
	--nav-text-size: 0.95rem;
}

.nav-links li {
	--dist: 999;
	/* default = far away */
	padding-left: calc(1rem + var(--nav-magnify-effect-strength) * max(0, 1 - (var(--dist) * 0.4)));
	padding-right: calc(var(--nav-magnify-effect-strength) * max(0, 1 - (var(--dist) * 0.4)));

	transform: scale(var(--scale));

	transition: .5s ease;
}



/* Footer */
footer {
	background: var(--footer-bg);
	backdrop-filter: var(--backdrop-blur-lg);
	-webkit-backdrop-filter: var(--backdrop-blur-lg);
	border-top: 1px solid var(--color-border-light);
	border-radius: 0px;
	padding: 4rem 0 2rem;
	position: relative;
	overflow: hidden;
}

.footer-content {
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 2rem;
	text-align: left;
}

.footer-main {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 3rem;
	margin-bottom: 3rem;
}

.footer-section h3, h4 {
	font-size: 1.1rem;
	font-weight: 550;
	margin-bottom: -0.5rem;
	color: var(--color-primary);
	letter-spacing: 0.5px;
	text-align: left;
}

.footer-section p,
.footer-section a {
	color: var(--footer-text);
	text-decoration: none;
	font-size: 0.9rem;
	line-height: 1.6;
	margin-bottom: 0.5rem;
	display: block;
	transition: color 0.3s ease;
	text-align: left;
}

.footer-section a:hover {
	color: var(--footer-text-hover);
}

.footer-contact {
	background: var(--color-overlay-md);
	border: 1px solid var(--color-border-light);
	border-radius: 12px;
	padding: 2rem;
	backdrop-filter: var(--backdrop-blur);
	-webkit-backdrop-filter: var(--backdrop-blur);
}

.footer-bottom {
	padding-top: 2rem;
	border-top: 1px solid var(--color-border-light);
	display: flex;
	justify-content: space-between;
	align-items: center;
	color: var(--color-tertiary);
	font-size: 0.85rem;
	gap: 2rem;
	flex-wrap: wrap;
}

.footer-social {
	display: flex;
	gap: 1rem;
}

.footer-social a {
	color: var(--color-tertiary);
	text-decoration: none;
	padding: 0.5rem;
	border-radius: 6px;
	background: var(--color-overlay-xs);
	border: 1px solid var(--color-border-light);
	transition: all 0.3s ease;
	backdrop-filter: var(--backdrop-blur);
	-webkit-backdrop-filter: var(--backdrop-blur);
	position: relative;
	overflow: hidden;
	display: flex;
	align-items: center;
	aspect-ratio: 1/1;
}

.footer-social a:hover {
	color: var(--footer-text-hover);
	background: var(--color-overlay-sm);
	border-color: var(--color-border-medium);
}

.footer-social a .mouse-glow {
	position: absolute;
	width: 120px;
	height: 120px;
	background: radial-gradient(circle,
			rgba(255, 255, 255, 0.12) 0%,
			rgba(255, 255, 255, 0.04) 40%,
			transparent 70%);
	border-radius: 50%;
	pointer-events: none;
	transform: translate(-50%, -50%);
	opacity: 0;
	transition: opacity 0.3s ease-out;
	filter: blur(30px);
}

.footer-logo {
	width: auto;
	height: 35px;
	margin-bottom: 1rem;
}



.ahrtal {
    height: 8rem;
    z-index: 1234;
    position: fixed;
    margin-left: 90%;
    top: 0rem;
}

@media (max-width: 768px) {
	nav {
		padding: 0.8rem 1rem;
		height: auto;
		min-height: 4rem;
	}

	.container {
		padding-left: 1rem;
		gap: 1rem;
	}

	.logo {
		height: 2rem;
		flex-shrink: 0;
	}

	.nav-links {
		display: none;
	}

	.nav-links.open {
		display: flex;
		flex-direction: column;
		position: fixed;
		top: 4rem;
		left: 0;
		right: 0;
		background: rgba(24, 24, 24, 0.95);
		backdrop-filter: var(--backdrop-blur-lg);
		-webkit-backdrop-filter: var(--backdrop-blur-lg);
		border-bottom: 1px solid rgba(255, 255, 255, 0.1);
		padding: 1rem 0;
		z-index: 1099;
		width: 100%;
		gap: 0;
	}

	.nav-links li {
		padding: 0 !important;
		--scale: 1 !important;
	}

	.nav-links a {
		display: block;
		padding: 1rem 1.5rem !important;
		border-radius: 0 !important;
		font-size: 0.9rem;
	}

	.nav-links a:hover {
		background: rgba(255, 255, 255, 0.1);
	}

	.menu-toggle {
		display: flex;
		flex-direction: column;
		gap: 0.4rem;
		background: none;
		border: none;
		cursor: pointer;
		padding: 0.5rem;
		z-index: 1100;
	}

	.menu-toggle span {
		display: block;
		width: 24px;
		height: 2px;
		background: var(--nav-text);
		transition: all 0.3s ease;
		border-radius: 2px;
	}

	.menu-toggle.active span:nth-child(1) {
		transform: rotate(45deg) translate(8px, 8px);
	}

	.menu-toggle.active span:nth-child(2) {
		opacity: 0;
	}

	.menu-toggle.active span:nth-child(3) {
		transform: rotate(-45deg) translate(7px, -7px);
	}

	.ahrtal {
		display: none;
	}

	footer {
		padding: 1rem 0 1.5rem;
	}

	.footer-content {
		padding: 0 1.5rem;
	}

	.footer-main {
		grid-template-columns: 1fr;
		gap: 1.5rem;
		margin-bottom: 1.5rem;
	}

	.footer-logo {
		display: none;
	}

	.footer-section h3 {
		font-size: 1rem;
		margin-bottom: 1rem;
	}

	.footer-section p,
	.footer-section a {
		font-size: 0.85rem;
		margin-bottom: 0.4rem;
	}

	.footer-contact {
		padding: 1.5rem;
	}

	.footer-bottom {
		flex-direction: column;
		gap: 1rem;
		padding-top: 1.5rem;
		text-align: center;
		font-size: 0.8rem;
	}

	.footer-social {
		justify-content: center;
		gap: 0.8rem;
	}

	.footer-social a {
		padding: 0.4rem;
		font-size: 0.8rem;
	}

	.footer_logo {
		height: 28px;
	}
}