/*-- Use For Custom Styling --*/

.gallery-filters {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 2rem;
}

.gallery-filter {
	background: transparent;
	border: none;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #666;
	transition: color 0.3s ease;
	padding: 0;
}

.gallery-filter:hover,
.gallery-filter.active {
	color: #024931;
}

.gallery-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	grid-auto-rows: 220px;
	gap: 20px;
    margin-top: 40px;
}

.gallery-item {
	position: relative;
	overflow: hidden;
	border-radius: 12px;
	display: block;
	height: 100%;
}

.gallery-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.gallery-item:hover img {
	transform: scale(1.05);
}

.gallery-item-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(2, 73, 49, 0.82);
	color: #fff;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	padding: 1.5rem;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-item-overlay {
	opacity: 1;
}

.gallery-item .title {
	font-size: 1.125rem;
	margin-top: 0.75rem;
	margin-bottom: 0.25rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.gallery-item-desc {
	font-size: 0.9rem;
	opacity: 0.9;
}

.gallery-item .plus {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	border: 2px solid #fff;
	position: relative;
}

.gallery-item .plus::before,
.gallery-item .plus::after {
	content: "";
	position: absolute;
	background: #fff;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
}

.gallery-item .plus::before {
	width: 2px;
	height: 18px;
}

.gallery-item .plus::after {
	width: 18px;
	height: 2px;
}

.gallery-item.is-hidden {
	display: none;
}

.footer-contact {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.75rem;
	margin-bottom: 1.75rem;
	color: #024931;
}

.footer-contact-item {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-weight: 500;
}

.footer-contact-item i {
	color: #024931;
	font-size: 1rem;
}

@media (min-width: 768px) {
	.footer-contact {
		flex-direction: row;
		justify-content: center;
		gap: 2.5rem;
	}
}

@media (max-width: 767px) {
	.gallery-filters {
		gap: 0.75rem;
	}

	.gallery-grid {
		display: flex;
		gap: 16px;
		overflow-x: auto;
		padding: 0 12px 8px;
		margin: 40px -12px 0;
		scroll-snap-type: x mandatory;
		-webkit-overflow-scrolling: touch;
	}

	.gallery-grid::-webkit-scrollbar {
		display: none;
	}

	.gallery-item {
		flex: 0 0 80%;
		height: 240px;
		scroll-snap-align: center;
	}

	.gallery-item:hover img {
		transform: none;
	}

	.gallery-item-overlay {
		opacity: 1;
		background: linear-gradient(180deg, rgba(2, 73, 49, 0.25) 0%, rgba(2, 73, 49, 0.85) 100%);
		justify-content: flex-end;
		padding: 1rem;
	}

	.gallery-item .plus {
		display: none;
	}

	.gallery-item .title {
		margin-top: 0;
		font-size: 1rem;
	}

	.gallery-item-desc {
		font-size: 0.8rem;
	}
}

@media (min-width: 992px) {
	.gallery-grid {
		grid-auto-rows: 260px;
	}

	.gallery-item:nth-child(3n) {
		grid-row: span 2;
	}

	.gallery-item:nth-child(5n) {
		grid-column: span 2;
	}
}