/* Film Grid Styles */

.film-controls {
	text-align: center;
	margin-bottom: 30px;
}

.btn-sort {
	background: #f5f5f5;
	border: 1px solid #dadada;
	padding: 10px 20px;
	margin: 5px;
	cursor: pointer;
	font-family: 'EB Garamond', Georgia, serif;
	font-size: 1em;
	transition: all 0.3s ease;
}

.btn-sort:hover {
	background: #e0e0e0;
}

.btn-sort.active {
	background: #196b52;
	color: white;
	border-color: #196b52;
}

.film-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 40px;
	margin-bottom: 40px;
}

/* Mobile: 1 column */
@media screen and (max-width: 640px) {
	.film-grid {
		grid-template-columns: 1fr;
		gap: 30px;
	}
}

.film-item {
	background: #fafafa;
	border: 1px solid #e0e0e0;
	padding: 20px;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.film-item:hover {
	transform: translateY(-5px);
	box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.film-video {
	margin-bottom: 15px;
}

.film-video .flex-video {
	margin-bottom: 0;
}

.film-info {
	text-align: left;
}

.film-info h3 {
	margin-top: 0;
	margin-bottom: 10px;
	font-size: 1.4em;
	color: #003200;
}

.film-info p {
	margin-bottom: 10px;
	line-height: 1.6;
}

.film-info .film-meta {
	font-size: 0.95em;
	color: #666;
	margin-bottom: 15px;
}

.film-info .film-link {
	display: inline-block;
	margin-top: 10px;
	padding: 8px 15px;
	background: #f0f0f0;
	color: #003200;
	text-decoration: none;
	border: 1px solid #dadada;
	transition: all 0.3s ease;
}

.film-info .film-link:hover {
	background: #196b52;
	color: white;
	border-color: #196b52;
}

.btn-load-more {
	background: #196b52;
	color: white;
	border: none;
	padding: 15px 40px;
	font-family: 'EB Garamond', Georgia, serif;
	font-size: 1.1em;
	cursor: pointer;
	transition: all 0.3s ease;
}

.btn-load-more:hover {
	background: #145a42;
}

.btn-load-more:disabled {
	background: #ccc;
	cursor: not-allowed;
}

.film-counter {
	margin-top: 15px;
	color: #666;
	font-size: 0.95em;
}

/* Hide initially for fade-in effect */
.film-item {
	opacity: 0;
	animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
	to {
		opacity: 1;
	}
}

/* Stagger animation delays */
.film-item:nth-child(1) { animation-delay: 0s; }
.film-item:nth-child(2) { animation-delay: 0.1s; }
.film-item:nth-child(3) { animation-delay: 0.2s; }
.film-item:nth-child(4) { animation-delay: 0.3s; }
.film-item:nth-child(5) { animation-delay: 0.4s; }
.film-item:nth-child(6) { animation-delay: 0.5s; }
.film-item:nth-child(7) { animation-delay: 0.6s; }
.film-item:nth-child(8) { animation-delay: 0.7s; }
