/* Header & Footer CSS for Egg Break Theme */

.egg-break-header {
	background-color: #FBBE05; /* Default Egg Break Yellow */
	padding: 16px 0;
	width: 100%;
}

.egg-break-header-container {
	display: flex;
	align-items: center !important;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 20px;
}

.egg-break-header .site-branding {
	display: flex;
	align-items: center !important;
	align-self: center !important;
	margin: 0;
	padding: 0;
}

.egg-break-header .custom-logo-link {
	display: inline-flex;
	align-items: center;
}

.egg-break-header .custom-logo-link img {
	max-height: 75px;
	width: auto;
	display: block;
}

.egg-break-header .site-title {
	margin: 0;
	font-family: var(--egg-break-font-family, 'Inter', sans-serif);
	font-size: 28px;
	font-weight: 800;
	letter-spacing: -0.5px;
	line-height: 1;
}

.egg-break-header .site-title a {
	color: #1C1C1C;
	text-decoration: none;
}

.egg-break-header .site-description {
	margin: 0;
	font-size: 14px;
	color: #444444;
}

/* Floating Rounded Pill Navigation Container */
.egg-break-header .main-navigation {
	display: flex;
	align-items: center !important;
	align-self: center !important;
	margin-top: auto !important;
	margin-bottom: auto !important;
	background: 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);
}

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

.egg-break-header .main-navigation a {
	font-family: var(--egg-break-font-family, 'Inter', 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-header .main-navigation a:hover,
.egg-break-header .main-navigation a:focus,
.egg-break-header .main-navigation .current-menu-item > a,
.egg-break-header .main-navigation .current_page_item > a {
	color: #000000;
}

/* Animated Left-to-Right Underline Effect */
.egg-break-header .main-navigation.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-header .main-navigation.enable-underline a:hover::after,
.egg-break-header .main-navigation.enable-underline a:focus::after,
.egg-break-header .main-navigation.enable-underline .current-menu-item > a::after,
.egg-break-header .main-navigation.enable-underline .current_page_item > a::after {
	transform: scaleX(1);
	transform-origin: left;
}

/* Fallback Footer Styling */
.egg-break-fallback-footer {
	background-color: #1C1C1C;
	color: #CCCCCC;
	border-top: 1px solid #333333;
	padding: 40px 0;
	font-family: var(--egg-break-font-family, 'Inter', sans-serif);
	font-size: 16px;
	line-height: 24px;
	letter-spacing: -0.08px;
}

.egg-break-footer-container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 20px;
}

.egg-break-fallback-footer p {
	margin: 0;
}

.egg-break-fallback-footer a {
	color: #FFFFFF;
	text-decoration: none;
}

.egg-break-fallback-footer a:hover {
	text-decoration: underline;
}

.egg-break-fallback-footer .footer-navigation ul {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 20px;
}

/* Mobile Responsiveness for Header Menu */
@media (max-width: 991px) {
	.egg-break-header-container {
		justify-content: center;
	}

	.egg-break-header .main-navigation {
		width: 100%;
		border-radius: 24px;
		padding: 12px 20px;
	}

	.egg-break-header .main-navigation ul,
	.egg-break-pill-menu {
		flex-wrap: wrap;
		justify-content: center;
		gap: 16px;
	}

	.egg-break-header .main-navigation a {
		font-size: 16px;
	}
}
