/* Shared Styles for Inner Pages */
.inner-page-hero {
    height: 50vh;
    min-height: 400px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: var(--deep-black);
    text-align: center;
    color: white;
}

.inner-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.inner-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    will-change: transform;
}

.inner-hero-bg .hero-overlay {
    background: linear-gradient(to bottom, rgba(15, 15, 13, 0.3) 0%, rgba(15, 15, 13, 0) 60%, rgba(15, 15, 13, 1) 100%);
}

.inner-hero-content {
    position: relative;
    z-index: 2;
    padding-top: 80px;
}

.inner-hero-content h1 {
    font-size: 72px;
    margin-bottom: 20px;
}

.breadcrumb {
    display: flex;
    gap: 10px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.8;
    justify-content: center;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.breadcrumb a {
    color: white;
    text-decoration: none;
}

.breadcrumb span {
    color: var(--accent-tan);
    font-weight: 600;
}

/* Page Section padding */
.page-section {
    padding: 100px 0;
}

/* Detailed Project Layout Refinement */
.project-detail-grid {
    display: flex;
    flex-direction: column;
    gap: 60px;
    margin-top: -60px; /* Subtle overlap with hero */
    position: relative;
    z-index: 10;
}

.project-overview-header {
    background: white;
    padding: 60px;
    box-shadow: 0 40px 100px rgba(0,0,0,0.05);
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
}

.project-info-main h2 {
    font-size: 42px;
    margin-bottom: 25px;
    color: var(--primary-olive);
}

.project-desc {
    font-size: 18px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 30px;
}

.project-specs-sidebar {
    border-left: 1px solid rgba(0,0,0,0.05);
    padding-left: 60px;
}

.spec-item {
    margin-bottom: 30px;
}

.spec-item label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent-tan);
    margin-bottom: 8px;
}

.spec-item value {
    display: block;
    font-family: var(--font-heading);
    font-size: 24px;
    color: var(--primary-olive);
}

/* Project Detail Gallery — natural size, no stretching */
.gallery-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.gallery-item {
    position: relative;
    background: var(--deep-black);
    overflow: hidden;
}

/* Image+Content side-by-side block */
.project-image-block {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0;
    background: white;
    border: 1px solid rgba(0,0,0,0.06);
    overflow: hidden;
    margin-bottom: 2px;
}

.project-image-block .image-side {
    display: flex;
    align-items: flex-start;
    background: #f8f6f2;
    overflow: hidden;
    max-width: 65vw;
}

.project-image-block .image-side img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 75vh; /* Prevents excessively tall images */
    display: block;
    object-fit: none; /* Never crop, never stretch */
    transition: transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.project-image-block:hover .image-side img {
    transform: scale(1.02);
}

.project-image-block .content-side {
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: white;
    min-width: 280px;
}

.project-image-block .content-side .content-tag {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent-tan);
    margin-bottom: 20px;
}

.project-image-block .content-side h3 {
    font-family: var(--font-heading);
    font-size: 36px;
    color: var(--primary-olive);
    margin-bottom: 20px;
    line-height: 1.2;
}

.project-image-block .content-side p {
    font-size: 15px;
    line-height: 1.9;
    color: #555;
    margin-bottom: 30px;
}

.project-image-block .content-side .content-specs {
    display: flex;
    flex-direction: column;
    gap: 16px;
    border-top: 1px solid rgba(0,0,0,0.06);
    padding-top: 30px;
}

.project-image-block .content-side .content-spec-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
}

.project-image-block .content-side .content-spec-row span:first-child {
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #999;
    font-size: 11px;
}

.project-image-block .content-side .content-spec-row span:last-child {
    color: var(--primary-olive);
    font-weight: 600;
}

