/* معرض نبراس — 5 أقسام + مشاريع NHC (Workspace) */

.showroom-hub {
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.showroom-hub-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(6, 46, 68, 0.45);
    border: 1px solid rgba(26, 143, 168, 0.22);
    position: sticky;
    top: 8px;
    z-index: 4;
    backdrop-filter: blur(10px);
}

.showroom-hub-nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(26, 143, 168, 0.28);
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.showroom-hub-nav-btn:hover {
    background: rgba(26, 143, 168, 0.22);
    border-color: rgba(212, 168, 66, 0.45);
    transform: translateY(-1px);
}

.showroom-hub-nav-count,
.showroom-hub-section-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.4em;
    padding: 1px 6px;
    border-radius: 999px;
    background: rgba(212, 168, 66, 0.22);
    color: #f0c060;
    font-size: 0.72rem;
    font-weight: 800;
}

.showroom-hub-section-count {
    margin-inline-start: 6px;
}

.showroom-hub-intro {
    margin-bottom: 4px;
}

.showroom-hub-quick {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 8px;
}

.showroom-hub-section {
    padding: 24px 0 8px;
    border-top: 1px solid rgba(21, 94, 148, 0.12);
}

.showroom-hub-section:first-of-type {
    border-top: none;
    padding-top: 8px;
}

.showroom-hub-section-head h3 {
    margin: 0 0 10px;
    font-size: 1.25rem;
    color: var(--primary-blue, #0d2840);
    display: flex;
    align-items: center;
    gap: 10px;
}

body.nebras-profile-2026-theme .showroom-hub-section {
    border-top-color: rgba(26, 143, 168, 0.2);
}

/* المعرض يُعرض داخل مساحة العمل الفاتحة — نص كحلي واضح وبطاقات بيضاء صلبة */
body.nebras-profile-2026-theme .showroom-hub-section-head h3 {
    color: #062e44;
}

body.nebras-profile-2026-theme .showroom-hub-section-intro,
body.nebras-profile-2026-theme .showroom-hub-intro {
    color: rgba(6, 46, 68, 0.78);
}

body.nebras-profile-2026-theme .showroom-gallery-card {
    background: #fff;
    border-color: rgba(26, 143, 168, 0.24);
}

body.nebras-profile-2026-theme .showroom-gallery-card-body h4 {
    color: #062e44;
}

body.nebras-profile-2026-theme .showroom-gallery-card-body p {
    color: rgba(6, 46, 68, 0.82);
    opacity: 1;
}

body.nebras-profile-2026-theme .showroom-gallery-empty {
    color: rgba(6, 46, 68, 0.7);
}

.showroom-hub-section-intro {
    margin: 0 0 20px;
    opacity: 0.88;
    line-height: 1.65;
    max-width: 720px;
}

.showroom-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.showroom-gallery-card {
    display: flex;
    flex-direction: column;
    border-radius: 18px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(21, 94, 148, 0.14);
    box-shadow: 0 12px 32px rgba(13, 40, 64, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.showroom-gallery-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 44px rgba(21, 94, 148, 0.18);
}

.showroom-gallery-card-media {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #f0f4f8;
}

.showroom-gallery-card-media img,
.showroom-gallery-card-media video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    background: rgba(1, 13, 21, 0.55);
}

.showroom-gallery-card-media {
    position: relative;
}

.showroom-gallery-video {
    background: #0d2840;
}

.showroom-media-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(13, 40, 64, 0.82);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
}

.showroom-media-badge--video {
    background: rgba(196, 30, 58, 0.88);
}

[dir="ltr"] .showroom-media-badge {
    right: auto;
    left: 8px;
}

.showroom-gallery-card-body {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.showroom-gallery-card-body h4 {
    margin: 0;
    font-size: 0.95rem;
    color: var(--primary-blue, #0d2840);
}

.showroom-gallery-card-body p {
    margin: 0;
    font-size: 0.82rem;
    opacity: 0.85;
    line-height: 1.5;
}

.showroom-gallery-shop-btn {
    align-self: flex-start;
    margin-top: 4px;
    padding: 8px 14px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #155e94, #0d2840);
    color: #fff;
    font-weight: 700;
    font-size: 0.82rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.showroom-gallery-shop-btn:hover {
    filter: brightness(1.08);
}

.showroom-gallery-empty {
    padding: 20px;
    text-align: center;
    opacity: 0.8;
    border-radius: 14px;
    background: rgba(13, 40, 64, 0.04);
}

.scm-showroom-admin-block {
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.12);
}

.scm-showroom-admin-block:last-child {
    border-bottom: none;
}

.showroom-gallery-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 140px;
    background:
        radial-gradient(circle at 70% 25%, rgba(212, 168, 66, 0.22) 0%, transparent 55%),
        linear-gradient(135deg, #062e44 0%, #0a4b6e 70%, #1a8fa8 130%);
    color: rgba(255, 255, 255, 0.92);
    font-size: 2.2rem;
}

/* بطاقات مشاريع NHC — صورة كاملة + شريط ذهبي يفصل النص */
.showroom-hub-section--projects .showroom-gallery-card {
    border-color: rgba(212, 168, 66, 0.45);
}

.showroom-hub-section--projects .showroom-gallery-card-media img {
    object-fit: cover;
    background: #062e44;
}

.showroom-hub-section--projects .showroom-gallery-card-body {
    border-top: 3px solid #d4a842;
    background: linear-gradient(180deg, rgba(212, 168, 66, 0.12) 0%, rgba(255, 255, 255, 0) 60%);
}

.showroom-hub-section--projects .showroom-gallery-card-body h4 {
    color: #062e44;
    font-weight: 800;
}

.showroom-hub-section--projects .showroom-gallery-card-body p {
    color: rgba(6, 46, 68, 0.85);
}

@media (max-width: 600px) {
    .showroom-gallery-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
}
