
/* Portfolio Pages */

/* Project Title Section */

.project-title {
    width: 100%;
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: #4D4D4D;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    color: black;
    border-top: 10px solid #6e6e6e;
    border-bottom: 10px solid #6e6e6e;
}

.project-title.white-text {
    color: white;
}

/* Individual Project Backgrounds */

.composting-background {
    background-color: #FFA331;
}

.mask-background {
    background-image: url("../images/TheMaskPlatformer/MP-BannerBG.png");
}

.fitter-background {
    background-image: url("../images/Retrofitter/RF-BannerBG.png");
}

.complaint-background {
    background-image: url("../images/TDOSC/TDOSC-background.png");
}

.pizza-background {
    background-color: #FDDDED;
}

.project-title h1 {
    font-size: 75px;
    margin-bottom: 15px;
    text-shadow: 5px 5px 0px rgba(0, 0, 0, 0.6);
}

.project-title p {
    font-size: 18px;
}

/* Overview Section */

.project-overview {
    background-color: var(--education-background);
    color: black;
    padding: 50px 10%;
    text-align: center;
}

.project-overview h2 {
    margin-bottom: 30px;
}

.overview-video {
    width: 100%;
    max-width: 900px;
    aspect-ratio: 16 / 9;
    background-color: #333333;
    margin: 0 auto 30px;
}

.project-overview > p {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.6;
}

/* About Section */

.project-about {
    background-color: var(--about-background);
    color: black;
    padding-left: 250px;
    padding-right: 250px;
}

.project-about h2 {
    text-align: left;
    font-size: 64px;
    padding-top: 10px;
    margin-left: -20px;
    margin-bottom: 20px;
    text-shadow: 3px 3px 0px rgba(0, 0, 0, 0.6);
}

.project-about-content {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.project-about-description {
    flex: 2;
}

.project-about-details {
    flex: 1;
}

.project-about-description h3 {
    margin-bottom: 10px;
    font-size: 32px;
    text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.6);
}

.project-about-description p {
    line-height: 1.3;
    margin-bottom: 30px;
}

.project-detail {
    margin-bottom: 30px;
}

.project-detail h3 {
    margin-bottom: 8px;
    font-size: 32px;
    text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.6);
}

.project-detail p {
    line-height: 1.5;
}

/* Itch Section */

.itch-section {
    background-color: var(--education-background);
    color: black;
    padding: 50px 10%;
    text-align: center;
}

.itch-game-embed {
    width: 100%;
    max-width: 1152px;
    margin: 0 auto;
}

.itch-page-embed {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.itch-embed iframe {
    display: block;
    width: 100%;
    border: none;
}

/* Development Section */

.project-development {
    background-color: var(--about-background);
    color: black;
    padding: 10px;
    padding-left: 250px;
    padding-right: 250px;
}

.project-development h2 {
    text-align: left;
    font-size: 64px;
    padding-top: 10px;
    margin-left: -20px;
    margin-bottom: 20px;
    text-shadow: 3px 3px 0px rgba(0, 0, 0, 0.6);
}

.development-section {
    margin-bottom: 45px;
}

.development-section p {
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Gallery Section */

.project-gallery {
    background-color: var(--education-background);
    color: black;
    padding: 50px 10%;
}

.gallery-carousel {
    display: flex;
    align-items: center;
    gap: 20px;
}

.gallery-track {
    flex: 1;
    overflow: hidden;
    position: relative;
    aspect-ratio: 16 / 9;
}

.gallery-item {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    background-color: #333333;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    position: absolute;
    top: 0;
    left: 0;
}

.gallery-item.active {
    opacity: 1;
    visibility: visible;
}

.gallery-item img,
.gallery-item iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: none;
}

.gallery-item img {
    object-fit: contain;
}

.gallery-arrow {
    background-color: #4D4D4D;
    color: white;
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    font-size: 20px;
    cursor: pointer;
    flex-shrink: 0;
}

.gallery-arrow:hover {
    background-color: #333333;
}

/* Reflection Section */

.project-reflection {
    background-color: var(--about-background);
    color: black;
    padding: 10px;
    padding-left: 250px;
    padding-right: 250px;
}

.project-reflection h2 {
    text-align: left;
    font-size: 64px;
    padding-top: 10px;
    margin-left: -20px;
    margin-bottom: 20px;
    text-shadow: 3px 3px 0px rgba(0, 0, 0, 0.6);
}

.reflection-content {
    line-height: 1.8;
}

/* Mobile Layout */

@media (max-width: 700px) {
    .project-about-content {
        flex-direction: column;
        gap: 20px;
    }

    .project-about-description,
    .project-about-details {
        width: 100%;
    }

    .gallery-carousel {
        gap: 8px;
    }

    .gallery-arrow {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
}