body {
	font-family: Arial, sans-serif;
	margin: 0;
	padding: 20px;
	background-color: #f4f4f4;
}

h1 {
	text-align: center;
	margin-bottom: 30px;
}

/* Base gallery layout (desktop) */
.gallery {
	display: grid;
	grid-template-columns: repeat(10, 1fr);
	gap: 10px;
	padding: 10px;
}

.thumbnail {
	width: 100%;
	height: auto;
	cursor: pointer;
	border: 1px solid #ccc;
	background: #fff;
	border-radius: 10px;
	transition: transform 0.2s ease;
}

.thumbnail:hover {
	transform: scale(1.05);
}

/* Lightbox modal */
.lightbox {
	display: none;
	position: fixed;
	z-index: 999;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.95);
}

.lightbox-content {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	max-width: 90%;
	max-height: 90%;
	box-shadow: 0 0 10px #fff;
	cursor: pointer;
	border-radius: 10px;
}

/* ---------- Responsive Breakpoints ---------- */

/* Tablet (≤1280px) */
@media (max-width: 1280px) {
	.gallery {
		grid-template-columns: repeat(6, 1fr);
	}
}

/* Small tablets and large phones (≤768px) */
@media (max-width: 768px) {
	.gallery {
		grid-template-columns: repeat(4, 1fr);
	}
}

/* Mobile phones (≤360px) */
@media (max-width: 360px) {
	.gallery {
		grid-template-columns: repeat(2, 1fr);
	}
}
