:root {
	/* --bg-primary: #282828; */
	--bg-primary: rgb(255, 252, 250);
	;
	/* --bg-secondary: #272727; */
	--bg-secondary: rgb(255, 252, 250);

	--text-primary: #666666;
	--accent-color: #66CFFF;
	--spacing-sm: 1rem;
	--spacing-md: 1rem;
	--spacing-lg: 3rem;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

@font-face {
	font-family: 'Raleway Med';
	/* font-style: BOLD;  */
	/* font-weight: 500;  */
	src: url(Raleway-Medium.ttf);
}

body {
	font-family: 'Open Sans', sans-serif;
	background-color: var(--bg-primary);
	color: var(--text-primary);
	line-height: 1.6;
	padding: var(--spacing-md);
}

.header {
	max-width: 1400px;
	margin: 0 auto var(--spacing-lg);
	text-align: left;
	padding-left: var(--spacing-md);
	margin-top: 0.9rem;
}

.header__title {
	font-family: 'Raleway Med', sans-serif;

	font-size: 1.5rem;
	margin-bottom: var(--spacing-sm);
	/* font-weight: bolder; */
	font-weight: 600;
	color: #767676;
}

.header__subtitle {
	font-size: 0.8rem;
	opacity: 0.9;
}

.gallery {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--spacing-md);
	max-width: 1400px;
	margin: 0 auto;
}

.gallery__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: var(--spacing-md);
	background-color: var(--bg-secondary);
	border-radius: 8px;
	transition: transform 0.3s ease;
}

.gallery__item:hover {
	transform: translateY(-5px);
}

.gallery__image-container {
	width: 100%;
	/* height: 270px; */
	/* height: 80%; */
	cursor: pointer;
	position: relative;
	margin-bottom: var(--spacing-sm);
	border-radius: 8px;
	overflow: hidden;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery__image-container:hover {
	transform: translateY(0px);
	box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
}

.gallery__image-container::after {
	content: '🔍 Click to enlarge';
	position: absolute;
	bottom: 10px;
	right: 10px;
	background: rgba(0, 0, 0, 0.7);
	color: white;
	padding: 1px 5px 1px 2.5px;
	border-radius: 4px;
	font-size: 0.8rem;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.gallery__image-container:hover::after {
	opacity: 1;
}

.gallery__image {
	width: 100%;
	height: auto;
	border-radius: 8px;
	transition: filter 0.3s ease;
}

.gallery__image-container:hover .gallery__image {
	filter: brightness(1.1);
}

.gallery__caption {
	font-size: 0.9rem;
	text-align: center;
}

.video-container {
	position: relative;
	width: 100%;
	padding-bottom: 100%;
	/* padding-bottom: 100%; 1:1 Aspect Ratio */
	margin-bottom: var(--spacing-sm);
	border-radius: 8px;
	overflow: hidden;
	background: var(--bg-primary);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-container:hover {
	transform: translateY(-5px);
	box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
}

.video-container iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: none;
	border-radius: 8px;
	z-index: 2;
}

.gallery__item:hover .video-container {
	transform: translateY(-5px);
	box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
}

/* Modal/Lightbox styles */
.modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.9);
	z-index: 1000;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.modal.show {
	display: flex;
	justify-content: center;
	align-items: center;
	opacity: 1;
}

.modal__content {
	position: relative;
	max-width: 90vw;
	max-height: 90vh;
}

.modal__image {
	max-width: 100%;
	max-height: 90vh;
	object-fit: contain;
	border-radius: 4px;
}

.modal__close {
	position: absolute;
	top: -40px;
	right: -10px;
	color: white;
	font-size: 30px;
	font-weight: bold;
	cursor: pointer;
	background: none;
	border: none;
	padding: 10px;
	transition: color 0.3s ease;
}

.modal__close:hover {
	color: var(--accent-color);
}

@media (max-width: 768px) {
	body {
		padding: var(--spacing-sm);
	}

	.gallery {
		grid-template-columns: 1fr;
		gap: var(--spacing-sm);
		max-width: 600px;
	}
}


#copyright {
	width: 100%;
	text-align: center;
	color: #999;
	font-size: 0.8em;
	/* line-height: 1.5; */
	margin-top: 120px;
	/* margin-bottom: 1.2rem; */
	position: static;
}

a {
	color: #888888;
}

a:link {
	color: #888888;
	text-decoration: none;
}

a:visited {
	color: #888888;
	text-decoration: none;
}

a:active {
	color: #888888;
	text-decoration: underline;
}

a:hover {
	color: #88CCCC;
	text-decoration: underline;
}