.main-nav ul {
    margin-right: 5rem;
}

@media (min-width: 992px) {
    .main-nav ul {
        margin-right: 5rem;
    }
}
/* ============================================
   FANART GALLERY STYLES
   ============================================ */

/* Gallery Background Image */
body {
    background: url('../media/artefakt_bg.png') center center / cover no-repeat fixed;
}

/* Dark Page Overlay mit Backdrop Filter */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(var(--color-dark-rgb), 0.7);
    backdrop-filter: var(--backdrop-blur-strong);
    z-index: -1;
    pointer-events: none;
}

/* ============================================ */
/* ARTEFAKT DISPLAY */
/* ============================================ */

.item-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 6rem 1rem 2rem;
    min-height: calc(100vh - var(--header-height-mobile) - 100px);
    position: relative;
    z-index: 5;
}

@media (min-width: 768px) {
    .item-container {
        padding: 2rem 1.5rem 3rem;
    }
}

@media (min-width: 1024px) {
    .item-container {
        padding: 0 1.5rem 2rem;
    }
}

.artefakt-display {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.artefakt-image {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.artefakt-image.artefakt-clickable {
    cursor: pointer;
    transition: transform var(--transition-medium), filter var(--transition-medium);
}

.artefakt-image.artefakt-clickable:hover {
    transform: scale(1.03);
    filter: drop-shadow(0 0 20px var(--rb-shadow));
}

.artefakt-image img {
    max-width: 100%;
    max-height: 65vh;
    width: auto;
    height: auto;
    display: block;
    border-radius: var(--border-radius-sm);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

@media (min-width: 768px) {
    .artefakt-image img {
        max-width: 900px;
    }
}

@media (min-width: 1024px) {
    .artefakt-image img {
        max-width: 1000px;
    }
}

.artefakt-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    color: var(--rb-text);
}

.artefakt-title {
    font-family: var(--font-family-heading);
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--rb-accent-light);
    margin: 0 0 0.5rem 0;
    letter-spacing: var(--letter-spacing-sm);
    text-shadow: 0 0 10px var(--glow-shadow-light);
}

.artefakt-line {
    font-family: var(--font-family-serif);
    font-size: var(--font-size-md);
    line-height: 1.6;
    color: var(--rb-text);
    margin: 0;
    padding-left: 1rem;
    border-left: 2px solid var(--rb-accent);
    opacity: var(--opacity-high);
}
footer {
    position: relative;
    z-index: 100;
}

/* ============================================ */
/* LIGHTBOX MODAL */
/* ============================================ */

.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10001;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    overflow-y: auto;
}

.lightbox-modal.active {
    display: flex;
}

.lightbox-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(var(--color-dark-rgb), 0.95);
    backdrop-filter: var(--backdrop-blur-strong);
    z-index: 1;
}

.lightbox-container {
    position: relative;
    max-width: 95vw;
    max-height: 95vh;
    z-index: 10002;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    background: var(--rb-bg-soft);
    border: 1px solid var(--rb-stroke);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    backdrop-filter: var(--backdrop-blur-strong);
    box-shadow: 0 8px 40px var(--rb-shadow);
    max-height: 90vh;
    overflow-y: auto;
}

.lightbox-image {
    max-width: 90vw;
    max-height: 75vh;
    object-fit: contain;
    border-radius: var(--border-radius-sm);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.7);
}

.lightbox-info {
    width: 100%;
    max-width: 600px;
    color: var(--rb-text);
    padding: 0 0.5rem;
}

.lightbox-title {
    font-family: var(--font-family-heading);
    font-size: 1.3rem;
    color: var(--rb-accent-light);
    margin: 0 0 0.5rem 0;
    text-shadow: 0 0 10px var(--glow-shadow-light);
}

.lightbox-artist {
    font-size: 0.95rem;
    color: var(--rb-text);
    margin: 0 0 1rem 0;
    font-weight: 500;
    opacity: var(--opacity-high);
}

.lightbox-description {
    font-family: var(--font-family-serif);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
    opacity: var(--opacity-high);
}

.lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--rb-accent);
    border: 1px solid var(--rb-accent-light);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
    color: var(--rb-text);
    z-index: 10003;
}

.lightbox-close:hover {
    background: var(--rb-accent-light);
    transform: scale(1.1);
    box-shadow: 0 0 20px var(--glow-shadow-strong);
}

.lightbox-close svg {
    width: 20px;
    height: 20px;
}

/* Desktop: Side-by-side Layout - erst ab 1024px */
@media (min-width: 1024px) {
    .lightbox-content {
        flex-direction: row;
        gap: 2rem;
        max-width: 90vw;
    }

    .lightbox-image {
        max-width: 60vw;
        max-height: 85vh;
    }

    .lightbox-info {
        max-width: 350px;
        min-width: 250px;
        padding: 0;
    }

    .lightbox-title {
        font-size: 1.8rem;
    }

    .lightbox-artist {
        font-size: 1rem;
    }

    .lightbox-description {
        font-size: 0.95rem;
    }
}

/* Tablet und größer: Side-by-side Layout */
@media (min-width: 768px) {
    .artefakt-display {
        flex-direction: row;
        padding: 2.5rem;
        gap: 3rem;
    }

    .artefakt-image {
        flex: 0 0 45%;
        max-width: 45%;
    }

    .artefakt-text {
        flex: 1;
        justify-content: center;
    }

    .artefakt-title {
        font-size: 2.2rem;
    }

    .artefakt-line {
        font-size: var(--font-size-lg);
    }
}

/* Desktop: Größere Abstände */
@media (min-width: 1024px) {
    .item-container {
        padding: 4rem 2rem;
        min-height: calc(100vh - var(--header-height-desktop) - 100px);
    }

    .artefakt-display {
        padding: 3rem;
        gap: 4rem;
    }

    .artefakt-image {
        flex: 0 0 50%;
        max-width: 50%;
        padding: 2rem;
    }

    .artefakt-title {
        font-size: 2.5rem;
    }
}