/* ==========================================================================
   Complete CSS for Personal Website - All Components
   Dark theme with orange (#e67e22) and green (#27ae60) accents
   ========================================================================== */

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

body {
	font-family: 'Georgia', serif;
	line-height: 1.6;
	color: #e0e0e0;
	background-color: #1a1a1a;
}

.container {
	max-width: 1000px;
	margin: 0 auto;
	padding: 0 20px;
}

/* Header Styles */
header {
	background: linear-gradient(135deg, #2c3e50, #1a252f);
	color: white;
	padding: 2rem 0;
	text-align: center;
}

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

header p {
	font-size: 1.1rem;
	opacity: 0.9;
}

/* Navigation Styles */
nav {
	background-color: #2a2a2a;
	padding: 1rem 0;
	text-align: center;
}

nav button {
	background: none;
	border: none;
	color: #e0e0e0;
	padding: 0.8rem 2rem;
	margin: 0 0.5rem;
	cursor: pointer;
	font-size: 1rem;
	border-radius: 4px;
	transition: background-color 0.3s;
}

nav button:hover {
	background-color: #3a3a3a;
}

nav button.active {
	background-color: #e67e22;
	color: white;
}

nav a {
	color: #e0e0e0;
	text-decoration: none;
	padding: 0.8rem 2rem;
	margin: 0 0.5rem;
	border-radius: 4px;
	transition: background-color 0.3s;
}

nav a:hover {
	background-color: #3a3a3a;
}

nav a.active {
	background-color: #e67e22;
	color: white;
}

/* Main Content Styles */
main {
	padding: 3rem 0;
}

.section {
	display: none;
}

.section.active {
	display: block;
	margin-top: 14px;
}

/* Intro Section Styles */
.intro {
	text-align: center;
	margin-bottom: 3rem;
}

.intro h2 {
	font-size: 2rem;
	margin-bottom: 1rem;
	color: #e67e22;
}

.intro p {
	font-size: 1.1rem;
	max-width: 600px;
	margin: 0 auto;
	color: #b0b0b0;
}

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

/* Card Styles */
.card {
	background: #2a2a2a;
	border-radius: 8px;
	padding: 1.5rem;
	box-shadow: 0 4px 15px rgba(0,0,0,0.3);
	transition: transform 0.3s, box-shadow 0.3s;
	border: 1px solid #3a3a3a;
}

.card:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 25px rgba(230, 126, 34, 0.2);
}

.card h3 {
	color: #27ae60;
	margin-bottom: 1rem;
	font-size: 1.3rem;
}

.card h3 a {
	color: #27ae60;
	text-decoration: none;
}

.card .date {
	color: #888;
	font-size: 0.9rem;
	margin-bottom: 0.5rem;
}

.card .location {
	color: #e67e22;
	font-weight: bold;
	margin-bottom: 1rem;
}

.card p {
	color: #b0b0b0;
	margin-bottom: 1rem;
}

.card p a {
	color: #e67e22;
	text-decoration: none;
}

.card p a:hover {
	text-decoration: underline;
}

.card .tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: 1rem;
}

/* Tag Styles */
.tag {
	background-color: #3a3a3a;
	color: #e0e0e0;
	padding: 0.3rem 0.8rem;
	border-radius: 20px;
	font-size: 0.8rem;
	border: 1px solid #4a4a4a;
}

.tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: 2rem;
	padding-top: 1rem;
	border-top: 1px solid #3a3a3a;
}

/* Code Block Styles */
.code-block {
	background-color: #1e1e1e;
	border: 1px solid #3a3a3a;
	border-radius: 4px;
	padding: 1rem;
	font-family: 'Courier New', monospace;
	font-size: 0.9rem;
	overflow-x: auto;
	margin: 1rem 0;
	color: #27ae60;
	position: relative;
}

.code-title {
	background-color: #e67e22;
	color: white;
	padding: 0.5rem 1rem;
	border-radius: 4px 4px 0 0;
	font-size: 0.8rem;
	font-weight: bold;
	position: absolute;
	top: -2rem;
	left: 0;
	font-family: 'Georgia', serif;
}

/* Demo Link Styles */
.demo-link {
	display: inline-block;
	background-color: #e67e22;
	color: white;
	padding: 0.5rem 1rem;
	text-decoration: none;
	border-radius: 4px;
	margin-top: 1rem;
	transition: background-color 0.3s;
}

