body {
    font-family: 'Segoe UI', Arial, sans-serif;
    margin: 0;
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 50%, #ff9800 100%);
    color: #222;
}

.container {
    display: flex;
    max-width: 1200px;
    margin: 2rem auto;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    min-height: 80vh;
}

.sidebar {
    flex: 1 1 300px;
    max-width: 350px;
    background: #222;
    color: #fff;
    padding: 2rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}

.profile-image img {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #fff;
    margin-bottom: 1.5rem;
    background: #ccc;
}

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

.contact-info h1 {
    margin: 0.5rem 0 0.2rem 0;
    font-size: 1.5rem;
}

.contact-info p {
    margin: 0 0 1rem 0;
    font-size: 1.1rem;
    color: #ff9800;
}

.contact-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.95rem;
}

.contact-info ul li {
    margin-bottom: 0.5rem;
}

a,
.contact-info a,
.project-card a {
    color: #1976d2;
    text-decoration: none;
    word-break: break-all;
}

.contact-info a:hover,
.project-card a:hover {
    text-decoration: underline;
}

.projects {
    width: 100%;
}

.project-card {
    background: #333;
    color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.project-card h3 {
    margin-top: 0;
    color: #ff9800;
}

.project-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 0.5rem;
}

.project-gallery img {
    width: 100px;
    height: 70px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid #eee;
    background: #fff;
    transition: transform 0.2s;
    cursor: pointer;
}

.project-gallery img:hover {
    transform: scale(1.08);
    border-color: #ff9800;
}

.resume-content {
    flex: 2 1 600px;
    padding: 2rem 2.5rem;
}

.resume-content section {
    margin-bottom: 2rem;
}

.resume-content h2 {
    color: #ff9800;
    border-bottom: 2px solid #ff9800;
    padding-bottom: 0.3rem;
    margin-bottom: 1rem;
}

.resume-content ul {
    padding-left: 1.2rem;
}

footer {
    text-align: center;
    padding: 1rem;
    background: #222;
    color: #fff;
    margin-top: 2rem;
    border-radius: 0 0 8px 8px;
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0; top: 0;
    width: 100vw; height: 100vh;
    background: rgba(0,0,0,0.85);
    justify-content: center;
    align-items: center;
    cursor: zoom-out;
}
.modal-content {
    max-width: 90vw;
    max-height: 80vh;
    border-radius: 8px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.5);
    background: #fff;
    cursor: auto;
}
.modal-close {
    position: absolute;
    top: 24px;
    right: 40px;
    color: #fff;
    font-size: 2.5rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
    text-shadow: 0 2px 8px #000;
}

.contact-info img {
    width: 10px;
    height: 10px;
    vertical-align: middle;
    margin-right: 6px;
}

@media (max-width: 900px) {
    .container {
        flex-direction: column;
        max-width: 98vw;
    }
    .sidebar, .resume-content {
        max-width: 100%;
        border-radius: 0;
        padding: 1.5rem 1rem;
    }
    .sidebar {
        border-bottom: 1px solid #444;
        border-right: none;
    }
}

@media (max-width: 600px) {
    .resume-content, .sidebar {
        padding: 1rem 0.5rem;
    }
    .profile-image img {
        width: 100px;
        height: 100px;
    }
}