/**
 * Property Projects Showcase - Frontend Styles
 * Exact pixel-perfect matching of the luxury architectural projects slider
 */

:root {
	--pps-bg-dark: #1C3B52;
	--pps-accent-blue: #2283D8;
	--pps-text-white: #FFFFFF;
	--pps-text-muted: #8EA3BA;
	--pps-text-sub: #FF1504;
	--pps-border-subtle: rgba(255, 255, 255, 0.12);
	--pps-font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ==========================================================================
   WRAPPER CONTAINER
   ========================================================================== */
.pps-showcase-wrapper {
	font-family: var(--pps-font-family);
/* 	background-color: var(--pps-bg-dark); */
	color: var(--pps-text-white);
/* 	padding: 60px 48px;
	border-radius: 28px; */
	box-sizing: border-box;
	margin: 2rem auto;
/* 	max-width: 1360px; */
	position: relative;
	overflow: hidden;
/* 	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35); */
}

.pps-showcase-wrapper *,
.pps-showcase-wrapper *::before,
.pps-showcase-wrapper *::after {
	box-sizing: border-box;
}

/* ==========================================================================
   HEADER ROW (OUR PROJECTS & HEADLINE & LEAD PARAGRAPH)
   ========================================================================== */
.pps-header-row {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	margin-bottom: 42px;
	gap: 32px;
}

.pps-header-left {
	flex: 1;
}

.pps-eyebrow {
	display: block;
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	margin-bottom: 12px;
}

.pps-headline {
	font-size: 44px;
	font-weight: 700;
	line-height: 1.15;
	color: var(--pps-text-white);
	margin: 0;
	letter-spacing: -0.02em;
}

.pps-headline-line {
	display: block;
}

.pps-header-right {
	max-width: 360px;
	margin-bottom: 4px;
}

.pps-lead-desc {
	font-size: 14.5px;
	line-height: 1.6;
	color: #fff;
	margin: 0;
}

/* ==========================================================================
   SLIDER STAGE & SLIDES
   ========================================================================== */
.pps-slider-stage {
	position: relative;
	width: 100%;
	min-height: 520px;
}

.pps-slides-container {
	position: relative;
	width: 100%;
}

.pps-slide {
	display: none;
	grid-template-columns: 53% 47%;
	gap: 48px;
	align-items: center;
	opacity: 0;
	transform: translateX(18px);
	transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1), transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.pps-slide.is-active {
	display: grid;
	opacity: 1;
	transform: translateX(0);
}

/* ==========================================================================
   LEFT COLUMN: IMAGE & OVERLAYS
   ========================================================================== */
.pps-slide-media-col {
	position: relative;
	width: 100%;
}

.pps-media-frame {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 11;
	border-radius: 26px;
	overflow: hidden;
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
	background: #1B293C;
}

.pps-media-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.6s ease;
}

.pps-slide:hover .pps-media-img {
	transform: scale(1.025);
}

/* Location Badge (Top-Left Pill) */
.pps-badge-pill {
	position: absolute;
	top: 24px;
	left: 24px;
	background: var(--pps-accent-blue);
	color: #FFFFFF;
	font-size: 13.5px;
	font-weight: 500;
	border-radius: 50px;
	padding: 7px 18px;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	box-shadow: 0 4px 16px rgba(29, 116, 231, 0.4);
	z-index: 2;
}

.pps-badge-dot {
	display: inline-block;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #FFFFFF;
}

/* Progress Overlay (Bottom-Left) */
.pps-progress-overlay {
	position: absolute;
	bottom: 24px;
	left: 24px;
	display: flex;
	align-items: center;
	gap: 16px;
	z-index: 2;
	background: rgba(0, 0, 0, 0.35);
	backdrop-filter: blur(8px);
	padding: 6px 14px;
	border-radius: 12px;
}

.pps-counter-text {
	font-size: 16px;
	font-weight: 700;
	color: rgba(255, 255, 255, 0.7);
	letter-spacing: 0.05em;
}

.pps-current-num {
	color: #FFFFFF;
	font-weight: 600;
}

.pps-dash-segments {
	display: flex;
	align-items: center;
	gap: 8px;
}

.pps-dash {
	display: inline-block;
	width: 32px;
	height: 3.5px;
	border-radius: 2px;
	background: rgba(255, 255, 255, 0.28);
	transition: all 0.35s ease;
}

.pps-dash.is-active {
	background: #FFFFFF;
	width: 44px;
	box-shadow: 0 0 10px rgba(255, 255, 255, 0.6);
}

