/**
 * Fluent Navigation Menu Styles
 * Responsive drawer menu with light and dark themes
 * Menu positioned on the LEFT side
 */

/* ================================
   Color Themes
   ================================ */

:root {
	/* Light Theme (matches theme-variables) */
	--color-bg-primary: #fdfbf7;
	--color-bg-secondary: #f5f1e8;
	--color-bg-tertiary: #ebe4d7;
	--color-text-primary: #141824;
	--color-text-secondary: #354053;
	--color-text-tertiary: #5b6679;
	--color-border: #e2d7c7;
	--color-shadow: rgba(9, 15, 27, 0.06);
	--color-shadow-lg: rgba(9, 15, 27, 0.12);

	/* Palette */
	--color-primary: #0f766e;
	--color-primary-light: #14b8a6;
	--color-accent: #f59e0b;
	--color-success: #15803d;
	--color-warning: #f97316;

	/* Acrylic/Glass Morphism */
	--backdrop-blur: 10px;
	--backdrop-opacity: 0.85;

	/* Transitions */
	--transition-speed: 0.3s;
	--transition-easing: cubic-bezier(0.4, 0, 0.2, 1);
	--transition-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Dark Theme */
html.dark-theme {
	--color-bg-primary: #0f172a;
	--color-bg-secondary: #111827;
	--color-bg-tertiary: #1f2937;
	--color-text-primary: #f5f7fb;
	--color-text-secondary: #d5dce8;
	--color-text-tertiary: #aeb6c7;
	--color-border: #263047;
	--color-shadow: rgba(0, 0, 0, 0.35);
	--color-shadow-lg: rgba(0, 0, 0, 0.55);

	/* Palette */
	--color-primary: #22d3ee;
	--color-primary-light: #67e8f9;
	--color-accent: #fbbf24;
}

/* ================================
   Fluent Navigation Base
   ================================ */

.fluent-navigation {
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
	background-color: transparent;
	color: var(--color-text-primary);
	transition: all var(--transition-speed) var(--transition-easing);
}

/* ================================
   Mobile Drawer Menu (LEFT)
   ================================ */

.fluent-mobile-nav {
	display: block;
	position: relative;
}

/* Toggle Button (Hamburger) */
.drawer-toggle {
	position: fixed;
	top: 1rem;
	left: 1rem;
	z-index: 1000;
	background-color: var(--color-primary);
	border: none;
	border-radius: 14px;
	width: 52px;
	height: 52px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 2px 8px var(--color-shadow);
	transition: all var(--transition-speed) var(--transition-easing);
}

.drawer-toggle:hover {
	box-shadow: 0 4px 16px rgba(0, 122, 204, 0.3);
	transform: scale(1.05);
}

.drawer-toggle:active {
	transform: scale(0.95);
}

/* Mobile Action Bar - Fixed container for drawer button */
@media (max-width: 768px) {
	.fluent-action-bar {
		position: fixed;
		bottom: 0;
		left: 0;
		right: 0;
		z-index: 998;
		background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.03) 100%);
		padding: 1rem;
		display: flex;
		justify-content: flex-end;
		align-items: flex-end;
		pointer-events: none;
	}

	.fluent-action-bar .drawer-toggle {
		pointer-events: auto;
		position: static;
		top: auto;
		left: auto;
		bottom: auto;
		right: auto;
		margin: 0;
	}

	.fluent-action-bar .fluent-mobile-nav {
		pointer-events: auto;
	}

	.fluent-action-bar .fluent-drawer {
		pointer-events: auto;
	}
}

@media (min-width: 769px) {
	.fluent-action-bar {
		all: unset;
	}
}

/* Mobile - Drawer toggle positioning */
@media (max-width: 768px) {
	.drawer-toggle {
		top: auto;
		left: auto;
		bottom: auto;
		right: auto;
	}
}

.menu-icon {
	color: white;
	font-size: 1.5rem;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: transform var(--transition-speed) var(--transition-easing);
}

