body {
    font-family: Arial, sans-serif;
    background-color: #0f0f0f;
    color: #ffffff;
}

  a {
  text-decoration: none;
  color: inherit;
}

/* Header */
header {
    text-align: center;
    padding: 2rem;
    background: #1a1a1a;
}

header h1 {
    font-size: 2.5rem;
}

header p {
    color: #aaa;
}

/* Gallery Grid */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    padding: 2rem;
}

/* Art Card */
.art-card {
    background: #1c1c1c;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.art-card:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.art-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

/* Info Section */
.art-info {
    padding: 1rem;
}

.art-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

.art-info p {
    color: #bbb;
    font-size: 0.9rem;
}

/* Footer */
footer {
    text-align: center;
    padding: 1rem;
    background: #1a1a1a;
    color: #777;
}

/* Modal Background */
/* Modal Background (fade in) */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0;
left: 0;
right: 0;
bottom: 0;
    background: rgba(0, 0, 0, 0);

    /* animation */
    transition: background 0.25s ease;
}

/* when modal is active */
.modal.show {
    display: block;
    background: rgba(0, 0, 0, 0.8);
}

/* Modal Box (zoom + fade) */
.modal-content {
    background: #1c1c1c;
    margin: 5% auto;
    padding: 1.5rem;
    border-radius: 15px;
    width: 90%;
    max-width: 600px;
    text-align: center;
    color: white;
    position: relative;

    /* start hidden */
    transform: scale(0.85);
    opacity: 0;

    transition: transform 0.25s ease, opacity 0.25s ease;
}

/* when modal is active, animate in */
.modal.show .modal-content {
    transform: scale(1);
    opacity: 1;
}/* Image */

.modal-content img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 1rem;
}

/* Close Button */
.close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    cursor: pointer;
}

/* Hover cursor */
.art-card {
    cursor: pointer;
}