/* Academic Vertical Theme - jemdoc inspired */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Georgia, serif;
    background-color: #ffffff;
    color: #000000;
    margin: 0;
    padding: 0;
    display: flex;
    min-height: 100vh;
}

/* Vertical Menu Sidebar */
#menu {
    width: 200px;
    background-color: #e0ebce; /* Darker creamy green */
    padding: 20px 15px;
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    border-right: 1px solid #ddd;
}

#menu a {
    display: block;
    padding: 8px 10px;
    margin: 5px 0;
    color: #333;
    text-decoration: none;
    font-size: 16px;
    border-left: 3px solid transparent;
    transition: all 0.2s ease;
}

#menu a:hover {
    background-color: #d0dbb8; /* Darker green for hover */
    border-left: 3px solid #666;
}

#menu a.active {
    background-color: #d0dbb8; /* Darker green for active */
    border-left: 3px solid #000;
    font-weight: bold;
}

/* Main Content Area */
#main {
    margin-left: 200px;
    padding: 40px 60px;
    max-width: 900px;
    width: 100%;
    background-color: #ffffff; /* White */
}

/* Typography */
h1 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #000;
    border-bottom: 1px solid #ccc;
    padding-bottom: 10px;
}

h2 {
    font-size: 22px;
    margin-top: 30px;
    margin-bottom: 15px;
    color: #000;
}

h3 {
    font-size: 18px;
    margin-top: 20px;
    margin-bottom: 10px;
    color: #333;
}

p {
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 16px;
}

/* Lists */
ul, ol {
    margin-left: 25px;
    margin-bottom: 15px;
    line-height: 1.6;
}

li {
    margin-bottom: 8px;
}

/* Links */
a {
    color: #0066cc;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Paper/Publication styling */
.paper {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.paper-title {
    font-weight: bold;
    font-size: 17px;
    margin-bottom: 5px;
}

.paper-authors {
    font-style: italic;
    margin-bottom: 5px;
    color: #555;
}

.paper-venue {
    color: #666;
    margin-bottom: 5px;
}

.paper-links a {
    margin-right: 15px;
    color: #0066cc;
    font-size: 14px;
}

/* Bio section */
.bio {
    margin-bottom: 30px;
}

.bio img {
    float: left;
    margin-right: 20px;
    margin-bottom: 10px;
    border-radius: 5px;
    max-width: 200px;
}

.bio-text {
    text-align: justify;
}

/* Interests */
.interests {
    margin-top: 30px;
}

.interests ul {
    list-style-type: square;
}

/* Contact info */
.contact {
    margin-top: 20px;
    font-size: 15px;
}

.contact p {
    margin-bottom: 8px;
}

/* Responsive design */
@media (max-width: 768px) {
    body {
        flex-direction: column;
    }
    
    #menu {
        position: relative;
        width: 100%;
        height: auto;
        border-right: none;
        border-bottom: 1px solid #ddd;
    }
    
    #menu a {
        display: inline-block;
        margin-right: 10px;
    }
    
    #main {
        margin-left: 0;
        padding: 20px;
    }
    
    .bio img {
        float: none;
        display: block;
        margin: 0 auto 20px;
    }
}

/* Footer */
footer {
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid #ccc;
    font-size: 14px;
    color: #666;
}

/* Code blocks (if needed) */
code {
    background-color: #f5f5f5;
    padding: 2px 5px;
    border-radius: 3px;
    font-family: monospace;
    font-size: 14px;
}

pre {
    background-color: #f5f5f5;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    margin-bottom: 20px;
}

pre code {
    background-color: transparent;
    padding: 0;
}

/* Social Icons */
.social-icons {
    margin-top: 15px;
    margin-bottom: 10px;
}

.social-icons a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    font-size: 20px;
    margin-right: 10px;
    color: #333;
    background-color: #f0f0f0;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: #333;
    color: #fff;
    transform: translateY(-2px);
}

.social-icons a i {
    vertical-align: middle;
}
