/* RIP Bently Blake - Main Stylesheet */

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

:root {
	--primary-color: #6BA3D8;
	--secondary-color: #E8F4FD;
	--accent-color: #4A90C2;
	--dark-color: #2C5F8F;
	--light-color: #F5F9FC;
	--text-color: #333333;
	--link-color: #4A90C2;
	--link-hover: #2C5F8F;
	--border-color: #6BA3D8;
	--baby-blue: #B8D9F0;
	--soft-blue: #A8D0E6;
}

body {
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	line-height: 1.6;
	color: var(--text-color);
	background-color: var(--light-color);
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

/* Header Styles */
.main-header {
	background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
	color: white;
	padding: 2rem 0;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.header-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 2rem;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1.5rem;
}

.header-logo {
	height: 80px;
	width: auto;
	max-width: 150px;
	object-fit: contain;
	flex-shrink: 0;
	border-radius: 10px;
	background: white;
	padding: 5px;
}

.logo-section {
	text-align: left;
}

.logo-section h1 {
	font-size: 2.5rem;
	margin-bottom: 0.5rem;
}

.logo-section h1 a {
	color: white;
	text-decoration: none;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
	transition: color 0.3s ease;
}

.logo-section h1 a:hover {
	color: var(--baby-blue);
}

.site-slogan {
	font-size: 1.1rem;
	font-style: italic;
	color: var(--baby-blue);
	margin-left: 0;
}

/* Navigation Styles */
.main-navigation {
	background-color: white;
	border-top: 3px solid var(--border-color);
	border-bottom: 3px solid var(--border-color);
}

.nav-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 2rem;
}

.nav-menu {
	list-style: none;
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 0.5rem;
	padding: 0.25rem 0;
}

.nav-menu li {
	margin: 0;
}

.nav-menu a {
	display: block;
	padding: 0.5rem 1.25rem;
	color: var(--primary-color);
	text-decoration: none;
	font-weight: 500;
	transition: background-color 0.3s ease, color 0.3s ease;
	border-radius: 25px;
	background-color: transparent;
}

.nav-menu li:last-child a {
	border-right: none;
}

.nav-menu a:hover,
.nav-menu a:focus {
	background-color: var(--primary-color);
	color: white;
	text-decoration: none;
}

/* Main Content */
.main-content {
	flex: 1;
	max-width: 1200px;
	width: 100%;
	margin: 2rem auto;
	padding: 0 2rem;
}

.content-section {
	margin-bottom: 3rem;
}

.content-section h2 {
	color: var(--primary-color);
	font-size: 2rem;
	margin-bottom: 1rem;
	border-bottom: 3px solid var(--border-color);
	padding-bottom: 0.5rem;
}

.content-section h3 {
	color: var(--dark-color);
	font-size: 1.5rem;
	margin-top: 2rem;
	margin-bottom: 1rem;
}

.content-section p {
	margin-bottom: 1rem;
	text-align: justify;
}

.content-section ul,
.content-section ol {
	margin-left: 2rem;
	margin-bottom: 1rem;
}

.content-section li {
	margin-bottom: 0.5rem;
}

/* Hero Section */
.hero-section {
	background: linear-gradient(135deg, var(--secondary-color) 0%, var(--baby-blue) 100%);
	padding: 3rem;
	border-radius: 10px;
	text-align: center;
	margin-bottom: 3rem;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.hero-section h1 {
	color: var(--primary-color);
	font-size: 2.5rem;
	margin-bottom: 1rem;
}

.hero-section p {
	font-size: 1.2rem;
	color: var(--text-color);
	margin-bottom: 1.5rem;
}

/* Cards */
.card-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 2rem;
	margin: 2rem 0;
}

.card {
	background: white;
	border-radius: 10px;
	padding: 2rem;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	border: 2px solid var(--secondary-color);
}

