/* =========================================
   Premium Artwork Cards
========================================= */

.image-card {
    position: relative;

    padding: 0;

    overflow: hidden;

    height: 380px;

    border-radius: 24px;

    cursor: pointer;

    background: #fff;

    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.06);

    transition: all 0.4s ease;
}

.image-card:hover {
    transform: translateY(-8px);

    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.12);
}

/* =========================================
   Overlay
========================================= */

.image-card::before {
    content: "";

    position: absolute;
    inset: 0;

    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.45),
        rgba(255, 255, 255, 0.08)
    );

    opacity: 0;

    transition: 0.4s ease;

    z-index: 1;
}

.image-card:hover::before {
    opacity: 1;
}

/* =========================================
   View Button
========================================= */

.image-card::after {
    content: "View Artwork";

    position: absolute;

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%) translateY(20px);

    padding: 15px 28px;

    border-radius: 60px;

    background: rgba(255, 255, 255, 0.85);

    color: #111;

    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.4px;

    backdrop-filter: blur(14px);

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.16);

    opacity: 0;

    transition: all 0.4s ease;

    z-index: 2;
}

.image-card:hover::after {
    opacity: 1;

    transform: translate(-50%, -50%) translateY(0);
}

/* =========================================
   Image
========================================= */

.image-card img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;

    transition: transform 0.6s ease;
}

.image-card:hover img {
    transform: scale(1.08);
}
