/* =========================================
   PROJECTS SECTION — SHOWCASE
   Inherits .section-content / .section-container
   / .section-header / .section-card from about.css
========================================= */

.showcase-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 24px;
    align-items: start;
}

.showcase-menu {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.menu-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 10px;
    background: transparent;
    border: 1px solid transparent;
    color: var(--text-dimmer);
    font-family: var(--font-headings);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: left;
}

.menu-btn:hover {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-muted);
}

.menu-btn.active {
    background: var(--bg-glass-card);
    border-color: var(--primary);
    color: var(--primary);
}

.proj-num {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 800;
    color: var(--accent-green);
}

.proj-title {
    font-size: 14px;
}

.showcase-display {
    min-height: 300px;
}

.display-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border-glass);
}

.live-indicator {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    color: var(--accent-green);
}

.project-year {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-dimmer);
}

#project-details h3 {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 12px;
}

#project-details p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 16px;
}

.project-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    min-height: 280px;
    max-height: 520px;
    margin-bottom: 24px;
    overflow: hidden;
    border: 1px dashed var(--border-glass-hover);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
}

.project-gallery-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.35s ease;
}

.project-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    padding: 12px;
}

.project-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    border-radius: 12px;
    user-select: none;
    -webkit-user-drag: none;
}

[data-gallery-viewport] {
    touch-action: pan-y;
    cursor: grab;
}

[data-gallery-viewport].is-dragging {
    cursor: grabbing;
}

.gallery-arrow {
    position: absolute;
    top: 50%;
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    transform: translateY(-50%);
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 50%;
    background: rgba(2, 26, 20, 0.78);
    color: var(--text-white);
    cursor: pointer;
    font-size: 25px;
    line-height: 1;
}

.gallery-arrow:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.gallery-arrow-prev { left: 12px; }
.gallery-arrow-next { right: 12px; }

.gallery-dots {
    display: flex;
    justify-content: center;
    gap: 7px;
    margin-top: -14px;
    margin-bottom: 20px;
}

.gallery-dot {
    width: 7px;
    height: 7px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--text-dimmer);
    cursor: pointer;
}

.gallery-dot.active {
    background: var(--primary);
    transform: scale(1.25);
}

.project-gallery:not(.has-multiple) .gallery-arrow,
.project-gallery:not(.has-multiple) .gallery-dots {
    display: none;
}

