/* ============================================
   CSS Variables - Edit colors here
   ============================================ */
:root {
    --cream: #f8f9fa;
    --dark: #2a2a2a;
    --line: #d4d8dc;
    --accent: #5a6c7d;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Crimson Pro', serif;
    background-color: var(--cream);
    color: var(--dark);
    line-height: 1.7;
    font-size: 17px;
}

/* ============================================
   Header Navigation
   ============================================ */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(248, 249, 250, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
    z-index: 1000;
    padding: 1.2rem 0;
}

.header-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Work Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0.5px;
    color: var(--dark);
}

nav {
    display: flex;
    gap: 2.5rem;
}

nav a {
    font-family: 'Work Sans', sans-serif;
    font-size: 14px;
    font-weight: 300;
    letter-spacing: 0.5px;
    color: var(--dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

nav a:hover {
    color: var(--accent);
}

/* ============================================
   Main Content Layout
   ============================================ */
main {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 3rem;
    padding-top: 6rem;
}

section {
    padding: 4rem 0;
    border-bottom: 1px solid var(--line);
}

section:last-child {
    border-bottom: none;
}

/* ============================================
   Bio Section
   ============================================ */
.bio-container {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 4rem;
    align-items: start;
}

.bio-text h1 {
    font-family: 'Work Sans', sans-serif;
    font-size: 42px;
    font-weight: 300;
    letter-spacing: -0.5px;
    margin-bottom: 1.5rem;
    color: var(--dark);
}

.bio-text p {
    margin-bottom: 1.5rem;
    font-size: 17px;
}

.bio-text a {
    color: var(--accent);
    text-decoration: none;
    border-bottom: 1px solid rgba(90, 108, 125, 0.3);
    transition: border-color 0.3s ease;
}

.bio-text a:hover {
    border-bottom-color: var(--accent);
}

/* Social links in home section */
.bio-text .social-links {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.bio-text .social-links a {
    font-family: 'Work Sans', sans-serif;
    font-size: 14px;
    color: var(--accent);
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: none;
}

.bio-text .social-links a:hover {
    opacity: 0.7;
}

.bio-text .social-links svg {
    width: 18px;
    height: 18px;
    fill: var(--accent);
}

.photo-placeholder {
    width: 280px;
    height: 340px;
    background: linear-gradient(135deg, #e8eaed 0%, #d4d8dc 100%);
    border: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Work Sans', sans-serif;
    font-size: 13px;
    color: var(--accent);
    letter-spacing: 1px;
}

/* Profile photo styling */
.profile-photo {
    width: 280px;
    height: 280px;
    object-fit: cover;
    border: 1px solid var(--line);
    border-radius: 50%;
}

/* ============================================
   About Section
   ============================================ */
#about h2 {
    font-family: 'Work Sans', sans-serif;
    font-size: 24px;
    font-weight: 400;
    letter-spacing: 0.5px;
    margin-bottom: 2rem;
    color: var(--dark);
}

#about p {
    margin-bottom: 1.2rem;
    font-size: 17px;
}

#about a {
    color: var(--accent);
    text-decoration: none;
    border-bottom: 1px solid rgba(90, 108, 125, 0.3);
    transition: border-color 0.3s ease;
}

#about a:hover {
    border-bottom-color: var(--accent);
}

/* ============================================
   Publications Section
   ============================================ */
#publications h2 {
    font-family: 'Work Sans', sans-serif;
    font-size: 24px;
    font-weight: 400;
    letter-spacing: 0.5px;
    margin-bottom: 3rem;
    color: var(--dark);
}

.publication {
    margin-bottom: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(212, 207, 196, 0.3);
}

.publication:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.pub-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.pub-authors {
    font-size: 16px;
    color: #666;
    margin-bottom: 0.3rem;
}

.pub-venue {
    font-style: italic;
    font-size: 16px;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.pub-link {
    font-family: 'Work Sans', sans-serif;
    font-size: 13px;
    color: var(--accent);
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: opacity 0.3s ease;
}

.pub-link:hover {
    opacity: 0.7;
}

/* ============================================
   Contact Section
   ============================================ */
#contact h2 {
    font-family: 'Work Sans', sans-serif;
    font-size: 24px;
    font-weight: 400;
    letter-spacing: 0.5px;
    margin-bottom: 2rem;
    color: var(--dark);
}

.email-text {
    margin-bottom: 2rem;
}

.email-text a {
    font-family: 'Work Sans', sans-serif;
    font-size: 18px;
    color: var(--accent);
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: opacity 0.3s ease;
}

.email-text a:hover {
    opacity: 0.7;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 768px) {
    header {
        position: static;
        background: var(--cream);
        padding: 1rem 0;
    }
    
    .logo {
        display: none;
    }
    
    .header-content {
        padding: 0 1.5rem;
        justify-content: center;
    }
    
    main {
        padding: 0 1.5rem;
        padding-top: 2rem;
    }
    
    .bio-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .profile-photo {
        width: 100%;
        max-width: 280px;
        height: 280px;
        margin: 0 auto;
        display: block;
    }
    
    nav {
        gap: 1.5rem;
    }
    
    nav a {
        font-size: 13px;
    }
}

/* ============================================
   Footer
   ============================================ */
footer {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 3rem 3rem 2rem 3rem;
}

footer p {
    font-family: 'Work Sans', sans-serif;
    font-size: 13px;
    color: #999;
    letter-spacing: 0.5px;
    text-align: center;
    margin: 0;
}

@media (max-width: 768px) {
    footer {
        padding: 3rem 1.5rem 2rem 1.5rem;
    }
}

