/* --- PAGE CONTAINER --- */
.page-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- PAGE TITLE --- */
h1 {
    text-align: center;
    font-size: 56px;
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: #060507;
    margin-top: 40px;
    margin-bottom: 56px;
}

/* --- PROJECTS GRID --- */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 32px;
    justify-content: center;
}

/* --- PROJECT CARD --- */
.project-card {
    border-radius: 28px;
    padding: 24px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.10);
}

.project-card .microcopy {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 0.75rem;
    color: #666;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.project-card:hover .microcopy {
    opacity: 1;
}

.project-card .plus-glyph {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    font-size: 2rem;
    color: #333;
    transition: transform 0.3s ease;
    z-index: 1;
}

.project-card.expanded .plus-glyph {
    transform: rotate(45deg);
}

.project-card .modal-details {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid rgba(0, 0, 0, 0.1);
}

.project-card .modal-details h2 {
    margin-bottom: 1rem;
    font-size: 24px;
    font-weight: 900;
}

.project-card .modal-details p {
    color: #333;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 15px;
}

/* Project Image - Square and larger */
.project-image {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-card h2 {
    font-size: 24px;
    font-weight: 900;
    color: #060507;
    margin: 0;
}

/* Read More Button (in modal) */
.project-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background-color: #FDDD3C;
    color: #060507;
    font-size: 15px;
    font-weight: 600;
    border-radius: 9999px;
    text-decoration: none;
    transition: all 0.2s ease;
    align-self: flex-start;
}

.project-btn:hover {
    background-color: #e6c835;
    transform: translateX(4px);
}

.project-btn svg {
    width: 16px;
    height: 16px;
    transition: transform 0.2s ease;
}

.project-btn:hover svg {
    transform: translateX(4px);
}

/* --- LOAD MORE BUTTON --- */
.load-more {
    display: block;
    margin: 56px auto 0;
    height: 44px;
    padding: 0 32px;
    border-radius: 9999px;
    background-color: transparent;
    border: 1.5px solid rgba(6, 5, 7, 0.12);
    color: #060507;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.load-more:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.10);
}

/* --- FOOTER --- */
footer {
    text-align: left;
    padding: 24px;
    max-width: 1240px;
    margin: 40px auto 0;
}

footer p {
    font-size: 12px;
    color: #5D5257;
}

/* --- RESPONSIVE STYLES --- */
@media (max-width: 768px) {
    h1 {
        font-size: 48px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }
}