/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Container for layout */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Base layout */
body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    font-size: 0.85rem;
    color: var(--text-color);
    background-color: var(--bg-color);
    margin: 0;
    padding: 0;
    min-height: 100vh;
    position: relative;
}

/* Navigation */
nav {
    display: flex;
    justify-content: flex-end;
    padding-top: 1rem;
    margin-bottom: 1rem;
}

nav a {
    margin-left: 1.5rem;
    text-decoration: none;
    color: var(--text-color);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}

nav a:hover {
    color: #2b6cb0;
    text-decoration: none;
}

/* Typography */
h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

h2 {
    font-size: 2rem;
    font-weight: 600;
    margin: 0.3rem 0 1.5rem;
    color: var(--text-color);
}

h3 {
    font-size: 1.5rem;
    font-weight: 500;
    margin: 0rem 0 1rem;
    color: var(--text-color);
}

p {
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    color: #4a5568;
}

ul {
    margin-left: 1.5rem;
    color: #4a5568;
}

/* Links */
a {
    color: #2b6cb0;
    text-decoration: none;
    transition: color 0.2s ease;
    margin-bottom: 0.5rem;
}

a:hover {
    color: #2c5282;
    text-decoration: underline;
}

/* CV specific styles */
.date {
    color: #718096;
    font-size: 0.8rem;
}

/* Papers and Projects specific styles */
.papers p, .projects p {
    font-size: 0.8rem;
}

.papers li, .projects li {
    font-size: 0.8rem;
}

/* Hero Section */
.hero-section {
    display: flex;
    align-items: center;
    margin-top: 0;
    padding-top: 0;
}

.hero-content {
    flex: 1;
    text-align: center;
}

.bio {
    max-width: 600px;
    margin: 0 auto;
}

.hero-image {
    flex: 0 0 300px;
    margin-top: 1rem;
}

.profile-img {
    width: 100%;
    height: auto;
    border-radius: 50%;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
}

/* CSS Variables */
:root {
    --primary-color: #2563eb;
    --text-color: #1f2937;
    --bg-color: #ffffff;
    --accent-bg: #f3f4f6;
}

/* Social links */
.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.social-links a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s;
}

.social-links a:hover {
    color: #1d4ed8;
}

/* Cards */
.paper-card, .project-card {
    background-color: var(--accent-bg);
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    transition: transform 0.2s;
}

.paper-card:hover, .project-card:hover {
    transform: translateY(-2px);
}

/* Footer */
footer {
    text-align: center;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
    color: #6b7280;
}

/* Paper links */
.paper-link {
    color: var(--text-color);
    text-decoration: none;
}

.paper-link:hover {
    color: #2b6cb0;
    text-decoration: none;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .hero-section {
        flex-direction: column-reverse;
        gap: 2rem;
    }
    
    .hero-image {
        flex: 0 0 250px;
    }
    
    nav {
        justify-content: center;
    }
}

/* Background canvas for visual effects */
#backgroundCanvas {
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
}

/* PDF Container */
.pdf-container {
    width: 100%;
    margin: 2rem 0;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.pdf-container embed {
    display: block;
    border: none;
} 