.parent-container {
	display: flex;
	justify-content: center;
	align-items: center;
	background: #674636;
	position: sticky;
	top: 0;
	z-index: 1000;
}

/* Hamburger menu toggle */
.menu-toggle {
	display: none;
}

.hamburger {
	display: none;
	flex-direction: column;
	cursor: pointer;
	padding: 10px;
	z-index: 1001;
}

.hamburger span {
	width: 25px;
	height: 3px;
	background: #fff;
	margin: 3px 0;
	transition: 0.3s;
}

/* Desktop menu styling */
.ddmenu {
	width: 100%;
	position: relative;
	z-index: 1000;
	margin: 0 auto;
	display: block;
	background: #674636;
	font-family: "Outfit", serif;
	min-height: 30px;
}

.ddmenu ul {
	padding: 0;
	margin: 0 auto;
	list-style: none;
	z-index: 1000;
	display: flex;
	justify-content: center;
}

.ddmenu ul li {
	position: relative;
	display: inline-block;
	z-index: 1000;
}

.ddmenu ul li a,
.ddmenu ul li a:visited {
	display: block;
	text-decoration: none;
	font-size: 90%;
	padding: 8px 15px;
	text-align: center;
	color: #fff;
	font-weight: 600;
	overflow: hidden;
	z-index: 1000;
	white-space: nowrap;
}

/* Regular dropdown */
.ddmenu ul li ul {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	background: #f7eed3;
	min-width: 200px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.ddmenu ul li.mega-menu .mega-container {
	display: none;
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translateX(-50%);
	width: 800px;
	background: #f7eed3;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	padding: 20px;
	border-radius: 0 0 8px 8px;
	z-index: 999;
}

.ddmenu ul li.mega-menu:hover .mega-container {
	display: block;
}

.mega-container .mega-columns {
	display: flex !important;
	flex-direction: row !important;
	gap: 30px;
	width: 100%;
}

.mega-column {
	flex: 1;
	min-width: 200px;
	box-sizing: border-box;
}

.mega-column h4,
.mega-column h5 {
	color: #674636;
	font-size: 14px;
	font-weight: bold;
	margin: 0 0 10px 0;
	padding-bottom: 5px;
	border-bottom: 2px solid #674636;
}

.mega-column ul {
	position: static !important;
	top: auto !important;
	left: auto !important;
	width: auto !important;
	background: transparent !important;
	box-shadow: none !important;
	min-width: auto !important;
}

.mega-column ul li {
	width: 100% !important;
	float: none !important;
	display: block !important;
	position: static !important;
}

.mega-column ul li a {
	background: transparent !important;
	color: #674636 !important;
	padding: 8px 0 !important;
	font-size: 13px !important;
	text-align: left !important;
	border-bottom: 1px solid #e0d5b7 !important;
	width: 100% !important;
	display: block !important;
}

.mega-column ul li a:hover {
	background: #fff8e8 !important;
	color: #674636 !important;
	padding-left: 10px !important;
	transition: all 0.2s ease;
}

/* Hover effects */
.ddmenu ul li:hover a {
	color: #fff;
	background: #5a3a2a;
}

.ddmenu ul li:not(.mega-menu):hover ul {
	display: block;
}

/* Mega menu hover */
.ddmenu ul li.mega-menu:hover .mega-container {
	display: block;
}

.ddmenu ul li.mega-menu ul {
	position: static !important;
	display: block !important;
	background: transparent !important;
	box-shadow: none !important;
	min-width: auto !important;
}

/* Regular dropdown styling */
.ddmenu ul li ul li a {
	background: #f7eed3;
	color: #674636;
	padding: 10px 15px;
	border-bottom: 1px solid #e0d5b7;
	font-size: 85%;
}

.ddmenu ul li ul li a:hover {
	background: #fff8e8;
	color: #674636;
}

/* Mobile styles */
@media (max-width: 589px) {
	.hamburger {
		display: flex;
		position: absolute;
		right: 20px;
		top: 50%;
		transform: translateY(-50%);
		background-color: #674636;
	}

	.ddmenu ul {
		position: fixed;
		top: 0;
		left: -100%;
		width: 100%;
		height: 100vh;
		background: #674636;
		flex-direction: column;
		justify-content: flex-start;
		align-items: stretch;
		transition: left 0.3s ease;
		overflow-y: auto;
		overflow-x: hidden;
		padding-top: 10px;
	}

	.menu-toggle:checked ~ .ddmenu ul {
		left: 0;
	}

	.ddmenu ul li {
		width: 100%;
		border-bottom: 1px solid #5a3a2a;
		display: block;
	}

	.ddmenu ul li a {
		padding: 15px 20px;
		font-size: 16px;
		text-align: left;
		width: 100%;
		white-space: normal;
	}

	.ddmenu ul li.mega-menu .mega-container {
		position: static !important;
		width: 100% !important;
		transform: none !important;
		left: 0 !important;
		padding: 0 !important;
		background: #5a3a2a !important;
		border-radius: 0 !important;
		box-shadow: none !important;
		display: none;
	}

	/* Show mega menu on hover/focus for mobile */
	.ddmenu ul li.mega-menu:hover .mega-container,
	.ddmenu ul li.mega-menu:focus-within .mega-container {
		display: block !important;
	}

	.mega-container .mega-columns {
		display: flex !important;
		flex-direction: column !important;
		gap: 0 !important;
		width: 100% !important;
	}

	.mega-column {
		flex: none !important;
		min-width: 0 !important;
		max-width: none !important;
		width: 100% !important;
	}

	.mega-column h4,
	.mega-column h5 {
		color: #f7eed3 !important;
		border-bottom-color: #fff !important;
		padding: 15px 20px 10px !important;
		margin: 0 !important;
		font-size: 16px !important;
	}

	.mega-column ul {
		list-style: none !important;
		padding: 0 !important;
		margin: 0 !important;
		display: block !important;
		position: static !important;
		background: transparent !important;
		box-shadow: none !important;
		width: 100% !important;
	}

	.mega-column ul li {
		width: 100% !important;
		display: block !important;
		position: static !important;
		border-bottom: 1px solid #4a2a1a !important;
	}

	.mega-column ul li a {
		background: #5a3a2a !important;
		color: #fff !important;
		padding: 12px 40px !important;
		border-bottom: 1px solid #4a2a1a !important;
		font-size: 14px !important;
		text-align: left !important;
		width: 100% !important;
		display: block !important;
	}

	.mega-column ul li a:hover {
		background: #4a2a1a !important;
		padding-left: 50px !important;
		color: #fff !important;
	}

	/* Regular mobile dropdowns */
	.ddmenu ul li:not(.mega-menu) ul {
		position: static;
		display: none;
		background: #5a3a2a;
		box-shadow: none;
		width: 100%;
	}

	.ddmenu ul li:not(.mega-menu):hover ul {
		display: block;
	}

	.ddmenu ul li:not(.mega-menu) ul li a {
		background: #5a3a2a;
		color: #fff;
		padding: 12px 40px;
		border-bottom: 1px solid #4a2a1a;
	}

	.ddmenu ul li:not(.mega-menu) ul li a:hover {
		background: #4a2a1a;
	}

	/* Hamburger animation */
	.menu-toggle:checked ~ .hamburger span:nth-child(1) {
		transform: rotate(-45deg) translate(-5px, 6px);
	}

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

	.menu-toggle:checked ~ .hamburger span:nth-child(3) {
		transform: rotate(45deg) translate(-5px, -6px);
	}
}
