/* Global Styles */
html,
body {
	margin: 0;
	padding: 0;
	width: 100%;
	min-height: 100%;
	font-family: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

h1, h2, h3, h4, h5, h6 {
	font-family: 'Playfair Display', Georgia, serif;
}

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

.memorial-site {
	font-family: 'Georgia', 'Times New Roman', serif;
	line-height: 1.6;
	color: #3a3a3a;
	background: #fefefe;
	min-height: 100vh;
}

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

/* Hero Section */
.hero {
	background: linear-gradient(135deg, #2c3e50 0%, #34495e 50%, #1a252f 100%);
	color: white;
	padding: 4rem 0;
	text-align: center;
	position: relative;
	overflow: hidden;
}

.hero::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.1);
	z-index: 1;
}

.hero-content {
	position: relative;
	z-index: 2;
	max-width: 1000px;
	margin: 0 auto;
	padding: 0 2rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2rem;
}

.photo-container {
	position: relative;
}

.portrait {
	width: 200px;
	height: 280px;
	border-radius: 20px;
	object-fit: cover;
	border: 4px solid rgba(255, 255, 255, 0.9);
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 40px rgba(255, 255, 255, 0.1);
	transition: transform 0.3s ease;
}

.portrait:hover {
	transform: scale(1.05);
}

.hero-text h1 {
	font-size: 3rem;
	margin-bottom: 0.5rem;
	font-weight: 400;
	letter-spacing: -0.02em;
}

.nickname {
	font-size: 1.5rem;
	font-style: italic;
	opacity: 0.9;
	margin-bottom: 1rem;
}

.dates {
	font-size: 1.25rem;
	margin-bottom: 1rem;
	font-weight: 300;
}

.separator {
	margin: 0 1rem;
	opacity: 0.7;
}

.tribute-line {
	font-size: 1.1rem;
	opacity: 0.9;
	max-width: 600px;
	margin: 0 auto;
}

/* Content Sections */
.content-section {
	padding: 4rem 0;
	position: relative;
}

.content-section:nth-child(even) {
	background: #f8f9fa;
}

.content-section:nth-child(odd) {
	background: #ffffff;
}

.content-section h2 {
	font-size: 2.5rem;
	color: #34495e;
	margin-bottom: 2rem;
	text-align: center;
	font-weight: 400;
	letter-spacing: -0.01em;
}

.content-grid {
	display: grid;
	gap: 2rem;
	align-items: start;
}

.text-content {
	font-size: 1.1rem;
	line-height: 1.7;
	color: #3a3a3a;
	max-width: 800px;
	margin: 0 auto;
}

.text-content p {
	margin-bottom: 1.5rem;
}

.text-content strong {
	color: #2c3e50;
	font-weight: 600;
}

/* Wisdom Quotes */
.wisdom-quotes {
	margin: 2rem 0;
}

.wisdom-quotes blockquote {
	background: #f8f9fa;
	border-left: 4px solid #3498db;
	padding: 1.5rem;
	margin: 1rem 0;
	font-style: italic;
	font-size: 1.2rem;
	position: relative;
}

.wisdom-quotes blockquote::before {
	content: '"';
	font-size: 3rem;
	color: #3498db;
	position: absolute;
	left: 1rem;
	top: 0.5rem;
	line-height: 1;
}

.wisdom-quotes blockquote p {
	margin-left: 2rem;
	margin-bottom: 0;
}

.final-tribute {
	background: #2c3e50;
	color: white;
	padding: 1.5rem;
	border-radius: 12px;
	text-align: center;
	margin: 2rem 0;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.final-tribute em {
	font-size: 1.3rem;
	font-style: normal;
}

/* Footer */
.memorial-footer {
	background: #34495e;
	color: white;
	padding: 2rem 0;
	text-align: center;
}

.memorial-footer p {
	font-size: 1.1rem;
	opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 768px) {
	.hero {
		padding: 3rem 0;
	}

	.hero-text h1 {
		font-size: 2rem;
	}

	.nickname {
		font-size: 1.3rem;
	}

	.dates {
		font-size: 1.1rem;
	}

	.content-section {
		padding: 3rem 0;
	}

	.content-section h2 {
		font-size: 2rem;
	}

	.container {
		padding: 0 1rem;
	}

	.text-content {
		font-size: 1rem;
	}

	.wisdom-quotes blockquote {
		font-size: 1.1rem;
	}

	.final-tribute em {
		font-size: 1.1rem;
	}
}

@media (max-width: 480px) {
	.hero-text h1 {
		font-size: 1.8rem;
	}

	.content-section h2 {
		font-size: 1.8rem;
	}
}

/* Smooth scrolling */
html {
	scroll-behavior: smooth;
}

/* Subtle animations */
.content-section {
	opacity: 0;
	transform: translateY(20px);
	animation: fadeInUp 0.8s ease forwards;
}

.content-section:nth-child(2) { animation-delay: 0.2s; }
.content-section:nth-child(3) { animation-delay: 0.4s; }
.content-section:nth-child(4) { animation-delay: 0.6s; }
.content-section:nth-child(5) { animation-delay: 0.8s; }
.content-section:nth-child(6) { animation-delay: 1.0s; }

@keyframes fadeInUp {
	to {
		opacity: 1;
		transform: translateY(0);
	}
}