/* Base CSS Reset and Core Foundations for Egg Break Theme */

:root {
	--egg-break-font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	--egg-break-color-yellow: #FBBE05;
	--egg-break-color-dark: #1C1C1C;
	--egg-break-color-text: #2D2D2D;
}

html {
	box-sizing: border-box;
	-webkit-text-size-adjust: 100%;
}

*,
*::before,
*::after {
	box-sizing: inherit;
}

body {
	margin: 0;
	padding: 0;
	background-color: #ffffff;
	color: var(--egg-break-color-text);
	font-family: var(--egg-break-font-family);
	font-size: 18px;
	font-weight: 400;
	line-height: 24px;
	letter-spacing: -0.08px;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* Base Headings matching Figma specs */
h1, .h1 {
	font-family: var(--egg-break-font-family);
	font-weight: 700;
	font-size: 48px;
	line-height: 48.2px;
	letter-spacing: 0px;
	color: var(--egg-break-color-dark);
}

h2, h3, h4, h5, h6 {
	font-family: var(--egg-break-font-family);
	font-weight: 700;
	letter-spacing: -0.08px;
}

strong, b {
	font-weight: 700;
}

img {
	max-width: 100%;
	height: auto;
	vertical-align: middle;
}

/* Screen Reader / Accessibility utilities */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Core Container Helper */
.egg-break-container {
	width: 100%;
	max-width: 1280px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 24px;
	padding-right: 24px;
}

/* Full Width Elementor layout overrides */
.elementor-full-width-page,
.elementor-canvas-main {
	width: 100%;
	margin: 0;
	padding: 0;
}

/* ==========================================================================
   Egg Break 404 Page Styling (Matching Homepage Hero Background & Aesthetics)
   ========================================================================== */

.egg-break-404-hero {
	position: relative;
	width: 100%;
	min-height: 85vh;
	background-color: #FBBE05;
	background-image: url("../images/hero-bg.png");
	background-position: top center;
	background-repeat: no-repeat;
	background-size: cover;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 120px 24px 80px 24px;
	box-sizing: border-box;
}

.egg-break-404-container {
	max-width: 720px;
	width: 100%;
	margin: 0 auto;
	text-align: center;
}

.egg-break-404-content {
	background: rgba(255, 255, 255, 0.94);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	border-radius: 32px;
	padding: 50px 40px;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.14);
	box-sizing: border-box;
	border: 1px solid rgba(255, 255, 255, 0.8);
}

.egg-break-404-badge-wrapper {
	margin-bottom: 12px;
}

.egg-break-404-badge {
	display: inline-block;
	font-family: 'Inter', sans-serif;
	font-size: 84px;
	font-weight: 900;
	line-height: 1;
	color: #E23F97;
	letter-spacing: -2px;
	text-shadow: 0 4px 12px rgba(226, 63, 151, 0.25);
}

.egg-break-404-title {
	font-family: 'Inter', sans-serif;
	font-size: 38px;
	font-weight: 800;
	color: #2D2D2D;
	margin: 0 0 16px 0;
	line-height: 1.25;
}

.egg-break-404-sticker {
	position: relative;
	display: inline-block;
	background-color: #E23F97;
	color: #FFFFFF;
	padding: 4px 18px;
	border-radius: 12px;
	font-weight: 800;
	transform: rotate(-3.5deg);
	margin-left: 6px;
	box-shadow: 0 4px 14px rgba(226, 63, 151, 0.4);
}

.egg-break-404-desc {
	font-family: 'Inter', sans-serif;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.6;
	color: #555555;
	margin: 0 auto 28px auto;
	max-width: 520px;
}

.egg-break-404-actions {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	margin-bottom: 28px;
}

.egg-break-404-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	background-color: #E23F97;
	color: #FFFFFF !important;
	font-family: 'Inter', sans-serif;
	font-size: 16px;
	font-weight: 700;
	padding: 16px 36px;
	border-radius: 15px;
	text-decoration: none !important;
	transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
	box-shadow: 0 8px 22px rgba(226, 63, 151, 0.35);
}

.egg-break-404-btn:hover {
	background-color: #CB2D84;
	transform: translateY(-3px) scale(1.02);
	box-shadow: 0 12px 28px rgba(226, 63, 151, 0.45);
}

.egg-break-404-search form {
	display: flex;
	max-width: 460px;
	margin: 0 auto;
	gap: 10px;
}

.egg-break-404-search input[type="search"] {
	flex: 1;
	padding: 14px 20px;
	border-radius: 14px;
	border: 2px solid #EAEAEA;
	font-family: 'Inter', sans-serif;
	font-size: 15px;
	outline: none;
	transition: border-color 0.3s ease;
}

.egg-break-404-search input[type="search"]:focus {
	border-color: #E23F97;
}

.egg-break-404-search input[type="submit"],
.egg-break-404-search button[type="submit"] {
	background-color: #7CB94D;
	color: #FFFFFF;
	font-family: 'Inter', sans-serif;
	font-weight: 700;
	font-size: 15px;
	border: none;
	padding: 14px 24px;
	border-radius: 14px;
	cursor: pointer;
	transition: background-color 0.3s ease;
}

.egg-break-404-search input[type="submit"]:hover,
.egg-break-404-search button[type="submit"]:hover {
	background-color: #7CB94D;
}

@media (max-width: 600px) {
	.egg-break-404-content {
		padding: 36px 20px;
	}
	.egg-break-404-badge {
		font-size: 64px;
	}
	.egg-break-404-title {
		font-size: 28px;
	}
	.egg-break-404-search form {
		flex-direction: column;
	}
}

