/* Classic Theme - Minimal and Professional */

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

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    line-height: 1.7;
    color: #e8e8e8;
    background: #1a1a1a;
    overflow-x: hidden;
}

/* Background Canvas */
#backgroundCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px;
    background: rgba(26, 26, 26, 0.75);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 65px;
}

.nav-logo h2 {
    color: #f5f5f5;
    font-weight: 400;
    font-size: 1.3rem;
    font-family: Georgia, serif;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-link {
    color: rgba(245, 245, 245, 0.8);
    text-decoration: none;
    font-weight: 300;
    transition: all 0.3s ease;
    position: relative;
    font-size: 0.95rem;
}

.nav-link:hover {
    color: #f5f5f5;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: #f5f5f5;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    padding: 100px 20px 50px;
}

.hero-content {
    max-width: 750px;
    z-index: 2;
}

.hero-content-box {
    background: rgba(26, 26, 26, 0.85);
    backdrop-filter: blur(15px);
    border-radius: 8px;
    padding: 3rem 2.5rem;
    border: 1px solid rgba(245, 245, 245, 0.15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
}

.hero-content-box:hover {
    background: rgba(26, 26, 26, 0.9);
    border-color: rgba(245, 245, 245, 0.2);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

.hero-title {
    font-size: 3rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    color: #f5f5f5;
    font-family: Georgia, serif;
    animation: fadeInUp 1s ease-out;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 1rem;
    color: rgba(245, 245, 245, 0.8);
    animation: fadeInUp 1s ease-out 0.2s both;
    font-family: Georgia, serif;
}

.hero-description {
    font-size: 1rem;
    color: rgba(245, 245, 245, 0.6);
    margin-bottom: 2.5rem;
    animation: fadeInUp 1s ease-out 0.4s both;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 2px;
    font-weight: 300;
    transition: all 0.3s ease;
    position: relative;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: transparent;
    color: #f5f5f5;
    border: 1px solid #f5f5f5;
}

.btn-primary:hover {
    background: #f5f5f5;
    color: #1a1a1a;
    transform: translateY(-1px);
}

.btn-secondary {
    background: transparent;
    color: rgba(245, 245, 245, 0.7);
    border: 1px solid rgba(245, 245, 245, 0.3);
}

.btn-secondary:hover {
    border-color: #f5f5f5;
    color: #f5f5f5;
    transform: translateY(-1px);
}

.animation-controls {
    position: absolute;
    bottom: 40px;
    right: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.control-btn {
    background: transparent;
    border: 1px solid rgba(245, 245, 245, 0.3);
    color: rgba(245, 245, 245, 0.7);
    padding: 8px 16px;
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
}

.control-btn:hover {
    border-color: #f5f5f5;
    color: #f5f5f5;
}

.animation-info {
    font-size: 0.8rem;
    color: rgba(245, 245, 245, 0.5);
    font-style: italic;
}

/* Sections */
section {
    padding: 100px 0;
    position: relative;
}

.section-title {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 4rem;
    color: #f5f5f5;
    font-weight: 300;
    font-family: Georgia, serif;
    letter-spacing: -0.01em;
}

/* About Section */
.about {
    background: rgba(35, 35, 35, 0.3);
}

.about-content {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
}

.about-text {
    flex: 2;
    text-align: left;
}

.about-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 2rem;
}

.profile-img {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(245, 245, 245, 0.2);
    transition: transform 0.3s ease;
    filter: grayscale(20%);
}

.profile-img:hover {
    transform: scale(1.02);
    border-color: rgba(245, 245, 245, 0.4);
}

.about-content h3 {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    color: #f5f5f5;
    font-weight: 300;
    font-family: Georgia, serif;
    clear: none;
}

.about-content p {
    margin-bottom: 1.8rem;
    color: rgba(245, 245, 245, 0.7);
    line-height: 1.8;
    text-align: justify;
}

.skills {
    margin-top: 2.5rem;
}

.skills h4 {
    margin-bottom: 1.2rem;
    color: #f5f5f5;
    font-weight: 300;
    font-size: 1.1rem;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.skill-tag {
    background: transparent;
    color: rgba(245, 245, 245, 0.8);
    padding: 6px 14px;
    border-radius: 2px;
    font-size: 0.85rem;
    border: 1px solid rgba(245, 245, 245, 0.2);
    transition: all 0.3s ease;
    font-family: Georgia, serif;
}

.skill-tag:hover {
    border-color: rgba(245, 245, 245, 0.4);
    color: #f5f5f5;
}

/* Research Section */
.research-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.research-card {
    background: rgba(26, 26, 26, 0.75);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    text-align: left;
}

.research-card:hover {
    transform: translateY(-3px);
    border-color: rgba(245, 245, 245, 0.15);
    background: rgba(35, 35, 35, 0.6);
}

.research-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

.research-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1.2rem;
    color: #f5f5f5;
    font-weight: 300;
    font-family: Georgia, serif;
}

.research-card p {
    color: rgba(245, 245, 245, 0.7);
    line-height: 1.7;
}

/* Portfolio Section */
.portfolio {
    background: rgba(35, 35, 35, 0.2);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.portfolio-item {
    background: rgba(26, 26, 26, 0.75);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    border-color: rgba(245, 245, 245, 0.15);
}

.portfolio-image {
    height: 180px;
    background: linear-gradient(135deg, #2d2d2d, #404040);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.placeholder-img {
    color: rgba(245, 245, 245, 0.6);
    font-size: 1rem;
    font-weight: 300;
    text-align: center;
    font-style: italic;
}

.portfolio-content {
    padding: 2rem;
}

.portfolio-content h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #f5f5f5;
    font-weight: 300;
    font-family: Georgia, serif;
}

.portfolio-content p {
    color: rgba(245, 245, 245, 0.7);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.portfolio-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.tag {
    background: transparent;
    color: rgba(245, 245, 245, 0.6);
    padding: 4px 10px;
    border-radius: 2px;
    font-size: 0.75rem;
    border: 1px solid rgba(245, 245, 245, 0.2);
}

/* Publications Section */
.publications {
    background: rgba(30, 30, 30, 0.3);
}

.publications-category {
    margin-bottom: 4rem;
}

.category-title {
    font-size: 1.8rem;
    color: #f5f5f5;
    font-weight: 300;
    font-family: Georgia, serif;
    margin-bottom: 2.5rem;
    text-align: left;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(245, 245, 245, 0.1);
}

.publications-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.publication-item {
    background: rgba(26, 26, 26, 0.75);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    overflow: hidden;
}

.publication-item:hover {
    border-color: rgba(245, 245, 245, 0.15);
    background: rgba(35, 35, 35, 0.6);
    transform: translateY(-2px);
}

.publication-item.co-author {
    border-left: 3px solid rgba(100, 181, 246, 0.3);
}

.publication-item.co-author:hover {
    border-left-color: rgba(100, 181, 246, 0.5);
}

.publication-content {
    padding: 2rem;
}

.publication-title {
    font-size: 1.2rem;
    color: #f5f5f5;
    font-weight: 400;
    font-family: Georgia, serif;
    margin-bottom: 0.8rem;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.publication-item:hover .publication-title {
    color: rgba(100, 181, 246, 0.9);
}

.publication-authors {
    font-size: 0.95rem;
    color: rgba(245, 245, 245, 0.8);
    margin-bottom: 0.5rem;
    font-style: italic;
}

.publication-authors strong {
    color: #f5f5f5;
    font-weight: 500;
}

.publication-venue {
    font-size: 0.9rem;
    color: rgba(100, 181, 246, 0.8);
    margin-bottom: 1rem;
    font-weight: 500;
}

.publication-description {
    font-size: 0.95rem;
    color: rgba(245, 245, 245, 0.7);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.publication-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.pub-link {
    display: inline-block;
    padding: 6px 14px;
    background: transparent;
    color: rgba(245, 245, 245, 0.7);
    text-decoration: none;
    border: 1px solid rgba(245, 245, 245, 0.2);
    border-radius: 2px;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    font-family: Georgia, serif;
}

.pub-link:hover {
    border-color: rgba(100, 181, 246, 0.5);
    color: rgba(100, 181, 246, 0.9);
    background: rgba(100, 181, 246, 0.05);
    transform: translateY(-1px);
}

/* Timeline styles remain similar but with classic colors */
.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 100%;
    background: rgba(245, 245, 245, 0.2);
}

.timeline-item {
    display: flex;
    justify-content: flex-end;
    padding: 2rem 0;
    position: relative;
}

.timeline-item:nth-child(even) {
    justify-content: flex-start;
}

.timeline-marker {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 12px;
    background: #f5f5f5;
    border-radius: 50%;
    border: 3px solid #1a1a1a;
    z-index: 2;
}

.timeline-content {
    background: rgba(26, 26, 26, 0.75);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 15px;
    width: 45%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    text-align: right;
}

.timeline-content:hover {
    transform: translateY(-2px);
    border-color: rgba(245, 245, 245, 0.15);
}

.timeline-content h3 {
    color: #f5f5f5;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 300;
    font-family: Georgia, serif;
}

.timeline-content h4 {
    color: rgba(245, 245, 245, 0.8);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    font-weight: 300;
}

.timeline-content p {
    color: rgba(245, 245, 245, 0.7);
    line-height: 1.7;
}

/* Contact and Footer remain similar with classic styling */
.contact {
    background: rgba(35, 35, 35, 0.3);
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-content h3 {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    color: #f5f5f5;
    font-weight: 300;
    font-family: Georgia, serif;
}

.social-link {
    color: rgba(245, 245, 245, 0.7);
    text-decoration: none;
    padding: 8px 16px;
    border: 1px solid rgba(245, 245, 245, 0.2);
    border-radius: 2px;
    transition: all 0.3s ease;
    background: transparent;
    font-size: 0.9rem;
}

.social-link:hover {
    border-color: rgba(245, 245, 245, 0.4);
    color: #f5f5f5;
}

.footer {
    background: rgba(26, 26, 26, 0.9);
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid rgba(245, 245, 245, 0.08);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive design similar to original but with classic styling */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.3rem;
    }
    
    .about-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .about-image {
        align-items: center;
        padding-top: 0;
    }
    
    .profile-img {
        width: 180px;
        height: 180px;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        justify-content: flex-start;
        padding-left: 50px;
    }
    
    .timeline-marker {
        left: 20px;
    }
    
    .timeline-content {
        width: 100%;
        text-align: left;
    }
}

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

/* Projects Section */
.projects {
    background: rgba(30, 30, 30, 0.3);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.project-item {
    background: rgba(26, 26, 26, 0.75);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    padding: 2rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.project-item:hover {
    border-color: rgba(245, 245, 245, 0.15);
    background: rgba(35, 35, 35, 0.6);
    transform: translateY(-2px);
}

.project-item.featured {
    border-left: 3px solid rgba(100, 181, 246, 0.3);
}

.project-item.featured:hover {
    border-left-color: rgba(100, 181, 246, 0.5);
}

.project-logo {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 4px;
}

.logo-placeholder {
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
}

.project-content {
    flex: 1;
}

.project-content h3 {
    font-size: 1.3rem;
    color: #f5f5f5;
    font-weight: 400;
    font-family: Georgia, serif;
    margin-bottom: 0.8rem;
    line-height: 1.4;
}

.project-content p {
    color: rgba(245, 245, 245, 0.7);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
}

.project-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.project-link {
    display: inline-block;
    padding: 6px 14px;
    background: transparent;
    color: rgba(245, 245, 245, 0.7);
    text-decoration: none;
    border: 1px solid rgba(245, 245, 245, 0.2);
    border-radius: 2px;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    font-family: Georgia, serif;
}

.project-link:hover {
    border-color: rgba(100, 181, 246, 0.5);
    color: rgba(100, 181, 246, 0.9);
    background: rgba(100, 181, 246, 0.05);
    transform: translateY(-1px);
}

/* Institution logo styles for experience section */
.institution-logo {
    width: 24px;
    height: 24px;
    object-fit: contain;
    margin-right: 8px;
    vertical-align: middle;
    border-radius: 2px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: rgba(35, 35, 35, 0.5);
}

::-webkit-scrollbar-thumb {
    background: rgba(245, 245, 245, 0.3);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(245, 245, 245, 0.5);
}
