
/* Gallery Section */
#gallery-work {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 2rem;
}

.gallery-item {
    background-color: var(--card-bg);
    border-radius: 4px;
    box-shadow: 0 10px 30px -15px rgba(2, 12, 27, 0.7);
    transition: all 0.25s cubic-bezier(0.645, 0.045, 0.355, 1);
    overflow: hidden;
    cursor: pointer;
    width: 300px;
}

.gallery-item:hover {
    transform: translateY(-7px);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.gallery-item-content {
    padding: 1.5rem;
}

.gallery-item-content h3 {
    color: #e6f1ff;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.gallery-item-content p {
    font-size: 0.9rem;
    color: var(--text-color);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
    margin: 5% auto;
    display: block;
    width: 80%;
    max-width: 700px;
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}
