/* Base Styles */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Computer Modern Serif', 'CMU Serif', serif;
    line-height: 1.6;
    color: #e0e0e0;
    margin: 0;
    padding: 0;
    background-color: #000000;
}

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

/* Header & Hero */
.hero {
    background: #000000;
    color: #ffffff;
    padding: 100px 0 60px 0;
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 300;
    margin: 0;
    letter-spacing: 2px;
}

/* Sticky Nav */
.sticky-nav {
    position: sticky;
    top: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(5px);
    border-top: 1px solid #222;
    border-bottom: 1px solid #222;
    z-index: 1000;
    padding: 10px 0;
}

.sticky-nav .container {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.sticky-nav a {
    color: #aaa;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sticky-nav a:hover {
    color: #ffffff;
}

/* Main Content */
h2 {
    font-size: 2rem;
    color: #ffffff;
    border-bottom: 1px solid #333;
    padding-bottom: 10px;
    margin-top: 40px;
}

/* Profile Section */
.profile {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
    background: #000000;
    padding: 30px 0;
}

.profile-image img {
    width: 250px;
    height: auto;
    border-radius: 4px;
    display: block;
    border: 1px solid #333;
}

.profile-text {
    flex: 1;
    font-size: 1.2rem;
}

.cv-link {
    display: inline-block;
    color: #88b0eb;
    text-decoration: none;
    border: 1px solid #333;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 1rem;
    transition: all 0.2s ease;
    margin-top: 10px;
}

.cv-link:hover {
    background: #111;
    border-color: #555;
    color: #ffffff;
}

.social-links {
    margin-top: 20px;
    display: flex;
    gap: 20px;
}

.social-links a {
    color: #aaa;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.social-links a:hover {
    color: #88b0eb;
    text-decoration: underline;
}

/* Papers Section */
.paper {
    background: #000000;
    padding: 25px 0;
    margin-bottom: 30px;
    border-bottom: 1px solid #222;
}

.paper h3 {
    margin-top: 0;
    color: #ffffff;
    font-size: 1.5rem;
}

.authors {
    font-weight: bold;
    color: #aaa;
    margin-bottom: 10px;
}

.abstract {
    font-size: 1rem;
    color: #ccc;
    text-align: justify;
    margin-bottom: 15px;
}

.links {
    font-size: 0.9rem;
}

.links a {
    color: #88b0eb;
    text-decoration: none;
    font-weight: bold;
}

.links a:hover {
    text-decoration: underline;
}

/* Talks & Video Section */
.video-item {
    margin-bottom: 60px;
    text-align: center;
}

.venue {
    font-style: italic;
    color: #999;
    margin-bottom: 15px;
}

.video-container {
    width: 500px;
    aspect-ratio: 16 / 9;
    margin: 20px auto;
    background: #111;
    border-radius: 4px;
    border: 1px solid #333;
    overflow: hidden;
}

.video-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Footer */
footer {
    text-align: center;
    padding: 40px 0;
    color: #555;
    font-size: 0.9rem;
    border-top: 1px solid #222;
    margin-top: 60px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .profile {
        flex-direction: column;
        text-align: center;
    }

    .profile-image img {
        width: 200px;
        margin: 0 auto;
    }

    .paper h3 {
        font-size: 1.3rem;
    }

    .video-container {
        max-width: 100%; /* Go full width on small mobile screens */
    }
}