/* ==========================================================================
   RIGHT COLUMN: DETAILS, 2X2 SPECS, AND NAVIGATION
   ========================================================================== */
.pps-slide-content-col {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding-right: 12px;
}

.pps-service-tag {
	font-size: 14px;
	font-weight: 500;
	margin-bottom: 8px;
	letter-spacing: 0.02em;
}

.pps-project-title {
	font-size: clamp(28px, 3.2vw, 40px);
	font-weight: 700;
	line-height: 1.15;
	color: var(--pps-text-white);
	margin: 0 0 16px 0;
	letter-spacing: -0.01em;
}

.pps-project-excerpt {
	font-size: 15px;
	line-height: 1.65;
	color: var(--pps-text-muted);
	margin-bottom: 24px;
	max-width: 500px;
}

.pps-project-excerpt p {
	margin: 0;
}

/* ==========================================================================
   2X2 SPECS GRID
   ========================================================================== */
.pps-specs-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	border-top: 1px solid var(--pps-border-subtle);
	border-bottom: 1px solid var(--pps-border-subtle);
	margin-bottom: 24px;
}

.pps-spec-cell {
	padding: 16px 0;
}

.pps-spec-cell:nth-child(1),
.pps-spec-cell:nth-child(3) {
	border-right: 1px solid var(--pps-border-subtle);
	padding-right: 24px;
}

.pps-spec-cell:nth-child(2),
.pps-spec-cell:nth-child(4) {
	padding-left: 28px;
}

.pps-spec-cell:nth-child(1),
.pps-spec-cell:nth-child(2) {
	border-bottom: 1px solid var(--pps-border-subtle);
}

.pps-spec-label {
	display: block;
	font-size: 13px;
	color: var(--pps-text-muted);
	font-weight: 500;
	margin-bottom: 5px;
}

.pps-spec-value {
	display: block;
	font-size: 19px;
	font-weight: 600;
	color: var(--pps-text-white);
}

/* ==========================================================================
   ACTION LINK ("Read the job notes")
   ========================================================================== */
.pps-link-row {
	margin-bottom: 26px;
}

