/* ================= HEADER – STELAR DARK ================= */

.kp-header {
	position: sticky;
	top: 0;
	z-index: 9999;

	/* BACKGROUND STARS */
	background-image:
		linear-gradient(
			135deg,
			rgba(30, 42, 56, 0.55),
			rgba(15, 22, 34, 0.65)
		),
		url('images/bg-stars.png');
	background-size: cover;
	background-position: center;
	background-repeat: repeat;

	box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}

/* CONTAINER */
.kp-header-inner {
	max-width: 1200px;
	margin: auto;
	padding: 14px 20px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

/* LOGO */
.kp-logo-wrap {
	display: flex;
	align-items: center;
	gap: 12px;
}

.kp-logo {
	font-size: 26px;
	font-weight: 800;
	letter-spacing: 1px;
	display: flex;
	align-items: center;
	color: #fff;
}

.kp-logo .text-cursive {
	color: #fff;
	font-family: 'Poppins', 'Montserrat', cursive;
	margin: 0;
}

.kp-logo-icon {
    width: 46px;
    height: 46px;
    object-fit: contain;
    background: transparent !important;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
}

/* NAV DESKTOP */
.kp-nav {
	display: flex;
	gap: 28px;
}

.kp-nav a {
	color: #fff;
	text-decoration: none;
	font-weight: 600;
	position: relative;
}

.kp-nav a::after {
	content: '';
	position: absolute;
	width: 0;
	height: 3px;
	background: #fff;
	bottom: -6px;
	left: 0;
	transition: 0.3s;
}

.kp-nav a:hover::after {
	width: 100%;
}

/* HAMBURGER */
.kp-hamburger {
	display: none;
	flex-direction: column;
	cursor: pointer;
}

.kp-hamburger span {
	width: 26px;
	height: 3px;
	background: #fff;
	margin: 4px 0;
	border-radius: 2px;
}

/* MOBILE */
@media (max-width: 900px) {
	.kp-hamburger {
		display: flex;
	}

	.kp-nav {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;

		/* SAME STELLAR BACKGROUND */
		background-image:
			linear-gradient(
				180deg,
				rgba(30, 42, 56, 0.9),
				rgba(15, 22, 34, 0.95)
			),
			url('images/bg-stars.png');
		background-size: cover;
		background-position: center;

		flex-direction: column;
		text-align: center;

		max-height: 0;
		overflow: hidden;
		transition: max-height 0.4s ease;
		z-index: 9999;
	}

	.kp-nav a {
		padding: 15px;
		border-top: 1px solid rgba(255,255,255,0.2);
	}

	.kp-nav.active {
		max-height: 1000px; /* suficient pentru toate link-urile */
	}
}

/* MOBILE SMALL */
@media (max-width: 600px) {
	.kp-logo-icon {
		width: 36px;
		height: 36px;
		padding: 4px;
	}

	.kp-logo {
		font-size: 22px;
	}
}
