/* Section with PODS gallery background */
.has-pods-gallery-background {
	position: relative;
}

/* Background container - holds all backgrounds */
.pods-gallery-bg-container {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	width: 100%;
	height: 100%;
	z-index: 0;
	overflow: hidden;
}

/* Individual background layers */
.pods-gallery-bg {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center center;
}

/* Create overlay */
.has-pods-gallery-background:before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.3);
	z-index: 1;
	pointer-events: none;
}

/* Make sure elementor content appears above the overlay */
.has-pods-gallery-background > .elementor-container,
.has-pods-gallery-background.e-con > .e-con-inner {
	position: relative;
	z-index: 2;
}

/* Navigation controls */
.pods-gallery-controls {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 100%;
	z-index: 5;
	display: flex;
	justify-content: space-between;
	padding: 0 15px;
	box-sizing: border-box;
	pointer-events: none; /* So it doesn't interfere with section content */
}

.pods-gallery-prev,
.pods-gallery-next {
	background-color: rgba(0, 0, 0, 0.5);
	color: #fff;
	border: none;
	border-radius: 50%;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	opacity: 0.6;
	transition: opacity 0.3s ease, background-color 0.3s ease;
	pointer-events: auto; /* Make buttons clickable */
}

.pods-gallery-prev:hover,
.pods-gallery-next:hover {
	opacity: 1;
	background-color: rgba(0, 0, 0, 0.7);
}

.pods-gallery-prev:focus,
.pods-gallery-next:focus {
	outline: none;
}

/* Indicators */
.pods-gallery-indicators {
	position: absolute;
	bottom: 20px;
	left: 0;
	right: 0;
	z-index: 5;
	display: flex;
	justify-content: center;
	gap: 8px;
	pointer-events: none;
}

.pods-gallery-indicator {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background-color: rgba(255, 255, 255, 0.5);
	border: none;
	padding: 0;
	cursor: pointer;
	transition: background-color 0.3s ease;
	pointer-events: auto; /* Make indicators clickable */
}

.pods-gallery-indicator.active {
	background-color: #fff;
}

.pods-gallery-indicator:focus {
	outline: none;
}

/* Responsive styles for navigation controls */
@media (max-width: 767px) {
	.pods-gallery-controls {
		padding: 0 10px;
	}

	.pods-gallery-prev,
	.pods-gallery-next {
		width: 30px;
		height: 30px;
	}

	.pods-gallery-indicators {
		bottom: 10px;
	}

	.pods-gallery-indicator {
		width: 8px;
		height: 8px;
	}
}
