/* --- Project Detail Page Styles --- */

/* ========================================
   Desktop: links foto's, rechts info
   Mobiel: alles gestapeld
   ======================================== */

.project-detail-layout {
    padding-top: 100px;
}

.project-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* --- LINKS: media kolom --- */
.project-split-media {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.project-hero-main {
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: 12px;
    background: #1a1a1a;
}

.project-hero-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.2s ease-out;
}

/* Thumbnail strip */
.project-hero-thumbs {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.project-hero-thumbs::-webkit-scrollbar {
    display: none;
}

.project-hero-thumb {
    flex: 0 0 auto;
    width: 52px;
    height: 68px;
    border: none;
    padding: 0;
    cursor: pointer;
    overflow: hidden;
    opacity: 0.4;
    transition: opacity 0.25s ease;
    background: #1a1a1a;
    border-radius: 4px;
}

.project-hero-thumb:hover {
    opacity: 0.75;
}

.project-hero-thumb.active {
    opacity: 1;
    box-shadow: 0 0 0 2px var(--accent-color, #e0c9a6);
}

.project-hero-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* --- RECHTS: info kolom --- */
.project-split-info {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.project-breadcrumb {
    margin: 0;
}

.breadcrumb-link {
    color: #888;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.breadcrumb-link:hover {
    color: var(--accent-color);
}

.project-header {
    margin: 0;
}

.project-meta-header {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.project-year-badge,
.project-category-badge {
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-color);
    font-weight: 500;
}

.project-detail-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.15;
    background: linear-gradient(135deg, #fff 0%, #a0a0a0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.project-location {
    font-size: 0.9rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 500;
}

.project-description-content {
    max-width: 100%;
}

.project-description-content p {
    font-size: 1rem;
    line-height: 1.7;
    color: #a0a0a0;
    margin-bottom: 16px;
}

.project-description-content p:last-child {
    margin-bottom: 0;
}

/* Details & CTA cards */
.project-details-card,
.project-cta-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 28px;
}

.project-details-card h3,
.project-cta-card h3 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    color: var(--text-color);
    font-weight: 600;
}

.project-details-list {
    list-style: none;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px solid var(--border-color);
}

.detail-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.detail-item:first-child {
    padding-top: 0;
}

.detail-item dt {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #888;
    font-weight: 500;
}

.detail-item dd {
    font-size: 0.95rem;
    color: var(--text-color);
    font-weight: 500;
    text-align: right;
}

.project-cta-card p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: #a0a0a0;
    margin-bottom: 20px;
}

.project-cta-card .btn {
    width: 100%;
    text-align: center;
}

/* --- Related Projects Section --- */
.related-projects-section {
    padding: 80px 0;
    border-top: 1px solid var(--border-color);
}

.related-projects-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 40px;
}

.related-projects-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
}

.related-projects-all {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #888;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.related-projects-all:hover {
    color: var(--accent-color);
}

.related-projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.related-project-card {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.related-project-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-4px);
}

.related-project-img {
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: #1a1a1a;
}

.related-project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.related-project-card:hover .related-project-img img {
    transform: scale(1.05);
}

.related-project-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.related-project-meta {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #888;
    font-weight: 500;
}

.related-project-info h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-color);
    line-height: 1.3;
}

.related-project-location {
    font-size: 0.8rem;
    color: #666;
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 1024px) {
    .project-split {
        gap: 40px;
    }

    .project-detail-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .project-detail-layout {
        padding-top: 80px;
    }

    .project-split {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .project-split-info {
        position: static;
        gap: 24px;
    }

    .project-hero-main {
        border-radius: 0;
    }

    .project-hero-thumbs {
        padding: 0 16px;
    }

    .project-hero-thumb {
        width: 44px;
        height: 58px;
    }

    .project-detail-title {
        font-size: 2rem;
    }

    .related-projects-section {
        padding: 48px 0;
    }

    .related-projects-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .related-project-card {
        flex-direction: row;
    }

    .related-project-img {
        width: 120px;
        min-height: 160px;
        aspect-ratio: auto;
        flex-shrink: 0;
    }

    .related-project-info {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .project-hero-thumb {
        width: 40px;
        height: 52px;
    }

    .project-detail-title {
        font-size: 1.75rem;
    }

    .project-year-badge,
    .project-category-badge {
        padding: 5px 10px;
        font-size: 0.65rem;
    }

    .project-details-card,
    .project-cta-card {
        padding: 20px 16px;
    }
}