.drawer-toggle.active .menu-icon {
	transform: rotate(90deg);
}

/* Drawer Panel (LEFT) */
.fluent-drawer {
	position: fixed;
	top: 0;
	left: -100%;
	width: 100%;
	max-width: 360px;
	height: 100vh;
	background: var(--color-bg-primary);
	box-shadow: 2px 0 20px var(--color-shadow-lg), inset -1px 0 0 var(--color-border);
	z-index: 999;
	transition: left var(--transition-speed) var(--transition-easing);
	display: flex;
	flex-direction: column;
	border-right: 1px solid var(--color-border);
	overflow: hidden;
}

.fluent-drawer.open {
	left: 0;
}

/* Drawer Content Area - Scrollable */
.drawer-content {
	flex: 1;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	min-height: 0;
}

/* Drawer Header */
.drawer-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1.5rem;
	border-bottom: 1px solid var(--color-border);
	background: var(--color-bg-secondary);
	backdrop-filter: blur(var(--backdrop-blur));
	position: relative;
}

.drawer-header::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
	pointer-events: none;
	opacity: 0.2;
}

.drawer-title {
	margin: 0;
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--color-primary);
}

.drawer-close {
	background: none;
	border: none;
	cursor: pointer;
	font-size: 1.5rem;
	color: var(--color-text-primary);
	padding: 0;
	width: 32px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 6px;
	transition: background-color var(--transition-speed) var(--transition-easing);
}

.drawer-close:hover {
	background-color: var(--color-bg-tertiary);
}

.close-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 1.25rem;
	line-height: 1;
}

/* Menu Items */
.fluent-menu {
	list-style: none;
	margin: 0;
	padding: 0.5rem 0;
	display: flex;
	flex-direction: column;
	flex: 1;
	overflow-y: auto;
	min-height: 0;
}

.fluent-menu-item {
	position: relative;
	margin: 0;
}

.fluent-menu-link {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 0.875rem 1.5rem;
	color: var(--color-text-primary);
	text-decoration: none;
	font-weight: 500;
	transition: all var(--transition-speed) var(--transition-smooth);
	border-left: 3px solid transparent;
	margin: 0 0.5rem;
	border-radius: 8px;
	position: relative;
	overflow: hidden;
}

.fluent-menu-link::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: var(--color-primary);
	opacity: 0;
	transition: opacity var(--transition-speed) var(--transition-smooth);
	z-index: -1;
}

.fluent-menu-link:hover {
	color: var(--color-primary);
	text-decoration: none;
	transform: translateX(2px);
	background-color: rgba(0, 122, 204, 0.08);
	border-left-color: var(--color-primary);
}

html.dark-theme .fluent-menu-link:hover {
	background-color: rgba(253, 185, 19, 0.1);
	border-left-color: var(--color-primary);
}

.fluent-menu-item.active .fluent-menu-link {
	background: rgba(0, 122, 204, 0.08);
	color: var(--color-primary);
	border-left-color: transparent;
	font-weight: 600;
	position: relative;
}

html.dark-theme .fluent-menu-item.active .fluent-menu-link {
	background: rgba(253, 185, 19, 0.08);
	color: var(--color-primary);
	border-left-color: transparent;
}

.fluent-menu-item.active .fluent-menu-link::after {
	content: '';
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	height: 55%;
	width: 3px;
	background: var(--color-primary);
	border-radius: 100px;
	box-shadow: 0 0 6px rgba(0, 122, 204, 0.4);
	z-index: 1;
}

html.dark-theme .fluent-menu-item.active .fluent-menu-link::after {
	box-shadow: 0 0 6px rgba(253, 185, 19, 0.4);
}

.fluent-menu-item.active .fluent-menu-link:hover {
	background: rgba(0, 122, 204, 0.18);
	transform: translateX(2px);
}

/* Menu Icon */
.fluent-menu-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	font-size: 1.2rem;
	flex-shrink: 0;
}

.icon-home::before {
	content: '🏠';
}

.icon-book::before {
	content: '📚';
}

