/* ==========================================================================
   OOgImages Universal Navigation Panel (`oog-nav-panel.css`)
   Standardized Left Menu & Footer across All Pillars (_Core, _Agency, _SlugSearch)
   Typography: Google Inter & Space Mono | Light Mode Only
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Space+Mono:wght@400;700&display=swap');

:host, .oog-universal-container {
	--oog-bg-drawer: #ffffff;
	--oog-bg-card: #f8f9fa;
	--oog-bg-hover: #f1f5f9;
	--oog-border: #e2e8f0;
	--oog-primary: #fc9620;
	--oog-text-primary: #1e293b;
	--oog-text-muted: #64748b;
	--oog-font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--oog-font-mono: 'Space Mono', monospace;
	font-family: var(--oog-font-sans);
}

/* Enforce Google Inter font across all pages and elements */
body, html, input, button, select, textarea, p, h1, h2, h3, h4, h5, h6, .site-header, .site-footer {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

/* Floating Trigger Button (LOGO + Hamburger with auto-minimize & mouse proximity pop-up) */
#oog-nav-trigger {
	position: fixed;
	top: 14px;
	left: 14px;
	z-index: 99998;
	display: flex;
	align-items: center;
	gap: 10px;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	padding: 6px 12px;
	border-radius: 30px;
	cursor: pointer;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
	transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
	opacity: 0.35;
	transform: scale(0.95);
	font-family: 'Space Mono', monospace;
}
#oog-nav-trigger:hover, #oog-nav-trigger.oog-near {
	opacity: 1 !important;
	transform: scale(1) !important;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.14);
	border-color: #fc9620;
}
#oog-nav-trigger img {
	width: 30px;
	height: 30px;
	border-radius: 50%;
	object-fit: contain;
}
#oog-nav-trigger .oog-hamburger {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	width: 16px;
	height: 14px;
	padding: 2px 0;
}
#oog-nav-trigger .oog-hamburger span {
	display: block;
	width: 100%;
	height: 2px;
	background: #475569;
	border-radius: 2px;
	transition: background 0.2s ease;
}
#oog-nav-trigger:hover .oog-hamburger span, #oog-nav-trigger.oog-near .oog-hamburger span {
	background: #fc9620;
}

/* Drawer Backdrop Overlay */
#oog-nav-backdrop {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background: rgba(15, 23, 42, 0.4);
	backdrop-filter: blur(4px);
	z-index: 999999;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s ease;
}
#oog-nav-backdrop.oog-open {
	opacity: 1;
	pointer-events: auto;
}

/* Drawer Off-Canvas Panel (`Light Mode Only`) */
#oog-nav-drawer {
	position: fixed;
	top: 0;
	left: -340px;
	width: 320px;
	max-width: 88vw;
	height: 100%;
	max-height: 100vh;
	max-height: 100dvh;
	background: #ffffff;
	color: #1e293b;
	z-index: 1000000;
	display: flex;
	flex-direction: column;
	border-right: 1px solid #e2e8f0;
	box-shadow: 10px 0 30px rgba(0, 0, 0, 0.12);
	transition: left 0.3s cubic-bezier(0.16, 1, 0.3, 1);
	font-family: 'Inter', sans-serif;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	padding-bottom: env(safe-area-inset-bottom, 20px);
}
#oog-nav-drawer.oog-open {
	left: 0;
}

/* Scrollbar hiding */
#oog-nav-drawer::-webkit-scrollbar {
	width: 4px;
}
#oog-nav-drawer::-webkit-scrollbar-track {
	background: transparent;
}
#oog-nav-drawer::-webkit-scrollbar-thumb {
	background: #cbd5e1;
	border-radius: 4px;
}

/* Row 1: Header (Logo Image | Close) */
.oog-drawer-row1 {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 18px;
	border-bottom: 1px solid #e2e8f0;
	flex-shrink: 0;
}
.oog-drawer-brand {
	display: flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	color: #0f172a;
	font-family: 'Space Mono', monospace;
	font-size: 18px;
	font-weight: 700;
}
.oog-drawer-brand img {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	object-fit: contain;
}
.oog-drawer-brand .oog-orange {
	color: #fc9620;
	font-weight: 800;
	letter-spacing: -0.5px;
}
.oog-drawer-brand .oog-sub {
	font-size: 16px;
	color: #0f172a;
	font-weight: 800;
}
.oog-drawer-close {
	background: transparent;
	border: none;
	color: #64748b;
	font-size: 18px;
	cursor: pointer;
	padding: 4px 8px;
	border-radius: 4px;
	transition: all 0.2s;
	font-family: 'Space Mono', monospace;
	font-weight: 700;
}
.oog-drawer-close:hover {
	color: #fc9620;
	background: #f1f5f9;
}

