/* Album Gallery Specific Styles */

.gallery-container {
    margin: 40px 5vw 80px;
}

/* Album Grid */
.album-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 40px;
}

.album-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: all 0.4s ease;
    height: 280px;
}

.album-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.album-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.album-card:hover .album-cover {
    transform: scale(1.08);
}

/* Gradient Overlay */
.album-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(23, 32, 108, 0.9) 0%, rgba(23, 32, 108, 0.4) 40%, transparent 100%);
    pointer-events: none;
}

.album-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 60px;
    color: var(--white);
    transform: translateY(10px);
    transition: transform 0.4s ease;
}

.album-card:hover .album-info {
    transform: translateY(0);
}

.album-info h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.2;
}

.album-info p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Slideshow Modal */
.slideshow-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 9999;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.slideshow-content {
    position: relative;
    width: 85%;
    height: 75vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

#slideshow-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    transition: opacity 0.2s ease;
}

/* Navigation Buttons */
.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.nav-btn:hover {
    background: var(--accent-color);
    transform: translateY(-50%) scale(1.1);
}

.prev-btn {
    left: 40px;
}

.next-btn {
    right: 40px;
}

.close-slideshow {
    position: absolute;
    top: 30px;
    right: 40px;
    color: white;
    font-size: 40px;
    font-weight: 300;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 10;
}

.close-slideshow:hover {
    color: var(--accent-color);
}

.slideshow-footer {
    position: absolute;
    bottom: 30px;
    left: 0;
    width: 100%;
    text-align: center;
    color: white;
}

#slideshow-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 5px;
    letter-spacing: 1px;
}

#slideshow-counter {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive */
@media (max-width: 768px) {
    .gallery-container {
        margin: 40px 5vw 60px;
    }
    .album-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 25px;
    }
    .album-card {
        height: 240px;
    }
    .album-info h3 {
        font-size: 20px;
    }
    .nav-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    .prev-btn {
        left: 10px;
    }
    .next-btn {
        right: 10px;
    }
    .slideshow-content {
        width: 95%;
        height: 60vh;
    }
    .close-slideshow {
        top: 20px;
        right: 20px;
        font-size: 30px;
    }
}

