@import url('./project_details_base.css');

/* Project-specific hero background */
.project-hero {
	background: linear-gradient(135deg, rgba(0, 20, 5, 0.85) 0%, rgba(0, 0, 0, 0.95) 100%),
				url(../../ui/images/screenproject_flers_quiz.png);
	background-size: cover;
	background-position: center;
}

.hero-content .hero-subtitle {
	color: #fff;
	font-size: 1.2rem;
	margin: -1rem 0 2rem;
}

.project-section .screenshot-caption {
	color: #aaa;
	font-size: 0.95rem;
	text-align: center;
	margin-top: 1rem;
}

/* Capture + texte côte à côte dans une section */
.side-grid {
	grid-template-columns: 1fr 1fr;
	align-items: center;
	max-width: 1100px;
	margin: 0 auto 3rem;
}

.side-grid .screenshot-container {
	max-width: 520px;
	margin: 0 auto;
}

.project-section .sub-title {
	color: #00ff41;
	font-size: 1.4rem;
	margin: 0 0 0.5rem;
}

.screenshot-wide {
	max-width: 1100px;
	margin: 3rem auto 0;
}

.production {
	max-width: 1000px;
	margin: 3rem auto 0;
}

.project-section .production p {
	font-size: 1.1rem;
}

.production-steps {
	color: #fff;
	font-size: 1.05rem;
	line-height: 1.8;
	margin: 0;
	padding-left: 1.5rem;
}

.production-steps li::marker {
	color: #00ff41;
}

.project-section code {
	background: #0c0c0c;
	border: 1px solid rgba(0, 255, 65, 0.3);
	border-radius: 4px;
	padding: 0.1rem 0.4rem;
	color: #e6e6e6;
	font-family: Consolas, 'Cascadia Mono', 'Courier New', monospace;
	font-size: 0.9em;
}

.project-section .mission-intro {
	max-width: 1000px;
	margin: -1rem auto 2.5rem;
	text-align: center;
}

/* Stack technique : 3 colonnes, logos centrés */
.tech-grid {
	grid-template-columns: repeat(3, 1fr);
}

.tech-item {
	justify-content: space-between;
	padding: 1.5rem 0.5rem;
}

.tech-item p {
	text-align: center;
	letter-spacing: 0.5px;
	white-space: nowrap;
}

.tech-icon {
	width: 100%;
	height: 80px;
}

/* Difficultés rencontrées */
.difficulties {
	max-width: 1000px;
	margin: 3rem auto 0;
	padding: 1.5rem 2rem;
	border-left: 3px solid #00ff41;
	background: rgba(0, 255, 65, 0.04);
	border-radius: 0 12px 12px 0;
}

.project-section .difficulties h4 {
	color: #00ff41;
	font-size: 1.2rem;
	margin: 0 0 0.8rem;
}

.project-section .difficulties p {
	font-size: 1rem;
	margin: 0;
}

/* Cartes par rangées de 3, dernière rangée centrée (évite une carte seule) */
.features-list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}

.feature-item {
	flex: 0 1 380px;
	max-width: 400px;
	box-sizing: border-box;
}

@media (max-width: 768px) {
	.side-grid {
		grid-template-columns: 1fr;
	}

	.tech-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.difficulties {
		padding: 1rem 1.2rem;
	}
}
