/* Premium Library Page Styling */

/* --- Page Intro --- */
.library-intro {
    text-align: center;
    max-width: 800px;
    margin: 60px auto 40px;
    padding: 0 20px;
}

.library-intro h2 {
    font-size: 2.5rem;
    color: var(--brand-secondary);
    margin-bottom: 15px;
}

.library-intro p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
}

/* --- Section 1: Administrative Archive (Simple Clean) --- */
.admin-archive-section {
    padding: 60px 0;
    background: #fff;
    border-bottom: 1px solid #eee;
}

.archive-box {
    background: #f9f9f9;
    border: 1px dashed #ccc;
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    transition: all 0.3s;
}

.archive-box:hover {
    background: #fff;
    border-color: var(--brand-primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.archive-icon {
    font-size: 3rem;
    color: var(--brand-secondary);
    margin-bottom: 20px;
}

/* --- Section 2: Media Archive (Gallery & Video) --- */
.media-section {
    padding: 80px 0;
    background: #fcfcfc;
}

.section-head {
    text-align: center;
    margin-bottom: 50px;
}

.section-head h3 {
    font-size: 2rem;
    color: var(--brand-primary);
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.section-head h3::after {
    content: '';
    display: block;
    width: 50%;
    height: 3px;
    background: var(--brand-accent);
    margin: 10px auto 0;
    border-radius: 2px;
}

/* Albums Grid */
.albums-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 60px;
}

.album-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.album-card:hover {
    transform: translateY(-5px);
}

.album-img {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.album-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    transition: background 0.3s;
}

.album-card:hover .album-overlay {
    background: rgba(0, 0, 0, 0.2);
}

.album-title {
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Video Grid */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.video-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
}

.video-thumb {
    height: 180px;
    background: #000;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-btn {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    backdrop-filter: blur(5px);
    transition: transform 0.3s, background 0.3s;
}

.video-card:hover .play-btn {
    transform: scale(1.1);
    background: var(--brand-primary);
}

.video-info {
    padding: 15px;
}

.video-info h4 {
    font-size: 1rem;
    color: #333;
    line-height: 1.5;
}

/* --- Section 3: Press Coverage --- */
.press-section {
    padding: 80px 0;
    background: #fff;
}

.press-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.press-col h4 {
    font-size: 1.5rem;
    color: #444;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 25px;
}

.press-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f5f5f5;
}

.press-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: #f0f0f0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
}

.press-content h5 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: #222;
}

.press-content p {
    /* Source/Date */
    font-size: 0.85rem;
    color: #999;
}

/* --- Section 4: Success Stories --- */
.stories-section {
    padding: 80px 0;
    background: linear-gradient(to bottom, #fdfdfd, #f4f4f4);
}

.stories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.story-card {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    border-left: 5px solid var(--brand-accent);
}

.story-card h4 {
    font-size: 1.4rem;
    color: var(--brand-primary);
    margin-bottom: 15px;
}

.story-card p {
    color: #555;
    line-height: 1.7;
}

/* --- Section 5: Legacy --- */
.legacy-section {
    padding: 80px 0;
    background: #222;
    color: #fff;
    text-align: center;
}

.legacy-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.legacy-item {
    width: 200px;
}

.legacy-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: #444;
    margin: 0 auto 20px;
    border: 3px solid var(--brand-accent);
    overflow: hidden;
}

.legacy-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: sepia(0.5) grayscale(0.5);
    /* Vintage effect */
}

.legacy-item h4 {
    font-size: 1.2rem;
    color: var(--brand-accent);
    margin-bottom: 5px;
}

.legacy-item p {
    font-size: 0.9rem;
    color: #ccc;
}

/* Responsive */
@media (max-width: 768px) {
    .stories-grid {
        grid-template-columns: 1fr;
    }

    .legacy-grid {
        gap: 20px;
    }
}