/* archives-atrium.css - Styles spécifiques pour la page des archives ATRIUM */

/* Section Header des Archives */
.archives-header-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 120px 0 80px;
    margin-top: 70px;
    position: relative;
}

.archives-header-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000" opacity="0.05"><polygon fill="%23FFFFFF" points="1000,1000 0,1000 0,0 1000,0"/></svg>');
    pointer-events: none;
}

.archives-header-section .section-title {
    color: var(--white);
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0px 0px 2px rgb(0, 0, 0);
}

.archives-header-section .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.3rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Section Archives Complètes */
.archives-full-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    min-height: 100vh;
}

.archives-full-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000" opacity="0.02"><polygon fill="%23A7001E" points="1000,1000 0,1000 0,0 1000,0"/></svg>');
    pointer-events: none;
}

.archives-full-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

/* Cartes d'archive ATRIUM */
.archive-full-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: var(--transition-smooth);
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 2rem;
    align-items: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.archive-full-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, #8a0019 100%);
    transition: var(--transition-smooth);
}

.archive-full-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(167, 0, 30, 0.15);
}

.archive-full-card:hover::before {
    width: 6px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
}

.archive-full-preview {
    width: 100px;
    height: 130px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2.5rem;
    transition: var(--transition-smooth);
    flex-shrink: 0;
    box-shadow: 0 5px 20px rgba(167, 0, 30, 0.2);
}

.archive-full-card:hover .archive-full-preview {
    transform: scale(1.05);
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    box-shadow: 0 10px 30px rgba(167, 0, 30, 0.3);
}

.archive-full-content {
    flex: 1;
    min-width: 0;
}

.archive-full-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}

.archive-full-date {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0;
}

.archive-full-badge {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 0.5rem 1.25rem;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(167, 0, 30, 0.2);
}

.archive-full-title {
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--black);
    margin: 0 0 1rem 0;
    word-wrap: break-word;
    font-family: 'Georgia', serif;
}

.archive-full-description {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--gray-dark);
    margin: 0;
    font-style: italic;
    opacity: 0.9;
}

.archive-full-actions {
    flex-shrink: 0;
}

/* Boutons spécifiques aux archives ATRIUM */
.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.75rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition-smooth);
    box-shadow: 0 8px 25px rgba(167, 0, 30, 0.2);
    border: none;
    cursor: pointer;
    white-space: nowrap;
    font-size: 1rem;
}

.btn-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(167, 0, 30, 0.3);
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
}

.archives-back {
    text-align: center;
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 2.5rem;
    background: transparent;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition-smooth);
    border: 2px solid var(--primary);
    font-size: 1.1rem;
}

.btn-back:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateX(-5px);
    box-shadow: 0 10px 30px rgba(167, 0, 30, 0.2);
}

/* Animations spécifiques aux archives ATRIUM */
.archive-full-card {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out forwards;
}

.archive-full-card:nth-child(1) { animation-delay: 0.1s; }
.archive-full-card:nth-child(2) { animation-delay: 0.2s; }
.archive-full-card:nth-child(3) { animation-delay: 0.3s; }
.archive-full-card:nth-child(4) { animation-delay: 0.4s; }
.archive-full-card:nth-child(5) { animation-delay: 0.5s; }
.archive-full-card:nth-child(6) { animation-delay: 0.6s; }
.archive-full-card:nth-child(7) { animation-delay: 0.7s; }
.archive-full-card:nth-child(8) { animation-delay: 0.8s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design pour Archives ATRIUM */
@media (max-width: 1024px) {
    .archive-full-card {
        padding: 2rem;
        gap: 1.5rem;
    }
    
    .archive-full-header {
        gap: 1rem;
    }
    
    .archive-full-preview {
        width: 90px;
        height: 120px;
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .archives-header-section {
        padding: 100px 0 60px;
        margin-top: 60px;
    }
    
    .archives-header-section .section-title {
        font-size: 2.5rem;
    }
    
    .archives-header-section .section-subtitle {
        font-size: 1.1rem;
    }
    
    .archive-full-card {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
        padding: 2rem;
    }

    .archive-full-header {
        justify-content: center;
    }

    .archive-full-content {
        text-align: center;
    }
    
    .archive-full-preview {
        margin: 0 auto;
        width: 80px;
        height: 110px;
        font-size: 2rem;
    }
    
    .archive-full-title {
        font-size: 1.3rem;
    }
    
    .archive-full-description {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .archives-header-section {
        padding: 80px 0 40px;
    }
    
    .archives-header-section .section-title {
        font-size: 2rem;
    }
    
    .archive-full-card {
        padding: 1.5rem;
    }

    .archive-full-date {
        font-size: 1.3rem;
    }

    .archive-full-title {
        font-size: 1.2rem;
    }
    
    .archive-full-description {
        font-size: 0.95rem;
    }

    .archive-full-preview {
        width: 70px;
        height: 95px;
        font-size: 1.8rem;
    }
    
    .archive-full-header {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .btn-download {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
        width: 100%;
        justify-content: center;
    }
    
    .btn-back {
        padding: 1rem 2rem;
        font-size: 1rem;
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

/* Amélioration de l'accessibilité */
.archive-full-card:focus-within {
    outline: 2px solid var(--primary-light);
    outline-offset: 2px;
}

.btn-download:focus,
.btn-back:focus {
    outline: 2px solid var(--primary-light);
    outline-offset: 2px;
}

/* État actif pour les boutons */
.btn-download:active,
.btn-back:active {
    transform: translateY(0);
}

/* Style pour les longs titres */
.archive-full-title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Séparation visuelle entre les cartes */
.archive-full-card:not(:last-child) {
    border-bottom: 1px solid var(--gray-light);
    margin-bottom: 10px;
}

/* Effet spécial pour les éditions importantes (25ème, 20ème) */
.archive-full-card[class*="anniversary"] .archive-full-preview {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: var(--primary-dark);
}

.archive-full-card[class*="anniversary"] .archive-full-badge {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: var(--primary-dark);
}

/* Style pour les trois éditions principales demandées */
#atrium-2024,
#atrium-2023,
#atrium-2022 {
    border-left: 6px solid var(--primary);
}

#atrium-2024 .archive-full-preview {
    background: linear-gradient(135deg, #a7001e 0%, #8a0019 100%);
}

#atrium-2023 .archive-full-preview {
    background: linear-gradient(135deg, #c62828 0%, #b71c1c 100%);
}

#atrium-2022 .archive-full-preview {
    background: linear-gradient(135deg, #d32f2f 0%, #c2185b 100%);
}