/**
 * All Content Page Styles - Cima Club
 */

/* Page Container */
.all-content-page {
	background: #212342;
	min-height: 100vh;
	padding: 30px 0;
}

/* Page Header */
.page-header {
	text-align: center;
	padding: 30px 20px 40px;
	margin-bottom: 30px;
	border-bottom: 3px solid #29b5e8;
}

.page-title {
	color: #fff;
	font-size: 36px;
	font-weight: 700;
	margin: 0 0 10px 0;
	font-family: 'Cairo', sans-serif;
}

.page-description {
	color: #bdc3c7;
	font-size: 16px;
	margin: 0;
	font-family: 'Cairo', sans-serif;
}

/* Filter Tabs */
.filter-tabs-section {
	background: transparent;
	padding: 0 0 30px 0;
	margin: 0 0 30px 0;
}

.filter-tabs {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	justify-content: center;
}

.filter-btn {
	background: #34495e;
	color: #fff;
	border: none;
	padding: 10px 25px;
	border-radius: 6px;
	font-size: 14px;
	font-weight: 600;
	font-family: 'Cairo', sans-serif;
	cursor: pointer;
	transition: all 0.3s ease;
	outline: none;
}

.filter-btn:hover {
	background: #29b5e8;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(41, 181, 232, 0.3);
}

.filter-btn.active {
	background: #29b5e8;
	box-shadow: 0 4px 12px rgba(41, 181, 232, 0.4);
}

/* Content Grid */
.all-content-grid {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 15px;
	margin-bottom: 40px;
}

/* Pagination */
.pagination-wrapper {
	padding: 40px 0;
	text-align: center;
}

.pagination {
	display: inline-flex;
	gap: 8px;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
}

.pagination a,
.pagination span {
	color: #fff;
	background: #34495e;
	padding: 10px 16px;
	border-radius: 6px;
	text-decoration: none;
	font-size: 14px;
	font-weight: 600;
	font-family: 'Cairo', sans-serif;
	transition: all 0.3s ease;
	display: inline-block;
	min-width: 40px;
	text-align: center;
}

.pagination a:hover {
	background: #29b5e8;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(41, 181, 232, 0.3);
}

.pagination .current {
	background: #29b5e8;
	box-shadow: 0 4px 12px rgba(41, 181, 232, 0.4);
}

.pagination .dots {
	background: transparent;
	color: #7f8c8d;
	cursor: default;
}

.pagination .dots:hover {
	background: transparent;
	transform: none;
	box-shadow: none;
}

/* No Content */
.no-content {
	text-align: center;
	padding: 60px 20px;
	color: #bdc3c7;
	font-size: 18px;
	font-family: 'Cairo', sans-serif;
}

/* ============================================
   RESPONSIVE DESIGN
============================================ */

/* Large Desktop */
@media (max-width: 1400px) {
	.all-content-grid {
		grid-template-columns: repeat(5, 1fr);
	}
}

/* Desktop */
@media (max-width: 1200px) {
	.all-content-grid {
		grid-template-columns: repeat(4, 1fr);
		gap: 12px;
	}
	
	.page-title {
		font-size: 32px;
	}
}

/* Tablet */
@media (max-width: 992px) {
	.all-content-grid {
		grid-template-columns: repeat(3, 1fr);
		gap: 12px;
	}
	
	.page-title {
		font-size: 28px;
	}
	
	.page-description {
		font-size: 15px;
	}
	
	.filter-btn {
		padding: 8px 20px;
		font-size: 13px;
	}
}

/* Mobile */
@media (max-width: 768px) {
	.all-content-page {
		padding: 20px 0;
	}
	
	.page-header {
		padding: 20px 15px 30px;
		margin-bottom: 20px;
	}
	
	.page-title {
		font-size: 24px;
	}
	
	.page-description {
		font-size: 14px;
	}
	
	.all-content-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 10px;
		margin-bottom: 30px;
	}
	
	.filter-tabs-section {
		padding: 0 0 20px 0;
		margin: 0 0 20px 0;
	}
	
	.filter-tabs {
		gap: 8px;
	}
	
	.filter-btn {
		padding: 8px 18px;
		font-size: 13px;
	}
	
	.pagination a,
	.pagination span {
		padding: 8px 12px;
		font-size: 13px;
		min-width: 36px;
	}
}

/* Small Mobile */
@media (max-width: 480px) {
	.page-title {
		font-size: 20px;
	}
	
	.page-description {
		font-size: 13px;
	}
	
	.filter-btn {
		padding: 6px 15px;
		font-size: 12px;
	}
	
	.pagination a,
	.pagination span {
		padding: 6px 10px;
		font-size: 12px;
		min-width: 32px;
	}
	
	.pagination {
		gap: 5px;
	}
}

/* Scroll to Top Button */
.scroll-to-top {
	position: fixed;
	bottom: 30px;
	right: 30px;
	width: 50px;
	height: 50px;
	background: #29b5e8;
	color: #fff;
	border: none;
	border-radius: 50%;
	font-size: 24px;
	font-weight: bold;
	cursor: pointer;
	opacity: 0;
	visibility: hidden;
	transform: translateY(20px);
	transition: all 0.3s ease;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
	z-index: 1000;
	display: flex;
	align-items: center;
	justify-content: center;
}

.scroll-to-top.show {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.scroll-to-top:hover {
	background: #1f9fd1;
	transform: translateY(-5px);
	box-shadow: 0 6px 16px rgba(41, 181, 232, 0.4);
}

.scroll-to-top:active {
	transform: translateY(0);
}

/* RTL Support */
body.rtl .filter-tabs {
	direction: rtl;
}

body.rtl .pagination {
	direction: rtl;
}

body.rtl .scroll-to-top {
	right: auto;
	left: 30px;
}

@media (max-width: 768px) {
	.scroll-to-top {
		width: 45px;
		height: 45px;
		font-size: 20px;
		bottom: 20px;
		right: 20px;
	}
	
	body.rtl .scroll-to-top {
		right: auto;
		left: 20px;
	}
}
