/* ========================================
   PORTFOLIO CUSTOM STYLES
   Relief Concept - Portfolio Page
   ======================================== */

/* Filter Buttons */
.portfolio-filter-buttons {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 15px;
}

.filter-btn {
	background: #fff;
	border: 2px solid #e0e0e0;
	padding: 12px 25px;
	border-radius: 50px;
	font-weight: 600;
	font-size: 14px;
	color: #333;
	cursor: pointer;
	transition: all 0.3s ease;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.filter-btn:hover {
	background: #9A34EB;
	border-color: #9A34EB;
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 4px 15px rgba(154, 52, 235, 0.3);
}

.filter-btn.active {
	background: linear-gradient(135deg, #9A34EB 0%, #FF2B5C 100%);
	border-color: transparent;
	color: #fff;
	box-shadow: 0 4px 15px rgba(154, 52, 235, 0.4);
}

.filter-btn i {
	font-size: 16px;
}

/* Portfolio Grid */
#portfolio-grid {
	min-height: 400px;
}

.project-item {
	opacity: 1;
	transition: all 0.5s ease;
}

/* Portfolio Card */
.portfolio-card {
	background: #fff;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
	transition: all 0.3s ease;
	position: relative;
	height: 100%;
	display: flex;
	flex-direction: column;
}

.portfolio-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 10px 40px rgba(154, 52, 235, 0.2);
}

