
/* Hamburger Menu Button */
.hamburger-btn {
	display: none;
	flex-direction: column;
	gap: 5px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 8px;
	z-index: 1005;
}

.hamburger-btn span {
	width: 25px;
	height: 3px;
	background: var(--primary);
	border-radius: 3px;
	transition: all 0.3s;
}

.hamburger-btn.active span:nth-child(1) {
	transform: rotate(45deg) translate(8px, 8px);
}

.hamburger-btn.active span:nth-child(2) {
	opacity: 0;
}

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




/* Cards */
.card {
	background: white;
	border-radius: var(--radius);
	padding: 1.5rem;
	box-shadow: var(--shadow-sm);
	transition: var(--transition);
	margin-bottom: 1rem;
}

.card:hover {
	box-shadow: var(--shadow-lg);
	transform: translateY(-4px);
}

/* Sidebar */
.sidebar {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.sidebar-card {
	background: white;
	border-radius: var(--radius);
	padding: 1.5rem;
	box-shadow: var(--shadow-sm);
}

.sidebar-card h3 {
	color: var(--primary);
	margin-bottom: 1rem;
	font-size: 1.25rem;
}

/* Banner */
.banner-immo {
	background: linear-gradient(135deg, #10b981 0%, #059669 100%);
	border-radius: var(--radius);
	padding: 2rem;
	color: white;
	box-shadow: var(--shadow-lg);
	margin: 2rem 0;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2rem;
	align-items: center;
}

.banner-immo img {
	border-radius: var(--radius);
	width: 100%;
	height: 250px;
	object-fit: cover;
	box-shadow: var(--shadow-md);
}

.banner-content h3 {
	font-size: 1.75rem;
	margin-bottom: 1rem;
}

.banner-content p {
	font-size: 1.1rem;
	line-height: 1.8;
	margin-bottom: 1.5rem;
}

/* Welcome Section */
.welcome-section {
	background: white;
	border-radius: var(--radius);
	padding: 3rem;
	box-shadow: var(--shadow-lg);
	text-align: center;
}

.welcome-section h1 {
	font-size: 2.5rem;
	color: var(--primary);
	margin-bottom: 1rem;
}

.welcome-section h2 {
	font-size: 1.5rem;
	color: var(--text-secondary);
	margin-bottom: 2rem;
}

.sectors-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 1.5rem;
	margin: 2rem 0;
}

.sector-card {
	background: var(--bg-main);
	padding: 1.5rem;
	border-radius: var(--radius);
	transition: var(--transition);
}

.sector-card:hover {
	background: var(--primary);
	color: white;
	transform: translateY(-5px);
	box-shadow: var(--shadow-lg);
}

/* Responsive */
@media (max-width: 1200px) {
	.main-container {
		grid-template-columns: 1fr;
	}

	.sidebar {
		display: flex;
		flex-direction: row;
		gap: 1rem;
		overflow-x: auto;
		padding-bottom: 1rem;
	}

	.sidebar-card {
		min-width: 250px;
		flex-shrink: 0;
	}
}

@media (max-width: 768px) {
	.nav-container {
		flex-direction: row;
		flex-wrap: wrap;
		gap: 1rem;
	}

	.hamburger-btn {
		display: flex;
		order: 3;
	}

	.nav-logo {
		order: 1;
		font-size: 1.25rem;
	}

	.nav-search {
		order: 2;
		flex: 1;
	}

	.nav-search input {
		width: 100%;
	}

	.nav-links {
		order: 4;
		position: fixed;
		top: 0;
		left: -100%;
		width: 80%;
		max-width: 300px;
		height: 100vh;
		background: white;
		flex-direction: column;
		padding: 80px 0 20px 0;
		box-shadow: var(--shadow-lg);
		transition: left 0.3s ease;
		overflow-y: auto;
		z-index: 1004;
	}

	.nav-links.active {
		left: 0;
	}

	.nav-link {
		width: 100%;
		justify-content: flex-start;
		padding: 1rem 2rem;
		border-radius: 0;
		color: var(--text-primary);
	}

	.nav-link:hover {
		background: var(--bg-main);
		color: var(--primary);
		transform: none;
		box-shadow: none;
	}

	/* Overlay pour fermer le menu */
	.nav-overlay {
		display: none;
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background: rgba(0, 0, 0, 0.5);
		z-index: 1003;
	}

	.nav-overlay.active {
		display: block;
	}

	.main-container {
		padding: 0 1rem;
	}

	.sidebar {
		flex-direction: row;
		gap: 1rem;
		overflow-x: auto;
		padding: 1rem 0;
		margin: 0 -1rem;
		padding-left: 1rem;
		padding-right: 1rem;
		scroll-snap-type: x mandatory;
		-webkit-overflow-scrolling: touch;
	}

	.sidebar-card {
		min-width: 280px;
		flex-shrink: 0;
		scroll-snap-align: start;
	}

	.search-hero {
		padding: 2rem 1.5rem;
	}

	.search-hero h1 {
		font-size: 1.5rem;
	}

	.search-input-group {
		flex-direction: column;
	}

	.search-form input[type="text"] {
		min-width: 100%;
	}

	.btn {
		width: 100%;
		justify-content: center;
	}

	.banner-immo {
		grid-template-columns: 1fr;
		padding: 1.5rem;
	}

	.banner-content h3 {
		font-size: 1.5rem;
	}

	.sectors-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.carousel-modern {
		height: 250px;
	}

	.topbar {
		flex-direction: column;
		gap: 10px;
		padding: 15px;
	}
	
	.info-items {
		flex-wrap: wrap;
		justify-content: center;
	}

	.info-items span {
		font-size: 0.75rem;
		padding: 4px 8px;
	}
	
	.auth-links {
		width: 100%;
		justify-content: center;
	}

	.auth-link {
		flex: 1;
		justify-content: center;
	}
}



/* Checkbox styling */
.checkbox-label {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	cursor: pointer;
	font-weight: 500;
}

.checkbox-label input[type="checkbox"] {
	width: 20px;
	height: 20px;
	cursor: pointer;
}


			


