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

body {
    font-family: 'Warnock Pro', 'Palatino Linotype', 'Book Antiqua', 'Georgia', serif;
    font-size: 19px;
    line-height: 1.65;
    color: #000;
    background-color: #fcfaf7;
}

/* Hover trigger for sidebar */
.sidebar-trigger {
    position: fixed;
    left: 0;
    top: 0;
    width: 50px;
    height: 100vh;
    z-index: 999;
    background: transparent;
}

/* Sidebar */
.sidebar {
    position: fixed;
    left: -280px;
    top: 0;
    width: 300px;
    height: 100vh;
    background-color: #fff;
    border-right: 1px solid #d4d4d4;
    transition: left 0.25s ease-out;
    z-index: 1000;
    overflow-y: auto;
    box-shadow: 2px 0 8px rgba(0,0,0,0.05);
}

.sidebar-trigger:hover + .sidebar,
.sidebar:hover {
    left: 0;
}

.sidebar-content {
    padding: 50px 35px;
}

.site-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 35px;
    color: #000;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.nav-links {
    list-style: none;
}

.nav-links li {
    margin-bottom: 18px;
}

.nav-links a {
    color: #3a7d44;
    text-decoration: none;
    font-size: 17px;
    transition: color 0.15s;
    font-weight: 400;
}

.nav-links a:hover {
    color: #2a5d34;
    text-decoration: underline;
}

/* Main container */
.container {
    max-width: 700px;
    margin: 0 auto;
    padding: 80px 40px;
}

/* Header */
.page-header {
    margin-bottom: 60px;
}

.page-header h1 {
    font-size: 48px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #000;
    letter-spacing: -0.5px;
}

.subtitle {
    font-size: 21px;
    color: #555;
    font-weight: 400;
}

/* Sections */
section {
    margin-bottom: 70px;
}

section h2 {
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 28px;
    color: #000;
    letter-spacing: -0.5px;
}

section h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 14px;
    margin-top: 35px;
    color: #000;
    letter-spacing: -0.3px;
}

section p {
    margin-bottom: 20px;
    text-align: left;
}

/* Publications */
.publication {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #e8e8e8;
}

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

.publication h3 {
    margin-top: 0;
    font-size: 22px;
    font-weight: 600;
}

.pub-meta {
    color: #666;
    font-size: 17px;
    margin-bottom: 6px;
    font-style: italic;
}

.pub-venue {
    color: #888;
    font-size: 17px;
    margin-bottom: 14px;
}

.pub-links,
.project-links {
    margin-top: 12px;
}

.pub-links a,
.project-links a {
    color: #3a7d44;
    text-decoration: none;
    margin-right: 18px;
    font-size: 17px;
}

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

/* Projects */
.project {
    margin-bottom: 35px;
}

.project h3 {
    margin-top: 0;
    font-size: 22px;
}

/* Links */
a {
    color: #3a7d44;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.cv-link {
    display: inline-block;
    padding: 14px 28px;
    background-color: #3a7d44;
    color: white !important;
    border-radius: 5px;
    font-weight: 500;
    margin-bottom: 35px;
    font-size: 17px;
}

.cv-link:hover {
    background-color: #2a5d34;
    text-decoration: none;
}

/* Footer */
footer {
    margin-top: 90px;
    padding-top: 35px;
    border-top: 1px solid #e8e8e8;
    color: #999;
    font-size: 15px;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 50px 25px;
    }
    
    .page-header h1 {
        font-size: 36px;
    }
    
    section h2 {
        font-size: 28px;
    }
    
    body {
        font-size: 17px;
    }
    
    .sidebar {
        width: 280px;
        left: -280px;
    }
}

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

/* Selection color */
::selection {
    background-color: #3a7d44;
    color: white;
}
