/* NAVIGATION BAR CỐ ĐỊNH */
nav {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	background: #ffffff;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	z-index: 1000;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 10px 20px;
	height: 60px;
}

.nav-logo h1 {
	font-family: 'Great Vibes', cursive;
	font-size: 28px;
	color: #e77c8e;
	margin: 0;
}

.nav-logo a{text-decoration: unset;}

.nav-links {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	gap: 30px;
}

.nav-links a {
	text-decoration: none;
	color: #555;
	font-weight: 600;
	transition: color 0.3s;
}

.nav-links a:hover {
	color: #e77c8e;
}


@media (max-width: 768px) {

	/* Ẩn liên kết menu mặc định và chuẩn bị cho chế độ dọc */
	.nav-links {
		display: none;
		/* Ẩn cho đến khi được kích hoạt */
		flex-direction: column;
		width: 100%;
		position: absolute;
		top: 60px;
		/* Đặt menu bên dưới thanh nav */
		left: 0;
		background: #ffffff;
		box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
		padding: 10px 0;
		transition: all 0.3s ease-in-out;
		border-top: 1px solid #eee;
	}

	.nav-links li {
		text-align: center;
		margin: 10px 0;
	}

	/* HIỂN THỊ MENU KHI CLASS 'open' ĐƯỢC THÊM VÀO NAV */
	nav.open .nav-links {
		display: flex;
	}

	/* TÙY CHỈNH NÚT "Đặt Thiệp Ngay!" CHO MOBILE */
	nav .btn-primary {
		display: inline-block;
		/* Đảm bảo nút được hiển thị */
		padding: 6px 12px;
		/* Giảm kích thước nút */
		font-size: 13px;
		order: 2;
		/* Đặt nút này ở giữa Logo và Hamburger */
		/* Xóa margin-top: 20px từ style chung */
		margin-top: 0;
	}

	/* Hiển thị nút Hamburger */
	.menu-toggle {
		display: block;
		order: 3;
		/* Đặt nút toggle ở cuối */
	}

	nav {
		justify-content: space-between;
		/* Giữ logo, nút và toggle spread ra */
		padding: 10px 20px;
	}

	header {
		padding: 80px 20px 50px;
	}

	header h1 {
		font-size: 36px;
	}

	.template-card {
		height: 300px;
	}

	.section h2 {
		font-size: 28px;
	}

	.footer-content {
		flex-direction: column;
		gap: 20px;
		text-align: center;
	}

	.footer-col {
		flex-basis: 100%;
		margin-bottom: 20px;
	}

	.footer-col ul {
		text-align: center;
	}
}