/* ==========================================
   MOBILE NAVBAR - RESPONSIVE ONLY
   ========================================== */

.mobile-navbar {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	/* Slightly off-white for better logo contrast */
	background: #f8f9fb;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

.mobile-navbar-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0.875rem 1rem;
	border-bottom: 1px solid var(--gray-200);
}

.mobile-brand {
	display: flex;
	align-items: center;
}

.mobile-logo {
	height: 48px;
	width: auto;
	max-width: 180px;
	object-fit: contain;
}

.mobile-menu-toggle {
	display: flex;
	flex-direction: column;
	gap: 5px;
	background: none;
	border: none;
	padding: 8px;
	cursor: pointer;
	border-radius: 8px;
	transition: background 0.2s ease;
}

.mobile-menu-toggle:hover {
	background: var(--gray-100);
}

.hamburger-line {
	width: 24px;
	height: 3px;
	background: var(--primary);
	border-radius: 2px;
	transition: all 0.3s ease;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
	transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
	opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
	transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Menu */
.mobile-menu {
	position: fixed;
	top: 0;
	right: -100%;
	width: 85%;
	max-width: 360px;
	height: 100vh;
	background: white;
	box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15);
	transition: right 0.3s ease;
	z-index: 1002;
	overflow-y: auto;
}

.mobile-menu.active {
	right: 0;
}

.mobile-menu-overlay {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.5);
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s ease;
	z-index: 1001;
}

.mobile-menu-overlay.active {
	opacity: 1;
	visibility: visible;
}

.mobile-menu-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1.25rem 1rem;
	border-bottom: 2px solid var(--gray-200);
	background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
	color: white;
}

.mobile-menu-title {
	font-size: 1.25rem;
	font-weight: 700;
	letter-spacing: 0.02em;
}

.mobile-menu-close {
	background: rgba(255, 255, 255, 0.2);
	border: none;
	padding: 0.5rem;
	border-radius: 8px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	transition: background 0.2s ease;
}

.mobile-menu-close:hover {
	background: rgba(255, 255, 255, 0.3);
}

.mobile-menu-content {
	padding: 1rem 0;
}

.mobile-nav-link {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 1rem 1.25rem;
	color: var(--gray-800);
	text-decoration: none;
	font-weight: 600;
	font-size: 1rem;
	transition: all 0.2s ease;
	border-left: 4px solid transparent;
}

.mobile-nav-link:hover {
	background: var(--gray-100);
	color: var(--primary);
	border-left-color: var(--primary);
}

.mobile-nav-link.active {
	background: var(--primary-soft);
	color: var(--primary);
	border-left-color: var(--primary);
}

.mobile-nav-link svg {
	flex-shrink: 0;
	width: 20px;
	height: 20px;
}

.mobile-nav-sublinks {
	display: flex;
	flex-direction: column;
	background: var(--gray-50);
	padding: 0.5rem 0;
}

.mobile-nav-sublink {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.75rem 1.25rem 0.75rem 3rem;
	color: var(--gray-700);
	text-decoration: none;
	font-weight: 500;
	font-size: 0.875rem;
	transition: all 0.2s ease;
}

.mobile-nav-sublink:hover {
	background: var(--gray-100);
	color: var(--primary);
}

.mobile-nav-sublink svg {
	flex-shrink: 0;
	width: 16px;
	height: 16px;
	opacity: 0.7;
}

.mobile-menu-divider {
	height: 1px;
	background: var(--gray-200);
	margin: 1rem 0;
}

.mobile-locations {
	padding: 0 1.25rem 1rem;
}

.mobile-section-title {
	font-size: 0.875rem;
	font-weight: 700;
	color: var(--gray-600);
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin-bottom: 0.75rem;
}

.mobile-location-item {
	display: flex;
	align-items: center;
	gap: 0.875rem;
	padding: 0.875rem;
	margin-bottom: 0.5rem;
	background: var(--gray-100);
	border-radius: 10px;
	text-decoration: none;
	color: var(--gray-800);
	transition: all 0.2s ease;
}

.mobile-location-item:hover {
	background: var(--primary-soft);
	color: var(--primary);
}

.mobile-location-item svg {
	flex-shrink: 0;
	width: 18px;
	height: 18px;
	color: var(--primary);
}

.mobile-location-item div {
	display: flex;
	flex-direction: column;
	gap: 0.125rem;
}

.mobile-location-item strong {
	font-size: 0.9375rem;
	font-weight: 700;
}

.mobile-location-item span {
	font-size: 0.875rem;
	color: var(--gray-600);
}

/* Show mobile navbar only on mobile */
@media (max-width: 860px) {
	.mobile-navbar {
		display: block;
	}
	
	body {
		padding-top: 65px;
	}
}

@media (max-width: 480px) {
	.mobile-logo {
		height: 42px;
		max-width: 150px;
	}
	
	.mobile-menu {
		width: 90%;
	}
}
