:root {
	--spem-teal: #00AA9B;
	--spem-dark: #172333;
	--spem-gold: #FFC107;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: 'Plus Jakarta Sans', sans-serif;
	color: var(--spem-dark);
	background-color: #fcfcfc;
	overflow-x: hidden;
	padding-top: 80px;
}


/* ================= HERO ================= */
.hero-spem {
	min-height: 70vh; /* lebih pendek */
	padding: 200px 0 60px; /* atas bawah seimbang */

	background: linear-gradient(90deg,
			rgba(0, 0, 0, 0.55),
			rgba(0, 0, 0, 0.4)),
		url('../../image/foto spem 2.jpeg') center/cover no-repeat;

	display: flex;
	align-items: flex-start;
	padding-top: 120px;
	color: #fff;
	border-radius: 0;
	padding-bottom: 70px;
}

.hero-spem .container {
	display: flex;
	align-items: center;
	min-height: 100%;
}

.hero-logo-img {
	max-width: 420px; 
	width: 100%;
	height: auto;
	margin-left: 20px;
	opacity: 0.9;
}

.hero-spem .lead {
	max-width: 520px;
}

.hero-flex-container {
	align-items: center;
}

.hero-title {
	font-size: clamp(2.5rem, 5vw, 4rem);
	font-weight: 800;
	line-height: 1.1;
}

.hero-spem .row {
	align-items: center;
	min-height: 100%;
	transform: translateY(-40px);
}

.hero-spem .col-lg-8 {
	margin-top: -60px; /* naik dikit */
}

/* ================= STAT CARD ================= */
.stat-card {
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(10px);
	border-radius: 30px;
	padding: 40px 30px;
	box-shadow: 0 25px 60px rgba(0, 0, 0, 0.08);
	margin-top: -40px;
	border: 1px solid #f1f5f9;
	position: relative;
	z-index: 10;
}

.stat-number {
	color: var(--spem-teal);
	font-weight: 800;
	font-size: 2.4rem;
	margin-bottom: 6px;
}

.stat-label {
	color: #6b7280;
	font-size: 0.95rem;
}

.stat-card .border-end {
	border-right: 1px solid rgba(0, 0, 0, 0.06) !important;
}



/* ================= DETAIL SECTION ================= */
.detail-section {
	padding: 80px 0;
}

.icon-box-feature {
	background: #fff;
	padding: 30px;
	border-radius: 24px;
	border: 1px solid #f1f5f9;
	transition: .3s;
	text-align: center;
	height: 100%;
}

.icon-box-feature:hover {
	border-color: var(--spem-teal);
	transform: translateY(-10px);
	box-shadow: 0 20px 40px rgba(0, 170, 155, .15);
}

.icon-circle {
	width: 60px;
	height: 60px;
	background: var(--spem-teal);
	color: #fff;
	border-radius: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 15px;
	font-size: 28px;
}

/* ================= GALLERY ================= */
.gallery-item {
	border-radius: 20px;
	overflow: hidden;
	height: 280px;
	position: relative;
	cursor: pointer;
	box-shadow: 0 10px 20px rgba(0, 0, 0, .05);
}

.gallery-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: .5s;
}

.gallery-item:hover img {
	transform: scale(1.1);
}

.gallery-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(transparent, rgba(0, 0, 0, .8));
	display: flex;
	align-items: flex-end;
	padding: 25px;
	color: #fff;
	opacity: 0;
	transition: .3s;
}

.gallery-item:hover .gallery-overlay {
	opacity: 1;
}

/* ================= CTA ================= */
.cta-highlight {
	background: var(--spem-dark);
	color: #fff;
	border-radius: 30px;
	padding: 60px;
	margin-top: 80px;
	margin-bottom: 80px;
}

.hero-flex-container {
	align-items: center;
	justify-content: space-between;
	gap: 40px;
}

/* LOGO KE KANAN */
.hero-logo-content {
	display: flex;
	justify-content: flex-end;
	align-items: center;
}

.hero-logo-img {
	max-width: 600px;
	width: 150%;
	height: auto;
	margin-left: 50px;
}


/* ================= RESPONSIVE ================= */
@media (max-width: 992px) {

	.hero-title {
		font-size: 2.8rem;
	}

	.cta-highlight {
		padding: 40px 20px;
	}

	.hero-flex-container {
		flex-direction: column;
		text-align: center;
	}

	.hero-logo-content {
		justify-content: center;
		margin-top: 40px;
	}

	.hero-logo-img {
		max-width: 280px;
	}
}

/* ================= POSTER ================= */
.poster-container {
	max-width: 550px;
	/* kontrol lebar total */
	margin: 0 auto;
}

.poster-img {
	max-width: 100%;
	width: 1000px;
	/* ukuran ideal desktop */
	height: auto;
}

