﻿/* ----- Theme variables and color scheme ----- */
:root {
	color-scheme: light dark;
	--bg: #ffffff;
	--fg: #1a1a1a; /* softer than #111 for reduced glare */
	--muted: #444444;
	--surface: #f7f7f8;
	--surfacebrand: #ffffce;
	--surface-elev: #ffffff;
	--border: rgba(0,0,0,0.12);
	--accent: #880909; /* brand red */
	--success: #4CAF50;
	--link: #337ab7;
	--link-hover: #AABBDD;
	--font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	--font-heading: Georgia, "Times New Roman", Times, serif;
}

@media (prefers-color-scheme: dark) {
	:root {
		--bg: #0f1115;
		--fg: #e0e0e0;
		--muted: #a9abb0;
		--surface: #15171c;
		--surfacebrand: gray;
		--surface-elev: #1b1f26;
		--border: rgba(255,255,255,0.16);
		--accent: #b45a5a;
		--success: #81C784;
		--link: #8ab4f8;
		--link-hover: #a6c8ff;
	}
}

/* Base styles */
body {
	margin: 0;
	font-family: var(--font-body);
	background: var(--bg);
	color: var(--fg);
	line-height: 1.6;
}
.brand-header {
	display: flex;
	align-items: center;
	background: var(--surfacebrand); /* yellow in light mode, gray in dark */
	border-bottom: 1px solid #111;
	padding: 0.5rem 1rem;
}

.brand-logo {
	max-height: 50px;
	width: auto;
	margin-right: 1rem; /* just a little space before the text */
}

.brand-title {
	margin: 0;
	font-size: 1.6rem;
	font-family: var(--font-heading);
	color: var(--fg);
}



	header h1 {
		margin: 0;
		font-size: 1.5rem;
		font-family: var(--font-heading);
	}

nav a {
	color: white;
	margin-left: 1.5rem;
	text-decoration: none;
	font-weight: 500;
}

	nav a:hover {
		color: var(--accent);
	}

/* Hero section */
.hero {
	text-align: center;
	padding: 2rem 2rem;
	background: linear-gradient(to right, var(--surface), var(--bg));
}

	.hero h2 {
		font-size: 2.8rem;
		margin-bottom: 1rem;
		color: var(--fg);
		font-family: var(--font-heading);
	}

	.hero p {
		font-size: 1.2rem;
		max-width: 900px;
		margin: 0 auto 2rem;
	}

	.hero a {
		margin: .5rem;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		padding: 0.6rem 1.2rem;
		border: 1px solid var(--border);
		border-radius: 6px;
		background: var(--surface-elev);
		color: var(--fg);
		font-size: 1.1rem;
		font-weight: 500;
		text-decoration: none;
		cursor: pointer;
		transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
		min-width: 120px; /* optional: keeps it from looking too tiny */
	}

		.hero a:hover {
			background: var(--surface);
			box-shadow: 0 1px 3px rgba(0,0,0,0.08);
		}

		.hero a:active {
			background: var(--surfacebrand);
			transform: scale(0.98);
		}


/* Main content */
main {
	max-width: 1000px;
	margin: 0 auto;
	padding: 2rem 2rem;
}

section {
	margin-bottom: 1rem;
}

	section h2 {
		color: var(--accent);
		font-family: var(--font-heading);
		margin-top: 0;
	}

/* Call-to-action */
.cta {
	text-align: center;
	margin: 3rem 0;
}

	.cta a {
		display: inline-block;
		padding: 0.9rem 1.8rem;
		background: var(--accent);
		color: white;
		border-radius: 4px;
		text-decoration: none;
		font-weight: bold;
	}

		.cta a:hover {
			background: var(--link-hover);
			color: var(--fg);
		}

/* Footer */
footer {
	background: var(--fg);
	color: white;
	text-align: center;
	padding: 1rem;
	margin-top: 3rem;
	font-size: 0.9rem;
}