.pps-job-notes-link {
	display: inline-block;
	color: var(--pps-text-white);
	font-size: 16px;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 6px;
	text-decoration-thickness: 1.5px;
	transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.pps-job-notes-link:hover {
	color: var(--pps-accent-blue);
	text-decoration-color: var(--pps-accent-blue);
}

/* ==========================================================================
   BOTTOM NAVIGATION CONTROLS (Prev Button + Next Project Preview Card)
   ========================================================================== */
.pps-nav-row {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-top: auto;
}

.pps-showcase-wrapper .pps-btn-prev,
.pps-showcase-wrapper button.pps-btn-prev,
.pps-btn-prev {
	appearance: none !important;
	-webkit-appearance: none !important;
	width: 52px !important;
	height: 52px !important;
	min-width: 52px !important;
	min-height: 52px !important;
	max-width: 52px !important;
	max-height: 52px !important;
	padding: 0 !important;
	margin: 0 !important;
	border: 1.5px solid rgba(255, 255, 255, 0.22) !important;
	border-radius: 14px !important;
	background: transparent !important;
	background-color: transparent !important;
	color: #FFFFFF !important;
	cursor: pointer !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	box-sizing: border-box !important;
	line-height: 1 !important;
	box-shadow: none !important;
	text-shadow: none !important;
	transition: all 0.22s ease !important;
	outline: none !important;
	flex-shrink: 0 !important;
	overflow: visible !important;
	position: relative !important;
	user-select: none;
}

.pps-showcase-wrapper .pps-btn-prev::before,
.pps-showcase-wrapper .pps-btn-prev::after {
	display: none !important;
	content: none !important;
}

.pps-showcase-wrapper .pps-btn-prev svg,
.pps-btn-prev svg {
	width: 20px !important;
	height: 20px !important;
	min-width: 20px !important;
	min-height: 20px !important;
	max-width: 20px !important;
	max-height: 20px !important;
	display: block !important;
	stroke: #FFFFFF !important;
	stroke-width: 2.5px !important;
	stroke-linecap: round !important;
	stroke-linejoin: round !important;
	fill: none !important;
	opacity: 1 !important;
	visibility: visible !important;
	pointer-events: none !important;
	transform: none !important;
}

.pps-showcase-wrapper .pps-btn-prev:hover,
.pps-btn-prev:hover {
	background: rgba(255, 255, 255, 0.08) !important;
	border-color: #FFFFFF !important;
	transform: translateX(-2px);
}

.pps-showcase-wrapper .pps-btn-prev:active,
.pps-btn-prev:active {
	transform: scale(0.96);
}

/* Next Project Preview Card */
.pps-next-card {
	display: inline-flex;
	align-items: center;
	gap: 16px;
	background: rgba(255, 255, 255, 0.07);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 14px;
	padding: 8px 18px 8px 10px;
	cursor: pointer;
	position: relative;
	overflow: hidden;
	transition: all 0.25s ease;
	user-select: none;
	outline: none;
}

.pps-next-card:hover {
	background: rgba(255, 255, 255, 0.12);
	border-color: rgba(255, 255, 255, 0.2);
	transform: translateX(3px);
}

.pps-next-thumb {
	width: 64px;
	height: 42px;
	border-radius: 8px;
	overflow: hidden;
	flex-shrink: 0;
	background: #18283B;
}

.pps-next-thumb-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.pps-next-meta {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.pps-next-label {
	font-size: 11.5px;
	font-weight: 500;
	color: var(--pps-text-muted);
	line-height: 1.2;
	margin-bottom: 3px;
}

.pps-next-title {
	font-size: 16px;
	font-weight: 600;
	color: #FFFFFF;
	line-height: 1.2;
}

.pps-next-arrow {
	display: inline-flex;
	align-items: center;
	color: #FFFFFF;
	margin-left: 6px;
	transition: transform 0.2s ease;
}

.pps-next-arrow svg {
	width: 18px;
	height: 18px;
	stroke: currentColor;
}

.pps-next-card:hover .pps-next-arrow {
	transform: translateX(3px);
}

/* Subtle Red/Orange Progress Accent Line Underneath Next Card */
.pps-next-accent-line {
	position: absolute;
	bottom: 0;
	left: 0;
	height: 2.5px;
	width: 58%;
	background: #EF4444;
	opacity: 0.85;
	border-radius: 0 2px 0 0;
}

/* ==========================================================================
   RESPONSIVE DESIGN (TABLETS & MOBILE)
   ========================================================================== */
@media (max-width: 992px) {
	.pps-showcase-wrapper {
		padding: 40px 24px;
		border-radius: 20px;
	}

	.pps-header-row {
		flex-direction: column;
		align-items: flex-start;
		gap: 16px;
	}

	.pps-slide,
	.pps-single-project-card {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.pps-slide-content-col {
		padding-right: 0;
	}

	.pps-nav-row {
		margin-top: 24px;
		flex-wrap: wrap;
	}
}

@media (max-width: 640px) {
	.pps-showcase-wrapper {
		padding: 28px 18px;
	}

	.pps-badge-pill {
		top: 16px;
		left: 16px;
		font-size: 12px;
		padding: 5px 14px;
	}

	.pps-progress-overlay {
		bottom: 16px;
		left: 16px;
		gap: 10px;
		padding: 4px 10px;
	}

	.pps-dash {
		width: 20px;
	}

	.pps-dash.is-active {
		width: 28px;
	}

	.pps-specs-grid {
		grid-template-columns: 1fr 1fr;
	}

	.pps-spec-value {
		font-size: 16px;
	}

	.pps-next-card {
		width: 100%;
		justify-content: space-between;
	}
	
	.pps-headline{
		font-size:36px;
	}
}

/* ==========================================================================
   SINGLE PROJECT SHOWCASE SPECIFIC STYLES
   ========================================================================== */
.pps-single-project-card {
	display: grid;
	grid-template-columns: 53% 47%;
	gap: 48px;
	align-items: start;
	width: 100%;
}

.pps-single-title {
	margin-top: 10px;
	margin-bottom: 18px;
	line-height: 1.25;
}


.pps-single-content p {
	margin: 0 0 1em 0;
}

.pps-single-content p:last-child {
	margin-bottom: 0;
}

.pps-back-nav {
	margin-bottom: 18px;
}

.pps-back-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--pps-text-muted);
	font-size: 13.5px;
	font-weight: 600;
	text-decoration: none !important;
	transition: color 0.2s ease, transform 0.2s ease;
}

.pps-back-link:hover {
	color: #FFFFFF !important;
	transform: translateX(-3px);
}

.pps-single-nav-row {
	margin-top: 32px;
}

a.pps-btn-prev,
a.pps-next-card {
	text-decoration: none !important;
	color: #FFFFFF !important;
}

