/* Base styles */
.projectscroll-gallery-container {
	max-width: 100%;
	margin: 0;
	padding: 0;
}

.projectscroll-gallery-container h2 {
	text-align: center;
	margin-bottom: 30px;
	color: #333;
}

.projectscroll-gallery-scroller {
	width: 100%;
	overflow-x: hidden;
	position: relative;
	border-radius: 15px;
}

.projectscroll-gallery {
	display: flex;
	gap: 20px;
	padding:0;
	transition: transform 0.1s ease;
	border-radius: 15px;
}

.projectscroll-project-item {
	flex: 0 0 300px;
	background: white;
	border-radius: 15px;
	overflow: hidden;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	cursor: pointer;
	transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.projectscroll-project-item:hover {
	box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.projectscroll-project-image {
	width: 100%;
	height: 175px;
	object-fit: cover;
	border-radius: 0;
	
}

.projectscroll-project-title {
	padding: 10px;
	background-color: #ddd;
	font-size: 0.7rem;
	text-align: center;
	color: #111;
}

/* Modal styles */
.projectscroll-modal {
	display: none;
	position: fixed;
	z-index: 1000;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.8);
	overflow: auto;
}

.projectscroll-modal-content {
	background-color: #fff;
	margin: 5% auto;
	padding: 20px;
	border-radius: 8px;
	width: 80%;
	max-width: 800px;
	position: relative;
}

.projectscroll-close-btn {
	position: absolute;
	right: 20px;
	top: 10px;
	font-size: 28px;
	font-weight: bold;
	color: #aaa;
	cursor: pointer;
}

.projectscroll-close-btn:hover {
	color: #333;
}

.projectscroll-modal-body {
	display: flex;
	gap: 20px;
}

.projectscroll-modal-body img {
	width: 50%;
	height: auto;
	object-fit: contain;
	border-radius: 4px;
}

.projectscroll-modal-text {
	width: 50%;
}

.projectscroll-modal-text h3 {
	margin-top: 0;
	color: #333;
}

.projectscroll-modal-details {
	margin-top: 20px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
	.projectscroll-modal-body {
		flex-direction: column;
	}

	.projectscroll-modal-body img,
	.projectscroll-modal-text {
		width: 100%;
	}

	.projectscroll-project-item {
		flex: 0 0 250px;
	}
}