/* 🌟 Hero-Banner */
.hero-banner {
    background: url('/uploads/images/banner.png') center/cover no-repeat;
    padding: 60px 20px;
    text-align: center;
    color: #fff;
    background-blend-mode: darken;
    background-color: rgba(0, 0, 0, 0.7);
    margin-bottom: 40px;
    animation: fadeIn 1.5s ease-in-out;
}

.hero-banner h1 {
    font-size: 2.8rem;
    margin-bottom: 10px;
    letter-spacing: 2px;
    color: #e63946;
    text-transform: uppercase;
}

.hero-banner p {
    font-size: 1.2rem;
    color: #f1faee;
    font-style: italic;
}

/* 🎨 Galerie-Abschnitt */
.gallery-section {
    text-align: center;
    margin: 50px 0;
}

.gallery-section h2 {
    font-size: 2.5rem;
    color: #1d3557;
    margin-bottom: 30px;
    text-transform: uppercase;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.3);
}

.memory-wall {
    position: relative;
    width: 100%;
    min-height: 60vh;
    background: linear-gradient(135deg, #1d3557, #457b9d);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    padding: 40px;
    gap: 20px;
    box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.6);
    perspective: 1200px;
}

/* 🎯 Memory-Karten */
.memory-card {
    width: 220px;
    height: 280px;
    position: relative;
    background: #fff;
    border: 6px solid #fff;
    border-radius: 15px;
    box-shadow: 0 25px 40px rgba(0, 0, 0, 0.5);
    transform: rotate(var(--rotation)) translate(var(--translateX), var(--translateY));
    transition: transform 0.6s, box-shadow 0.6s;
    cursor: pointer;
    filter: grayscale(80%);
    z-index: 1;
    animation: loadAnimation 1s ease-out forwards;
    animation-delay: calc(0.1s * var(--index));
}

.memory-card:hover {
    transform: scale(1.2) rotate(0deg);
    z-index: 5;
    filter: grayscale(0%);
    box-shadow: 0 35px 60px rgba(0, 0, 0, 0.7);
}

.memory-card img {
    width: 100%;
    height: 80%;
    object-fit: cover;
    border-bottom: 6px solid #fff;
    border-radius: 5px 5px 0 0;
    transition: transform 0.5s ease;
}

.memory-card:hover img {
    transform: scale(1.05);
}

/* 🏷️ Hotspot */
.hotspot {
    position: absolute;
    top: 15%;
    left: 20%;
    width: 20px;
    height: 20px;
    background: #e63946;
    border: 3px solid #fff;
    border-radius: 50%;
    cursor: pointer;
    animation: pulse 2s infinite;
    z-index: 3;
}

.hotspot::after {
    content: attr(data-info);
    position: absolute;
    top: -30px;
    left: 30px;
    background: rgba(0,0,0,0.7);
    color: #fff;
    padding: 6px 10px;
    border-radius: 6px;
    opacity: 0;
    transition: opacity 0.3s;
    white-space: nowrap;
}

.hotspot:hover::after {
    opacity: 1;
}

/* 💬 Caption */
.memory-caption {
    position: absolute;
    bottom: 0;
    width: 100%;
    text-align: center;
    color: #fff;
    background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
    font-size: 1rem;
    padding: 10px;
    font-family: 'Courier New', Courier, monospace;
    pointer-events: none;
}

/* 🔍 Lightbox */
.lightbox {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
    transition: opacity 0.5s ease;
}

.lightbox.hidden {
    opacity: 0;
    pointer-events: none;
}

.lightbox-img {
    max-width: 90%;
    max-height: 80vh;
    border: 6px solid #fff;
    border-radius: 20px;
    box-shadow: 0 0 30px rgba(255,255,255,0.7);
    animation: zoomIn 0.5s ease;
}

.lightbox-caption {
    color: #fff;
    margin-top: 20px;
    font-size: 1.5rem;
    text-align: center;
}

.close-btn {
    position: absolute;
    top: 40px;
    right: 50px;
    color: #e63946;
    font-size: 4rem;
    cursor: pointer;
    transition: transform 0.3s;
}

.close-btn:hover {
    transform: scale(1.3);
}

/* ✨ Animationen */
@keyframes loadAnimation {
    from { transform: scale(0) rotate(0deg); }
    to { transform: rotate(var(--rotation)) translate(var(--translateX), var(--translateY)); }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.4); }
    100% { transform: scale(1); }
}

.hotspot {
    position: absolute;
}

