:root {
	--primary-gradient: linear-gradient(135deg, #0f766e 0%, #155e75 100%);
	--secondary-background: #f4f5f7;
	--text-color: #333;
	--subtext-color: #666;
	--accent-color: #0f766e;
	--light-accent: #d7eae7;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: 'Inter', sans-serif;
}

.emph {
	position: relative;
	display: inline-block;
	/* Prevents background from spanning full line width */
	padding: 0 0.5em;
	/* Adds some padding around the text */
	color: transparent;
	background-clip: text;
	background-image: var(--primary-gradient);
	-webkit-background-clip: text;
	/* Safari support */
}

.emph::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: white;
	z-index: -1;
	border-radius: 3px;
}

*:has(>.emph) {
	isolation: isolate;
}

body {
	background-color: var(--secondary-background);
	color: var(--text-color);
	line-height: 1.6;
	min-height: 100vh;
	position: relative;
}

nav {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	background: white;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	z-index: 1000;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 1rem 2rem;
}

nav .logo {
	color: var(--text-color);
	display: flex;
	align-items: center;
	font-size: x-large;
	text-decoration: none;
}

nav .logo img {
	height: 40px;
	margin-right: 10px;
}

.nav-menu {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.nav-btn {
	text-decoration: none;
	color: var(--accent-color);
	border: none;
	padding: 10px 20px;
	border-radius: 3em;
	font-weight: 500;
	font-size: medium;
	cursor: pointer;
	transition: background-color 0.3s ease, transform 0.3s ease;
	display: flex;
	align-items: center;
}

.nav-btn:hover {
	background-color: var(--secondary-background);
	transform: scale(1.05);
}

.say-hello-btn {
	background-color: white;
	color: var(--accent-color);
	border-color: var(--accent-color);
	padding: 15px 40px;
	border-radius: 3em;
	font-weight: 500;
	font-size: medium;
	cursor: pointer;
	transition: transform 0.3s ease;
}

.say-hello-btn:hover {
	transform: scale(1.05);
}

.hamburger-menu {
	display: none;
	cursor: pointer;
	font-size: 1.5rem;
	color: var(--text-color);
}

.cta-section {
	background: var(--primary-gradient);
	color: white;
	text-align: center;
	padding: 4rem 2rem;
}

.cta-section>button {
	margin-top: 20px;
}

.contact-modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.7);
	z-index: 1000;
	padding: 5rem;
}

.contact-form-container {
	position: relative;
	background-color: var(--secondary-background);
	padding: 20px;
	border-radius: 8px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	max-width: 400px;
	margin: auto;
}

.contact-form {
	margin-top: 20px;
	display: flex;
	flex-direction: column;
}

.contact-form input,
.contact-form textarea {
	padding: 10px;
	margin-bottom: 15px;
	border: 1px solid #ccc;
	border-radius: 4px;
	font-size: 1em;
	color: var(--text-color);
	background-color: white;
}

.contact-form button {
	padding: 10px;
	background-color: var(--accent-color);
	color: white;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	font-size: 1em;
}

.contact-form button:hover {
	background-color: darken(var(--accent-color), 10%);
}

.close-icon {
	position: absolute;
	top: 10px;
	right: 20px;
	font-size: 1.5em;
	color: var(--accent-color);
	cursor: pointer;
}

.close-icon:hover {
	color: darken(var(--accent-color), 10%);
}

.footer {
	background: #333;
	color: white;
	padding: 3rem 2rem;
	text-align: center;
}

.footer-logo {
	font-size: 2rem;
	margin-bottom: 1rem;
}

.footer-social {
	display: flex;
	justify-content: center;
	gap: 1.5rem;
	margin-top: 1rem;
}

.footer-social a {
	color: white;
	text-decoration: none;
	font-size: 1.5rem;
	transition: transform 0.3s, color 0.3s;
}

.footer-social a:hover {
	transform: scale(1.1);
}

@media (max-width: 480px) {
	.hamburger-menu {
		display: block;
	}

	.nav-menu {
		display: none;
		flex-direction: column;
		position: absolute;
		top: 100%;
		left: 0;
		width: 100%;
		background: white;
		box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
		padding: 1rem;
	}

	.nav-menu.active {
		display: flex;
	}

	.nav-btn,
	.say-hello-btn {
		margin: 0;
		width: 80%;
		text-align: center;
		justify-content: center;
	}
}

.archive {
	position: absolute;
	font-size: 0.5em;
	color: gray;
	bottom: 0;
	left: 0;
	width: 100%;
	text-align: left;
	padding-left: 10px;
}

.archive i {
	margin-right: 0.5em;
	font-size: 0.8em;
}

.views-count {
	position: absolute;
	font-size: 0.5em;
	bottom: 0;
	right: 0;
	width: 100%;
	text-align: right;
	padding-right: 10px;
}

.views-count .iconAndCount {
	display: flex;
	align-items: center;
	justify-content: flex-end;
}

.views-count svg {
	margin-right: 0.5em;
	fill: gray;
	height: 1em;
}

.views-count a {
	text-decoration: none;
	color: gray;
}