/* Project Modal Styles */
#project-modal {
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(20px);
}

#project-modal.active {
    display: flex !important;
    opacity: 1 !important;
}

#project-modal.active .modal-content {
    animation: zoomIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal-backdrop {
    animation: fadeIn 0.4s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Light Theme Support */
.light #project-modal .modal-content {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.light .project-placeholder-text {
    color: #e2e8f0;
}

.light .project-description {
    color: #475569;
}

.light .project-modal-close {
    background: rgba(0, 0, 0, 0.05);
}

.light .project-modal-close svg {
    color: #1e293b;
}