.demo-link:hover {
	background-color: #d35400;
}

/* Footer Styles */
footer {
	background: linear-gradient(135deg, #2c3e50, #1a252f);
	color: white;
	text-align: center;
	padding: 2rem 0;
	margin-top: 3rem;
}

.contact-info {
	margin-top: 1rem;
}

.contact-info a {
	color: #e67e22;
	text-decoration: none;
	margin: 0 1rem;
}

.contact-info a:hover {
	color: #27ae60;
	text-decoration: underline;
}

/* ==========================================================================
   Travel Journal Specific Styles
   ========================================================================== */

.journal-header {
	text-align: center;
	padding: 3rem 0 2rem;
}

.journal-header h1 {
	font-size: 2.8rem;
	color: #e67e22;
	margin-bottom: 1rem;
}

.journal-meta {
	display: flex;
	justify-content: center;
	gap: 2rem;
	margin-bottom: 2rem;
	flex-wrap: wrap;
}

.meta-item {
	background-color: #2a2a2a;
	padding: 0.8rem 1.5rem;
	border-radius: 8px;
	border: 1px solid #3a3a3a;
}

.meta-label {
	font-size: 0.8rem;
	color: #888;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.meta-value {
	font-size: 1.1rem;
	color: #27ae60;
	font-weight: bold;
}

.journal-content {
	max-width: 700px;
	margin: 0 auto;
	padding-bottom: 3rem;
}

.day-entry {
	background-color: #2a2a2a;
	border-radius: 12px;
	padding: 2rem;
	margin-bottom: 2rem;
	border: 1px solid #3a3a3a;
	box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.day-header {
	border-bottom: 2px solid #3a3a3a;
	padding-bottom: 1rem;
	margin-bottom: 1.5rem;
}

.day-date {
	font-size: 1.3rem;
	color: #e67e22;
	font-weight: bold;
	margin-bottom: 0.5rem;
}

.day-location {
	font-size: 1rem;
	color: #27ae60;
	font-style: italic;
}

.day-content p {
	margin-bottom: 1.5rem;
	font-size: 1rem;
	color: #e0e0e0;
}

.photo-container {
	margin: 2rem 0;
	text-align: center;
}

.photo {
	width: 100%;
	max-width: 500px;
	height: 300px;
	background: linear-gradient(45deg, #3a3a3a, #4a4a4a);
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #888;
	font-style: italic;
	margin: 0 auto 1rem;
	border: 2px solid #3a3a3a;
}

.photo-caption {
	font-size: 0.9rem;
	color: #888;
	font-style: italic;
	max-width: 500px;
	margin: 0 auto;
}

.highlight-quote {
	background-color: #1e1e1e;
	border-left: 4px solid #e67e22;
	padding: 1.5rem;
	margin: 2rem 0;
	border-radius: 0 8px 8px 0;
	font-style: italic;
	font-size: 1.1rem;
	color: #b0b0b0;
}

.weather-note {
	background-color: #1e1e1e;
	border: 1px solid #3a3a3a;
	border-radius: 8px;
	padding: 1rem;
	margin: 1rem 0;
	font-size: 0.9rem;
	color: #888;
}

.weather-icon {
	color: #27ae60;
	margin-right: 0.5rem;
}

/* ==========================================================================
   Utility Detail Page Specific Styles
   ========================================================================== */

.utility-header {
	text-align: center;
	padding: 3rem 0 2rem;
}

.utility-header h1 {
	font-size: 2.8rem;
	color: #e67e22;
	margin-bottom: 1rem;
}

.utility-subtitle {
	font-size: 1.3rem;
	color: #b0b0b0;
	margin-bottom: 2rem;
}

.utility-meta {
	display: flex;
	justify-content: center;
	gap: 2rem;
	margin-bottom: 2rem;
	flex-wrap: wrap;
}

.quick-links {
	display: flex;
	justify-content: center;
	gap: 1rem;
	margin-bottom: 3rem;
	flex-wrap: wrap;
}

.quick-link {
	background-color: #e67e22;
	color: white;
	padding: 0.8rem 2rem;
	text-decoration: none;
	border-radius: 8px;
	transition: background-color 0.3s;
	font-weight: bold;
}

.quick-link:hover {
	background-color: #d35400;
}

.quick-link.secondary {
	background-color: #27ae60;
}

.quick-link.secondary:hover {
	background-color: #229954;
}

.content-section {
	background-color: #2a2a2a;
	border-radius: 12px;
	padding: 2rem;
	margin-bottom: 2rem;
	border: 1px solid #3a3a3a;
	box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.section-title {
	font-size: 1.8rem;
	color: #27ae60;
	margin-bottom: 1.5rem;
	border-bottom: 2px solid #3a3a3a;
	padding-bottom: 0.5rem;
}

.content-section p {
	margin-bottom: 1.5rem;
	font-size: 1rem;
	color: #e0e0e0;
}

.feature-list {
	list-style: none;
	margin: 1.5rem 0;
}

.feature-list li {
	padding: 0.8rem 0;
	border-bottom: 1px solid #3a3a3a;
	position: relative;
	padding-left: 2rem;
}

.feature-list li:before {
	content: "✓";
	color: #27ae60;
	font-weight: bold;
	position: absolute;
	left: 0;
}

.feature-list li:last-child {
	border-bottom: none;
}

.screenshot-container {
	margin: 2rem 0;
	text-align: center;
}

.screenshot {
	width: 100%;
	max-width: 700px;
	height: 400px;
	background: linear-gradient(45deg, #1e1e1e, #2a2a2a);
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #888;
	font-style: italic;
	margin: 0 auto 1rem;
	border: 2px solid #3a3a3a;
	position: relative;
}

.screenshot-overlay {
	position: absolute;
	top: 10px;
	left: 10px;
	background-color: rgba(0,0,0,0.8);
	color: #27ae60;
	padding: 0.5rem;
	border-radius: 4px;
	font-family: 'Courier New', monospace;
	font-size: 0.8rem;
}

.screenshot-caption {
	font-size: 0.9rem;
	color: #888;
	font-style: italic;
	max-width: 600px;
	margin: 0 auto;
}

.installation-steps {
	counter-reset: step-counter;
}

.installation-step {
	counter-increment: step-counter;
	padding: 1.5rem;
	margin-bottom: 1rem;
	background-color: #1e1e1e;
	border-radius: 8px;
	border-left: 4px solid #e67e22;
	position: relative;
}

.installation-step:before {
	content: counter(step-counter);
	position: absolute;
	left: -2rem;
	top: 1.5rem;
	background-color: #e67e22;
	color: white;
	width: 2rem;
	height: 2rem;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: bold;
}

.warning-box {
	background-color: #2c1810;
	border: 1px solid #e67e22;
	border-radius: 8px;
	padding: 1rem;
	margin: 1rem 0;
	color: #e67e22;
}

.warning-box strong {
	color: #d35400;
}

.usage-example {
	background-color: #1a2c1a;
	border: 1px solid #27ae60;
	border-radius: 8px;
	padding: 1.5rem;
	margin: 1.5rem 0;
}

.example-title {
	color: #27ae60;
	font-weight: bold;
	margin-bottom: 1rem;
	font-size: 1.1rem;
}

/* ==========================================================================
   Shared Elements
   ========================================================================== */

.back-link {
	text-align: center;
	padding: 2rem 0;
}

.back-link a {
	color: #e67e22;
	text-decoration: none;
	font-size: 1.1rem;
	padding: 0.8rem 2rem;
	border: 2px solid #e67e22;
	border-radius: 8px;
	transition: all 0.3s;
}

.back-link a:hover {
	background-color: #e67e22;
	color: white;
}

/* ==========================================================================
   Blog Post Specific Styles
   ========================================================================== */

.blog-header {
	padding: 3rem 0 2rem;
}

.blog-title {
	font-size: 2.5rem;
	color: #e67e22;
	margin-bottom: 1rem;
	line-height: 1.2;
}

.blog-meta {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 1.5rem;
	color: #888;
	font-size: 0.95rem;
	margin-bottom: 2rem;
	flex-wrap: wrap;
}

.blog-meta-item {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.blog-meta-divider {
	color: #3a3a3a;
}

.blog-content {
	background-color: #2a2a2a;
	border-radius: 12px;
	padding: 3rem;
	margin-bottom: 2rem;
	border: 1px solid #3a3a3a;
	box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.blog-content h2 {
	font-size: 1.8rem;
	color: #27ae60;
	margin-top: 2.5rem;
	margin-bottom: 1rem;
}

.blog-content h2:first-child {
	margin-top: 0;
}

.blog-content h3 {
	font-size: 1.4rem;
	color: #e67e22;
	margin-top: 2rem;
	margin-bottom: 0.8rem;
}

.blog-content p {
	margin-bottom: 1.5rem;
	font-size: 1.05rem;
	color: #e0e0e0;
	text-align: justify;
}

.blog-content strong {
	color: #e67e22;
}

.blog-content em {
	color: #27ae60;
}

.blog-pullquote {
	background-color: #1e1e1e;
	border-left: 4px solid #e67e22;
	padding: 2rem;
	margin: 2.5rem 0;
	border-radius: 0 8px 8px 0;
	font-size: 1.3rem;
	font-style: italic;
	color: #b0b0b0;
	line-height: 1.5;
}

.blog-callout {
	background-color: #1a2c1a;
	border: 1px solid #27ae60;
	border-radius: 8px;
	padding: 1.5rem;
	margin: 2rem 0;
}

.blog-callout-title {
	color: #27ae60;
	font-weight: bold;
	font-size: 1.1rem;
	margin-bottom: 1rem;
}

.blog-callout p {
	margin-bottom: 0;
}

.blog-code-inline {
	background-color: #1e1e1e;
	color: #27ae60;
	padding: 0.2rem 0.5rem;
	border-radius: 3px;
	font-family: 'Courier New', monospace;
	font-size: 0.9em;
}

.blog-list {
	margin: 1.5rem 0;
	padding-left: 2rem;
}

.blog-list li {
	margin-bottom: 0.8rem;
	color: #e0e0e0;
}

.blog-image {
	width: 100%;
	max-width: 600px;
	height: 350px;
	background: linear-gradient(45deg, #3a3a3a, #4a4a4a);
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #888;
	font-style: italic;
	margin: 2rem auto;
	border: 2px solid #3a3a3a;
}

.blog-image-caption {
	text-align: center;
	font-size: 0.9rem;
	color: #888;
	font-style: italic;
	margin-top: 0.5rem;
}

.blog-footer {
	background-color: #2a2a2a;
	border-radius: 12px;
	padding: 2rem;
	margin-bottom: 2rem;
	border: 1px solid #3a3a3a;
}

.blog-tags-section {
	margin-bottom: 1.5rem;
}

.blog-tags-label {
	color: #888;
	font-size: 0.9rem;
	margin-bottom: 0.8rem;
	display: block;
}

.blog-share {
	padding-top: 1.5rem;
	border-top: 1px solid #3a3a3a;
}

.blog-share-label {
	color: #888;
	font-size: 0.9rem;
	margin-bottom: 0.8rem;
	display: block;
}

.blog-share-buttons {
	display: flex;
	gap: 1rem;
	flex-wrap: wrap;
}

.share-button {
	background-color: #3a3a3a;
	color: #e0e0e0;
	padding: 0.5rem 1rem;
	text-decoration: none;
	border-radius: 4px;
	font-size: 0.9rem;
	transition: background-color 0.3s;
}

.share-button:hover {
	background-color: #e67e22;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

@media (max-width: 768px) {
	header h1 {
		font-size: 2rem;
	}

	nav button, nav a {
		padding: 0.6rem 1rem;
		margin: 0.2rem;
		font-size: 0.9rem;
	}

	.grid {
		grid-template-columns: 1fr;
	}

	.journal-header h1, .utility-header h1 {
		font-size: 2.2rem;
	}

	.journal-meta, .utility-meta {
		gap: 1rem;
	}

	.quick-links {
		flex-direction: column;
		align-items: center;
	}

	.day-entry, .content-section {
		padding: 1.5rem;
	}

	.container {
		padding: 0 15px;
	}

	.installation-step:before {
		left: -1.5rem;
	}

	.container {
		max-width: 800px; /* Smaller for journal pages */
	}

	.container {
		max-width: 900px; /* Larger for utility pages */
	}

	.blog-title {
		font-size: 2rem;
	}

	.blog-content {
		padding: 2rem 1.5rem;
	}

	.blog-content h2 {
		font-size: 1.5rem;
	}

	.blog-content h3 {
		font-size: 1.2rem;
	}

	.blog-pullquote {
		font-size: 1.1rem;
		padding: 1.5rem;
	}
}