/* Mudeku Full-Height Layout Styles */
/* Basiert auf klak_base_k.html und kcard.css */

/* Mudeku Full-Height Container */
.mudeku-full-height-container {
    height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--klak-bg, #fefaf1);
    overflow: hidden;
}

.mudeku-swiper-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    min-height: 0; /* Wichtig für Flexbox */
}

.mudeku-swiper {
    width: 100%;
    height: 100%;
    max-width: 800px;
    display: flex;
    flex-direction: column;
}

.mudeku-swiper .swiper-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mudeku-swiper .swiper-slide {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: transparent;
}

/* Kunstwerk-Wrapper mit optimaler Größe */
.mudeku-artwork-wrapper {
    position: relative;
    width: 100%;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.mudeku-artwork-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 60vh; /* Begrenzt die Bildhöhe */
    object-fit: contain;
    box-shadow: 0 12px 48px 0 rgba(0,0,0,0.35), 0 3px 12px 0 rgba(0,0,0,0.18);
    border-radius: 4px;
    background: #fff;
    display: block;
}

.mudeku-artwork-info {
    position: absolute;
    right: 0;
    top: 100%;
    margin-top: 18px;
    background: #fff;
    box-shadow: 0 4px 16px 0 rgba(0,0,0,0.13), 0 1px 4px 0 rgba(0,0,0,0.09);
    border-radius: 2px;
    padding: 0.7rem 0.8rem;
    font-size: 0.85rem;
    min-width: 140px;
    max-width: 200px;
    text-align: left;
    z-index: 2;
}

.mudeku-artwork-info strong {
    font-weight: 700;
    font-size: 0.95em;
    display: block;
    margin-bottom: 0.2em;
    color: #003893;
}

.mudeku-artwork-info small {
    font-size: 0.85em;
    color: #444;
    display: block;
}

/* Swiper-Steuerung am unteren Rand */
.mudeku-swiper-controls {
    position: fixed;
    bottom: 80px; /* Platz für sticky footer */
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.mudeku-swiper .swiper-pagination {
    position: static;
    margin-bottom: 10px;
}

.mudeku-swiper .swiper-button-next,
.mudeku-swiper .swiper-button-prev {
    position: static;
    margin: 0 10px;
    color: #003893;
    background: rgba(255,255,255,0.9);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.mudeku-swiper .swiper-button-next:hover,
.mudeku-swiper .swiper-button-prev:hover {
    background: rgba(255,255,255,1);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .mudeku-artwork-wrapper {
        max-width: 90%;
    }
    
    .mudeku-artwork-image {
        max-height: 50vh;
    }
    
    .mudeku-artwork-info {
        min-width: 120px;
        max-width: 180px;
        font-size: 0.8rem;
    }
    
    .mudeku-swiper-controls {
        bottom: 60px;
    }
}

@media (max-height: 600px) {
    .mudeku-artwork-image {
        max-height: 40vh;
    }
    
    .mudeku-swiper-controls {
        bottom: 50px;
    }
} 