:root {
    --primary: #2563eb;
    --bg-light: #f8fafc;
    --text-main: #1e293b;
    --radius: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}


.section-title {
    font-weight: 800;
    font-size: 1.5rem;
    border-left: 5px solid var(--primary);
    padding-left: 15px;
    margin-top: 40px;
}

/* Card Design */
.album-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    height: 100%;
}

.album-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.img-wrapper {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.album-card:hover img {
    scale: 1.1;
}

.overlay {
    position: absolute;
    inset: 0;
    background: rgba(37, 99, 235, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.overlay span {
    color: white;
    font-weight: 600;
    border: 2px solid white;
    padding: 8px 16px;
    border-radius: 50px;
}

.album-card:hover .overlay {
    opacity: 1;
}

.card-info {
    padding: 15px;
}

.card-info h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
}

.card-info p {
    font-size: 0.85rem;
    color: #64748b;
    margin: 0;
}

/* Custom Modal */
.custom-modal {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.custom-modal.active {
    display: block;
    opacity: 1;
}

.modal-inner {
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 20px;
}

.modal-header-custom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    padding-bottom: 20px;
}

.btn-close-white {
    background: none;
    border: none;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
}

.modal-body-custom {
    flex-grow: 1;
    overflow-y: auto;
}

/* Masonry Grid inside Modal */
.gallery-masonry {
    column-count: 4;
    column-gap: 15px;
}

.gallery-masonry img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 15px;
    transition: var(--transition);
}

@media (max-width: 992px) {
    .gallery-masonry {
        column-count: 3;
    }
}

@media (max-width: 768px) {
    .gallery-masonry {
        column-count: 2;
    }
}