@charset "utf-8";

/* Reset and Base Styles */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	font-size: 16px;
	scroll-behavior: smooth;
}

body {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.6;
	color: #333;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	min-height: 100vh;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* Header Styles */
#header {
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid rgba(255, 255, 255, 0.2);
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.wrapper {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
	position: relative;
}

nav {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	padding: 1rem 0;
}

nav a {
	font-weight: 600;
	color: #2c3e50;
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 1px;
	padding: 0.5rem 1rem;
	margin-left: 1rem;
	border-radius: 6px;
	transition: all 0.3s ease;
	font-size: 0.875rem;
}

nav a:hover {
	background: rgba(52, 152, 219, 0.1);
	color: #3498db;
	transform: translateY(-1px);
}

.sitelog {
	background-image: url(../images/logo.png);
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	height: 40px;
	width: 200px;
	text-indent: -9999px;
	float: left;
	margin-top: 0.5rem;
}

/* Main Content Container */
.container {
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(10px);
	padding: 3rem;
	border-radius: 20px;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
	margin: 2rem auto;
	max-width: 1200px;
	position: relative;
	overflow: hidden;
}

.container::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(90deg, #667eea, #764ba2);
}

/* Page Headers */
h1 {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
	font-size: 2.5rem;
	font-weight: 800;
	color: #2c3e50;
	text-align: center;
	margin-bottom: 2rem;
	position: relative;
}

h1::after {
	content: '';
	position: absolute;
	bottom: -10px;
	left: 50%;
	transform: translateX(-50%);
	width: 60px;
	height: 4px;
	background: linear-gradient(90deg, #667eea, #764ba2);
	border-radius: 2px;
}

h2 {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
	font-size: 1.75rem;
	font-weight: 700;
	color: #2c3e50;
	margin: 1rem 0 1rem 0;
	padding-bottom: 0.5rem;
	border-bottom: 2px solid #eee;
}

/* Grid Layouts */
.states-grid, .counties-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	gap: 1.5rem;
	padding: 1rem 0;
}

.state-link, .county-link {
	display: block;
	padding: 1.5rem;
	background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
	border: 2px solid transparent;
	border-radius: 16px;
	text-decoration: none;
	color: #2c3e50;
	text-align: center;
	font-weight: 600;
	font-size: 1.1rem;
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
}

.state-link::before, .county-link::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(135deg, #667eea, #764ba2);
	opacity: 0;
	transition: opacity 0.3s ease;
	z-index: 1;
}

.state-link:hover, .county-link:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
	border-color: #667eea;
}

.state-link:hover::before, .county-link:hover::before {
	opacity: 0.1;
}

.state-link span, .county-link span {
	position: relative;
	z-index: 2;
}

/* Back Links */
.back-link {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 2rem;
	color: #667eea;
	text-decoration: none;
	font-weight: 600;
	padding: 0.75rem 1.5rem;
	background: rgba(102, 126, 234, 0.1);
	border-radius: 12px;
	transition: all 0.3s ease;
}

.back-link:hover {
	background: rgba(102, 126, 234, 0.2);
	transform: translateX(-4px);
	color: #5a67d8;
}

.back-link::before {
	content: '←';
	font-size: 1.2rem;
	font-weight: bold;
}

/* Content Sections */
.content-section {
	margin-bottom: 3rem;
	background: white;
	padding: 2rem;
	border-radius: 16px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.content-section h2 {
	color: #2c3e50;
	border-bottom: 2px solid #eee;
	padding-bottom: 1rem;
	margin-bottom: 1.5rem;
}

/* Markdown Content */
.markdown-content {
	background: white;
	padding: 2rem;
	border-radius: 16px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
	margin-bottom: 2rem;
	line-height: 1.7;
}

.markdown-content p {
	margin-bottom: 1.2rem;
	color: #555;
}

.markdown-content h1, .markdown-content h2, .markdown-content h3 {
	color: #2c3e50;

	margin-bottom: 1rem;
}

.markdown-content h3 {
	border-top: 2px solid #eee;
	padding-top: 1rem;
	margin-top: 0.5rem;
}

.markdown-content img {
	max-width: 100%;
	height: auto;
	border-radius: 12px;
	margin: 1.5rem auto;
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
	display: block;
	border: 1px solid #ddd;
	padding: 0.5rem;
	background: white;
}

.markdown-content a {
	color: #667eea;
	text-decoration: none;
	font-weight: 500;
	transition: color 0.3s ease;
}

.markdown-content a:hover {
	color: #5a67d8;
	text-decoration: underline;
}

/* Search Box Styles */
#searchbox {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	padding: 80px 0 40px 0;
	text-align: center;
	position: relative;
	overflow: hidden;
	margin-top: 20px; /* Account for fixed header */
}

