/* Project-specifieke styling */

.project-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.project-hero-content {
    text-align: left;
    max-width: 1200px;
    width: 100%;
    padding: 0 20px;
}

.project-title {
    font-size: 120px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 60px;
    line-height: 1;
}

.project-info {
    display: flex;
    gap: 120px;
    margin-left: 5px;
}

.project-info-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.project-info-label {
    font-size: 14px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.project-info-value {
    font-size: 18px;
    color: #fff;
    line-height: 1.6;
}

.project-section {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 50px;
}

.project-content {
    max-width: 1200px;
    width: 100%;
}

.project-content h2 {
    font-size: 48px;
    margin-bottom: 30px;
    color: #fff;
}

.project-content p {
    font-size: 18px;
    line-height: 1.8;
    color: #ccc;
}

/* Project Content Wrapper - Dark Grey Background */
.project-content-wrapper {
    background-color: #1a1a1a;
    border-radius: 40px 40px 0 0;
    padding: 100px 120px;
    min-height: 100vh;
}

/* Detail Grid Layout */
.project-detail-section {
    margin-bottom: 80px;
}

.detail-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 120px;
    max-width: 1400px;
    margin: 0 auto;
}

.detail-label h3 {
    font-size: 18px;
    color: #888;
    font-weight: 400;
    line-height: 1.6;
}

.detail-text p {
    font-size: 18px;
    color: #fff;
    line-height: 1.8;
    margin-bottom: 20px;
}

.detail-text p:last-child {
    margin-bottom: 0;
}

/* Major Section Headings */
.project-major-section {
    max-width: 1400px;
    margin: 0 auto 60px auto;
}

.project-major-section h2 {
    font-size: 56px;
    color: #fff;
    font-weight: 600;
    margin-bottom: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .project-title {
        font-size: 60px;
        margin-bottom: 40px;
    }

    .project-info {
        flex-direction: column;
        gap: 30px;
    }

    .project-content h2 {
        font-size: 32px;
    }

    .project-content p {
        font-size: 16px;
    }

    .project-content-wrapper {
        padding: 60px 30px;
    }

    .detail-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .detail-label h3 {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .detail-text p {
        font-size: 16px;
    }

    .project-major-section h2 {
        font-size: 36px;
    }

    .project-detail-section {
        margin-bottom: 50px;
    }
}

/* Project Hero Image */
.project-hero-image {
    max-width: 1400px;
    margin: -50px auto 100px auto;
    padding: 0 50px;
}

.project-hero-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* Landscape image smaller */
.project-hero-image-landscape {
    max-width: 1000px;
}

/* Portfolio image smaller */
.project-hero-image-portfolio {
    max-width: 1000px;
}

/* Project Gallery */
.project-gallery {
    max-width: 1400px;
    margin: 100px auto 0 auto;
    padding: 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 60px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 16px;
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-item-large {
    grid-row: span 2;
    max-height: 800px;
}

.gallery-item-medium {
    aspect-ratio: 16/9;
}

@media (max-width: 768px) {
    .project-hero-image {
        margin: -30px auto 60px auto;
        padding: 0 30px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .gallery-item-large {
        grid-row: span 1;
        max-height: 400px;
    }
}

/* Topical project specific visuals */
.topical-hero-logo .topical-logo-image {
    background: #ffffff;
    padding: 24px;
    object-fit: contain;
}

.topical-gallery-wrapper {
    width: 100%;
    max-width: 1320px;
    margin: 70px auto 0 auto;
}

.topical-gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 24px;
}

.topical-gallery-grid .gallery-item {
    border-radius: 16px;
    overflow: hidden;
    background: #101010;
}

.topical-gallery-grid .gallery-item-large {
    grid-row: span 1;
    max-height: none;
}

.topical-gallery-grid .gallery-item-medium {
    aspect-ratio: auto;
}

.topical-gallery-grid .gallery-item img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    background: #ffffff;
}

@media (max-width: 768px) {
    .topical-hero-logo .topical-logo-image {
        padding: 16px;
    }

    .topical-gallery-wrapper {
        max-width: 100%;
        margin-top: 44px;
    }

    .topical-gallery-grid {
        grid-template-columns: 1fr;
        gap: 18px;
        margin-top: 16px;
    }

    .topical-gallery-grid .gallery-item img {
        height: auto;
    }

}