/* Row 2: Login / Exit */
.oog-drawer-row2 {
	padding: 12px 16px;
	border-bottom: 1px solid #e2e8f0;
	font-family: 'Space Mono', monospace;
	font-size: 12px;
}
.oog-login-link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 8px 10px;
	color: #334155;
	text-decoration: none;
	border-radius: 6px;
	transition: all 0.2s;
	font-weight: 600;
}
.oog-login-link:hover {
	background: #f1f5f9;
	color: #fc9620;
}

/* Sections */
.oog-section {
	padding: 12px 16px;
	border-bottom: 1px solid #e2e8f0;
	flex-shrink: 0;
}
.oog-section-title {
	font-family: 'Space Mono', monospace;
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.15em;
	color: #fc9620;
	margin-bottom: 8px;
	padding: 0 4px;
}
.oog-section-title.muted {
	color: #64748b;
}

/* Navigation Links (`TEXT ONLY`) */
.oog-nav-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 8px 10px;
	color: #334155;
	text-decoration: none;
	border-radius: 6px;
	font-family: 'Space Mono', monospace;
	font-size: 13px;
	transition: all 0.2s;
	margin-bottom: 2px;
	font-weight: 600;
}
.oog-nav-item:hover {
	background: #f1f5f9;
	color: #0f172a;
}
.oog-nav-item.active {
	background: #fff7ed;
	color: #fc9620;
	font-weight: 700;
	border: 1px solid rgba(252, 150, 32, 0.3);
}
.oog-nav-item .oog-tag {
	font-size: 10px;
	color: #94a3b8;
	text-transform: lowercase;
	font-weight: 400;
}
.oog-nav-item.active .oog-tag {
	color: #ea580c;
	font-weight: 700;
}

/* Dynamic Menu Empty Reserved State */
.oog-dynamic-empty {
	flex-grow: 1;
	flex-shrink: 1;
	min-height: 60px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 16px;
	text-align: center;
	border-bottom: 1px solid #e2e8f0;
}
.oog-dynamic-empty .title {
	font-family: 'Space Mono', monospace;
	font-size: 10px;
	text-transform: uppercase;
	letter-spacing: 0.15em;
	color: #94a3b8;
	margin-bottom: 4px;
}
.oog-dynamic-empty .sub {
	font-family: 'Space Mono', monospace;
	font-size: 12px;
	color: #64748b;
}

/* Centralized Footer (`TEXT ONLY`) */
.oog-drawer-footer {
	padding: 16px;
	border-top: 1px solid #e2e8f0;
	font-family: 'Space Mono', monospace;
	font-size: 12px;
	color: #475569;
	flex-shrink: 0;
	margin-top: auto;
}
.oog-footer-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-bottom: 8px;
}
.oog-footer-link {
	color: #475569;
	text-decoration: none;
	display: flex;
	align-items: center;
	cursor: pointer;
	background: none;
	border: none;
	padding: 0;
	font-family: inherit;
	font-size: inherit;
	font-weight: 600;
	transition: color 0.2s;
}
.oog-footer-link:hover {
	color: #fc9620;
}
.oog-footer-sep {
	color: #cbd5e1;
}
.oog-footer-copyright {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 12px;
	padding-top: 8px;
	border-top: 1px solid #e2e8f0;
	font-size: 10px;
	color: #64748b;
}

/* Universal Modal Dialogs (`About`, `Tracking`, `Cookies`, `Disclaimer`) */
#oog-universal-modal-backdrop {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background: rgba(15, 23, 42, 0.5);
	backdrop-filter: blur(6px);
	z-index: 1000001;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.2s ease;
}
#oog-universal-modal-backdrop.oog-open {
	opacity: 1;
	pointer-events: auto;
}
.oog-modal-box {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	width: 100%;
	max-width: 720px;
	max-height: 85vh;
	overflow-y: auto;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
	color: #1e293b;
	font-family: 'Inter', sans-serif;
	display: none;
}
.oog-modal-box.oog-active {
	display: block;
	animation: oogPopIn 0.25s ease forwards;
}
@keyframes oogPopIn {
	from { opacity: 0; transform: scale(0.95); }
	to { opacity: 1; transform: scale(1); }
}
.oog-modal-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 20px;
	border-bottom: 1px solid #e2e8f0;
	font-family: 'Space Mono', monospace;
	font-size: 14px;
	font-weight: 700;
	color: #0f172a;
}
.oog-modal-body {
	padding: 20px;
	font-size: 13px;
	line-height: 1.6;
	color: #475569;
}
.oog-modal-body p {
	margin-top: 0;
	margin-bottom: 12px;
}
.oog-modal-close {
	background: transparent;
	border: none;
	color: #64748b;
	font-size: 18px;
	cursor: pointer;
	padding: 4px;
	transition: color 0.2s;
}
.oog-modal-close:hover {
	color: #fc9620;
}