.icon-info::before {
	content: 'ℹ️';
}

.icon-podcast::before {
	content: '🎙️';
}

/* Menu Label and Arrow */
.fluent-menu-label {
	flex: 1;
	font-size: 0.95rem;
}

.fluent-menu-arrow {
	color: var(--color-text-tertiary);
	font-size: 1.5rem;
	line-height: 1;
	transition: transform var(--transition-speed) var(--transition-easing);
}

.fluent-menu-item.active .fluent-menu-arrow {
	transform: rotate(90deg);
	color: white;
}

/* Featured Content */
.fluent-featured-content {
	margin: 1.5rem;
	padding: 1.25rem;
	background: var(--color-primary);
	border-radius: 16px;
	color: white;
	overflow: hidden;
	transition: all var(--transition-speed) var(--transition-smooth);
	flex-shrink: 0;
	position: relative;
	border: 1px solid rgba(255, 255, 255, 0.15);
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
	backdrop-filter: blur(var(--backdrop-blur));
}

.fluent-featured-content::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
	pointer-events: none;
}

.fluent-featured-content:hover {
	transform: translateY(-3px);
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.featured-badge {
	display: inline-block;
	background-color: rgba(255, 255, 255, 0.25);
	color: white;
	padding: 0.35rem 0.85rem;
	border-radius: 20px;
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-bottom: 0.75rem;
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.3);
}

.featured-item-title {
	margin: 0.5rem 0 0 0;
	font-size: 1.1rem;
	font-weight: 600;
	color: white;
	text-decoration: none;
	transition: color var(--transition-speed) var(--transition-easing);
}

.featured-item-link:hover .featured-item-title {
	color: #fff;
	text-decoration: none;
}

/* Drawer Footer */
.drawer-footer {
	padding: 1.5rem;
	border-top: 1px solid var(--color-border);
	background: var(--color-bg-secondary);
	backdrop-filter: blur(var(--backdrop-blur));
	flex-shrink: 0;
	display: flex;
	flex-direction: column;
	gap: 1rem;
	position: relative;
}

.drawer-footer::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
	pointer-events: none;
	opacity: 0.15;
}

/* Theme Toggle */
.theme-toggle-container {
	margin-bottom: 0.5rem;
}

.fluent-nav-cta {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.fluent-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.9rem 1.1rem;
	border-radius: var(--radius-sm);
	background: linear-gradient(135deg, var(--color-primary), color-mix(in srgb, var(--color-primary) 70%, var(--color-accent)));
	color: #fff;
	text-decoration: none;
	font-weight: 700;
	margin-bottom: var(--space-3);
	box-shadow: 0 12px 30px var(--color-shadow-lg);
	transition: transform var(--transition-speed) var(--transition-easing), box-shadow var(--transition-speed) var(--transition-easing);
}

.fluent-cta:hover {
	transform: translateY(-2px);
	box-shadow: 0 16px 40px var(--color-shadow-lg);
	text-decoration: none;
}

.fluent-cta i {
	font-size: 1rem;
}

.theme-toggle {
	width: 100%;
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.85rem 1rem;
	background: color-mix(in srgb, var(--color-primary) 10%, transparent);
	border: 1px solid color-mix(in srgb, var(--color-primary) 25%, var(--color-border));
	border-radius: var(--radius-sm);
	color: var(--color-text-primary);
	cursor: pointer;
	font-weight: 600;
	font-size: 0.95rem;
	transition: all var(--transition-speed) var(--transition-smooth);
	position: relative;
	overflow: hidden;
}

html.dark-theme .theme-toggle {
	background: color-mix(in srgb, var(--color-primary) 12%, transparent);
	border-color: color-mix(in srgb, var(--color-primary) 25%, var(--color-border));
}

.theme-toggle::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
	pointer-events: none;
	opacity: 0.2;
}

.theme-toggle:hover {
	background: color-mix(in srgb, var(--color-primary) 18%, transparent);
	border-color: var(--color-primary);
	box-shadow: 0 4px 12px var(--color-shadow);
	transform: translateY(-1px);
}

