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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

/* Navigation */
.navbar {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #2c3e50;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: #3498db;
}

/* Main content */
main {
    margin-top: 80px;
    min-height: calc(100vh - 80px);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Sections */
.section {
    display: none;
    padding: 2rem 0;
}

.section.active {
    display: block;
}

h1 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 2rem;
    text-align: center;
}

/* About section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    align-items: center;
}

.profile-image {
    text-align: center;
}

.profile-img {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.about-text h2 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.social-links {
    margin-top: 1.5rem;
}

.social-links a {
    color: #2c3e50;
    font-size: 1.5rem;
    margin-right: 1rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #3498db;
}

/* Projects section */
.projects-note {
    background-color: #e3f2fd;
    border: 1px solid #2196f3;
    border-radius: 6px;
    padding: 1rem 1.5rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #1976d2;
    font-size: 0.95rem;
}

.projects-note i {
    color: #2196f3;
    font-size: 1.1rem;
}

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

.project-item {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.project-banner {
    display: flex;
    min-height: 200px;
}

.project-image {
    flex: 0 0 300px;
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid #e9ecef;
}

.project-placeholder {
    text-align: center;
    color: #6c757d;
    padding: 2rem;
}

.project-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
    color: #3498db;
}

.project-placeholder span {
    font-size: 0.9rem;
    font-weight: 500;
}

.project-info {
    flex: 1;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.project-info h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.4rem;
    line-height: 1.3;
}

.project-info p {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex: 1;
}

.project-links {
    display: flex;
    gap: 1rem;
    margin-top: auto;
}

.project-links a {
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem;
    border: 1px solid #3498db;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.project-links a:hover {
    color: #fff;
    background-color: #3498db;
}

/* CV section */
.cv-content {
    background-color: #fff;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.cv-section {
    margin-bottom: 2rem;
}

.cv-section h2 {
    color: #2c3e50;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e9ecef;
}

.cv-item {
    margin-bottom: 1.5rem;
}

.cv-item h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.company, .institution {
    color: #6c757d;
    font-weight: 500;
}

.date {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.location, .specialty {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.cv-item ul {
    list-style-position: inside;
    margin-top: 0.5rem;
}

.publication-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e9ecef;
}

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

.publication-item h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.authors {
    font-style: italic;
    color: #6c757d;
    margin-bottom: 0.3rem;
    font-size: 0.9rem;
}

.venue {
    color: #3498db;
    font-weight: 500;
    font-size: 0.9rem;
}

.skills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skill-tag {
    background-color: #e9ecef;
    color: #2c3e50;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
}

/* Footer */
footer {
    background-color: #2c3e50;
    color: #fff;
    padding: 1rem 0;
    text-align: center;
}

/* Responsive design */
@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
    }

    .nav-content {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        gap: 1rem;
    }

    .container {
        padding: 1rem;
    }

    .project-banner {
        flex-direction: column;
        min-height: auto;
    }
    
    .project-image {
        flex: none;
        height: 150px;
        border-right: none;
        border-bottom: 1px solid #e9ecef;
    }
    
    .project-info {
        padding: 1.5rem;
    }
    
    .project-links {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .project-links a {
        text-align: center;
    }
} 