/* Project Detail Styles - Simplified */
.modern-detail-card {
    background: var(--bg);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    border: 1px solid var(--border);
}

.modern-gallery-card,
.modern-media-card {
    background: var(--bg);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    border: 1px solid var(--border);
}

.modern-media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.modern-media-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    transition: box-shadow 0.2s ease;
}

.modern-media-item:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.modern-media-item img,
.modern-media-item video {
    width: 100%;
    height: 200px;
    object-fit: contain;
    border-radius: var(--radius);
}

.audio-preview {
    padding: 1rem;
    text-align: center;
    background: var(--primary-light);
    border-radius: var(--radius);
}

.audio-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.media-caption {
    padding: 0.5rem;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    font-size: 0.875rem;
    border-radius: 0 0 var(--radius) var(--radius);
}

.audio-caption {
    padding: 0.5rem;
    background: var(--primary-light);
    color: var(--text);
    font-size: 0.875rem;
    border-radius: var(--radius);
    margin-top: 0.5rem;
}

.nav-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--bg);
    color: var(--text);
    text-decoration: none;
    border-radius: var(--radius-lg);
    font-weight: 600;
    transition: all 0.2s ease;
    border: 1px solid var(--border);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.nav-btn:hover {
    background: var(--primary);
    color: white;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.nav-btn svg {
    transition: transform 0.2s ease;
}

.nav-btn-prev:hover svg {
    transform: translateX(-2px);
}

.nav-btn-next:hover svg {
    transform: translateX(2px);
}

/* Lightbox */
#image-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

#image-lightbox.show {
    display: flex;
}

#image-lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    z-index: 1001;
}

#lightbox-image {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: var(--radius);
}
