/* Gallery Common Styles */

/* Hero Sections */
.gallery-hero {
	padding: 180px 0 80px;
	color: #fff;
	text-align: center;
}

.gallery-hero h1 { 
	font-size: 3rem; 
	font-weight: 700; 
	margin-bottom: 1rem; 
	text-shadow: 2px 2px 4px rgba(0,0,0,0.3); 
}

.gallery-hero p { 
	font-size: 1.2rem; 
	opacity: 0.9; 
	max-width: 600px; 
	margin: 0 auto; 
}

/* Main Section */
.gallery-section { 
	background:#f8f9fa; 
	padding: 80px 0; 
}

/* Stats Cards */
.stats-grid { 
	display: grid; 
	grid-template-columns: repeat(4, 1fr); 
	gap: 20px; 
	margin-bottom: 50px; 
}

.stat-card { 
	background:#fff; 
	border-radius: 15px; 
	padding: 25px; 
	box-shadow: 0 10px 30px rgba(0,0,0,0.1);
	text-align: center;
}

.stat-title { 
	color:#666; 
	font-weight: 600; 
	font-size: 0.9rem; 
	text-transform: uppercase; 
	letter-spacing: 0.5px;
	margin-bottom: 10px;
}

.stat-value { 
	font-size: 2.5rem; 
	font-weight: 700; 
	color:#007bff; 
}

/* Project Grid */
.project-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}

.project-card {
	background: #fff;
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(0,0,0,0.08);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	display: flex;
	flex-direction: column;
	height: 100%;
	position: relative;
}

.project-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}

.project-card img {
	width: 100%;
	height: 150px;
	object-fit: cover;
}

.project-content {
	padding: 16px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.project-title i { margin-right: 8px; color: #0d6efd; }
.project-desc i { margin-right: 8px; color: #64748b; }

.project-title a {
	color: #1e2a44;
	text-decoration: none;
	font-weight: 700;
	font-size: 1rem;
}

.project-title a:hover { text-decoration: underline; }

.project-desc {
	color: #586170;
	font-size: 0.95rem;
	line-height: 1.45;
	flex-grow: 1;
}

.project-meta {
	font-size: 0.85rem;
	color: #0d6efd; /* blue date text */
}

.project-meta i { 
	margin-right: 6px; 
	color: #ef4444; 
	text-shadow: 0 0 2px #9ca3af; 
}

.project-actions {
	display: flex;
	justify-content: flex-start;
}

.project-btn {
	background: linear-gradient(135deg, #007bff, #0056b3);
	border: none;
	padding: 8px 14px;
	border-radius: 999px;
	color: white;
	font-weight: 600;
	font-size: 0.9rem;
	text-decoration: none;
}

.project-btn:hover { filter: brightness(0.95); }

/* Project Category Badge */
.project-category {
	position: absolute;
	top: 12px;
	right: 12px;
	background: rgba(25, 135, 84, 0.9);
	color: white;
	padding: 4px 8px;
	border-radius: 6px;
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	backdrop-filter: blur(4px);
	box-shadow: 0 2px 8px rgba(25, 135, 84, 0.3);
}

.project-category.international {
	background: rgba(13, 110, 253, 0.9);
	box-shadow: 0 2px 8px rgba(13, 110, 253, 0.3);
}

/* Toolbar */
.project-toolbar { margin-bottom: 20px; }

.toolbar-card {
	display: grid;
	grid-template-columns: 1fr auto auto auto;
	gap: 12px;
	align-items: center;
	background: #ffffff;
	border: 1px solid #e5e7eb;
	border-radius: 14px;
	padding: 14px;
	box-shadow: 0 10px 24px rgba(2,6,23,0.06);
}

.search-group { 
	position: relative; 
	display: flex; 
	align-items: center; 
}

.search-icon { 
	position: absolute; 
	left: 12px; 
	color: #9ca3af; 
}

.search-input {
	width: 100%;
	padding: 11px 40px 11px 36px;
	border: 1px solid #d1d5db;
	border-radius: 10px;
	outline: none;
	transition: box-shadow .2s ease, border-color .2s ease;
}

.search-input:focus { 
	box-shadow: 0 0 0 4px rgba(59,130,246,.15); 
	border-color: #93c5fd; 
}

.clear-btn { 
	position: absolute; 
	right: 8px; 
	border: none; 
	background: transparent; 
	color: #9ca3af; 
	padding: 6px; 
	border-radius: 8px; 
	cursor: pointer; 
}

.clear-btn:hover { 
	color: #6b7280; 
	background: #f3f4f6; 
}

.sort-group, .year-group { 
	display: flex; 
	align-items: center; 
	gap: 8px; 
	background: #f8fafc; 
	border: 1px solid #e5e7eb; 
	padding: 8px 12px; 
	border-radius: 10px; 
}

.sort-icon, .year-icon { color: #64748b; }

.sort-select, .year-select { 
	border: none; 
	background: transparent; 
	outline: none; 
	padding: 6px 6px; 
}

.result-info { 
	color: #6b7280; 
	font-size: .95rem; 
}

/* Pagination */
.pagination {
	display: flex;
	gap: 8px;
	justify-content: center;
	margin-top: 20px;
}

.pagination button {
	border: 1px solid #d1d5db;
	background: #fff;
	padding: 8px 12px;
	border-radius: 8px;
	cursor: pointer;
}

.pagination button.active { 
	background: #0d6efd; 
	color: #fff; 
	border-color: #0d6efd; 
}

/* Section Header */
.section-header {
	text-align: center;
	margin-bottom: 40px;
}

.section-title {
	font-size: 2.5rem;
	font-weight: 700;
	color: #333;
	margin-bottom: 1rem;
}

/* Responsive */
@media (max-width: 1200px) {
	.project-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 992px) { 
	.stats-grid { grid-template-columns: repeat(2,1fr); }
	.project-grid { grid-template-columns: repeat(2, 1fr); }
	.toolbar-card { grid-template-columns: 1fr; gap: 8px; }
}

@media (max-width: 768px) {
	.gallery-hero h1 { font-size: 2rem; }
	.project-grid { grid-template-columns: repeat(2, 1fr); }
	.toolbar-card { grid-template-columns: 1fr; gap: 8px; }
}

@media (max-width: 576px) { 
	.stats-grid { grid-template-columns: 1fr; }
	.project-grid { grid-template-columns: 1fr; }
	.toolbar-card { grid-template-columns: 1fr; gap: 8px; }
} 