/* =====================================================
   HEADER FISSO - ComputoGreen
   ===================================================== */

.header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	padding: 1rem 3rem;
	background: rgba(255, 255, 255, 0.98);
	backdrop-filter: blur(10px);
	box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	z-index: 1000;
	border-bottom: 1px solid rgba(40, 167, 69, 0.1);
}

/* Logo e branding */
.header img {
	width: 55px;
	height: auto;
	filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.12));
	transition: transform 0.3s ease;
}

.header img:hover {
	transform: scale(1.05);
}

.header h1 {
	font-size: 1.4rem;
	color: #1a202c;
	margin: 0;
	font-weight: 600;
	letter-spacing: -0.02em;
}

/* Navigazione */
nav {
	margin-left: auto;
}

nav ul {
	display: flex;
	gap: 2rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

nav a {
	position: relative;
	color: #4a5568;
	text-decoration: none;
	font-weight: 500;
	font-size: 0.95rem;
	padding: 0.5rem 0;
	transition: color 0.3s ease;
}

nav a:hover {
	color: #28a745;
}

nav a::after {
	content: '';
	position: absolute;
	bottom: -2px;
	left: 0;
	width: 0;
	height: 2px;
	background: #28a745;
	transition: width 0.3s ease;
}

nav a:hover::after,
nav a.active::after {
	width: 100%;
}

nav a.active {
	color: #28a745;
}

/* Responsive */
@media (max-width: 768px) {
	.header {
		padding: 1rem 1.5rem;
		gap: 1rem;
	}
	
	.header img {
		width: 45px;
	}
	
	.header h1 {
		font-size: 1.2rem;
	}
	
	nav ul {
		gap: 1rem;
	}
	
	nav a {
		font-size: 0.85rem;
	}
}