.gallery-caption {
    padding: 20px 40px;
    background: white;
    border-top: 1px solid rgba(0,0,0,0.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.gallery-caption p {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent-tan);
    margin: 0;
}

@media (max-width: 992px) {
    .project-image-block {
        grid-template-columns: 1fr;
    }
    .project-image-block .image-side {
        max-width: 100%;
    }
    .project-image-block .image-side img {
        width: 100%;
        max-height: 50vh;
        object-fit: contain;
    }
    .project-image-block .content-side {
        padding: 40px;
    }
}

@media (max-width: 992px) {
    .project-overview-header {
        grid-template-columns: 1fr;
        padding: 40px;
        margin-top: -60px;
    }
    .project-specs-sidebar {
        border-left: none;
        border-top: 1px solid rgba(0,0,0,0.05);
        padding-left: 0;
        padding-top: 40px;
    }
    .gallery-item.side-feature {
        grid-column: span 12;
    }
}

/* Filter Bar */
.filter-bar {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: 1px solid rgba(0,0,0,0.1);
    padding: 10px 24px;
    font-family: var(--font-body);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: var(--transition-quick);
}

.filter-btn.active, .filter-btn:hover {
    background: var(--primary-olive);
    color: white;
    border-color: var(--primary-olive);
}

@media (max-width: 992px) {
    .project-info-col, .project-main-col {
        grid-column: span 12;
    }
    .inner-hero-content h1 {
        font-size: 48px;
    }
}
/* Editorial Projects Grid */
.projects-editorial-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.project-card {
    position: relative;
    overflow: hidden;
    background: #111;
}

.project-card.size-lg { grid-column: span 8; height: 600px; }
.project-card.size-md { grid-column: span 4; height: 600px; }
.project-card.size-sm { grid-column: span 6; height: 450px; }

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    will-change: transform;
    transition: transform 1.2s cubic-bezier(0.19, 1, 0.22, 1);
}

.project-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%);
    color: white;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.project-card:hover .project-card-overlay {
    transform: translateY(0);
    opacity: 1;
}

.project-card-overlay h3 {
    font-size: 32px;
    margin-bottom: 5px;
    color: white;
}

.project-card-overlay span {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    opacity: 0.8;
}

/* Editorial Filler Blocks */
.editorial-filler {
    grid-column: span 4;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px;
    background: #ebdcb9; /* Sophisticated warm tan background with perfect contrast */
    border: 1px solid rgba(74, 82, 64, 0.15); /* Darker, more defined border */
    box-shadow: 0 20px 50px rgba(74, 82, 64, 0.06); /* Premium soft depth shadow */
    position: relative;
    overflow: hidden;
}

.editorial-filler::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: radial-gradient(var(--primary-olive) 0.5px, transparent 0.5px);
    background-size: 20px 20px;
    opacity: 0.08; /* Slightly enhanced dot pattern visibility */
}

.editorial-filler.dark {
    background: var(--primary-olive);
    color: white;
    box-shadow: 0 20px 50px rgba(15, 15, 13, 0.15); /* Stronger depth for dark blocks */
}

.editorial-filler.dark::before {
    background-image: radial-gradient(white 0.5px, transparent 0.5px);
    opacity: 0.15;
}

.editorial-filler .filler-num {
    font-family: var(--font-heading);
    font-size: 64px;
    color: var(--primary-olive);
    opacity: 0.85; /* Significantly darkened number color for high visibility */
    margin-bottom: 30px;
    line-height: 1;
}

.editorial-filler.dark .filler-num {
    color: white;
    opacity: 0.65; /* Distinct bright contrast on dark green */
}

.editorial-filler h4 {
    font-family: var(--font-heading);
    font-size: 32px;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--primary-olive);
    position: relative;
}

.editorial-filler.dark h4 {
    color: var(--accent-tan);
}

.editorial-filler p {
    font-size: 15px;
    opacity: 0.8;
    line-height: 1.8;
    position: relative;
}

.editorial-filler::after {
    content: '';
    position: absolute;
    bottom: 40px;
    right: 40px;
    width: 40px;
    height: 1px;
    background: var(--accent-tan);
    opacity: 0.5;
}

@media (max-width: 992px) {
    .project-card.size-lg,
    .project-card.size-md,
    .project-card.size-sm,
    .editorial-filler {
        grid-column: span 12 !important;
        height: 400px !important;
    }
}

@media (max-width: 768px) {
    .inner-hero-content h1 {
        font-size: 36px;
    }
}
