/*
 * Academic Portfolio CSS
 * Clean, minimalist design for personal academic website
 */

/* Reset and Base Styles */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
	font-size: 16px;
	line-height: 1.6;
	color: #333;
	background-color: #fff;
	margin: 0;
	padding: 0;
}

/* Wrapper */
#wrapper {
	max-width: 800px;
	margin: 0 auto;
	padding: 40px 20px;
}

/* Navigation */
#main-nav {
	text-align: center;
	margin-bottom: 40px;
	padding: 20px 0;
	border-bottom: 1px solid #e0e0e0;
}

#main-nav ul {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 30px;
}

#main-nav li {
	display: inline;
}

#main-nav a {
	text-decoration: none;
	color: #333;
	font-size: 16px;
	transition: color 0.3s ease;
	text-transform: lowercase;
}

#main-nav a:hover {
	color: #0066cc;
}

/* Header/Profile Section */
#header {
	position: relative;
	text-align: center;
	margin-bottom: 60px;
	padding: 60px 20px;
	border-bottom: 1px solid #e0e0e0;
	background-image: url('../../images/periodic_universe.png');
	background-size: cover;
	background-position: center;
	border-radius: 6px;
	overflow: hidden;
}

#header::before {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(10, 10, 30, 0.62);
}

#header > * {
	position: relative;
	z-index: 1;
}

.profile-image {
	margin: 0 auto 20px;
	width: 180px;
	height: 180px;
}

.profile-image img {
	width: 100%;
	height: 100%;
	border-radius: 50%;
	object-fit: cover;
	border: 3px solid rgba(255, 255, 255, 0.7);
}

#header h1 {
	font-size: 36px;
	font-weight: 600;
	margin-bottom: 10px;
	color: #ffffff;
}

#header .title {
	font-size: 18px;
	color: rgba(255, 255, 255, 0.85);
	margin-bottom: 5px;
}

#header .affiliation {
	font-size: 16px;
	color: rgba(255, 255, 255, 0.7);
}

/* Main Content */
#main-content {
	margin-bottom: 60px;
}

#main-content section {
	margin-bottom: 50px;
}

#main-content h2 {
	font-size: 28px;
	font-weight: 600;
	margin-bottom: 20px;
	color: #222;
	border-bottom: 2px solid #0066cc;
	padding-bottom: 10px;
}

#main-content h3 {
	font-size: 20px;
	font-weight: 600;
	margin-bottom: 10px;
	color: #333;
}

#main-content p {
	margin-bottom: 15px;
	line-height: 1.7;
}

/* Publications Section */
.publication {
	margin-bottom: 30px;
	padding-bottom: 20px;
	border-bottom: 1px solid #f0f0f0;
}

.publication:last-child {
	border-bottom: none;
}

.pub-title {
	font-size: 18px;
	font-weight: 600;
	color: #222;
	margin-bottom: 8px;
}

.pub-authors {
	font-size: 15px;
	color: #666;
	margin-bottom: 5px;
}

.pub-venue {
	font-size: 15px;
	color: #888;
	margin-bottom: 8px;
}

.pub-links {
	font-size: 14px;
}

.pub-links a {
	color: #0066cc;
	text-decoration: none;
	margin-right: 5px;
}

.pub-links a:hover {
	text-decoration: underline;
}

.pub-summary {
	font-size: 14px;
	color: #555;
	line-height: 1.6;
	margin-bottom: 8px;
}

/* Projects Section */
.project {
	margin-bottom: 30px;
}

.project h3 {
	margin-bottom: 5px;
}

.project-meta {
	font-size: 14px;
	color: #888;
	margin-bottom: 10px;
}

.talks-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.talks-list li {
	font-size: 15px;
	color: #444;
	padding: 8px 0;
	border-bottom: 1px solid #f0f0f0;
	line-height: 1.5;
}

.talks-list li:last-child {
	border-bottom: none;
}

.project-links {
	font-size: 14px;
	margin-top: 10px;
}

.project-links a {
	color: #0066cc;
	text-decoration: none;
	margin-right: 5px;
}

.project-links a:hover {
	text-decoration: underline;
}

/* Contact Section */
#contact p {
	line-height: 2;
}

/* Footer */
#footer {
	text-align: center;
	padding-top: 40px;
	border-top: 1px solid #e0e0e0;
}

.social-icons {
	list-style: none;
	padding: 0;
	margin: 0 0 20px 0;
	display: flex;
	justify-content: center;
	gap: 20px;
}

.social-icons li {
	display: inline;
}

.social-icons a {
	font-size: 20px;
	color: #666;
	text-decoration: none;
	transition: color 0.3s ease;
}

.social-icons a:hover {
	color: #0066cc;
}

.social-icons .label {
	display: none;
}

.copyright {
	font-size: 14px;
	color: #888;
}

.copyright a {
	color: #888;
	text-decoration: none;
}

.copyright a:hover {
	color: #0066cc;
}

/* Links */
a {
	color: #0066cc;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
	#wrapper {
		padding: 20px 15px;
	}

	#main-nav ul {
		gap: 15px;
	}

	#main-nav a {
		font-size: 14px;
	}

	#header h1 {
		font-size: 28px;
	}

	.profile-image {
		width: 150px;
		height: 150px;
	}

	#main-content h2 {
		font-size: 24px;
	}

	.social-icons {
		gap: 15px;
	}

	.social-icons a {
		font-size: 18px;
	}
}

@media screen and (max-width: 480px) {
	#main-nav ul {
		flex-direction: column;
		gap: 10px;
	}

	#header h1 {
		font-size: 24px;
	}

	.profile-image {
		width: 120px;
		height: 120px;
	}
}
