* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, sans-serif;
    background-color: #f8f9fa;
    color: #1a1a1a;
}

.profile-img {
    max-width: 320px;
    width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 20px 35px -12px rgba(0,0,0,0.2);
}

/* Gallery & AtWork shared card styles */
.gallery-item, .atwork-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    cursor: pointer;
}

.gallery-item:hover, .atwork-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -12px rgba(0,0,0,0.15);
}

.gallery-item img, .atwork-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.gallery-item:hover img, .atwork-card:hover img {
    transform: scale(1.02);
}

/* Rxblsociety-style overlay */
.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(4px);
    padding: 1rem;
    transform: translateY(100%);
    transition: transform 0.25s ease;
    display: flex;
    gap: 0.75rem;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.price {
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    margin: 0;
}

.select-size {
    background: transparent;
    border: 1px solid white;
    color: white;
    padding: 0.3rem 0.75rem;
    border-radius: 30px;
    font-size: 0.8rem;
    cursor: pointer;
}

.add-to-cart {
    background: white;
    border: none;
    color: black;
    padding: 0.3rem 1rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.8rem;
    transition: all 0.2s;
}

.add-to-cart:hover {
    background: #ddd;
    transform: scale(0.97);
}

/* AtWork card text */
.atwork-info {
    padding: 1rem;
    text-align: center;
    border-top: 1px solid #eee;
}

.atwork-info h3 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.atwork-info p {
    font-size: 0.85rem;
    color: #6c757d;
    margin: 0;
}

/* Lightbox modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.95);
    cursor: pointer;
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 85vh;
    border-radius: 8px;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.modal-close:hover {
    color: #ccc;
}

/* Responsive */
@media (max-width: 768px) {
    .profile-img {
        max-width: 240px;
    }
    .gallery-item img, .atwork-card img {
        height: 220px;
    }
    .gallery-overlay {
        transform: translateY(0);
        position: relative;
        background: #111;
    }
}













/* Gallery responsive cards */
.gallery-card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.12);
}

.gallery-card img {
    height: 220px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-card:hover img {
    transform: scale(1.02);
}

.card-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

/* Profile image constraint */
.profile-img {
    max-width: 320px;
    width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 20px 35px -12px rgba(0,0,0,0.2);
}

/* Lightbox modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.95);
    cursor: pointer;
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 85vh;
    border-radius: 8px;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.modal-close:hover {
    color: #ccc;
}

@media (max-width: 768px) {
    .profile-img {
        max-width: 240px;
    }
    .gallery-card img {
        height: 180px;
    }
}

