/* =========================================================
   KELLIE HUCKER TECH ART PORTFOLIO
   UNREAL PAGE STYLES
   November 2026
   ========================================================= */

/* =========================================================
   UNREAL PROJECT GRID
   ========================================================= */
.project-grid {
    display: flex; /* Uses Flexbox to arrange Unreal project cards */
    flex-wrap: wrap; /* Allows project cards to wrap onto additional rows */
    justify-content: center; /* Centers project cards horizontally */
    align-items: stretch; /* Keeps cards in the same row a consistent height */
    gap: 20px; /* Adds spacing between project cards */
}

/* =========================================================
   UNREAL PROJECT CARDS
   ========================================================= */
.project-card {
    flex: 0 1 340px; /* Uses 340px as the preferred card width while allowing shrinking */
    width: 340px; /* Sets preferred Unreal project-card width */
    display: flex; /* Uses Flexbox inside each project card */
    flex-direction: column; /* Stacks title, image, content, and status vertically */
    overflow: hidden; /* Prevents child content from spilling outside rounded edges */
    padding: 24px 24px 30px; /* Adds internal spacing around card content */
    border-radius: 12px; /* Rounds project-card corners */
    color: var(--text); /* Uses shared site text color */
    text-decoration: none; /* Removes default underline when the whole card is a link */
}

/* =========================================================
   UNREAL PROJECT CARD TITLE
   ========================================================= */
.project-card-title {
    margin: 8px 20px 18px; /* Adds spacing above, beside, and below project title */
    color: var(--text); /* Uses shared site text color */
    text-align: center; /* Centers project title */
    font-size: 1.5rem; /* Sets project title size */
    line-height: 1.25; /* Controls spacing for multi-line project titles */
    text-decoration: none; /* Prevents link underline on project title */
}

/* =========================================================
   UNREAL PROJECT CARD IMAGE
   ========================================================= */
.project-card-image {
    width: 100%; /* Allows image area to use full card width */
    height: 230px; /* Gives Unreal project images a consistent display area */
    display: block; /* Removes inline-image baseline spacing */
    object-fit: contain; /* Fits entire project image without cropping */
    margin: 0 auto 12px; /* Centers image and adds spacing below it */
    padding: 0 28px; /* Adds horizontal breathing room around image */
}

/* =========================================================
   UNREAL PROJECT CARD CONTENT
   ========================================================= */
.project-card-content {
    padding: 12px 12px 0; /* Adds spacing around project details */
    text-decoration: none; /* Prevents inherited link decoration inside card content */
}

.project-card-content ul {
    margin: 0; /* Removes browser default list margin */
    padding-left: 1.35rem; /* Creates space for bullet markers */
    color: var(--text); /* Uses shared site text color */
    font-size: 1rem; /* Uses base readable text size */
    line-height: 1.5; /* Adds comfortable spacing between lines */
}

.project-card-content li {
    margin-bottom: 0.55rem; /* Adds spacing between bullet-list items */
}

.project-card-content li:last-child {
    margin-bottom: 0; /* Removes extra spacing after final bullet */
}

/* =========================================================
   UNREAL PROJECT STATUS
   ========================================================= */
.status {
    display: inline-block; /* Allows spacing while keeping status text inline-sized */
    margin-top: auto; /* Pushes status text toward bottom of the project card */
    padding-top: 16px; /* Adds spacing above status text */
    color: var(--subtle); /* Uses shared muted secondary text color */
    font-size: 0.9rem; /* Keeps status text visually secondary */
}

/* =========================================================
   UNREAL PROJECT DETAIL CARDS
   ========================================================= */
.project-detail-grid {
    display: flex; /* Uses Flexbox to arrange Unreal detail cards */
    flex-wrap: wrap; /* Allows detail cards to wrap onto additional rows */
    justify-content: center; /* Centers detail cards horizontally */
    gap: 24px; /* Adds spacing between detail cards */
    margin-top: 40px; /* Adds spacing above detail-card grid */
}

.project-detail-card {
    flex: 0 1 320px; /* Uses 320px as preferred detail-card width while allowing shrinking */
    padding: 28px; /* Adds internal spacing */
    border-radius: 12px; /* Rounds detail-card corners */
}

.project-detail-card h3 {
    margin-top: 0; /* Removes default top heading margin */
    font-size: 1.5rem; /* Sets detail-card title size */
}

.project-detail-card p,
.project-detail-card li {
    color: #e5e5e5; /* Uses soft light-gray text color */
    line-height: 1.6; /* Adds comfortable line spacing */
}

/* =========================================================
   UNREAL PROJECT INTRO
   ========================================================= */
.project-intro {
    max-width: 1000px; /* Limits intro width for readability */
    margin: 0 auto 70px; /* Centers intro and adds spacing below it */
    line-height: 1.7; /* Adds generous line spacing */
}

/* =========================================================
   UNREAL PROJECT PAGE NAVIGATION
   ========================================================= */
.project-page-nav {
    display: flex; /* Uses Flexbox for project-page navigation */
    justify-content: flex-end; /* Aligns navigation toward right side */
    margin-top: 40px; /* Adds spacing above navigation */
    padding-right: 10px; /* Adds slight right-side spacing */
}

/* =========================================================
   PORTFOLIO MIGRATION NOTICE
   TEMPORARY - REMOVE WHEN MIGRATION IS COMPLETE
   ========================================================= */
.migration-box {
    max-width: 850px; /* Limits notice width so text stays easy to read */
    margin: 0 auto; /* Centers notice horizontally */
    padding: 24px; /* Adds space between content and box edges */
    background: rgba(8, 12, 22, 0.72); /* Adds dark semi-transparent background */
    border-left: 4px solid var(--accent-blue-light); /* Adds blue accent bar on left side */
    border-radius: 8px; /* Rounds box corners */
    line-height: 1.6; /* Adds comfortable spacing between text lines */
}

.migration-box h2 {
    margin-top: 0; /* Removes default top margin from heading */
}

/* =========================================================
   UNREAL PAGE RESPONSIVE
   ========================================================= */

/* Phones */
@media (max-width: 700px) {
    .project-card {
        width: 100%; /* Allows Unreal cards to use available mobile width */
        flex-basis: 100%; /* Places each project card on its own row */
    }

    .project-card-image {
        height: 200px; /* Reduces project image area on smaller screens */
        padding: 0 18px; /* Reduces image-side padding */
    }

    .project-detail-card {
        flex-basis: 100%; /* Lets detail cards use full mobile width */
    }

    .project-intro {
        margin-bottom: 45px; /* Reduces spacing below intro on smaller screens */
    }
}