/* Gallery Page Specific Styles */

.gallery-main {
	padding: 40px 0 80px;
	background-color: #1a1a1a;
	min-height: 100vh;
}

.gallery-hero {
	text-align: center;
	margin-bottom: 60px;
	padding: 40px 0;
}

.gallery-title {
	font-size: 4rem;
	font-weight: bold;
	margin-bottom: 20px;
	line-height: 1.1;
}

.gallery-text {
	color: #ff00ff;
}

.gallery-subtitle {
	font-size: 1.5rem;
	color: #ccc;
	margin-bottom: 0;
}

.gallery-content {
	max-width: 1200px;
	margin: 0 auto;
}

.game-screenshots-section,
.call-to-action-section {
	margin-bottom: 60px;
	padding: 40px;
	background: #222;
	border-radius: 12px;
	border-left: 4px solid #ff00ff;
}

.section-title {
	font-size: 2rem;
	margin-bottom: 30px;
	color: white;
}

/* Gallery Grid */
.gallery-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 25px;
	margin: 30px 0;
}

.gallery-item {
	position: relative;
	background: #2a2a2a;
	border-radius: 12px;
	overflow: hidden;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	cursor: pointer;
}

.gallery-item:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 30px rgba(255, 0, 255, 0.3);
}

.gallery-image {
	width: 100%;
	height: 200px;
	object-fit: cover;
	transition: transform 0.3s ease;
}

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

.gallery-overlay {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
	padding: 20px;
	color: white;
	transform: translateY(100%);
	transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
	transform: translateY(0);
}

.gallery-overlay h3 {
	color: #ffd700;
	font-size: 1.2rem;
	margin-bottom: 5px;
}

.gallery-overlay p {
	font-size: 0.9rem;
	margin: 0;
	opacity: 0.9;
}

/* Placeholder Items */
.gallery-item.placeholder {
	height: 200px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 2px dashed #555;
	background: #1a1a1a;
}

.gallery-item.placeholder:hover {
	border-color: #ff00ff;
	background: #222;
}

.placeholder-content {
	text-align: center;
	color: #666;
}

.placeholder-icon {
	font-size: 3rem;
	margin-bottom: 10px;
	display: block;
}

.placeholder-content p {
	font-size: 1rem;
	margin: 0;
}

.gallery-item.placeholder:hover .placeholder-content {
	color: #ff00ff;
}

/* Call to Action Section */
.cta-content {
	text-align: center;
	padding: 30px;
	background: linear-gradient(135deg, #2a2a2a, #333);
	border-radius: 12px;
	border: 2px solid #ffd700;
}

.cta-content p {
	font-size: 1.2rem;
	color: #ccc;
	margin-bottom: 30px;
	line-height: 1.6;
}

.cta-buttons {
	display: flex;
	gap: 20px;
	justify-content: center;
	flex-wrap: wrap;
}

/* Lightbox Styles */
.lightbox {
	display: none;
	position: fixed;
	z-index: 1000;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.9);
	backdrop-filter: blur(5px);
}

.lightbox-content {
	position: relative;
	margin: auto;
	padding: 20px;
	width: 90%;
	max-width: 1200px;
	height: 90%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.lightbox-close {
	position: absolute;
	top: 20px;
	right: 30px;
	color: #fff;
	font-size: 40px;
	font-weight: bold;
	cursor: pointer;
	z-index: 1001;
	transition: color 0.3s ease;
}

.lightbox-close:hover {
	color: #ff00ff;
}

#lightbox-image {
	max-width: 100%;
	max-height: 80%;
	object-fit: contain;
	border-radius: 8px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.lightbox-caption {
	text-align: center;
	margin-top: 20px;
	color: white;
	max-width: 600px;
}

.lightbox-caption h3 {
	color: #ffd700;
	font-size: 1.5rem;
	margin-bottom: 10px;
}

.lightbox-caption p {
	font-size: 1.1rem;
	opacity: 0.9;
	margin: 0;
}

.lightbox-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 100%;
	display: flex;
	justify-content: space-between;
	pointer-events: none;
}