/* Responsive */
@media (max-width: 768px) {
	.poster-img {
		width: 100%;
	}

	.hero-spem {
		min-height:auto;
		/* penting! hapus paksa tinggi */
		height: auto;
		padding: 95px 0 50px;
		/* atas dikurangi karena header fixed */
		border-radius: 0 0 28px 28px;
	}

	/* bootstrap row bikin tinggi */
	.hero-spem .container,
	.hero-spem .row {
		height: 100%;
	    align-items: center;
	}

	.hero-spem .row {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
	}

	/* text */
	.hero-title {
		font-size: 1.75rem;
		line-height: 1.25;
		margin-bottom: 12px !important;
	}

	.hero-spem .lead {
		font-size: 0.9rem;
		margin-bottom: 20px !important;
	}

	/* tombol */
	.hero-spem .d-flex {
		flex-direction: column;
		width: 100%;
		gap: 10px !important;
		margin-bottom: 30px;
	}

	.btn-spem,
	.hero-spem .btn-outline-light {
		width: 100%;
		padding: 12px 16px;
		font-size: 0.85rem;
	}

	/* logo */
	.hero-logo-content {
		margin-top: 20px;
	}

	.hero-logo-img {
		max-width: 140px;
		margin-top:20px;
	}

	.hero-spem .row {
		flex-direction: column;
		text-align: center;
		align-items: center;
	}

	.hero-spem .col-lg-8 {
		width: 100%;
	}

	.hero-title {
		font-size: 1.8rem;
		line-height: 1.25;
		margin-bottom: 15px !important;
	}

	.hero-spem .lead {
		font-size: 0.95rem;
		margin-bottom: 25px !important;
		max-width: 500px;
	}

	/* tombol */
	.hero-spem .d-flex {
		justify-content: center;
		gap: 12px !important;
	}

	.btn-spem {
		padding: 12px 20px;
		font-size: 0.85rem;
	}

	.hero-spem .btn-outline-light {
		padding: 12px 20px !important;
		font-size: 0.85rem;
	}

	/* logo */
	.hero-logo-content {
		margin-top: 25px;
	}

	.hero-logo-img {
		max-width: 170px;
	}
}

@media (max-width: 400px) {

	.hero-title {
		font-size: 1.6rem;
	}

	.hero-spem .lead {
		font-size: 0.85rem;
	}

	.hero-logo-img {
		max-width: 140px;
	}

	.btn-spem,
	.hero-spem .btn-outline-light {
		width: 100%;
	}
}

.badge-spem {
	background: #FFC107;
	color: #172333;
	font-weight: 700;
	padding: 8px 18px;
	border-radius: 50px;
	font-size: 0.75rem;
}

.btn-spem {
	background: #fff;
	color: #00AA9B;
	padding: 14px 34px;
	border-radius: 14px;
	font-weight: 800;
	text-decoration: none;
	transition: .3s;
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);

	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
}

.btn-spem:hover {
	background: #00AA9B;
	color: #fff;
}

.btn-outline-spem {
	border: 2px solid #fff;
	color: #fff;
	padding: 14px 34px;
	border-radius: 14px;
	font-weight: 700;
	text-decoration: none;
}

.btn-outline-spem:hover {
	background: #fff;
	color: var(--kit-teal);
}

.table-spem {
	background: rgba(0, 170, 155, .12);
	color: var(--spem-dark);
}

.section-subtitle {
	color: var(--spem-teal);
	letter-spacing: 2px;
	font-weight: 700;
	text-transform: uppercase;
	font-size: .8rem;
}

/* SECTION TEMA SPP */
.spem-section h6 {
	color: var(--spem-teal);
	letter-spacing: 2px;
	font-weight: 700;
}

.spem-section h2 {
	color: var(--spem-dark);
}

/* CARD KARAKTERISTIK */
.spem-section .bg-white {
	border-radius: 28px;
	box-shadow: 0 20px 40px rgba(0, 170, 155, .12);
	border: 1px solid #e6f4f2;
}

/* FEATURE BOX */
.spem-feature-box {
	background: rgba(0, 170, 155, .08);
	border-radius: 20px;
	padding: 24px 10px;
	transition: .3s;
}

.spem-feature-box i {
	font-size: 28px;
	color: var(--spem-teal);
}

.spem-feature-box p {
	margin-top: 8px;
	font-weight: 700;
	color: var(--spem-dark);
}

.spem-feature-box:hover {
	background: var(--spem-teal);
	transform: translateY(-6px);
	box-shadow: 0 15px 30px rgba(0, 170, 155, .25);
}

.spem-feature-box:hover i,
.spem-feature-box:hover p {
	color: #fff;
}

/* POSTER */
.poster-container img {
	transition: .4s;
	border-radius: 24px;
	box-shadow: 0 20px 40px rgba(0, 170, 155, .18);
}

.poster-container img:hover {
	transform: scale(1.04);
}

/* ================= CTA ================= */
.cta-highlight {
	background: linear-gradient(135deg,
			var(--spem-teal),
			rgba(76, 217, 100, .9));
	color: #fff;
	border-radius: 32px;
	padding: 70px 60px;
	margin-top: 100px;
	margin-bottom: 100px;
	box-shadow: 0 30px 60px rgba(0, 170, 155, .35);
	position: relative;
	overflow: hidden;
}

/* efek glow halus */
.cta-highlight::after {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(circle at top right,
			rgba(255, 255, 255, .25),
			transparent 60%);
	pointer-events: none;
}

/* tombol utama */
.btn-spem {
	background: #fff;
	color: var(--spem-teal);
	padding: 16px 38px;
	border-radius: 14px;
	font-weight: 800;
	text-decoration: none;
	transition: .3s;
	box-shadow: 0 12px 30px rgba(0, 0, 0, .25);
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.btn-spem:hover {
	background: var(--spem-dark);
	color: #fff;
	transform: translateY(-4px);
	box-shadow: 0 18px 40px rgba(0, 0, 0, .35);
}

.cta-highlight h2 {
	color: #fff;
}


/* ===== POSTER GALLERY SPEM ===== */

.spem-gallery-item {
	width: 100%;
	aspect-ratio: 4/3;
	overflow: hidden;
	border-radius: 16px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
	border: 1px solid #eee;
	background: #f8f9fa;
	display: flex;
	align-items: center;
	justify-content: center;
}

.spem-gallery-item img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	/* GAMBAR TIDAK TERPOTONG */
	padding: 10px;
	transition: transform .35s ease;
}

.poster-container:hover img {
	transform: scale(1.05);
}

.caption-box {
	min-height: 55px;
	padding-top: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
}


.hero-spem{
	position: relative;
	z-index: 1;
}
