/* ===== MOBILE MENU TOGGLE ===== */

.mobile-menu-toggle {
	display: none;
	flex-direction: column;
	justify-content: space-around;
	width: 30px;
	height: 24px;
	background: transparent;
	border: none;
	cursor: pointer;
	padding: 0;
	z-index: 1000;
	position: absolute;
	right: 1rem;
}

.mobile-menu-toggle span {
	width: 30px;
	height: 3px;
	background: var(--text-dark);
	border-radius: 2px;
	transition: all 0.3s ease;
}

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

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

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

@media (max-width: 768px) {
	body {
		font-size: 14px;
	}

	h1, h2, h3, h4, h5, h6 {
		font-size: 1.5rem;
	}

	.service-form-container {
		padding: 0 !important;
		box-shadow: none !important;
	}

	.logo img {
		max-width: 100px;
	}

	.header-contact {
		margin-left: -15px;
	}

	.header-contact .contact-item svg {
		width: 13px;
		height: 13px;
	}

	.header-contact .contact-item {
		font-size: 0.6rem;
		padding: 0
	}

	.mobile-menu-toggle {
		display: flex;
	}

	.header-right {
		position: fixed;
		top: 0;
		right: -100%;
		width: 80%;
		max-width: 300px;
		height: 100vh;
		background: var(--white);
		box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
		transition: right 0.3s ease;
		z-index: 999;
		padding-top: 80px;
		display: block;
		white-space: normal;
	}

	.header-right.active {
		right: 0;
	}

	.main-navigation {
		width: 100%;
	}

	.primary-menu {
		flex-direction: column !important;
		width: 100%;
		padding: 0;
		margin: 0;
		gap: 0 !important;
	}

	.primary-menu li {
		width: 100%;
		border-bottom: 1px solid var(--border-gray);
		margin: 0 !important;
	}

	.primary-menu a {
		display: block !important;
		padding: 1rem 1.5rem !important;
		width: 100%;
		border-bottom: none !important;
	}

	/* Page Hero Mobile Styles */
	.page-hero {
		height: 50vh;
		min-height: 400px;
	}

	.page-hero .hero-content {
		max-width: 80%;
		padding-left: 2rem;
	}

	.page-hero .hero-content h1 {
		font-size: 0.8rem;
	}

	.page-hero .hero-content p {
		font-size: 1.2rem;
	}

	/* Featured Cars Mobile Styles */
	.featured-cars-section .offer_wrapper {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}

	/* Car Listing Mobile Styles */
	.offer_wrapper.mobile {
		grid-template-columns: 1fr !important;
		gap: 1.5rem !important;
	}

}

/* Tablet Styles */
@media (min-width: 769px) and (max-width: 1024px) {
	.offer_wrapper.mobile {
		grid-template-columns: repeat(2, 1fr) !important;
		gap: 1.5rem !important;
		padding: 0 2rem 1.5rem !important;
	}
}