html.dark-theme .theme-toggle:hover {
	background: color-mix(in srgb, var(--color-primary) 22%, transparent);
	box-shadow: 0 4px 12px var(--color-shadow);
}

.theme-icon {
	font-size: 1rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
}

.theme-label {
	flex: 1;
	text-align: left;
}

/* Social Links */
.fluent-social-links {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	justify-content: center;
	gap: 0.75rem;
	flex-wrap: wrap;
}

.social-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	background: rgba(0, 122, 204, 0.12);
	color: var(--color-primary);
	border-radius: 12px;
	text-decoration: none;
	font-weight: 700;
	font-size: 1.1rem;
	transition: all var(--transition-speed) var(--transition-smooth);
	border: 1px solid rgba(0, 122, 204, 0.25);
	position: relative;
	overflow: hidden;
}

html.dark-theme .social-icon {
	background: rgba(253, 185, 19, 0.12);
	color: var(--color-primary);
	border-color: rgba(253, 185, 19, 0.3);
}

.social-icon::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
	pointer-events: none;
}

.social-icon:hover {
	background: var(--color-primary);
	color: white;
	text-decoration: none;
	border-color: var(--color-primary);
	box-shadow: 0 4px 16px rgba(0, 122, 204, 0.2);
	transform: translateY(-2px);
}

html.dark-theme .social-icon:hover {
	background: var(--color-primary);
	color: #1e1e1e;
	box-shadow: 0 4px 16px rgba(253, 185, 19, 0.25);
}

/* Backdrop Overlay */
.drawer-backdrop {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0);
	opacity: 0;
	z-index: 998;
	transition: opacity var(--transition-speed) var(--transition-easing);
	pointer-events: none;
}

.drawer-backdrop.visible {
	opacity: 1;
	pointer-events: auto;
	background-color: rgba(0, 0, 0, 0.5);
}

/* ================================
   Desktop Navigation Sidebar (LEFT)
   ================================ */

.fluent-desktop-nav {
	display: none;
}

