/* Digital Storytelling - Premium Album Aesthetics */
.digital-storytelling-page {
    background-color: #f8f9fa;
}

.stories-section {
    min-height: 60vh;
}

.stories-section .container-fluid {
    max-width: 1400px;
    margin: 0 auto;
}

.stories-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}

.stories-content {
    flex: 1;
}

.stories-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(var(--primary-rgb), 0.05);
    color: var(--primary);
    font-weight: 800;
    font-size: 0.75rem;
    letter-spacing: 2px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.stories-title {
    font-family: 'IBM Plex Serif', serif;
    font-size: 3rem;
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1.1;
}

.stories-subtitle {
    font-size: 1.15rem;
    color: #555;
    line-height: 1.7;
    max-width: 500px;
    margin-bottom: 0;
    margin-top: 10px;
}

/* Gallery Folder Styles */
.gallery-folder-section .container-fluid {
    max-width: 1400px;
    margin: 0 auto;
}

.folder-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}

.folder-header-content {
    flex: 1;
}

.folder-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(var(--primary-rgb), 0.05);
    color: var(--primary);
    font-weight: 800;
    font-size: 0.75rem;
    letter-spacing: 2px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.folder-title-main {
    font-family: 'IBM Plex Serif', serif;
    font-size: 3rem;
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1.1;
}

.folder-subtitle {
    font-size: 1.15rem;
    color: #555;
    line-height: 1.7;
    max-width: 500px;
    margin-bottom: 0;
    margin-top: 10px;
}

/* Album Content Styles */
.album-content-section .container-fluid {
    max-width: 1400px;
    margin: 0 auto;
}

.album-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}

.album-header-content {
    flex: 1;
}

.album-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(var(--primary-rgb), 0.05);
    color: var(--primary);
    font-weight: 800;
    font-size: 0.75rem;
    letter-spacing: 2px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.album-title-main {
    font-family: 'IBM Plex Serif', serif;
    font-size: 3rem;
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1.1;
}

.album-header-subtitle {
    font-size: 1.15rem;
    color: #555;
    line-height: 1.7;
    max-width: 500px;
    margin-bottom: 0;
    margin-top: 10px;
}

.story-album-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 400px;
    cursor: pointer;
}

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

.story-album-card:hover .story-img {
    transform: scale(1.1);
}

.story-album-card:hover .story-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.5) 50%, transparent 100%);
    opacity: 1;
}

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

.story-album-card:hover .btn-explore-story,
.story-album-card:hover .btn-explore-album {
    opacity: 1;
    transform: translateY(0);
}

.story-card-inner {
    height: 100%;
}

.story-cover {
    position: relative;
    height: 100%;
    width: 100%;
}

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

.story-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px;
    color: #fff;
    opacity: 0.9;
    transition: all 0.4s ease;
}

.story-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--tertiary);
}

.story-title {
    font-family: 'IBM Plex Serif', serif;
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 25px;
    line-height: 1.2;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.btn-explore-story, .btn-explore-album {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #fff;
    padding: 10px 22px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none !important;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    opacity: 0;
    transform: translateY(20px);
}

.btn-explore-story:hover, .btn-explore-album:hover {
    background: #fff;
    color: #000 !important;
    border-color: #fff;
    transform: translateX(5px);
}

.btn-explore-story i, .btn-explore-album i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.btn-explore-story:hover i, .btn-explore-album:hover i {
    transform: scale(1.2);
}

/* Mobile Responsiveness */
@media (max-width: 991px) {
    .stories-header,
    .folder-header,
    .album-header {
        flex-direction: column;
        gap: 20px;
    }

    .stories-title,
    .folder-title-main,
    .album-title-main {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .stories-header,
    .folder-header,
    .album-header,
    .stories-content,
    .folder-header-content,
    .album-header-content {
        text-align: center;
        align-items: center;
    }

    .stories-title,
    .folder-title-main,
    .album-title-main {
        font-size: 2rem;
    }

    .stories-subtitle,
    .folder-subtitle,
    .album-header-subtitle {
        font-size: 1rem;
        margin-left: auto;
        margin-right: auto;
    }

    .story-album-card {
        height: 320px;
    }
    .story-overlay {
        padding: 25px;
        opacity: 1; /* Always show overlay on mobile */
    }
    .story-title {
        font-size: 1.4rem;
        transform: translateY(0);
        margin-bottom: 15px;
    }
    .btn-explore-story, .btn-explore-album {
        opacity: 1;
        transform: translateY(0);
        padding: 8px 18px;
        background: rgba(255, 255, 255, 0.2);
    }
}
