/* Basic reset */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

/* Header styling */
header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 5px 5px;
	background-color: #f8f8f8; /* light gray background */
	border-bottom: 1px solid #ddd;
}

/* Urgency Alert Box */
.urgency-container {
	background-color: #fff4e5; /* Light warning orange/gold */
	border-left: 6px solid #b71c1c; /* Deep red "Emergency" border */
	padding: 20px;
	margin: 25px 0;
	text-align: left;
	box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.urgency-title {
	color: #b71c1c;
	font-weight: 900;
	text-transform: uppercase;
	font-size: 1.1em;
	margin-bottom: 10px;
	display: block;
}

.urgency-text {
	font-style: italic;
	font-weight: bold;
	color: #222;
	line-height: 1.5;
}

/* Logo styling */
.logo {
	display: flex;
	align-items: center;
}

.logo img {
	height: 60px; /* desktop default height */
	width: auto;/* keeps aspect ratio */
	max-width: 200px; /* prevent it from being too big */
}

/* Site name text */
.site-name {
	font-size: 1.5rem;
	font-weight: bold;
	margin-left: 10px; /* space between logo and text */
	color: #333;
}

/* --- Global Body Styles --- */
body {
	font-family: Arial, sans-serif;
	max-width: 800px;
	margin: 0 auto;
	padding: 25px;
	line-height: 1.6;
	color: #333;
}

p {
	margin-bottom: 1.5em;
}

/* --- Layout Components --- */
.copyright-header {
	font-size: 0.85em;
	background: #eee;
	padding: 15px;
	border: 1px solid #ccc;
	margin-bottom: 30px;
	text-align: left;
	line-height: 1.4;
}

h1 {
	text-align: center;
	color: #111;
	margin-bottom: 5px;
}

.subtitle {
	text-align: center;
	font-style: italic;
	color: #555;
	margin-bottom: 40px;
}

h2 {
	border-bottom: 2px solid #444;
	padding-bottom: 5px;
	margin-top: 35px;
	color: #222;
}

/* --- Master Navigation Styling --- */
.main-nav {
	background-color: #0a0a0a;
	padding: 8px 0;
	margin-bottom: 15px;
	border-bottom: 4px solid #0056b3;
	box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.nav-container {
	max-width: 1000px; /* Wider to fit full book titles */
	margin: 0 auto;
	display: flex;
	justify-content: space-evenly;
	align-items: center;
	padding: 0 10px;
}

.nav-link {
	color: #e0e0e0;
	text-decoration: underline; /* Standard underlined links */
	font-weight: 700;
	font-size: 0.80em; 
	text-transform: uppercase;
	letter-spacing: 1.5px;
	transition: all 0.3s ease;
	padding: 8px 12px;
}

.nav-link:hover {
	color: #ffffff;
	text-decoration: none; /* Removes underline on hover for visual lift */
	background-color: rgba(0, 86, 179, 0.2); 
}

.active-page {
	color: #0056b3 !important;
	text-decoration: none !important;
	border-bottom: 2px solid #0056b3;
}

/* --- Buttons & Content Boxes --- */
.download-box {
	text-align: center;
	margin: 40px 0;
	padding: 30px;
	border: 2px solid #eee;
	background-color: #fcfcfc;
	border-radius: 8px;
}

.license-text {
	font-size: 0.95em;
	color: #444;
	background: #f4f4f4;
	padding: 15px;
	border-left: 5px solid #ccc;
	margin-top: 20px;
	text-align: left;
}

.btn {
	display: inline-block;
	padding: 15px 25px;
	background-color: #0056b3;
	color: white;
	text-decoration: none;
	border-radius: 5px;
	font-weight: bold;
	font-size: 1.2em;
}

.btn:hover {
	background-color: #004494;
}

img {
	display: block;
	margin: 0 auto;
}

/* Amazon button style */
.btn-amazon {
	background-color: #2e7d32;
	
	color: #ffffff;
	margin-top: 15px;
}

.btn-amazon:hover {
	background-color: #1b5e20;
	color: #ffffff;
}

/* --- Mobile Responsive Rules --- */
@media (max-width: 850px) {
	.nav-container {
		flex-direction: column;
		gap: 15px;
		text-align: center;
	}
	
	.nav-link {
		font-size: 0.80em;
		letter-spacing: 1px;
	}
}

/* Responsive adjustments for smaller screens */
@media (max-width: 600px) {
.logo img {
	height: 45px; /* smaller logo for mobile */
	max-width: 150px;
	}
	.site-name {
		font-size: 1.2rem;
	}
	header {
		padding: 8px 15px;
	}
}