/* Egg Break Nav Menu Elementor Widget Styling */

.elementor-widget-egg_break_nav_menu {
	margin-top: auto !important;
	margin-bottom: auto !important;
	align-self: center !important;
}

.egg-break-nav-wrapper {
	display: flex;
	align-items: center !important;
	align-self: center !important;
	position: relative;
	width: 100%;
}

.egg-break-pill-container {
	display: inline-flex;
	align-items: center !important;
	align-self: center !important;
	justify-content: center;
	margin-top: auto !important;
	margin-bottom: auto !important;
	background-color: rgba(255, 255, 255, 0.32);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-radius: 15px;
	padding: 12px 32px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
	transition: all 0.3s ease;
}

.egg-break-pill-container ul,
.egg-break-nav-menu-list {
	display: flex;
	align-items: center !important;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 28px;
}

.egg-break-pill-container a {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	font-size: 18px;
	font-weight: 500;
	line-height: 24px;
	letter-spacing: -0.08px;
	color: #2D2D2D;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	position: relative;
	transition: color 0.2s ease;
}

.egg-break-pill-container a:hover,
.egg-break-pill-container a:focus,
.egg-break-pill-container .current-menu-item > a,
.egg-break-pill-container .current_page_item > a {
	color: #000000;
}

/* Left-to-Right Growing and Shrinking Animated Underline */
.egg-break-pill-container.enable-underline a::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: -2px;
	width: 100%;
	height: 2.5px;
	background-color: currentColor;
	transform: scaleX(0);
	transform-origin: right;
	transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

.egg-break-pill-container.enable-underline a:hover::after,
.egg-break-pill-container.enable-underline a:focus::after,
.egg-break-pill-container.enable-underline .current-menu-item > a::after,
.egg-break-pill-container.enable-underline .current_page_item > a::after {
	transform: scaleX(1);
	transform-origin: left;
}

/* Mobile Toggle Hamburger Button */
.egg-break-nav-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 5px;
	width: 46px;
	height: 46px;
	padding: 10px;
	background-color: rgba(255, 255, 255, 0.45);
	border: 1px solid rgba(255, 255, 255, 0.6);
	border-radius: 15px;
	cursor: pointer;
	z-index: 10001;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
	transition: background-color 0.25s ease, transform 0.2s ease;
}

.egg-break-nav-toggle:hover {
	background-color: rgba(255, 255, 255, 0.7);
	transform: scale(1.03);
}

.egg-break-nav-toggle .hamburger-line {
	display: block;
	width: 22px;
	height: 2.5px;
	background-color: #1C1C1C;
	border-radius: 3px;
	transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
}

/* Hamburger to X Animation */
.egg-break-nav-toggle.is-active .hamburger-line:nth-child(1) {
	transform: translateY(7.5px) rotate(45deg);
}

.egg-break-nav-toggle.is-active .hamburger-line:nth-child(2) {
	opacity: 0;
	transform: scaleX(0);
}

.egg-break-nav-toggle.is-active .hamburger-line:nth-child(3) {
	transform: translateY(-7.5px) rotate(-45deg);
}

/* Toggle Alignment Utilities */
.toggle-align-right .egg-break-nav-toggle {
	margin-left: auto;
}

.toggle-align-left .egg-break-nav-toggle {
	margin-right: auto;
}

/* Mobile Drawer Overlay Card */
.egg-break-mobile-drawer {
	display: block;
	position: absolute;
	top: calc(100% + 12px);
	right: 0;
	width: 320px;
	max-width: calc(100vw - 32px);
	background-color: #FFFFFF;
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border-radius: 20px;
	padding: 20px 24px;
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0, 0, 0, 0.04);
	border: 1px solid rgba(0, 0, 0, 0.06);
	z-index: 10000;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-10px) scale(0.97);
	transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s;
	pointer-events: none;
}

.egg-break-mobile-drawer.is-open {
	opacity: 1;
	visibility: visible;
	transform: translateY(0) scale(1);
	pointer-events: auto;
}

.egg-break-mobile-drawer ul,
.egg-break-mobile-menu-list {
	display: flex;
	flex-direction: column;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 4px;
}

.egg-break-mobile-drawer a {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	font-size: 17px;
	font-weight: 600;
	line-height: 24px;
	color: #1C1C1C;
	text-decoration: none;
	display: block;
	padding: 12px 16px;
	border-bottom: 1px solid #F2F2F2;
	border-radius: 10px;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.egg-break-mobile-drawer li:last-child a {
	border-bottom: none;
}

.egg-break-mobile-drawer a:hover,
.egg-break-mobile-drawer a:focus,
.egg-break-mobile-drawer .current-menu-item > a,
.egg-break-mobile-drawer .current_page_item > a {
	background-color: #FFFDF2;
	color: #F7B916;
}

/* Responsive Breakpoint Visibility Rules */
@media (max-width: 991px) {
	.egg-break-nav-wrapper.breakpoint-991 .desktop-nav {
		display: none;
	}

	.egg-break-nav-wrapper.breakpoint-991 .egg-break-nav-toggle {
		display: flex;
	}
}

@media (max-width: 767px) {
	.egg-break-nav-wrapper.breakpoint-767 .desktop-nav {
		display: none;
	}

	.egg-break-nav-wrapper.breakpoint-767 .egg-break-nav-toggle {
		display: flex;
	}
}
