/* ============================================
   Project Modal Styles
   Full-width glass-panel design
   ============================================ */

/* Glass panel card */
.glass-panel {
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.04);
}

/* Custom scrollbar */
.liquid-scrollbar::-webkit-scrollbar {
    width: 6px;
}
.liquid-scrollbar::-webkit-scrollbar-track {
    background: transparent;
}
.liquid-scrollbar::-webkit-scrollbar-thumb {
    background: #0071e3;
    border-radius: 10px;
}

/* Hover lift animation */
.hover-lift {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.hover-lift:hover {
    transform: translateY(-4px) scale(1.01);
}

/* Fade-in animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}
.animate-fade-in {
    animation: fadeIn 0.5s ease-out forwards;
}

/* Modal overlay backdrop */
.modal-backdrop {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
}

/* Modal content wrapper */
.modal-content {
    background: radial-gradient(circle at top right, #f4f3f8, #faf8fe);
}

/* Image lightbox */
.lightbox-img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 12px;
}
@keyframes lightboxIn {
    from { opacity: 0; transform: scale(0.92); }
    to   { opacity: 1; transform: scale(1); }
}
.lightbox-animate {
    animation: lightboxIn 0.25s ease-out forwards;
}

/* Prevent body scroll when modal is open */
body.modal-open {
    overflow: hidden;
}