* { 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0; 
    font-family: 'Helvetica Neue', sans-serif; 
}
body { 
    background: #f9f9f9; 
    color: #111; 
    padding: 4rem 2rem; 
}
header { 
    max-width: 1200px; 
    margin: 0 auto 4rem auto; 
}
header h1 { 
    font-size: 3rem; 
    font-weight: 700; 
    letter-spacing: -1px; 
    margin-bottom: 1rem; 
}
header p { 
    font-size: 1.2rem; 
    color: #666; 
    max-width: 600px; 
    line-height: 1.6; 
}

/* Portfolio Grid */
.portfolio-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); 
    gap: 2rem; 
    max-width: 1200px; 
    margin: 0 auto; 
}
.project-card { 
    background: #fff; 
    border: 1px solid #eee; 
    overflow: hidden; 
    cursor: pointer; 
    transition: transform 0.3s ease; 
}
.project-card:hover { 
    transform: translateY(-5px); 
}
.project-image { 
    width: 100%; 
    height: 250px; 
    background: #ddd; 
    object-fit: cover; 
}
.project-info { 
    padding: 1.5rem; 
}
.project-info h3 { 
    font-size: 1.2rem; 
    margin-bottom: 0.5rem; 
}
.project-info p { 
    color: #888; 
    font-size: 0.9rem; 
    text-transform: uppercase; 
    letter-spacing: 1px; 
}

/* Update the lightbox setting to stack the image and text vertically */
.lightbox {
    display: none;
    position: fixed;  
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    flex-direction: column; /* Stacks the image on top and text on bottom */
    justify-content: center;
    align-items: center;
    z-index: 1000;
}
.lightbox img { 
    max-width: 90%; 
    max-height: 80vh; 
}

#lightbox-caption {
    color: #ffffff;
    font-size: 1.1rem;
    max-width: 600px;
    text-align: center;
    margin-top: 1.5rem;
    line-height: 1.6;
    padding: 0 1rem;
}

