/* --- Masonry Grid Setup --- */
.portfolio-container {
    padding: 50px 5%;
    background: #f9f9f9;
}

.masonry-grid {
    column-count: 3; /* 3 Columns on desktop */
    column-gap: 20px;
}

.project-card {
    break-inside: avoid; /* Prevents card from being cut in half */
    margin-bottom: 20px;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    position: relative;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.project-card img {
    width: 100%;
    height: auto;
    display: block;
}

.project-info {
    padding: 20px;
}

.project-category {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #888;
    margin-bottom: 5px;
}

.project-title {
    font-family: 'Montserrat', sans-serif; /* Architectural font */
    font-size: 1.2rem;
    font-weight: 600;
    color: #222;
    margin: 0;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 768px) {
    .masonry-grid {
        column-count: 2;
    }
}
@media (max-width: 480px) {
    .masonry-grid {
        column-count: 1;
    }
}
/* Push content down on pages that don't have a big hero image */
body {
    padding-top: 0;
}
/* If a page doesn't have the big hero image, add padding to the top container */
.portfolio-container {
    padding-top: 100px; /* Adjust this to push content below the navbar */
}

/* Make placeholders visible on dark backgrounds */
::placeholder {
    color: #888 !important;
    opacity: 1; 
}