@media (min-width: 1024px) {
	/* Hide mobile on desktop */
	.fluent-mobile-nav {
		display: none;
	}

	/* Show desktop sidebar on desktop */
	.fluent-desktop-nav {
		display: flex;
		flex-direction: column;
		position: fixed !important;
		left: 0 !important;
		top: 0 !important;
		width: 280px;
		height: 100vh;
		background: var(--color-bg-primary);
		border-right: 1px solid var(--color-border);
		box-shadow: 2px 0 20px var(--color-shadow-lg), inset -1px 0 0 var(--color-border);
		padding-top: 2rem;
		overflow-y: auto;
		z-index: 50;
		margin: 0 !important;
	}

	/* Sidebar Header */
	.fluent-sidebar-header {
		padding: 1.5rem;
		border-bottom: 1px solid var(--color-border);
		margin-bottom: 1rem;
		background: rgba(0, 122, 204, 0.08);
		position: relative;
	}

	html.dark-theme .fluent-sidebar-header {
		background: rgba(253, 185, 19, 0.08);
	}

	.fluent-sidebar-header::before {
		content: '';
		position: absolute;
		bottom: 0;
		left: 0;
		right: 0;
		height: 1px;
		background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
		opacity: 0.3;
		pointer-events: none;
	}

	.sidebar-title {
		margin: 0;
		font-size: 1.25rem;
		font-weight: 700;
		color: var(--color-primary);
	}

	/* Desktop Menu */
	.fluent-menu-desktop {
		list-style: none;
		margin: 0;
		padding: 0;
		display: flex;
		flex-direction: column;
		gap: 0.5rem;
		padding: 0 0.75rem;
		flex: 1;
	}

	.fluent-menu-desktop .fluent-menu-link {
		border-radius: 8px;
		padding: 0.75rem 1rem;
		font-size: 0.95rem;
		gap: 0.75rem;
		margin: 0;
		border-left: none;
		background: transparent;
	}

	.fluent-menu-desktop .fluent-menu-link:hover {
		background: rgba(0, 122, 204, 0.08);
		border-left: none;
		color: var(--color-primary);
		transform: translateX(2px);
	}

	html.dark-theme .fluent-menu-desktop .fluent-menu-link:hover {
		background: rgba(253, 185, 19, 0.08);
	}

	.fluent-menu-desktop .fluent-menu-item.active .fluent-menu-link {
		background: rgba(0, 122, 204, 0.08);
		color: var(--color-primary);
		border-left: none;
		padding-left: 1rem;
		font-weight: 600;
		position: relative;
	}

	html.dark-theme .fluent-menu-desktop .fluent-menu-item.active .fluent-menu-link {
		background: rgba(253, 185, 19, 0.08);
	}

	.fluent-menu-desktop .fluent-menu-item.active .fluent-menu-link::after {
		content: '';
		position: absolute;
		left: 0;
		top: 50%;
		transform: translateY(-50%);
		height: 55%;
		width: 3px;
		background: var(--color-primary);
		border-radius: 100px;
		box-shadow: 0 0 6px rgba(0, 122, 204, 0.4);
		z-index: 1;
	}

	html.dark-theme .fluent-menu-desktop .fluent-menu-item.active .fluent-menu-link::after {
		box-shadow: 0 0 6px rgba(253, 185, 19, 0.4);
	}

	.fluent-menu-desktop .fluent-menu-arrow {
		display: none;
	}

	/* Featured Content Desktop */
	.fluent-featured-content-desktop {
		margin: 1.5rem 0.75rem;
		padding: 1.25rem;
		background: rgba(0, 122, 204, 0.85);
		border-radius: 12px;
		color: white;
		overflow: hidden;
		transition: all var(--transition-speed) var(--transition-easing);
		position: relative;
		border: 1px solid rgba(255, 255, 255, 0.2);
		box-shadow: 0 8px 24px rgba(0, 122, 204, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.2);
	}

	html.dark-theme .fluent-featured-content-desktop {
		background: rgba(253, 185, 19, 0.85);
		box-shadow: 0 8px 24px rgba(253, 185, 19, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.2);
	}

	.fluent-featured-content-desktop:hover {
		transform: translateY(-3px);
		box-shadow: 0 12px 32px rgba(0, 122, 204, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.2);
	}

	html.dark-theme .fluent-featured-content-desktop:hover {
		box-shadow: 0 12px 32px rgba(253, 185, 19, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.2);
	}

	.featured-item-image {
		width: 100%;
		height: 120px;
		object-fit: cover;
		border-radius: 8px;
		margin-bottom: 0.75rem;
		display: block;
	}

	.fluent-featured-content-desktop .featured-item-title {
		font-size: 1rem;
	}

	/* Sidebar Footer */
	.fluent-sidebar-footer {
		padding: 1.5rem 0.75rem;
		border-top: 1px solid var(--color-border);
		background: var(--color-bg-secondary);
		margin-top: auto;
		position: relative;
	}

	.fluent-nav-cta-desktop {
		margin: 0.75rem 0 0.25rem;
	}

	.fluent-sidebar-footer::before {
		content: '';
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
		height: 1px;
		background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
		opacity: 0.3;
		pointer-events: none;
	}

	/* Theme Toggle Desktop */
	.theme-toggle-container-desktop {
		margin-bottom: 0.75rem;
	}

	.theme-toggle-desktop {
		width: 100%;
		display: flex;
		align-items: center;
		gap: 0.75rem;
		padding: 0.85rem;
		background: color-mix(in srgb, var(--color-primary) 10%, transparent);
		border: 1px solid color-mix(in srgb, var(--color-primary) 25%, var(--color-border));
		border-radius: var(--radius-sm);
		color: var(--color-text-primary);
		cursor: pointer;
		font-weight: 600;
		font-size: 0.9rem;
		transition: all var(--transition-speed) var(--transition-easing);
		text-align: left;
		position: relative;
		overflow: hidden;
	}

	html.dark-theme .theme-toggle-desktop {
		background: color-mix(in srgb, var(--color-primary) 12%, transparent);
		border-color: color-mix(in srgb, var(--color-primary) 25%, var(--color-border));
	}

	.theme-toggle-desktop::before {
		content: '';
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
		height: 1px;
		background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
		opacity: 0.3;
		pointer-events: none;
	}

	.theme-toggle-desktop:hover {
		background: color-mix(in srgb, var(--color-primary) 18%, transparent);
		border-color: var(--color-primary);
		box-shadow: 0 4px 12px var(--color-shadow);
		transform: translateY(-1px);
	}

	html.dark-theme .theme-toggle-desktop:hover {
		background: color-mix(in srgb, var(--color-primary) 22%, transparent);
		box-shadow: 0 4px 12px var(--color-shadow);
	}

	/* Social Links Desktop */
	.fluent-social-links-desktop {
		gap: 0.5rem;
		justify-content: flex-start;
	}

	.fluent-social-links-desktop .social-icon {
		width: 40px;
		height: 40px;
		font-size: 0.95rem;
		flex: 0;
	}

	/* Adjust page layout for sidebar */
	#page {
		margin-left: 280px;
	}
}

