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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #1a1a1a;
    color: #ffffff;
    line-height: 1.6;
    min-height: 100vh;
}

/* Header Styles */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 2rem 0 2rem;
}

.header-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
}

.header-nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: #cccccc;
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
}

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

.nav-link i {
    font-size: 1.2rem;
}

/* Main Content */
.main-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 2rem 3rem 2rem;
}

/* About Section */
.about-section {
    margin-bottom: 4rem;
}

.about-content {
    position: relative;
}

.section-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #ffffff;
}

.about-text {
    font-size: 1.1rem;
    color: #cccccc;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.about-photo {
    float: right;
    margin: 0 0 2rem 2rem;
    shape-outside: circle(50%);
}

.profile-image {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

/* Experience Section */
.experience-section {
    margin-top: 3rem;
}

.experience-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #333;
}

.experience-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.company-logo {
    max-width: 50px;
    height: auto;
    flex-shrink: 0;
}

.experience-content {
    flex: 1;
}

.experience-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 0.5rem 0;
    line-height: 1.4;
}

.experience-description {
    font-size: 1.1rem;
    color: #cccccc;
    margin: 0;
    line-height: 1.7;
}

/* Projects Section */
.projects-section {
    margin-top: 3rem;
}

.project-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #333;
}

.project-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.project-logo {
    max-width: 50px;
    height: auto;
    flex-shrink: 0;
    border-radius: 12px;
}

.project-emoji {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    flex-shrink: 0;
}

.project-content {
    flex: 1;
}

.project-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 0.5rem 0;
    line-height: 1.4;
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, 0.4);
    transition: text-decoration-color 0.2s ease;
    cursor: pointer;
}

.project-title:hover {
    text-decoration-color: rgba(255, 255, 255, 0.8);
    color: #ffffff;
}

.project-description {
    font-size: 1.1rem;
    color: #cccccc;
    margin: 0;
    line-height: 1.7;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header {
        padding: 1.5rem 1rem 0 1rem;
        flex-direction: column;
        gap: 1rem;
    }

    .header-name {
        font-size: 1.3rem;
    }

    .header-nav {
        gap: 1.5rem;
    }

    .main-content {
        padding: 1.5rem 1rem 2rem 1rem;
    }

    .about-photo {
        float: none;
        margin: 0 auto 2rem auto;
        text-align: center;
        display: block;
    }

    .profile-image {
        width: 150px;
        height: 150px;
        margin: 0 auto;
    }

    .about-section {
        text-align: center;
    }

    .section-title {
        font-size: 1.2rem;
    }

    .about-text,
    .experience-description,
    .project-description {
        font-size: 1rem;
    }

    .experience-title,
    .project-title {
        font-size: 1rem;
    }

    .company-logo,
    .project-logo {
        max-width: 40px;
    }

    .project-emoji {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 1rem 1rem 0 1rem;
    }

    .header-nav {
        gap: 1rem;
    }

    .nav-link i {
        font-size: 1.1rem;
    }

    .profile-image {
        width: 120px;
        height: 120px;
    }

    .about-photo {
        margin: 0 auto 1.5rem auto;
    }

    .section-title {
        font-size: 1.1rem;
    }
}