:root {
    --background: #141414;
    --foreground: #6b7280;
    --details:    #4dabf7;
}

/* Modal styling */
.Project-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s ease;
    overflow-y: auto;
}

.Project-modal.active {
    display: block;
}

.Modal-content {
    background-color: #1a1a1a;
    margin: 50px auto;
    padding: 40px;
    border: 1px solid #374151;
    border-radius: 8px;
    width: 90%;
    max-width: 900px;
    position: relative;
    animation: slideIn 0.4s ease;
}

.Close-modal {
    color: #aaa;
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s ease;
}

.Close-modal:hover,
.Close-modal:focus {
    color: var(--detail);
}

.Modal-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}

.Modal-details {
    margin-top: 30px;
    line-height: 1.8;
}

.Modal-details h2 {
    color: var(--detail);
    margin-top: 30px;
    margin-bottom: 15px;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Make card clickable */
.Cards {
    cursor: pointer;
    transition: all 0.2s ease;
}

.Cards:hover {
    transform: translateY(-10px);
}