/*
 * vandijkdevelopment lite
 * Hand-written port of bvd-wp-child-theme (navbar, footer, about-me-banner, about-me-info).
 */

@font-face {
	font-family: 'Roboto';
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url('../fonts/roboto-latin.woff2') format('woff2');
}

:root {
	--primary-background: #EDF6F2;
	--surface: #FFFFFF;
	--surface-muted: #F5FAF8;
	--bg-light: #F7FAF9;
	--text: #152522;
	--text-secondary: #66736F;
	--calm-blue: #3A7F96;
	--nature-green: #4D9670;
	--accent: #3A7F96;
	--accent-hover: #2B5E6F;
	--border: #DDE6E2;
	--ring: rgba(58, 127, 150, .18);
	--green-ring: rgba(77, 150, 112, .18);
	--shadow-subtle: 0 1px 2px rgba(15, 31, 28, .06), 0 10px 30px rgba(15, 31, 28, .06);
	--radius-md: 8px;
	--radius-lg: 14px;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html,
body {
	margin: 0;
	min-height: 100%;
}

body {
	background: var(--bg-light);
	color: var(--text);
	font-family: 'Roboto', -apple-system, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
	font-size: 16px;
	line-height: 1.5;
	min-height: 100vh;
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
}

p {
	margin: 0 0 1rem;
}

img {
	max-width: 100%;
	height: auto;
}

a {
	color: var(--accent);
	transition: color 160ms ease;
}

a:hover,
a:focus {
	color: var(--accent-hover);
}

::selection {
	background: var(--ring);
	color: var(--text);
}

.container {
	margin: 0 auto;
	max-width: 1140px;
	padding: 0 15px;
	width: 100%;
}

#page {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

#site-content {
	flex: 1 0 auto;
}

/* Navbar */
#site-header {
	padding-top: 78px;
}

.navbar {
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	background-color: rgba(255, 255, 255, .92);
	border-bottom: 1px solid rgba(221, 230, 226, .9);
	box-shadow: 0 1px 2px rgba(15, 31, 28, .04);
	left: 0;
	min-height: 78px;
	position: fixed;
	right: 0;
	top: 0;
	z-index: 1030;
}

.navbar .container {
	align-items: center;
	display: flex;
	min-height: 78px;
}

.navbar-brand {
	display: inline-flex;
	padding: 16px 18px 16px 0;
}

.navbar-brand img {
	display: block;
	max-width: 286px;
	width: 286px;
}

/* About me banner */
.about-me-banner {
	padding: 72px 0;
	position: relative;
}

.about-me-banner::before {
	background:
		linear-gradient(135deg, rgba(58, 127, 150, .12) 0%, rgba(77, 150, 112, .10) 48%, rgba(255, 255, 255, .20) 100%),
		linear-gradient(180deg, var(--primary-background) 0%, var(--bg-light) 100%);
	content: '';
	height: 100%;
	left: 50%;
	position: absolute;
	top: 0;
	transform: translateX(-50%);
	width: 100vw;
}

.about-me-banner--panel {
	margin: 0 auto;
	max-width: 720px;
	padding: 20px 32px;
	position: relative;
	text-align: center;
	z-index: 1;
}

.about-me-banner--image {
	border: 1px solid rgba(255, 255, 255, .58);
	border-radius: 50%;
	box-shadow: 0 0 0 8px rgba(58, 127, 150, .08), 0 18px 45px rgba(15, 31, 28, .14);
	display: block;
	height: 148px;
	margin: 0 auto;
	object-fit: cover;
	width: 148px;
}

.about-me-banner--name {
	color: var(--text);
	font-size: 36px;
	font-weight: 800;
	line-height: 1.05;
	margin: 26px 0 0;
}

.about-me-banner--title {
	color: var(--text-secondary);
	font-size: 18px;
	line-height: 1.6;
	margin: 14px auto 0;
	max-width: 560px;
}

.about-me-banner--title p {
	margin: 0;
}

/* About me info */
.about-me-info {
	display: grid;
	gap: 24px;
	grid-template-columns: 1fr;
	padding: 64px 0 84px;
}

.about-me-info--card {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-subtle);
	padding: 28px;
}

.about-me-info--text {
	line-height: 1.8;
}

.about-me-info--text h2 {
	font-size: 2rem;
	font-weight: 700;
	line-height: 1.2;
	margin: 0 0 .5rem;
}

.about-me-info--text p:last-child {
	margin-bottom: 0;
}

.inline-logo {
	padding-left: 24px;
	position: relative;
}

.inline-logo img {
	left: 1px;
	position: absolute;
	top: -2px;
	width: 20px;
}

.about-me-info--heading {
	font-size: 18px;
	font-weight: 700;
	line-height: 1.2;
	margin: 0 0 18px;
}

.about-me-info--social ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.about-me-info--social li {
	align-items: center;
	background: var(--surface-muted);
	border: 1px solid transparent;
	border-radius: var(--radius-md);
	display: flex;
	min-height: 44px;
	padding: 8px 10px;
	transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.about-me-info--social li + li {
	margin-top: 8px;
}

.about-me-info--social li:hover {
	background: rgba(58, 127, 150, .05);
	border-color: var(--green-ring);
	transform: translateY(-1px);
}

.about-me-info--social .label {
	color: var(--text-secondary);
	flex: 0 0 82px;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.3;
}

.about-me-info--social a {
	align-items: center;
	color: var(--text);
	display: inline-flex;
	font-weight: 600;
	line-height: 1.3;
	margin-left: 12px;
	overflow-wrap: anywhere;
	text-decoration: none;
}

.about-me-info--social a img {
	flex: 0 0 18px;
	height: 18px;
	margin-right: 8px;
	max-width: 18px;
	opacity: .78;
}

/* Footer */
#site-footer {
	background-color: rgba(255, 255, 255, .92);
	border-top: 1px solid rgba(221, 230, 226, .9);
	box-shadow: 0 1px 2px rgba(15, 31, 28, .04);
	color: var(--text-secondary);
	flex-shrink: 0;
	font-size: 14px;
	padding: 28px 0;
}

/* Breakpoints (Bootstrap 4: sm 576, md 768, xl 1200) */
@media (min-width: 576px) {
	.container { max-width: 540px; }
}

@media (min-width: 768px) {
	.container { max-width: 720px; }
}

@media (min-width: 992px) {
	.container { max-width: 960px; }
}

@media (min-width: 1200px) {
	.container { max-width: 1140px; }

	.about-me-info {
		gap: 36px;
		grid-template-columns: 7fr 5fr;
	}
}

@media (max-width: 767.98px) {
	.navbar .container {
		justify-content: center;
	}

	.navbar-brand {
		padding-left: 0;
		padding-right: 0;
	}

	.about-me-banner {
		padding: 48px 0;
	}

	.about-me-banner--panel {
		padding: 10px 20px;
	}

	.about-me-banner--name {
		font-size: 34px;
	}

	.about-me-info {
		padding: 42px 0 56px;
	}

	.about-me-info--card {
		padding: 22px;
	}

	#site-footer {
		text-align: center;
	}
}

@media (max-width: 399.98px) {
	.navbar-brand img {
		width: 240px;
	}

	.about-me-info--social .label {
		display: none;
	}

	.about-me-info--social a {
		margin-left: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	* {
		transition: none !important;
	}
}
