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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* Header */
header {
    background-color: white;
    border-bottom: 1px solid #e0e0e0;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

nav ul {
    list-style-type: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

nav ul li a {
    color: #666;
    text-decoration: none;
    font-weight: 300;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #333;
}

nav ul li.email-contact {
    color: #666;
    font-weight: 300;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

/* About Me Section */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
    display: flex;
    align-items: flex-start;
    gap: 3rem;
}

.photo {
    flex: 1;
}

.photo img {
    width: 100%;
    max-width: 550px;
    max-height: 400px;
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 8px;
}

.about-content {
    flex: 1;
    text-align: left;
}

.about-content h1 {
    font-size: 2.5rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 1rem;
}

.about-content .interests {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #555;
}

.about-content .current-role {
    font-size: 1rem;
    color: #333;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.about-content .location {
    font-size: 1rem;
    color: #666;
    margin-bottom: 1rem;
}

.about-content .email {
    font-size: 1rem;
    color: #666;
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    justify-content: flex-start;
    gap: 1rem;
    margin-top: 1rem;
    padding-top: 0.5rem;
}

.social-link {
    color: #666;
    transition: color 0.3s ease, transform 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    border-radius: 50%;
    background-color: transparent;
    border: 1px solid transparent;
}

.social-link:hover {
    color: #333;
    transform: translateY(-2px);
    background-color: #f5f5f5;

}

.social-link svg {
    width: 24px;
    height: 24px;
}

/* Sections */
.section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
    border-top: 1px solid #f0f0f0;
}

.section h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 2rem;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.section-header h2 {
    margin-bottom: 0;
}

/* Study Section */
.study-item {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: #f9f9f9;
    border-radius: 8px;
}

.study-item h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.study-item .institution {
    font-size: 1rem;
    color: #666;
    margin-bottom: 0.3rem;
}

.study-item .duration {
    font-size: 0.9rem;
    color: #888;
    font-style: italic;
}

/* Experience Section */
.experience-summary {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.experience-item-summary {
    padding: 1.5rem;
    background-color: #f9f9f9;
    border-radius: 8px;
    border-left: 4px solid #ccc;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    width: 100%;
}

.experience-item-summary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.experience-item-summary h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.experience-item-summary .company {
    font-size: 1rem;
    color: #666;
    margin-bottom: 0.3rem;
    font-weight: 500;
}

.experience-item-summary .duration {
    font-size: 0.9rem;
    color: #888;
    font-style: italic;
}

.details-link-header {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.details-link-header:hover {
    color: #888;
}

/* Footer */
footer {
    background-color: #f8f9fa;
    border-top: 1px solid #e0e0e0;
    padding: 2rem 0;
    margin-top: 3rem;
}

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

.footer-content p {
    color: #666;
    font-size: 0.9rem;
}

.github-link {
    color: #666;
    transition: color 0.3s ease;
}

.github-link:hover {
    color: #333;
}

.github-link svg {
    width: 20px;
    height: 20px;
}

/* Responsive Design for Home Page */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
        padding: 2rem 1rem;
    }
    
    .photo img {
        max-width: 250px;
    }
    
    .about-content {
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .about-content h1 {
        font-size: 2rem;
    }
    
    .section {
        padding: 2rem 1rem;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .details-link-header {
        font-size: 0.85rem;
    }
}

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