.lightbox-prev,
.lightbox-next {
	background: rgba(255, 0, 255, 0.8);
	color: white;
	border: none;
	font-size: 30px;
	padding: 15px 20px;
	cursor: pointer;
	border-radius: 50%;
	transition: all 0.3s ease;
	pointer-events: auto;
}

.lightbox-prev:hover,
.lightbox-next:hover {
	background: rgba(255, 0, 255, 1);
	transform: scale(1.1);
}

.lightbox-prev {
	margin-left: 20px;
}

.lightbox-next {
	margin-right: 20px;
}

/* Navigation Active State */
.nav-link.active {
	color: #ff00ff;
	font-weight: bold;
}

/* Responsive Design */
@media (max-width: 768px) {
	.gallery-main {
		padding: 20px 0 60px;
	}
	
	.gallery-hero {
		padding: 30px 0;
		margin-bottom: 40px;
	}
	
	.gallery-title {
		font-size: 2.2rem;
		line-height: 1.2;
		margin-bottom: 15px;
	}
	
	.gallery-subtitle {
		font-size: 1.1rem;
	}
	
	.game-screenshots-section,
	.call-to-action-section {
		padding: 20px;
		margin-bottom: 30px;
	}
	
	.section-title {
		font-size: 1.4rem;
		margin-bottom: 20px;
	}
	
	.gallery-grid {
		grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
		gap: 15px;
	}
	
	.gallery-item {
		border-radius: 8px;
	}
	
	.gallery-image {
		height: 160px;
	}
	
	.gallery-item.placeholder {
		height: 160px;
	}
	
	.gallery-overlay {
		padding: 15px;
	}
	
	.gallery-overlay h3 {
		font-size: 1.1rem;
		margin-bottom: 5px;
	}
	
	.gallery-overlay p {
		font-size: 0.85rem;
	}
	
	.placeholder-icon {
		font-size: 2.5rem;
		margin-bottom: 8px;
	}
	
	.placeholder-content p {
		font-size: 0.9rem;
	}
	
	.cta-content {
		padding: 20px;
	}
	
	.cta-content p {
		font-size: 1.1rem;
		margin-bottom: 25px;
	}
	
	.cta-buttons {
		flex-direction: column;
		align-items: center;
		gap: 15px;
	}
	
	.cta-buttons .btn {
		width: 100%;
		max-width: 250px;
		padding: 15px 24px;
		font-size: 16px;
	}
	
	/* Lightbox responsive styles */
	.lightbox-content {
		padding: 10px;
		width: 95%;
		height: 95%;
	}
	
	.lightbox-close {
		top: 10px;
		right: 15px;
		font-size: 30px;
	}
	
	.lightbox-prev,
	.lightbox-next {
		font-size: 20px;
		padding: 10px 15px;
	}
	
	.lightbox-prev {
		margin-left: 10px;
	}
	
	.lightbox-next {
		margin-right: 10px;
	}
	
	.lightbox-caption {
		margin-top: 15px;
	}
	
	.lightbox-caption h3 {
		font-size: 1.2rem;
		margin-bottom: 8px;
	}
	
	.lightbox-caption p {
		font-size: 1rem;
	}
}

@media (max-width: 480px) {
	.gallery-title {
		font-size: 1.8rem;
	}
	
	.gallery-subtitle {
		font-size: 1rem;
	}
	
	.game-screenshots-section,
	.call-to-action-section {
		padding: 15px;
		margin-bottom: 25px;
	}
	
	.section-title {
		font-size: 1.2rem;
	}
	
	.gallery-grid {
		grid-template-columns: 1fr;
		gap: 12px;
	}
	
	.gallery-image {
		height: 180px;
	}
	
	.gallery-item.placeholder {
		height: 180px;
	}
	
	.cta-content {
		padding: 15px;
	}
	
	.cta-content p {
		font-size: 1rem;
		margin-bottom: 20px;
	}
	
	.cta-buttons .btn {
		padding: 12px 20px;
		font-size: 15px;
	}
	
	.lightbox-close {
		top: 5px;
		right: 10px;
		font-size: 25px;
	}
	
	.lightbox-prev,
	.lightbox-next {
		font-size: 18px;
		padding: 8px 12px;
	}
	
	.lightbox-prev {
		margin-left: 5px;
	}
	
	.lightbox-next {
		margin-right: 5px;
	}
}
