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

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

#app {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
    background: white;
    min-height: 100vh;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

/* Profile Section */
.profile-header {
    text-align: center;
    padding-bottom: 30px;
    border-bottom: 2px solid #eee;
    margin-bottom: 30px;
}

.profile-name {
    font-size: 2.5em;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 10px;
}

.profile-title {
    font-size: 1.2em;
    color: #6d4aff;
    margin-bottom: 15px;
}

.profile-contact {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    color: #666;
    font-size: 0.9em;
}

.profile-contact a {
    color: #6d4aff;
    text-decoration: none;
}

/* Resume Sections */
.resume-section {
    margin-bottom: 30px;
}

.section-title {
    font-size: 1.5em;
    color: #2c3e50;
    border-bottom: 2px solid #6d4aff;
    padding-bottom: 5px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Education & Experience Items */
.item {
    margin-bottom: 25px;
}

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 5px;
}

.item-title {
    font-size: 1.1em;
    font-weight: 600;
    color: #2c3e50;
}

.item-date {
    color: #666;
    font-size: 0.9em;
}

.item-subtitle {
    color: #6d4aff;
    font-size: 0.95em;
    margin-bottom: 8px;
}

.item-description {
    color: #555;
}

.item-description ul {
    margin-left: 20px;
    margin-top: 8px;
}

/* Projects */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.project-card {
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 20px;
    transition: transform 0.2s, box-shadow 0.2s;
}

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

.project-title {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.tech-tag {
    background: #6d4aff;
    color: white;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.75em;
}

/* Skills */
.skills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.skill-category {
    flex: 1;
    min-width: 200px;
}

.skill-category-title {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
}

.skill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.skill-item {
    background: #f0f0f0;
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 0.9em;
}

/* Loading State */
.loading {
    text-align: center;
    padding: 40px;
    color: #666;
}

/* Responsive */
@media (max-width: 600px) {
    .profile-name {
        font-size: 2em;
    }
    
    .item-header {
        flex-direction: column;
    }
    
    .project-grid {
        grid-template-columns: 1fr;
    }
}

/* Clickable items styling */
.clickable, .clickable-item {
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.clickable:hover, .clickable-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(109, 74, 255, 0.25);
    border-color: #6d4aff;
}

.project-card.clickable a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.item.clickable-item h3.item-title {
    color: #6d4aff;
    text-decoration: underline;
    text-decoration-thickness: 2px;
}

.item.clickable-item h3.item-title:hover {
    color: #8b6fff;
}

/* For links on experience/education */
.item a.item-link {
    color: #6d4aff;
    text-decoration: none;
    font-weight: 600;
}

.item a.item-link:hover {
    text-decoration: underline;
}
