.bg-black { background: #000; color: #fff; }

/* SECTION 1: HERO */
.detail-hero { height: 100vh; position: relative; overflow: hidden; }
.hero-media { width: 100%; height: 100%; }
.hero-media img, .hero-media video { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; padding: 40px 5vw; display: flex; flex-direction: column; justify-content: space-between; align-items: center; z-index: 2; }
.hero-top { width: 100%; display: flex; justify-content: space-between; font-size: 14px; letter-spacing: 2px; padding-top: 50px; }
.hero-center img { height: 60px; filter: brightness(0) invert(1); }
.hero-bottom { font-size: 14px; opacity: 0.8; }

/* --- Project Detail Intro (Exact Replica) --- */
.detail-intro {
    background-color: #000; /* Solid Black Background */
    color: #fff;
    padding: 120px 5vw;
    display: flex;
    gap: 12vw; /* Large horizontal gap */
    align-items: flex-start;
}

/* Left Column: Title & Meta */
.intro-left {
    flex: 1.5;
}

#proj-title {
    font-family: 'Inter', sans-serif;
    font-size: clamp(36px, 6vw, 72px); /* Matches large title in image */
    font-weight: 500;
    line-height: 1;
    margin-bottom: 60px;
    letter-spacing: -0.03em;
}

.meta-block {
    margin-bottom: 30px;
}

.meta-block .label {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 700; /* Bold label */
    margin-bottom: 4px;
    color: #fff;
}

#proj-industry, #proj-services {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #888; /* Muted grey for values as seen in image */
    line-height: 1.4;
}

/* Right Column: Narrative */
.intro-right {
    flex: 1.5; /* Right column is wider */
}

#proj-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: clamp(24px, 3.5vw, 42px);
    font-weight: 500;
    margin-bottom: 35px;
    letter-spacing: -0.01em;
}

.serif-text {
    font-family: "Times New Roman", Times, serif; /* High-end serif narrative */
    font-size: 19px;
    line-height: 1.6;
    color: #fff;
    margin-bottom: 50px;
    max-width: 650px; /* Prevents lines from being too long */
}

/* More Info Pill Button */
.more-info-btn {
    background-color: #333; /* Dark grey pill */
    color: #fff;
    border: none;
    padding: 14px 40px;
    border-radius: 100px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;
}

.more-info-btn:hover {
    background-color: #444;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 900px) {
    .detail-intro {
        flex-direction: column; /* Stack on mobile */
        padding: 80px 5vw;
        gap: 50px;
    }

    #proj-title {
        font-size: 42px;
        margin-bottom: 40px;
    }

    .intro-right {
        width: 100%;
    }

    #proj-subtitle {
        font-size: 28px;
    }

    .serif-text {
        font-size: 17px;
    }
}

/* SECTION 2: GALLERY */
.detail-gallery div { background-size: cover; background-position: center; }
.full-img { width: 100%; height: 70vh; }
.half-grid { display: flex; height: 70vh; padding-top: 10px; padding-bottom: 10px ;gap: 10px;}
.half-img { flex: 1; }

/* SECTION 3: QUOTE */
.quote-image { width: 100%; height: 80vh; background-size: cover; background-position: center; }
.quote-text-block { padding: 120px 5vw; background: #000; text-align: left; }
#quote-content { font-size: clamp(24px, 4vw, 42px); line-height: 1.2; font-family: "Times New Roman", serif; margin-bottom: 30px; }
#quote-author { font-size: 12px; opacity: 0.6; text-transform: uppercase; letter-spacing: 1px; }

/* MOBILE */
@media (max-width: 768px) {
    .detail-intro { flex-direction: column; gap: 40px; }
    .half-grid { flex-direction: column; height: auto; }
    .half-img { height: 40vh; }
}

/* ... Previous Styles ... */

.detail-gallery { width: 100%; margin-bottom: 2px; }
.detail-gallery div { background-size: cover; background-position: center; background-repeat: no-repeat; }

.full-img { width: 100%; height: 80vh; }
.half-grid { display: flex; width: 100%; height: 75vh; gap: 2px; }
.half-img { flex: 1; height: 100%; }

/* --- MOBILE RESPONSIVE FIX --- */
@media (max-width: 768px) {
    .detail-intro { flex-direction: column; padding: 60px 5vw; gap: 40px; }
    
    .full-img { height: 45vh; } /* Visible height for mobile */

    .half-grid {
        flex-direction: column;
        height: auto;
        gap: 0;
    }

    .half-img {
        width: 100%;
        height: 45vh; /* Gives height to the empty div so image shows */
        border-top: 2px solid #000;
    }

    .quote-image { height: 50vh; }
    #quote-content { font-size: 28px; }
}