.image-gallery-parallax-bg {
  background-position: center;
  background-image: url('../images/image_gallery_header_back.jpg');  
}

.albums-header-col {
    text-align: center;
    margin-bottom: 50px;
}

.albums-header-col h2 {
    color: var(border-top-right-radius);
    font-size: 42px;
    font-weight: bold;
    margin-bottom: 0px !important;
}

.albums-header-col h2 span {
    color: var(--accent);
}

.album-card {
    text-decoration: none;
    display: block;
}

.album-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
}

.album-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

/* Ribbon */
.album-ribbon {
    position: absolute;
    top: 82%;
    left: 0;
    width: 70%;
    transform: translateY(-50%);
    background: var(--primary);
    color: var(--white);
    text-align: center;
    padding: 9px 0;
    font-weight: 600;
    letter-spacing: 0.6px;
    z-index: 2;
    transition: opacity 0.35s ease;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    font-size: 14px;
}

/* Overlay */
.album-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background 0.35s ease;
}

/* Plus Icon */
.album-overlay i {
    font-size: 42px;
    color: #fff;
    transform: scale(0) rotate(0deg);
    transition: transform 0.4s ease;
    font-weight: 300;
}

.album-image:hover .album-overlay i {
    transform: scale(1.35) rotate(90deg);
}

/* Hover Effects */
.album-image:hover img {
    transform: scale(1.12);
}

.album-image:hover .album-overlay {
    background: rgba(0, 0, 0, 0.7);
}

.album-image:hover .plus-circle {
    box-shadow: 0 0 18px rgba(255, 255, 255, 0.7);
}

/* image gallery css */
.container-fluid {
    max-width: 100%;
    overflow-x: hidden;
}

.gallery-grid {
    width: 100%;
    position: relative;
    padding: 0;
    margin: 0 auto;
}

.grid-sizer {
    width: calc(25% - 15px); /* 4 columns */
}

@media (max-width: 1200px) { .grid-sizer { width: calc(33.33% - 15px); } }
@media (max-width: 768px)  { .grid-sizer { width: calc(50% - 10px); } }
@media (max-width: 576px)  { .grid-sizer { width: 100%; } }

/* Gallery Cards */
.gallery-card {
    margin-bottom: 20px;
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    width: calc(25% - 15px);
}

.gallery-card img {
    width: 100%;
    display: block;
    transition: transform 0.4s ease;
}

/* Overlay */
.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.gallery-overlay i {
    font-size: 42px;
    color: var(--white);
    transform: scale(0.7) rotate(0deg);
    transition: transform 0.4s ease;
    font-weight: 300;
}

/* Hover Effects */
.gallery-card:hover img { transform: scale(1.08); }
.gallery-card:hover .gallery-overlay { opacity: 1; }
.gallery-card:hover .gallery-overlay i { transform: rotate(90deg) scale(1.4); }

/* Modal navigation buttons */
.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.6); /* opacity 0.6 */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s ease, transform 0.3s ease;
}

.nav-btn i {
    color: var(--white);
    font-size: 22px;
}

.prev-btn {
    left: 30px;
}

.next-btn {
    right: 30px;
}

.nav-btn:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.08);
}

@media (max-width: 576px) {
    .nav-btn {
        width: 44px;
        height: 44px;
    }

    .nav-btn i {
        font-size: 18px;
    }

    .prev-btn {
        left: 12px;
    }

    .next-btn {
        right: 12px;
    }
}