/* Featured Badge */
.featured-badge {
	position: absolute;
	top: 15px;
	right: 15px;
	background: linear-gradient(135deg, #FFD31B 0%, #F28E2B 100%);
	color: #000;
	padding: 8px 15px;
	border-radius: 50px;
	font-size: 12px;
	font-weight: 700;
	z-index: 10;
	display: inline-flex;
	align-items: center;
	gap: 5px;
	box-shadow: 0 2px 10px rgba(242, 142, 43, 0.3);
}

.featured-badge i {
	font-size: 14px;
}

/* Portfolio Image */
.portfolio-image {
	position: relative;
	overflow: hidden;
	height: 250px;
	background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
}

.portfolio-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.portfolio-card:hover .portfolio-image img {
	transform: scale(1.1);
}

/* Portfolio Overlay */
.portfolio-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, rgba(154, 52, 235, 0.95) 0%, rgba(255, 43, 92, 0.95) 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.portfolio-card:hover .portfolio-overlay {
	opacity: 1;
}

.view-project-btn {
	background: #fff;
	color: #9A34EB;
	border: none;
	padding: 15px 30px;
	border-radius: 50px;
	font-weight: 700;
	font-size: 16px;
	cursor: pointer;
	transition: all 0.3s ease;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	transform: translateY(20px);
}

.portfolio-card:hover .view-project-btn {
	transform: translateY(0);
}

.view-project-btn:hover {
	background: #FFD31B;
	color: #000;
	transform: scale(1.05);
}

/* Portfolio Content */
.portfolio-content {
	padding: 25px;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.project-title {
	font-size: 20px;
	font-weight: 700;
	color: #333;
	margin-bottom: 10px;
	line-height: 1.3;
}

.project-client {
	color: #666;
	font-size: 14px;
	margin-bottom: 15px;
	display: flex;
	align-items: center;
	gap: 8px;
}

.project-client i {
	font-size: 12px;
}

/* Project Tags */
.project-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: auto;
}

.tag {
	background: #f5f5f5;
	color: #666;
	padding: 5px 12px;
	border-radius: 20px;
	font-size: 12px;
	font-weight: 600;
	transition: all 0.2s ease;
}

.tag:hover {
	background: #9A34EB;
	color: #fff;
}

/* Modal Styles */
.portfolio-modal {
	display: none;
	position: fixed;
	z-index: 9999;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgba(0, 0, 0, 0.9);
	animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
	from { opacity: 0; }
	to { opacity: 1; }
}

.portfolio-modal-content {
	background-color: #fff;
	margin: 5% auto;
	padding: 0;
	width: 90%;
	max-width: 900px;
	border-radius: 15px;
	position: relative;
	animation: slideDown 0.4s ease;
	max-height: 85vh;
	overflow-y: auto;
}

@keyframes slideDown {
	from {
		transform: translateY(-50px);
		opacity: 0;
	}
	to {
		transform: translateY(0);
		opacity: 1;
	}
}

.close-modal {
	color: #fff;
	position: fixed;
	top: 20px;
	right: 40px;
	font-size: 40px;
	font-weight: bold;
	cursor: pointer;
	z-index: 10000;
	transition: all 0.3s ease;
	background: rgba(255, 43, 92, 0.9);
	width: 50px;
	height: 50px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
}

.close-modal:hover,
.close-modal:focus {
	background: #FF2B5C;
	transform: rotate(90deg);
}

.modal-body {
	padding: 0;
}

/* Modal Project Image */
.modal-project-image {
	width: 100%;
	max-height: 400px;
	overflow: hidden;
	position: relative;
	background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
}

.modal-project-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.modal-header-custom {
	text-align: center;
	padding: 40px 50px 30px;
	border-bottom: 2px solid #f5f5f5;
}

.project-year {
	display: inline-block;
	background: #9A34EB;
	color: #fff;
	padding: 5px 15px;
	border-radius: 20px;
	font-size: 14px;
	font-weight: 700;
	margin-bottom: 15px;
}

.project-client-large {
	font-size: 16px;
	color: #666;
	margin-top: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
}

.project-tags-large {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 20px;
	justify-content: center;
}

.project-tags-large .tag {
	background: linear-gradient(135deg, #9A34EB 0%, #FF2B5C 100%);
	color: #fff;
	padding: 8px 15px;
	font-size: 13px;
}

/* Modal URL Section - Prominent Button */
.modal-url-section {
	text-align: center;
	margin-top: 25px;
	padding: 20px 0;
	border-top: 2px solid #f5f5f5;
	border-bottom: 2px solid #f5f5f5;
	background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.modal-url-section .brook-btn {
	padding: 15px 40px;
	font-size: 18px;
	font-weight: 700;
	transition: all 0.3s ease;
	display: inline-flex;
	align-items: center;
	gap: 12px;
	box-shadow: 0 4px 20px rgba(154, 52, 235, 0.3);
}

.modal-url-section .brook-btn:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 30px rgba(154, 52, 235, 0.4);
}

.modal-url-section .brook-btn i {
	font-size: 22px;
}

.modal-section {
	margin-top: 40px;
	padding: 0 50px;
}

.modal-section h4 {
	font-weight: 700;
	margin-bottom: 20px;
	display: flex;
	align-items: center;
	gap: 10px;
}

.modal-section h4 i {
	font-size: 24px;
}

.modal-section p {
	font-size: 16px;
	line-height: 1.8;
	color: #555;
}

.results-list {
	list-style: none;
	padding: 0;
	margin: 20px 0;
}

.results-list li {
	padding: 15px;
	margin-bottom: 15px;
	background: #f8f9fa;
	border-left: 4px solid #118EBF;
	border-radius: 5px;
	display: flex;
	align-items: center;
	gap: 15px;
	font-size: 16px;
	font-weight: 600;
	color: #333;
	transition: all 0.3s ease;
}

.results-list li:hover {
	background: #e8f4f8;
	transform: translateX(5px);
}

.results-list li i {
	font-size: 20px;
	flex-shrink: 0;
}

/* Testimonial Box */
.testimonial-box {
	background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
	padding: 40px;
	border-radius: 10px;
	position: relative;
	margin: 40px 50px 50px;
}

.testimonial-text {
	font-size: 18px;
	font-style: italic;
	line-height: 1.8;
	color: #333;
	margin: 20px 0;
}

.testimonial-author {
	text-align: right;
	margin-top: 20px;
	color: #666;
}

.testimonial-author strong {
	color: #9A34EB;
	font-size: 16px;
}

/* Statistics Section */
.stat-box {
	padding: 30px;
	transition: transform 0.3s ease;
}

.stat-box:hover {
	transform: translateY(-10px);
}

.stat-box h3 {
	font-size: 48px;
	font-weight: 900;
	margin: 15px 0 10px;
}

.stat-box p {
	font-size: 16px;
	margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
	.portfolio-image {
		height: 200px;
	}

	.portfolio-content {
		padding: 20px;
	}

	.project-title {
		font-size: 18px;
	}

	.modal-project-image {
		max-height: 250px;
	}

	.modal-header-custom {
		padding: 30px 20px 20px;
	}

	.modal-section {
		padding: 0 20px;
	}

	.modal-url-section .brook-btn {
		padding: 12px 30px;
		font-size: 16px;
	}

	.testimonial-box {
		margin: 30px 20px 40px;
		padding: 30px 20px;
	}

	.close-modal {
		top: 10px;
		right: 10px;
		font-size: 30px;
		width: 40px;
		height: 40px;
	}

	.portfolio-modal-content {
		width: 95%;
		margin: 10% auto;
	}

	.modal-section h4 {
		font-size: 20px;
	}

	.testimonial-text {
		font-size: 16px;
	}

	.stat-box h3 {
		font-size: 36px;
	}
}

@media (max-width: 576px) {
	.featured-badge {
		font-size: 10px;
		padding: 5px 10px;
	}

	.modal-url-section .brook-btn {
		font-size: 14px;
		padding: 10px 25px;
	}

	.modal-url-section .brook-btn i {
		font-size: 18px;
	}
}

/* Animation utilities */
.fade-in {
	animation: fadeIn 0.5s ease;
}

.slide-up {
	animation: slideUp 0.5s ease;
}

@keyframes slideUp {
	from {
		transform: translateY(20px);
		opacity: 0;
	}
	to {
		transform: translateY(0);
		opacity: 1;
	}
}