/* Base styles */
:root {
	--primary-color: #c69215;
	--text-color: #383a37;
	--background-color: #ffffff;
}

@media (prefers-color-scheme: dark) {
	:root {
		--text-color: #e5e5e5;
		--background-color: #1a1a1a;
		--hex-stroke: #e5b449;
	}
}

body {
	background-color: var(--background-color);
	color: var(--text-color);
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	min-height: 100vh;
	margin: 0;
	padding: 2rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	transition: background-color 0.3s, color 0.3s;
}

/* Logo styles - Static by default */
.static-logo {
	display: block;
	width: min(140px, 35vw);
	margin: 1.5rem auto;
	transition: transform 0.3s ease;
}

.static-logo:hover {
	transform: scale(1.05);
}

.static-logo svg {
	width: 100%;
	height: auto;
}

/* Animated logo - Only for home page */
.logo {
	width: min(180px, 40vw);
	margin: 2rem auto;
	transition: transform 0.3s ease;
}

.logo svg {
	width: 100%;
	height: auto;
}

.logo:hover {
	transform: scale(1.05);
}

.logo .honeycomb {
	stroke-dasharray: 3000;
	stroke-dashoffset: 3000;
	animation: draw 1.5s ease-in-out forwards;
}

.logo .symbol {
	opacity: 0;
	animation: fadeIn 1.1s ease-in 0.8s forwards;
}

/* Content styles */
.content {
	text-align: center;
	max-width: 500px;
	margin: 2rem auto;
}

h1 {
	font-size: 2.5rem;
	margin-bottom: 1rem;
}

.tagline {
	font-size: 1.25rem;
	margin-bottom: 2rem;
}

.status {
	font-size: 1rem;
	color: var(--primary-color);
	margin-bottom: 2rem;
}

/* Landing page animations */
.landing-animate h1,
.landing-animate .tagline,
.landing-animate .status,
.landing-animate .contact-link {
	opacity: 0;
	animation: fadeIn 0.8s ease-in forwards;
}

.landing-animate h1 {
	animation-delay: 1.2s;
}
.landing-animate .tagline {
	animation-delay: 1.4s;
}
.landing-animate .status {
	animation-delay: 1.6s;
}
.landing-animate .contact-link {
	animation-delay: 1.8s;
}

/* Link styles */
.contact-link {
	display: inline-block;
	color: var(--text-color);
	text-decoration: none;
	padding: 0.75rem 1.5rem;
	border: 2px solid var(--primary-color);
	border-radius: 4px;
	transition: all 0.3s ease;
}

.contact-link:hover {
	background-color: var(--primary-color);
	color: var(--background-color);
	transform: translateY(-2px);
}

/* Contact form styles */
.contact-form {
	max-width: 500px;
	margin: 2rem auto;
	text-align: left;
	padding: 1rem 1.5rem;
	box-sizing: border-box;
}

.form-group {
	margin-bottom: 1.5rem;
}

.form-group label {
	display: block;
	margin-bottom: 0.5rem;
	color: var(--text-color);
}

.form-group input,
.form-group textarea {
	width: 100%;
	padding: 0.75rem;
	border: 2px solid var(--primary-color);
	border-radius: 4px;
	background: var(--background-color);
	color: var(--text-color);
	font-family: inherit;
	font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
	outline: none;
	box-shadow: 0 0 0 3px rgba(198, 146, 21, 0.3);
}

.submit-button {
	background-color: var(--primary-color);
	color: var(--background-color);
	border: none;
	padding: 0.75rem 1.5rem;
	border-radius: 4px;
	font-size: 1rem;
	cursor: pointer;
	transition: transform 0.3s ease, background-color 0.3s;
}

.submit-button:hover {
	transform: translateY(-2px);
	background-color: #d9a429;
}

/* Utility classes */
.intro,
.success-message {
	font-size: 1.1rem;
	line-height: 1.6;
	margin: 2rem auto;
	max-width: 540px;
}

/* Animations */
@keyframes draw {
	to {
		stroke-dashoffset: 0;
	}
}

@keyframes fadeIn {
	to {
		opacity: 1;
	}
}

/* Responsive design */
@media (max-width: 640px) {
	body {
		padding: 1rem;
	}
	.content {
		max-width: 100%;
		margin: 1rem auto;
	}

	h1 {
		font-size: 1.75rem;
	}

	.tagline {
		font-size: 1.1rem;
	}

	.contact-link {
		padding: 0.5rem 1.25rem;
		font-size: 0.875rem;
	}

	.contact-form {
		padding: 0 1rem;
		width: 100%;
	}

	.submit-button {
		width: 100%;
		padding: 0.875rem;
	}
}

@media (max-width: 380px) {
	h1 {
		font-size: 1.5rem;
	}

	.intro,
	.success-message {
		font-size: 0.95rem;
	}
}
