/* Ambiente/Galerie Seite Styles */
.ambiente-bg {
    background-image: url('../img/gallery-hero.webp');
    background-position: center;
}

/* Gallery Navigation */
.gallery-navigation {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    gap: 1rem;
    flex-wrap: wrap;
}

.gallery-nav-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--text-light);
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.gallery-nav-btn:hover,
.gallery-nav-btn.active {
    background: linear-gradient(45deg, var(--gold), var(--dark-gold));
    border-color: var(--gold);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

/* Gallery Category */
.gallery-category {
    margin-top: 3rem;
}

.category-title {
    color: var(--gold);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-align: center;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.lightbox.active {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 5px;
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.2);
}

.lightbox-caption {
    margin-top: 1rem;
    text-align: center;
    max-width: 800px;
}

.lightbox-caption h3 {
    color: var(--gold);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.lightbox-caption p {
    color: var(--text-light);
    font-size: 1rem;
}

/* Lightbox Navigation */
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: var(--text-light);
    font-size: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1010;
}

.lightbox-nav:hover {
    background: rgba(212, 175, 55, 0.3);
    color: var(--gold);
}

.lightbox-nav.prev {
    left: 20px;
}

.lightbox-nav.next {
    right: 20px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1010;
}

.lightbox-close:hover {
    background: rgba(212, 175, 55, 0.3);
    color: var(--gold);
    transform: rotate(90deg);
}

/* Animation für Lightbox */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .gallery-navigation {
        flex-direction: column;
        align-items: center;
    }
    
    .gallery-nav-btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
    
    .lightbox-nav {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
    
    .lightbox-close {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }
    
    .lightbox-caption {
        margin-top: 0.5rem;
    }
    
    .lightbox-caption h3 {
        font-size: 1.2rem;
    }
    
    .lightbox-caption p {
        font-size: 0.9rem;
    }
}