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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #2c2c2c;
    background-color: #fafafa;
    overflow-x: hidden;
}

/* Layout */
.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 16.666667%; /* 1/6 of the page */
    height: 100vh;
    background: #e8e8e8;
    color: #2c2c2c;
    padding: 2rem 1.5rem;
    overflow-y: auto;
    z-index: 1000;
    border-right: 1px solid #ddd;
}

.main-content {
    margin-left: 16.666667%;
    padding: 3rem 4rem;
    max-width: 1200px;
}

/* Sidebar Styles */
.profile-info h1 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.3;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.profile-info .major {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 0.25rem;
    font-style: italic;
}

.profile-info .school {
    font-size: 0.8rem;
    opacity: 0.8;
    margin-bottom: 2rem;
}

.contact-info {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    font-size: 0.85rem;
}

.contact-item i {
    width: 16px;
    margin-right: 0.75rem;
    opacity: 0.8;
}

.contact-item a {
    color: #2c2c2c;
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-item a:hover {
    color: #666;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #d0d0d0;
    border: 1px solid #bbb;
    color: #2c2c2c;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.social-icon:hover {
    background: #c0c0c0;
}

.social-icon i {
    font-size: 1rem;
}

.current-status {
    margin-top: auto;
}

.status-widget {
    background: #d0d0d0;
    border: 1px solid #bbb;
    padding: 1rem;
    margin-bottom: 1rem;
}

.status-widget h3 {
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-widget h3 i {
    font-size: 0.7rem;
}

.status-widget p {
    font-size: 0.75rem;
    margin-bottom: 0.25rem;
    opacity: 0.8;
}

.status-widget .author {
    font-size: 0.7rem;
    opacity: 0.6;
    font-style: italic;
}

/* Main Content Styles */
section {
    margin-bottom: 4rem;
}

section h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #2c2c2c;
    position: relative;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    border-bottom: 2px solid #2c2c2c;
    padding-bottom: 0.5rem;
}

/* About Section */
.about-content {
    margin-top: 2rem;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #2c2c2c;
    margin: 0;
    text-align: left;
}

/* Projects Section */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.project-card {
    background: white;
    border: 1px solid #ddd;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.project-card:hover {
    border-color: #2c2c2c;
}

.project-image {
    height: 120px;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 2.5rem;
    border-bottom: 1px solid #ddd;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-content {
    padding: 1.5rem;
}

.project-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #2c2c2c;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.project-content p {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.project-tech {
    display: inline-block;
    background: #f5f5f5;
    color: #2c2c2c;
    padding: 0.25rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid #ddd;
}

/* Experience Section */
.experience-item {
    background: white;
    border: 1px solid #ddd;
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.experience-item:hover {
    border-color: #2c2c2c;
}

.experience-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.experience-header h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2c2c2c;
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.experience-right {
    text-align: right;
}

.experience-org {
    font-size: 1.1rem;
    font-weight: 500;
    color: #2c2c2c;
}

.experience-date {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

.experience-item p {
    color: #2c2c2c;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.experience-tech {
    display: inline-block;
    background: #f5f5f5;
    color: #2c2c2c;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid #ddd;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .sidebar {
        width: 250px;
    }
    
    .main-content {
        margin-left: 250px;
        padding: 2rem 3rem;
    }
}

@media (max-width: 768px) {
    .sidebar {
        position: relative;
        width: 100%;
        height: auto;
        padding: 1.5rem;
    }
    
    .main-content {
        margin-left: 0;
        padding: 2rem 1.5rem;
    }
    
    .project-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .experience-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    section h2 {
        font-size: 1.8rem;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .current-status {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .main-content {
        padding: 1.5rem 1rem;
    }
    
    .project-content {
        padding: 1rem;
    }
    
    .experience-item {
        padding: 1.5rem;
    }
    
    .current-status {
        grid-template-columns: 1fr;
    }
}

