/* Momenza-Inspired Album Modal Styles */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Lato:wght@300;400;700&display=swap');

#albumModal .modal-content {
    background-color: #fff;
    border: none;
}

/* Close Button */
#albumModal .btn-close-white {
    transition: transform 0.3s ease, background-color 0.3s ease;
    filter: invert(1) grayscale(100%) brightness(200%);
}

#albumModal .btn-close-white:hover {
    transform: rotate(90deg);
    background-color: rgba(255, 255, 255, 0.1);
}

/* Hero Section */
#albumHero {
    position: relative;
    overflow: hidden;
}

#albumModalLabel {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

#albumSubtitle {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 400;
    letter-spacing: 0.5px;
    margin-top: 10px;
}

/* Description Section */
#albumDescriptionTitle {
    font-family: 'Playfair Display', serif;
    color: #1a1a1a;
    position: relative;
    padding-bottom: 25px;
    margin-bottom: 25px;
}

#albumDescriptionTitle::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #d4af37;
    /* Gold accent */
}

#albumDescriptionText {
    font-family: 'Lato', sans-serif;
    color: #555;
    font-weight: 300;
    font-size: 1.15rem;
    max-width: 800px;
    margin: 0 auto;
}

/* Gallery Grid */
.gallery-item-hover {
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
}

.gallery-item-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15) !important;
    z-index: 2;
}

.gallery-item-hover img {
    transition: transform 0.6s ease;
}

.gallery-item-hover:hover img {
    transform: scale(1.05);
}

/* Featured Album Card (Main Page) */
.featured-album-cover {
    position: relative;
    height: 500px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

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

.featured-album-cover:hover img {
    transform: scale(1.05);
}

.featured-album-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.4) 60%, transparent);
    color: white;
    text-align: center;
    transition: all 0.4s ease;
}

.featured-album-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.featured-album-subtitle {
    font-family: 'Lato', sans-serif;
    font-weight: 300;
    font-size: 1.1rem;
    margin-bottom: 25px;
    opacity: 0.9;
}

.featured-album-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 35px;
    background: rgba(212, 175, 55, 0.9);
    /* Gold */
    color: #fff;
    border-radius: 30px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.featured-album-cta:hover {
    background: rgba(212, 175, 55, 1);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    #albumModalLabel {
        font-size: 2rem;
    }

    #albumSubtitle {
        font-size: 1rem;
    }

    #albumDescriptionTitle {
        font-size: 1.8rem;
    }

    #albumDescriptionText {
        font-size: 1rem;
    }

    .featured-album-cover {
        height: 400px;
    }

    .featured-album-title {
        font-size: 2rem;
    }

    .featured-album-subtitle {
        font-size: 1.1rem;
    }

    .featured-album-overlay {
        padding: 30px 20px;
    }
}

/* ===== ALBUM MODAL STYLES (Momenza-style) ===== */

/* Album Hero Cover */
.album-hero-cover {
    position: relative;
    overflow: hidden;
    background: #000;
}

.album-hero-cover img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    animation: zoomInSlow 1s ease-out;
}

@keyframes zoomInSlow {
    from {
        transform: scale(1.2);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.album-hero-overlay {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.7));
    z-index: 1;
}

.album-hero-overlay h1 {
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 0.8s ease-out;
}

.album-hero-overlay p {
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out 0.2s both;
}

/* Album Description Section */
.album-description-section {
    background: #fff;
}

.album-description-section h2 {
    color: #212529;
    font-weight: 700;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.album-description-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #6c757d;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

/* Album Gallery Items */
.album-gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.album-gallery-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3) !important;
}

.album-gallery-item img {
    transition: transform 0.6s ease;
}

.album-gallery-item:hover img {
    transform: scale(1.15);
}

.album-gallery-overlay {
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.album-gallery-item:hover .album-gallery-overlay {
    opacity: 1;
}

.album-gallery-overlay i {
    transform: scale(0.5);
    transition: transform 0.3s ease;
}

.album-gallery-item:hover .album-gallery-overlay i {
    transform: scale(1);
}

/* Modal Fullscreen Adjustments */
.modal-fullscreen .modal-content {
    border-radius: 0;
}

.modal-fullscreen .modal-body {
    overflow-y: auto;
    max-height: calc(100vh - 500px);
}

/* Close Button Enhancement */
.album-hero-cover .btn-close {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.album-hero-cover .btn-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg) scale(1.1);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .album-hero-cover img {
        height: 300px;
    }

    .album-hero-overlay h1 {
        font-size: 2.5rem;
    }

    .album-hero-overlay p {
        font-size: 1.1rem;
    }

    .album-description-section h2 {
        font-size: 2rem;
    }

    .album-description-section p {
        font-size: 1rem;
    }

    .album-gallery-item {
        height: 200px !important;
    }

    .modal-fullscreen .modal-body {
        max-height: calc(100vh - 400px);
    }
}

/* Scroll Animation for Gallery Items */
.album-gallery-item {
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
}

.album-gallery-item:nth-child(1) {
    animation-delay: 0.1s;
}

.album-gallery-item:nth-child(2) {
    animation-delay: 0.2s;
}

.album-gallery-item:nth-child(3) {
    animation-delay: 0.3s;
}

.album-gallery-item:nth-child(4) {
    animation-delay: 0.4s;
}

.album-gallery-item:nth-child(5) {
    animation-delay: 0.5s;
}

.album-gallery-item:nth-child(6) {
    animation-delay: 0.6s;
}

.album-gallery-item:nth-child(7) {
    animation-delay: 0.7s;
}

.album-gallery-item:nth-child(8) {
    animation-delay: 0.8s;
}

.album-gallery-item:nth-child(n+9) {
    animation-delay: 0.9s;
}