/**
 * Project Status Section Styles
 *
 * @package Eryvium
 * @since Eryvium 1.0.0
 */

/* ============================================
   SECTION
   ============================================ */

.project-status-section {
	position: relative;
	padding: clamp(80px, 12vw, 160px) 0;
	background-color: var(--color-true-black);
	color: var(--color-pure-white);
}

.project-status-container {
	width: 100%;
	max-width: 1300px;
	margin: 0 auto;
	padding: 0 var(--container-padding);
}

/* ============================================
   HEADER
   ============================================ */

.project-status-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 40px;
	margin-bottom: 60px;
}

.project-status-header-left {
	flex: 1;
	max-width: 600px;
}

.project-status-header-right {
	flex-shrink: 0;
}

.project-status-title {
	font-family: var(--font-heading);
	font-size: var(--font-size-h2);
	font-weight: var(--font-weight-h2);
	line-height: var(--line-height-h2);
	color: var(--color-pure-white);
	margin: 0 0 16px 0;
}

.project-status-title .title-accent {
	color: var(--color-sky-pulse);
}

.project-status-subtitle {
	font-family: var(--font-body);
	font-size: 16px;
	font-weight: 400;
	line-height: 24px;
	color: rgba(255, 255, 255, 0.8);
	margin: 0;
}

/* ============================================
   CONTENT
   ============================================ */

.project-status-content {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 60px;
	align-items: start;
}

/* ============================================
   LEFT COLUMN - MILESTONES
   ============================================ */

.project-status-left {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-end;
}

.project-status-milestones {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.project-status-milestones-title {
	font-family: var(--font-heading);
	font-size: 24px;
	font-weight: 600;
	line-height: 1.3;
	color: var(--color-pure-white);
	margin: 0;
}

.project-status-milestones-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.project-status-milestone-chip {
	display: inline-flex;
	align-items: center;
	padding: 8px 16px;
	background-color: transparent;
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 50px;
	font-family: var(--font-body);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.5;
	color: var(--color-pure-white);
	width: fit-content;
}

/* ============================================
   RIGHT COLUMN - PHASES
   ============================================ */

.project-status-right {
	display: flex;
	flex-direction: column;
	width: 857px;
	max-width: 100%;
}

.project-status-phases {
	display: flex;
	flex-direction: column;
	gap: 0;
	width: 100%;
}

.project-status-phase {
	display: flex;
	gap: 60px;
	align-items: flex-start;
	padding-bottom: 32px;
	position: relative;
}

.project-status-phase--has-divider {
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	margin-bottom: 32px;
	padding-bottom: 32px;
}

.project-status-phase-number {
	font-family: var(--font-heading);
	font-size: 72px;
	font-weight: 600;
	line-height: 1;
	color: rgba(255, 255, 255, 0.2);
	flex-shrink: 0;
	min-width: 80px;
}

.project-status-phase-content {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.project-status-phase-title {
	font-family: var(--font-heading);
	font-size: 24px;
	font-weight: 600;
	line-height: 1.3;
	color: var(--color-pure-white);
	margin: 0;
}

.project-status-phase-description {
	font-family: var(--font-body);
	font-size: 16px;
	font-weight: 400;
	line-height: 24px;
	color: rgba(255, 255, 255, 0.8);
	margin: 0;
}

.project-status-phase-footer {
	display: flex;
	align-items: center;
	gap: 24px;
	margin-top: 8px;
}

.project-status-phase-status {
	flex-shrink: 0;
}

.project-status-phase-status-chip {
	display: inline-flex;
	align-items: center;
	padding: 6px 14px;
	background-color: transparent;
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 50px;
	font-family: var(--font-body);
	font-size: 14px;
	font-weight: 400;
	line-height: 1.5;
	color: var(--color-pure-white);
}

.project-status-phase-status-chip--complete {
	background-color: rgba(255, 255, 255, 0.1);
	border-color: transparent;
}

.project-status-phase-progress {
	display: flex;
	align-items: center;
	gap: 12px;
	flex: 1;
}

.project-status-phase-progress-bar {
	flex: 1;
	height: 4px;
	background-color: rgba(255, 255, 255, 0.1);
	border-radius: 2px;
	overflow: hidden;
}

.project-status-phase-progress-fill {
	height: 100%;
	background-color: #4A9EFF;
	border-radius: 2px;
	transition: width 0.3s ease;
}

.project-status-phase-progress-text {
	font-family: var(--font-body);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.5;
	color: var(--color-pure-white);
	flex-shrink: 0;
	min-width: 45px;
	text-align: right;
}

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

@media (max-width: 1024px) {
	.project-status-container {
		width: 100%;
		max-width: 1300px;
		margin: 0 auto;
		padding: 0;
		max-width: var(--container-max-width);
	}
	
	.project-status-content {
		display: flex;
		flex-direction: column;
		gap: 40px;
	}
	
	.project-status-left {
		order: 2;
	}
	
	.project-status-right {
		order: 1;
		width: 100%;
	}
	
	.project-status-milestones-list {
		display: flex;
		flex-direction: row;
		gap: 12px;
		flex-wrap: wrap;
	}
}

@media (max-width: 1200px) {
	.project-status-header {
		flex-direction: column;
		gap: 32px;
	}
	
	.project-status-header-right {
		width: 100%;
	}
	
	.project-status-header-right .btn {
		width: auto;
		max-width: 100%;
		align-self: flex-start;
		justify-content: center;
	}
}

@media (max-width: 768px) {
	.project-status-section {
		padding: clamp(60px, 10vw, 120px) 0;
	}
	
	.project-status-phase {
		flex-direction: column;
		gap: 16px;
	}
	
	.project-status-phase-number {
		font-size: 48px;
		min-width: 60px;
	}
	
	.project-status-phase-footer {
		flex-direction: column;
		align-items: flex-start;
		gap: 16px;
	}
	
	.project-status-phase-progress {
		width: 100%;
	}
}

@media (max-width: 320px) {
	.project-status-section {
		padding: 60px 16px;
	}
}
