/* Modern refresh overrides — layered on top of main.css / modal.css */

:root {
	--accent: #49bf9d;
	--accent-dark: #3aa588;
	--ink: #2b2b2b;
	--muted: #8a8a8a;
}

body, input, select, textarea {
	font-family: "Poppins", "Source Sans Pro", Helvetica, sans-serif;
	color: #6f6f6f;
}

h1, h2, h3, h4, h5, h6 {
	font-weight: 600;
	letter-spacing: -0.01em;
}

h2 {
	position: relative;
	padding-bottom: 0.4em;
}

h2:after {
	content: '';
	position: absolute;
	left: 0;
	bottom: 0;
	width: 3em;
	height: 3px;
	border-radius: 2px;
	background: var(--accent);
}

#header {
	background-image: linear-gradient(rgba(20, 16, 14, 0.55), rgba(20, 16, 14, 0.75)), url("../../images/bg.jpg");
	background-position: top left;
	background-size: cover;
}

#header .image.avatar img {
	border-radius: 50%;
	border: 3px solid rgba(255, 255, 255, 0.25);
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.button {
	border-radius: 999px;
	transition: transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.button:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(73, 191, 157, 0.25);
}

/* Work items / project cards */
.work-item {
	background: #ffffff;
	border-radius: 14px;
	padding: 1.25em 1.25em 1.5em;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.work-item:hover {
	transform: translateY(-6px);
	box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
}

.work-item .image.thumb {
	border-radius: 10px;
	overflow: hidden;
	display: block;
}

.work-item .image.thumb img {
	transition: transform 0.4s ease;
}

.work-item:hover .image.thumb img {
	transform: scale(1.06);
}

.work-item h3 {
	color: var(--ink);
	font-size: 1.05em;
}

.work-item p {
	color: var(--muted);
}

/* Modals */
.modal-content {
	border-radius: 16px;
}

.modal-header {
	color: var(--ink);
	position: relative;
	padding-bottom: 0.6em;
}

.modal-header:after {
	content: '';
	position: absolute;
	left: 50%;
	bottom: 0;
	transform: translateX(-50%);
	width: 3em;
	height: 3px;
	border-radius: 2px;
	background: var(--accent);
}

.modal-body a {
	color: var(--accent);
	font-weight: 600;
}

.modal-body a:hover {
	color: var(--accent-dark);
}

/* Sections */
#main > section {
	animation: none;
}

#main > section > h2,
#main > section > header h2 {
	margin-bottom: 0.8em;
}
