/* --- PROJECT PAGE STYLES --- */

/* --- 1. Project Hero --- */
#project-hero {
    height: 60vh; /* Header image height */
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* Aligns text to the bottom */
    padding: 4rem 5%;

    background-size: cover;
    background-position: center;
    color: #fff;
}

/* Add a dark overlay for text readability */
#project-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top,
        rgba(0,0,0,0.8) 0%,
        rgba(0,0,0,0.0) 40%
    );
    z-index: 1;
}

.project-hero-content {
    position: relative;
    z-index: 2;
    max-width: 1300px;
    margin: 0 auto;
    width: 100%;
}

#project-hero h1 {
    font-size: 4.5rem;
    font-weight: 500;
    margin: 0;
}

#project-hero h3 {
    font-size: 1.75rem;
    font-weight: 300;
    color: #ccc;
    margin: 0;
}

.ppm-hero { background-image: url('../../assets/images/ppm-bg.jpg'); }
.aurelis-hero { background-image: url('../../assets/images/aurelis-bg.jpg'); }
.censa-hero { background-image: url('../../assets/images/censa-bg.jpg'); }
.reach-hero { background-image: url('../../assets/images/reach-bg.jpg'); }
.vital-hero { background-image: url('../../assets/images/vital-bg.jpg'); }
.synth-hero { background-image: url('../../assets/images/synth-bg.jpg'); }


/* --- 2. Project Body --- */
#project-body {
    padding: 6rem 5%;
    background-color: #0a0a0a; /* Slightly off-black */
    color: #c0c0c0;
}

.project-content-wrapper {
    max-width: 1300px;
    margin: 0 auto;

    /* Two-column layout */
    display: grid;
    grid-template-columns: 1fr 2fr; /* 1/3 for details, 2/3 for text */
    gap: 4rem;
}

/* Left Column: Details */
.project-details {
    border-top: 2px solid #333;
    padding-top: 1.5rem;
}

.project-details div {
    margin-bottom: 2rem;
}

.project-details h4 {
    font-family: 'Space Grotesk', sans-serif;
    color: #888;
    text-transform: uppercase;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.project-details p {
    font-size: 1.1rem;
    color: #f0f0f0;
    margin: 0;
}

/* Right Column: Description */
.project-description h2 {
    font-size: 2.5rem;
    font-weight: 400;
    color: #fff;
    margin-bottom: 1.5rem;
}

.project-description p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.project-description h3 {
    font-size: 1.5rem;
    color: #fff;
    margin-top: 3rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid #333;
    padding-bottom: 0.5rem;
}

.project-description ul {
    list-style-type: disc;
    padding-left: 20px;
}

.project-description li {
    font-size: 1.1rem;
    color: #c0c0c0;
    margin-bottom: 0.75rem;
    line-height: 1.7;
}


/* --- 3. Mobile Responsive --- */
@media (max-width: 900px) {
    #project-hero {
        height: 50vh;
        padding: 2rem 5%;
    }

    #project-hero h1 {
        font-size: 2.5rem;
    }

    #project-hero h3 {
        font-size: 1.2rem;
    }

    #project-body {
        padding: 4rem 5%;
    }

    .project-content-wrapper {
        grid-template-columns: 1fr; /* Stack columns on mobile */
        gap: 3rem;
    }

    .project-description h2 {
        font-size: 2rem;
    }
}