/* ================================
   Scrollbar Styles
   ================================ */

.fluent-drawer::-webkit-scrollbar,
.fluent-desktop-nav::-webkit-scrollbar {
	width: 8px;
}

.fluent-drawer::-webkit-scrollbar-track,
.fluent-desktop-nav::-webkit-scrollbar-track {
	background-color: transparent;
}

.fluent-drawer::-webkit-scrollbar-thumb,
.fluent-desktop-nav::-webkit-scrollbar-thumb {
	background-color: var(--color-border);
	border-radius: 4px;
}

.fluent-drawer::-webkit-scrollbar-thumb:hover,
.fluent-desktop-nav::-webkit-scrollbar-thumb:hover {
	background-color: var(--color-primary);
}

/* ================================
   Animations
   ================================ */

@keyframes slideInFromLeft {
	from {
		opacity: 0;
		transform: translateX(-20px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

.fluent-drawer.open .fluent-menu-item {
	animation: slideInFromLeft var(--transition-speed) var(--transition-easing) forwards;
}

.fluent-drawer.open .fluent-menu-item:nth-child(1) {
	animation-delay: 0.05s;
}

.fluent-drawer.open .fluent-menu-item:nth-child(2) {
	animation-delay: 0.1s;
}

.fluent-drawer.open .fluent-menu-item:nth-child(3) {
	animation-delay: 0.15s;
}

/* ================================
   Accessibility
   ================================ */

.fluent-menu-link:focus-visible,
.drawer-toggle:focus-visible,
.drawer-close:focus-visible,
.theme-toggle:focus-visible,
.social-icon:focus-visible {
	outline: 2px solid var(--color-primary);
	outline-offset: 2px;
}

/* Prevent body scroll when drawer is open */
body.drawer-open {
	overflow: hidden;
}

/* ================================
   Tablet Adjustments
   ================================ */

@media (min-width: 768px) and (max-width: 1023px) {
	.drawer-toggle {
		top: 1.5rem;
		left: 1.5rem;
	}

	.fluent-drawer {
		max-width: 380px;
	}
}

/* ================================
   Small Mobile
   ================================ */

@media (max-width: 480px) {
	.drawer-toggle {
		width: 48px;
		height: 48px;
		top: 0.75rem;
		left: 0.75rem;
	}

	.fluent-drawer {
		max-width: 100%;
	}

	.fluent-menu-link {
		padding: 0.875rem 1.25rem;
		font-size: 0.9rem;
	}

	.drawer-header {
		padding: 1rem;
	}

	.drawer-footer {
		padding: 1rem;
	}

	.fluent-featured-content {
		margin: 0.75rem;
	}
}