#searchbox::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
	opacity: 0.3;
}

.searchtitle h1 {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
	font-size: 3.5rem;
	font-weight: 800;
	line-height: 1.2;
	color: white;
	text-align: center;
	margin-bottom: 2rem;
	position: relative;
	z-index: 2;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.searchtitle h1::after {
	display: none; /* Remove the underline for search title */
}

.intro-text {
	font-size: 1.25rem;
	color: rgba(255, 255, 255, 0.9);
	margin: 2rem 0;
	text-align: center;
	position: relative;
	z-index: 2;
	max-width: 600px;
	margin-left: auto;
	margin-right: auto;
}

/* Form Styles */
.formbox {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 1rem;
	flex-wrap: wrap;
	margin: 2rem auto;

	position: relative;
	z-index: 2;
}

.nametxt, .states {
	border: 2px solid rgba(255, 255, 255, 0.3);
	border-radius: 12px;
	height: 60px;
	padding: 0 1.5rem;
	font-size: 1.125rem;
	font-family: inherit;
	outline: none;
	background: rgba(255, 255, 255, 0.1);
	color: white;
	backdrop-filter: blur(10px);
	transition: all 0.3s ease;
	flex: 1;
	min-width: 200px;
}

.nametxt::placeholder, .states::placeholder {
	color: rgba(255, 255, 255, 0.7);
}

.nametxt:focus, .states:focus {
	border-color: rgba(255, 255, 255, 0.8);
	background: rgba(255, 255, 255, 0.2);
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.states {
	color: white;
}

.states option {
	background: #2c3e50;
	color: white;
}

.btn01 {
	background: linear-gradient(135deg, #ff6b6b, #ee5a24);
	border: none;
	border-radius: 12px;
	height: 60px;
	padding: 0 2rem;
	font-size: 1.125rem;
	font-weight: 600;
	color: white;
	cursor: pointer;
	transition: all 0.3s ease;
	box-shadow: 0 4px 15px rgba(238, 90, 36, 0.4);
	font-family: inherit;
	margin-top: 20px;
}

.btn01:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(238, 90, 36, 0.6);
	background: linear-gradient(135deg, #ff5252, #d63031);
}

/* Records Section */
.records {
	background: #f8f9fa;
	padding: 4rem 0;
	position: relative;
}

.records::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(90deg, #667eea, #764ba2);
}

/* Features List */
.incs {
	max-width: 1000px;
	margin: 0 auto;
	padding: 0 2rem;
}

.incs ul {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 2rem;
	list-style: none;
}

.incs li {
	background: white;
	padding: 2rem;
	border-radius: 16px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
	display: flex;
	align-items: center;
	gap: 1rem;
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
}

.incs li::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 4px;
	height: 100%;
	background: linear-gradient(135deg, #667eea, #764ba2);
}

.incs li:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.incs li::after {
	content: '✓';
	background: linear-gradient(135deg, #667eea, #764ba2);
	color: white;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: bold;
	font-size: 0.875rem;
	flex-shrink: 0;
}

/* Confidential Section */
.confidential {
	background: linear-gradient(135deg, #2c3e50, #34495e);
	color: white;
	padding: 3rem 0;
	text-align: center;
}

.confidtext {
	font-size: 1.125rem;
	line-height: 1.6;
	max-width: 800px;
	margin: 0 auto;
	padding: 0 2rem;
}

.confidimg {
	width: 24px;
	height: 18px;
	margin-right: 0.5rem;
	vertical-align: middle;
}

/* Article Styles */
.articletitle {
	font-size: 1.5rem;
	font-weight: 700;
	color: #2c3e50;
	text-align: center;
	margin: 2rem 0 1rem 0;
	padding: 0 1rem;
}

.articletxt {
	font-size: 1rem;
	line-height: 1.7;
	color: #555;
	padding: 0 1rem;
	max-width: 800px;
	margin: 0 auto;
}

/* Footer */
#footer {
	background: #2c3e50;
	color: white;
	padding: 3rem 0 2rem 0;
	margin-top: 0;
}

#footer .wrapper {
	border-top: none;
	text-align: center;
}

.fnav {
	margin-bottom: 2rem;
}

.fnav ul {
	display: flex;
	justify-content: center;
	gap: 2rem;
	flex-wrap: wrap;
	list-style: none;
}

.fnav li {
	margin: 0;
}

.fnav a {
	color: rgba(255, 255, 255, 0.8);
	text-decoration: none;
	font-weight: 500;
	transition: color 0.3s ease;
}

.fnav a:hover {
	color: white;
}

.ftext {
	font-size: 0.875rem;
	color: rgba(255, 255, 255, 0.6);
	line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
	html {
		font-size: 16px;
	}
	
	.container {
		margin: 1rem;
		padding: 2rem 1.5rem;
	}
	
	h1 {
		font-size: 2rem;
	}
	
	.states-grid, .counties-grid {
		grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
		gap: 1rem;
	}
	
	.state-link, .county-link {
		padding: 1rem;
		font-size: 1rem;
	}
	
	#searchbox {
		padding: 100px 0 60px 0;
		margin-top: 60px;
	}
	
	.searchtitle h1 {
		font-size: 2.5rem;
		padding: 0 1rem;
	}
	
	.formbox {
		flex-direction: column;
		padding: 0 1rem;
		gap: 1rem;
	}
	
	.nametxt, .states {
		width: 100%;
		min-width: auto;
		height: 50px;
		font-size: 1.1rem;
		margin-top: 20px;
	}
	
	.btn01 {
		width: 100%;
		height: 50px;
		font-size: 1.1rem;
	}
	
	.incs ul {
		grid-template-columns: 1fr;
		gap: 1rem;
	}
	
	.incs li {
		padding: 1.5rem;
	}
	
	nav {
		flex-direction: column;
		gap: 1rem;
	}
	
	.sitelog {
		float: none;
		margin: 0 auto;
	}
	
	.content-section {
		padding: 1.5rem;
		margin-bottom: 2rem;
	}
	
	.markdown-content {
		padding: 1.5rem;
		font-size: 1.1rem;
		line-height: 1.8;
	}
	
	.markdown-content p {
		font-size: 1.1rem;
	}
}

@media (max-width: 480px) {
	.container {
		margin: 0.5rem;
		padding: 1.5rem 1rem;
	}
	
	h1 {
		font-size: 1.75rem;
	}
	
	.states-grid, .counties-grid {
		grid-template-columns: 1fr;
	}
	
	#searchbox {
		padding: 40px 0 40px 0;
		margin-top: 50px;
	}
	
	.searchtitle h1 {
		font-size: 2rem;
		padding: 0 0.5rem;
	}
	
	.intro-text {
		font-size: 1.1rem;
		padding: 0 0.5rem;
	}
	
	.formbox {
		padding: 0 0.5rem;
	}
	
	.nametxt, .states {
		height: 45px;
		font-size: 1rem;
		padding: 0 1rem;
	}
	
	.btn01 {
		height: 45px;
		font-size: 1rem;
		padding: 0 1.5rem;
	}
	
	.incs li {
		padding: 1rem;
		flex-direction: column;
		text-align: center;
	}
	
	.fnav ul {
		flex-direction: column;
		gap: 1rem;
	}
	
	.content-section {
		padding: 1rem;
	}
	
	.markdown-content {
		padding: 1rem;
		font-size: 1rem;
		line-height: 1.7;
	}
	
	.markdown-content p {
		font-size: 1rem;
	}
	
	.confidtext {
		font-size: 1rem;
		padding: 0 1rem;
	}
}

/* Utility Classes */
.text-center {
	text-align: center;
}

.mb-2 {
	margin-bottom: 2rem;
}

.mt-2 {
	margin-top: 2rem;
}

/* Animation Classes */
.fade-in {
	animation: fadeIn 0.6s ease-in;
}

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.slide-up {
	animation: slideUp 0.8s ease-out;
}

@keyframes slideUp {
	from {
		opacity: 0;
		transform: translateY(40px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}
