/* Profile photo placeholder styling */
.profile-photo {
    display: block;
    margin: 0 auto 1rem auto;
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #333;
    background: #eee;
}
body {
    font-family: 'Segoe UI', Arial, sans-serif;
    margin: 0;
    background: #f7f7f9;
    color: #222;
}

header {
    background: #1e293b;
    color: #fff;
    padding: 2rem 0 1rem 0;
    text-align: center;
}

header h1 {
    margin: 0;
    font-size: 2.5rem;
}

header p {
    margin: 0.5rem 0 0 0;
    font-size: 1.2rem;
    font-weight: 300;
}

main {
    max-width: 900px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.intro {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.projects {
    margin-bottom: 2.5rem;
}

.projects h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.project-card {
    display: flex;
    align-items: flex-start;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(30,41,59,0.07);
    margin-bottom: 1.5rem;
    overflow: hidden;
    transition: box-shadow 0.2s, transform 0.2s;
}

.project-card:hover {
    box-shadow: 0 4px 16px rgba(30,41,59,0.13);
    transform: scale(1.05);
}

.project-card img {
    width: 180px;
    height: 120px;
    object-fit: cover;
    background: #e5e7eb;
    flex-shrink: 0;
}

.project-card > div {
    padding: 1rem;
}

.project-card h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.3rem;
}

.project-card p {
    margin: 0 0 0.7rem 0;
    color: #444;
}

.project-card a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid #2563eb;
    transition: color 0.2s, border-bottom 0.2s;
}

.project-card a:hover {
    color: #1e40af;
    border-bottom: 2px solid #1e40af;
}

.click-hint {
    margin: 0.7rem 0 0 0;
    color: #2563eb;
    font-size: 0.95rem;
    font-weight: 500;
}

.contact {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(30,41,59,0.07);
    padding: 1.5rem;
}

.contact h2 {
    margin-top: 0;
}

.contact ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0 0;
}

.contact li {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.contact a {
    color: #2563eb;
    text-decoration: none;
}

footer {
    text-align: center;
    padding: 1rem 0;
    background: #e5e7eb;
    color: #555;
    font-size: 0.95rem;
    margin-top: 2rem;
}

@media (max-width: 700px) {
    .project-card {
        flex-direction: column;
        align-items: stretch;
    }
    .project-card img {
        width: 100%;
        height: 160px;
    }
}

.graphic-design-card,
.certificate-card {
    cursor: pointer;
}

.graphic-design-card .clickable-image,
.certificate-card .clickable-image {
    cursor: pointer;
}

.graphic-design-card .clickable-image:hover,
.certificate-card .clickable-image:hover {
    opacity: 0.8;
    transition: opacity 0.2s;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
}

.close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s;
}

.close:hover {
    color: #ccc;
}