.card:hover {
	transform: translateY(-5px);
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.card h3 {
	color: var(--primary-color);
	margin-bottom: 1rem;
	margin-top: 0;
}

.card p {
	text-align: justify;
}

.card ul,
.card ol {
	margin-left: 1.5rem;
	margin-bottom: 0;
}

.card li {
	margin-bottom: 0.5rem;
}

.card-image-center {
	display: block;
	margin: 1.5rem auto 0;
	max-width: 100%;
	border-radius: 10px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Image Styles */
.floatLeft {
	float: left;
	margin: 0 1.5rem 1rem 0;
	max-width: 300px;
	border-radius: 10px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.border-1 {
	border: 3px solid var(--border-color);
}

/* Photo Gallery */
.photo-gallery {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 1.5rem;
	margin: 2rem 0;
}

.photo-gallery img {
	width: 100%;
	height: auto;
	border-radius: 10px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	cursor: pointer;
}

.photo-gallery img:hover {
	transform: scale(1.05);
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* Source Links */
.source {
	margin: 1rem 0;
	padding: 0.5rem;
	background: var(--secondary-color);
	border-radius: 5px;
}

.source a {
	color: var(--link-color);
	word-break: break-all;
}

/* Footer Styles */
.main-footer {
	background: linear-gradient(135deg, var(--dark-color) 0%, var(--accent-color) 100%);
	color: white;
	padding: 3rem 0 1rem;
	margin-top: 3rem;
}

.footer-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 2rem;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 2rem;
}

.footer-section h3 {
	color: var(--baby-blue);
	margin-bottom: 1rem;
	font-size: 1.2rem;
}

.footer-section p {
	margin-bottom: 0.5rem;
}

.footer-links {
	list-style: none;
	margin-left: 0;
}

.footer-links li {
	margin-bottom: 0.5rem;
}

.footer-links a,
.footer-section a {
	color: var(--baby-blue);
	text-decoration: none;
	transition: color 0.3s ease;
}

.footer-links a:hover,
.footer-section a:hover {
	color: white;
	text-decoration: underline;
}

.footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.2);
	margin-top: 2rem;
	padding-top: 1rem;
	text-align: center;
}

.developer-info {
	font-size: 0.9rem;
	color: var(--baby-blue);
	margin-top: 0.5rem;
}

.developer-info a {
	color: var(--baby-blue);
	text-decoration: none;
}

.developer-info a:hover {
	color: white;
	text-decoration: underline;
}

/* Links */
a {
	color: var(--link-color);
	text-decoration: none;
	transition: color 0.3s ease;
}

a:hover {
	color: var(--link-hover);
	text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
	.header-logo {
		height: 60px;
		max-width: 120px;
	}
	
	.logo-section h1 {
		font-size: 2rem;
	}
	
	.nav-menu {
		flex-direction: column;
		gap: 0.5rem;
	}
	
	.nav-menu a {
		border-bottom: none;
	}
	
	.hero-section {
		padding: 2rem 1.5rem;
	}
	
	.hero-section h1 {
		font-size: 2rem;
	}
	
	.content-section h2 {
		font-size: 1.5rem;
	}
	
	.footer-container {
		grid-template-columns: 1fr;
	}
	
	.main-content {
		padding: 0 1rem;
	}
	
	.floatLeft {
		float: none;
		display: block;
		margin: 1rem auto;
		max-width: 100%;
	}
}

@media (max-width: 480px) {
	.header-container,
	.nav-container,
	.main-content,
	.footer-container {
		padding-left: 1rem;
		padding-right: 1rem;
	}
	
	.header-logo {
		height: 50px;
		max-width: 100px;
	}
	
	.logo-section h1 {
		font-size: 1.75rem;
	}
	
	.hero-section h1 {
		font-size: 1.75rem;
	}
}

/* Print Styles */
@media print {
	.main-navigation,
	.main-footer {
		display: none;
	}
	
	.main-content {
		margin: 0;
		padding: 0;
	}
}
