:root {
	--accent: #f97316;
}

.theme-dark {
	--bg: #0d1117;
	--bg-soft: #161b22;
	--text: #e6edf3;
	--muted: #9ca3af;
	--card: #1f2530;
}

.theme-light {
	--bg: #f8fafc;
	--bg-soft: #eef2f7;
	--text: #1f2937;
	--muted: #5b6473;
	--card: #ffffff;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: "Segoe UI", system-ui, sans-serif;
	background: var(--bg);
	color: var(--text);
	margin: 0;
	transition:
		background 0.3s ease,
		color 0.3s ease;
}

.navbar {
	background: rgba(13, 17, 23, 0.95);
	backdrop-filter: blur(8px);
	transition: background 0.3s ease;
}

.theme-light .navbar {
	background: rgba(248, 250, 252, 0.95);
}

.brand-logo {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	margin-right: 8px;
}

.nav-link {
  color: var(--muted) !important;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--accent) !important;
}

.nav-link.active {
  color: var(--accent) !important;
  font-weight: 600;
}

.hero-section {
	min-height: 100vh;
	padding-top: 100px;
}

.text-accent {
	color: var(--accent) !important;
}

.btn-accent {
	background: var(--accent);
	color: #111;
	border: none;
}

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

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

.section {
	padding: 80px 0;
}

.section-highlight {
	border-top: 1px solid rgba(249, 115, 22, 0.4);
	border-bottom: 1px solid rgba(249, 115, 22, 0.4);
	box-shadow: inset 0 0 0 1px rgba(249, 115, 22, 0.12);
}

.section-title {
	margin-bottom: 24px;
}

.bg-soft {
	background: var(--bg-soft);
}

.hero-image img {
	max-width: 420px;
}

.skill-card,
.project-card {
	background: var(--card);
	padding: 20px;
	border-radius: 12px;
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.15);
	transition:
		transform 0.3s ease,
		box-shadow 0.3s ease;
}

.project-card {
	height: 100%;
	display: flex;
	flex-direction: column;
}

.project-excerpt {
	flex: 1;
	max-height: 92px;
	overflow: hidden;
}

.project-actions {
	margin-top: auto;
}

.project-modal {
	background: var(--card);
	color: var(--text);
	border: 1px solid rgba(249, 115, 22, 0.2);
}

.project-modal .modal-header,
.project-modal .modal-footer {
	border-color: rgba(249, 115, 22, 0.2);
}

.project-modal .btn-close {
	filter: invert(1);
}

.theme-light .project-modal .btn-close {
	filter: none;
}

.skill-icon {
	font-size: 1.8rem;
	color: var(--accent);
	margin-bottom: 8px;
}

.theme-icon {
	font-size: 1rem;
}

.theme-toggle {
	min-width: 40px;
	justify-content: center;
}

.theme-dark .icon-light {
	display: none;
}

.theme-light .icon-dark {
	display: none;
}

.project-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 14px 32px rgba(0, 0, 0, 0.25);
}

.timeline {
	border-left: 2px solid var(--accent);
	padding-left: 20px;
}

.timeline-item {
	margin-bottom: 20px;
}

.timeline-date {
	color: var(--accent);
	font-weight: 600;
}

.footer {
	padding: 30px 0;
	background: var(--bg-soft);
}

.typing {
	min-height: 28px;
}

.text-muted {
	color: var(--muted) !important;
}

@media (max-width: 768px) {
	.hero-image img {
		max-width: 100%;
	}
}
