/* Page Layout */
.projects-page {
    padding: 4em 2em;
    text-align: center;
    max-width: 1250px;
    margin: 0 auto;
}

.projects-page h1 {
    font-size: 3em;
    margin-bottom: 1.5em; 
    color: white;
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
}

/* Individual Card Styling */
.grid-card {
    background-color: #1c1f24;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
    position: relative;
    text-decoration: none; 
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.2s, background-color 0.2s;
}

.grid-card:hover {
    transform: translateY(-5px);
    background-color: #24282f;
}

.top-right-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #888;
    font-size: 1.1em;
}

.grid-card h2 {
    font-size: 1.5em;
    color: white;
    margin: 0 0 10px 0;
}

.grid-card .quote {
    font-size: 0.85em;
    color: #888;
    margin-bottom: 20px;
}

.grid-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.grid-card .desc {
    font-size: 0.9em;
    color: #bbb;
    line-height: 1.5;
    margin: 0;
}

.genre-tag {
    max-width: fit-content;
    font-size: .7em;
    background-color: #464b53;
    color: aliceblue;
    padding: .2em .5em;
    border-radius: .5em;
    display: inline-block;
    margin-top: 15px;

}