/* Galeria de Projetos - Carrossel Grande */

.project-gallery {
	width: 100vw;
	position: relative;
	left: 50%;
	right: 50%;
	margin-left: -50vw;
	margin-right: -50vw;
	padding: 0;
	margin-top: 60px;
	margin-bottom: 60px;
}

/* Carrossel Principal */
.gallery-main {
	position: relative;
	width: 100%;
	height: 85vh;
	min-height: 600px;
	max-height: 1000px;
	overflow: hidden;
	background: #fff;
}

.gallery-slide {
	display: none;
	width: 100%;
	height: 100%;
}

.gallery-slide.active {
	display: block;
}

.gallery-slide img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	background: #fff;
}

/* Botões de Navegação */
.gallery-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(255, 255, 255, 0.9);
	border: none;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 24px;
	color: #1D6542;
	transition: all 0.3s ease;
	z-index: 10;
}

.gallery-nav:hover {
	background: #1D6542;
	color: #fff;
	transform: translateY(-50%) scale(1.1);
}

.gallery-nav.prev {
	left: 20px;
}

.gallery-nav.next {
	right: 20px;
}

/* Thumbnails */
.gallery-thumbnails {
	display: flex;
	justify-content: center;
	gap: 15px;
	padding: 30px 20px;
	background: #f9f9f9;
	flex-wrap: wrap;
}

.gallery-thumb {
	width: 120px;
	height: 80px;
	cursor: pointer;
	border: 3px solid transparent;
	border-radius: 8px;
	overflow: hidden;
	transition: all 0.3s ease;
	position: relative;
}

.gallery-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.gallery-thumb:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.gallery-thumb.active {
	border-color: #1D6542;
	transform: scale(1.05);
}

.gallery-thumb::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(29, 101, 66, 0.3);
	opacity: 0;
	transition: opacity 0.3s ease;
}

.gallery-thumb.active::after {
	opacity: 1;
}

/* Contador de Imagens */
.gallery-counter {
	position: absolute;
	bottom: 20px;
	left: 50%;
	transform: translateX(-50%);
	background: rgba(0, 0, 0, 0.7);
	color: #fff;
	padding: 8px 20px;
	border-radius: 20px;
	font-size: 14px;
	font-weight: 600;
	z-index: 10;
}

/* Responsive */
@media (max-width: 768px) {
	.gallery-main {
		height: 50vh;
		min-height: 400px;
	}

	.gallery-nav {
		width: 40px;
		height: 40px;
		font-size: 20px;
	}

	.gallery-nav.prev {
		left: 10px;
	}

	.gallery-nav.next {
		right: 10px;
	}

	.gallery-thumb {
		width: 80px;
		height: 60px;
	}

	.gallery-thumbnails {
		gap: 10px;
		padding: 20px 10px;
	}
}

@media (max-width: 480px) {
	.gallery-thumb {
		width: 60px;
		height: 45px;
	}
}
