:root {
	--accent: #4f46e5;
	--accent-hover: #4338ca;
	--dark: #111827;
	--light: #f9fafb;
	--card-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

body {
	font-family: 'Segoe UI', system-ui, sans-serif;
	background: var(--light);
	color: var(--dark);
}

/* ── Navbar ── */
.navbar .navbar-brand {
	font-size: 1.2rem;
	letter-spacing: 0.04em;
	font-weight: 700;
}

/* ── Hero ── */
.hero {
	background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
	color: #fff;
	padding: 5rem 0 4rem;
}

.profile-photo {
	width: 200px;
	height: 200px;
	object-fit: cover;
	border-radius: 50%;
	border: 4px solid rgba(255, 255, 255, 0.3);
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.profile-placeholder {
	width: 200px;
	height: 200px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.12);
	border: 4px dashed rgba(255, 255, 255, 0.4);
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto;
	font-size: 4.5rem;
	color: rgba(255, 255, 255, 0.45);
	user-select: none;
}

/* ── Section helpers ── */
.section-title {
	font-size: 1.9rem;
	font-weight: 700;
}

.section-divider {
	width: 56px;
	height: 4px;
	background: var(--accent);
	border-radius: 2px;
	margin: 0.5rem auto 2.5rem;
}

/* ── Project cards (home page) ── */
.project-card {
	border: none;
	border-radius: 12px;
	box-shadow: var(--card-shadow);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	height: 100%;
	overflow: hidden;
}

.project-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.13);
}

.card-thumb {
	height: 160px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 2.5rem;
	color: rgba(255, 255, 255, 0.7);
	position: relative;
}

.project-num {
	position: absolute;
	top: 10px;
	left: 10px;
	background: rgba(0, 0, 0, 0.35);
	color: #fff;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.78rem;
	font-weight: 700;
}

/* Gradient swatches per card */
.thumb-1 {
	background: linear-gradient(135deg, #6366f1, #8b5cf6);
}

.thumb-2 {
	background: linear-gradient(135deg, #0ea5e9, #6366f1);
}

.thumb-3 {
	background: linear-gradient(135deg, #10b981, #059669);
}

.thumb-4 {
	background: linear-gradient(135deg, #f59e0b, #ef4444);
}

.thumb-5 {
	background: linear-gradient(135deg, #ec4899, #8b5cf6);
}

.thumb-6 {
	background: linear-gradient(135deg, #14b8a6, #0ea5e9);
}

.thumb-7 {
	background: linear-gradient(135deg, #f97316, #ef4444);
}

.thumb-8 {
	background: linear-gradient(135deg, #a855f7, #ec4899);
}

.thumb-9 {
	background: linear-gradient(135deg, #22c55e, #14b8a6);
}

.thumb-10 {
	background: linear-gradient(135deg, #3b82f6, #6366f1);
}

/* ── Tech badges ── */
.badge-tech {
	background: #e0e7ff;
	color: #3730a3;
	font-weight: 500;
	font-size: 0.75rem;
	padding: 0.3em 0.65em;
	border-radius: 6px;
}

/* ── Buttons ── */
.btn-accent {
	background: var(--accent);
	color: #fff;
	border: none;
}

.btn-accent:hover {
	background: var(--accent-hover);
	color: #fff;
}

.btn-outline-accent {
	border: 2px solid var(--accent);
	color: var(--accent);
	background: transparent;
}

.btn-outline-accent:hover {
	background: var(--accent);
	color: #fff;
}

/* ── Footer ── */
footer {
	background: var(--dark);
	color: rgba(255, 255, 255, 0.65);
	padding: 2rem 0;
	font-size: 0.9rem;
}

footer a {
	color: rgba(255, 255, 255, 0.5);
	text-decoration: none;
}

footer a:hover {
	color: #fff;
}

/* ── Project detail page ── */
.project-hero {
	background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
	color: #fff;
	padding: 3.5rem 0 2.5rem;
}

.screenshot-placeholder {
	height: 340px;
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: rgba(255, 255, 255, 0.6);
	font-size: 1rem;
}

.detail-label {
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #6b7280;
	font-weight: 600;
	margin-bottom: 0.25rem;
}

.feature-item {
	padding: 0.6rem 0;
	border-bottom: 1px solid #e5e7eb;
}

.feature-item:last-child {
	border-bottom: none;
}

/* ── Resume page ── */
.resume-wrapper {
	max-width: 860px;
	margin: 0 auto;
	background: #fff;
	border-radius: 12px;
	box-shadow: var(--card-shadow);
	padding: 3rem;
}

.resume-name {
	font-size: 2.2rem;
	font-weight: 700;
	color: var(--dark);
}

.resume-section-title {
	font-size: 1rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--accent);
	border-bottom: 2px solid #e0e7ff;
	padding-bottom: 0.4rem;
	margin-bottom: 1.2rem;
}

.resume-entry-title {
	font-weight: 600;
	margin-bottom: 0.1rem;
}

.resume-entry-meta {
	font-size: 0.88rem;
	color: #6b7280;
	margin-bottom: 0.5rem;
}