/*!
 *      __  ____  
 *     / / |___ \ 
 *    / /    __) |
 *   < <    |_ Wetter-Puls
 *    \ \   ___) |
 *     \_\ |____/ 
 *
 *  (c) 2025-2026 Daniel Frey | https://wetter-puls.de
 *  Author:  Daniel Frey <daniel@dan.jetzt>
 *  License: Proprietary & Confidential - All Rights Reserved
 */

.glassmorphic-card {
    background: rgba(46, 45, 45, 0.4) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: 1.25rem;
}

html[data-theme="light"] .glassmorphic-card {
    background: rgba(255, 255, 255, 0.5) !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
}

.media-card {
    background: rgba(46, 45, 45, 0.3) !important;
    border: 1px solid rgba(255, 255, 255, 0.03) !important;
    border-radius: 0.75rem;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

html[data-theme="light"] .media-card {
    background: rgba(255, 255, 255, 0.4) !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
}

.media-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3) !important;
}

.media-thumbnail {
    transition: transform 0.5s ease;
}

.media-card:hover .media-thumbnail {
    transform: scale(1.06);
}

.media-hover-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 70%, rgba(0,0,0,0) 100%);
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
}

.media-card:hover .media-hover-overlay {
    opacity: 1;
    transform: translateY(0);
}

.hover-grow {
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.hover-grow:hover {
    transform: scale(1.03);
}

.lightbox-modal {
    transition: opacity 0.3s ease-in-out;
}

.btn-lightbox-close {
    text-decoration: none;
    transition: transform 0.2s ease, color 0.2s ease;
}
.btn-lightbox-close:hover {
    transform: scale(1.1);
    color: var(--bs-info) !important;
}

.pointer-events-none {
    pointer-events: none;
}
.select-none {
    user-select: none;
    -webkit-user-select: none;
}

.lightbox-content-wrapper {
    animation: zoomIn 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes zoomIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}
