/* Project Page Specific Styles */

/* Variables - Matching the main site palette */
:root {
	--primary-color: #e94d9e; /* Hot pink */
	--secondary-color: #8a4baf; /* Purple */
	--accent-color: #b83dba; /* Accent purple */
	--light-bg: #f8f5ff; /* Light purple background */
	--dark-text: #2d2d2d;
	--light-text: #666;
}

/* Project Hero Section */
.project-hero {
	padding: 8rem 0 4rem;
	background: linear-gradient(135deg, rgba(233, 77, 158, 0.05) 0%, rgba(138, 75, 175, 0.1) 100%);
}

.project-hero-content {
	max-width: 800px;
	margin: 0 auto;
	text-align: center;
}

.project-meta {
	display: flex;
	justify-content: center;
	gap: 2rem;
	margin-bottom: 1.5rem;
}

.project-date, .project-category {
	font-family: 'Lexend', sans-serif;
	font-size: 0.9rem;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.project-date {
	color: var(--secondary-color);
}

.project-category {
	color: var(--primary-color);
}

.project-title {
	font-size: 3.5rem;
	margin-bottom: 1.5rem;
	background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	text-fill-color: transparent;
}

.project-summary {
	font-size: 1.25rem;
	color: var(--light-text);
	max-width: 700px;
	margin: 0 auto;
	line-height: 1.6;
}

/* Project Content */
.project-content {
	padding: 4rem 0;
}

.project-section {
	margin-bottom: 5rem;
}

.project-section h2 {
	font-size: 2.2rem;
	color: var(--dark-text);
	margin-bottom: 1.5rem;
	position: relative;
	display: inline-block;
}

.project-section h2:after {
	content: '';
	position: absolute;
	width: 50%;
	height: 4px;
	background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
	bottom: -8px;
	left: 0;
	border-radius: 2px;
}

.project-section p {
	font-size: 1.1rem;
	color: var(--light-text);
	line-height: 1.7;
	margin-bottom: 2rem;
	max-width: 800px;
}

/* Featured Images */
.featured-image {
	margin: 3rem 0;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(138, 75, 175, 0.15);
}

.featured-image img {
	width: 100%;
	height: auto;
	display: block;
}

.image-caption {
	font-size: 0.9rem;
	color: var(--light-text);
	text-align: center;
	padding: 1rem;
	background-color: #f8f8f8;
	border-bottom-left-radius: 12px;
	border-bottom-right-radius: 12px;
}

/* Challenge Points */
.challenge-points {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 2rem;
	margin-top: 3rem;
}

.challenge-point {
	background-color: white;
	border-radius: 12px;
	padding: 2rem;
	box-shadow: 0 5px 15px rgba(0,0,0,0.05);
	border-top: 4px solid var(--primary-color);
	transition: transform 0.3s ease;
}

.challenge-point:hover {
	transform: translateY(-5px);
	box-shadow: 0 12px 30px rgba(138, 75, 175, 0.1);
}

.point-icon {
	font-size: 2rem;
	color: var(--primary-color);
	margin-bottom: 1rem;
}

.challenge-point h3 {
	font-size: 1.3rem;
	margin-bottom: 0.8rem;
	color: var(--dark-text);
}

.challenge-point p {
	font-size: 1rem;
	margin-bottom: 0;
}

/* Process Timeline */
.process-timeline {
	position: relative;
	max-width: 800px;
	margin: 4rem auto;
}

.process-timeline:before {
	content: '';
	position: absolute;
	top: 0;
	bottom: 0;
	left: 32px;
	width: 4px;
	background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
	border-radius: 2px;
}

.process-step {
	position: relative;
	padding-left: 5rem;
	margin-bottom: 3rem;
}

.process-step:last-child {
	margin-bottom: 0;
}

.step-number {
	position: absolute;
	left: 0;
	top: 0;
	width: 64px;
	height: 64px;
	background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	font-size: 1.5rem;
	font-weight: 600;
	z-index: 2;
	box-shadow: 0 5px 15px rgba(138, 75, 175, 0.3);
}

.step-content {
	background-color: white;
	border-radius: 12px;
	padding: 2rem;
	box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.step-content h3 {
	font-size: 1.3rem;
	margin-bottom: 0.8rem;
	color: var(--dark-text);
}

.step-content p {
	font-size: 1rem;
	color: var(--light-text);
	margin-bottom: 0;
}

/* Solution Gallery */
.solution-gallery {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
	gap: 2rem;
	margin: 3rem 0;
}

.solution-image {
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.solution-image img {
	width: 100%;
	height: auto;
	display: block;
}

/* Key Features */
.key-features {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 2rem;
	margin-top: 3rem;
}

.feature {
	background-color: white;
	border-radius: 12px;
	padding: 2rem;
	text-align: center;
	box-shadow: 0 5px 15px rgba(0,0,0,0.05);
	transition: transform 0.3s ease;
}

.feature:hover {
	transform: translateY(-5px);
	box-shadow: 0 12px 30px rgba(138, 75, 175, 0.1);
}

.feature-icon {
	width: 80px;
	height: 80px;
	margin: 0 auto 1.5rem;
	background: linear-gradient(135deg, rgba(233, 77, 158, 0.1) 0%, rgba(138, 75, 175, 0.1) 100%);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 2rem;
	color: var(--primary-color);
}

.feature h3 {
	font-size: 1.3rem;
	margin-bottom: 0.8rem;
	color: var(--dark-text);
}

.feature p {
	font-size: 1rem;
	color: var(--light-text);
	margin-bottom: 0;
}

/* Results Metrics */
.results-metrics {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	gap: 2rem;
	margin: 3rem 0;
}

.metric {
	background-color: white;
	border-radius: 12px;
	padding: 2rem;
	text-align: center;
	box-shadow: 0 5px 15px rgba(0,0,0,0.05);
	transition: transform 0.3s ease;
}

.metric:hover {
	transform: translateY(-5px);
	box-shadow: 0 12px 30px rgba(138, 75, 175, 0.1);
}

.metric-value {
	font-size: 3rem;
	font-weight: 700;
	background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	text-fill-color: transparent;
	margin-bottom: 0.5rem;
}

.metric-label {
	font-size: 1.1rem;
	font-weight: 600;
	color: var(--dark-text);
	margin-bottom: 1rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.metric-description {
	font-size: 0.95rem;
	color: var(--light-text);
	margin-bottom: 0;
}

/* Testimonial */
blockquote.testimonial {
	background-color: white;
	border-radius: 12px;
	padding: 2.5rem;
	box-shadow: 0 5px 15px rgba(0,0,0,0.05);
	margin: 3rem 0;
	position: relative;
	max-width: 900px;
	margin-left: auto;
	margin-right: auto;
}

blockquote.testimonial:before {
	content: '"';
	position: absolute;
	top: 1.5rem;
	left: 2rem;
	font-size: 5rem;
	color: rgba(233, 77, 158, 0.1);
	font-family: serif;
	line-height: 1;
}

blockquote.testimonial p {
	font-size: 1.3rem;
	font-style: italic;
	margin-bottom: 1rem;
	color: var(--dark-text);
	padding-left: 3rem;
}

blockquote.testimonial cite {
	display: block;
	text-align: right;
	font-style: normal;
	font-weight: 600;
	color: var(--primary-color);
}

/* Learnings */
.learnings {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 2rem;
	margin-top: 3rem;
}

.learning {
	background-color: white;
	border-radius: 12px;
	padding: 2rem;
	box-shadow: 0 5px 15px rgba(0,0,0,0.05);
	border-left: 4px solid var(--secondary-color);
}

.learning h3 {
	font-size: 1.3rem;
	margin-bottom: 0.8rem;
	color: var(--dark-text);
}

.learning p {
	font-size: 1rem;
	color: var(--light-text);
	margin-bottom: 0;
}

/* Next Project Navigation */
.next-project {
	padding: 5rem 0;
	background-color: var(--light-bg);
}

.next-project h2 {
	text-align: center;
	margin-bottom: 3rem;
}

.projects-nav {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 2rem;
}

.project-nav-card {
	background-color: white;
	border-radius: 12px;
	padding: 2rem;
	display: flex;
	flex-direction: column;
	text-decoration: none;
	box-shadow: 0 5px 15px rgba(0,0,0,0.05);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	position: relative;
}

.project-nav-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 12px 30px rgba(138, 75, 175, 0.1);
	background-color: white;
}

.project-nav-label {
	font-size: 0.9rem;
	color: var(--light-text);
	margin-bottom: 0.5rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.project-nav-title {
	font-size: 1.5rem;
	color: var(--dark-text);
	margin-bottom: 0;
	font-weight: 600;
}

.project-nav-arrow {
	position: absolute;
	right: 2rem;
	top: 50%;
	transform: translateY(-50%);
	font-size: 1.5rem;
	color: var(--primary-color);
	transition: transform 0.3s ease;
}

.project-nav-card:hover .project-nav-arrow {
	transform: translateY(-50%) translateX(5px);
}

.project-nav-card:hover .project-nav-title {
	color: var(--primary-color);
}

/* Responsive Styles */
@media (max-width: 992px) {
	.project-title {
		font-size: 2.5rem;
	}
	
	.process-timeline:before {
		left: 24px;
	}
	
	.step-number {
		width: 48px;
		height: 48px;
		font-size: 1.2rem;
	}
	
	.process-step {
		padding-left: 4rem;
	}
	
	.solution-gallery {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 768px) {
	.project-hero {
		padding: 6rem 0 3rem;
	}
	
	.project-title {
		font-size: 2rem;
	}
	
	.project-summary {
		font-size: 1.1rem;
	}
	
	.project-section h2 {
		font-size: 1.8rem;
	}
	
	.project-section p {
		font-size: 1rem;
	}
	
	.challenge-points,
	.key-features,
	.results-metrics,
	.learnings {
		grid-template-columns: 1fr;
	}
	
	blockquote.testimonial p {
		font-size: 1.1rem;
		padding-left: 2rem;
	}
	
	blockquote.testimonial:before {
		font-size: 4rem;
	}
}

@media (max-width: 576px) {
	.project-meta {
		flex-direction: column;
		gap: 0.5rem;
	}
	
	.process-step {
		padding-left: 3.5rem;
	}
	
	.metric-value {
		font-size: 2.5rem;
	}
	
	.projects-nav {
		grid-template-columns: 1fr;
	}
}