@charset "UTF-8";
/* CSS Document */
/* CSS pour la Timeline d'Euan Morton */
/* À sauvegarder sous : timeline-styles.css */

/* Container principal de la timeline */
.timeline-content p {
    margin-bottom: 12px;
    padding: 6px 0;
}

/* Ligne discrète sous chaque événement (sauf les titres d'années) */
.timeline-content p:not(:last-child):not([style*="font-weight"]) {
    border-bottom: 1px solid #f5f5f5;
    padding-bottom: 10px;
}

/* Style pour les dates des événements */
.event-date {
    font-weight: bold;
    color: #2c3e50;
    background: rgba(44, 62, 80, 0.08);
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 0.95em;
}

/* STYLE POUR LES ANNÉES - H2.YEAR-HEADING */
h2.year-heading {
    font-family: 'Roboto', Arial, sans-serif !important;
    font-size: 1.5rem !important;
    font-weight: bold !important;
    color: #8e86bb !important;
    text-align: center !important;
    margin: 40px 0 30px !important;
    padding: 10px 0 !important;
    border-bottom: 2px solid !important;
    border-image: linear-gradient(to right, #e8e4f3, #cfc9e2, #b5aed0) 1 !important;
}

.audiobook-compact {
    margin: 15px 0;
    padding: 10px 15px;
    background-color: #f8f9fa;
    border-left: 3px solid #4A618B;
    border-radius: 3px;
}

.audiobook-header {
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}
.audiobook-header strong {
    color: 
#8e86bb;
}
.audiobook-list {
    margin: 0;
    padding-left: 20px;
}

.audiobook-list li {
    margin-bottom: 3px;
}
/* Responsive - Mobile */
@media (max-width: 768px) {
    .timeline-content p {
        margin-bottom: 15px;
        padding: 8px 0;
        line-height: 1.5;
    }
    
    .event-date {
        display: inline-block;
        margin-bottom: 3px;
        font-size: 1.05em;
    }
    
    h2.year-heading {
        font-size: 1.3rem !important;
        margin: 30px 0 25px !important;
    }
}

/* Responsive - Petits mobiles */
@media (max-width: 480px) {
    .timeline-content p {
        margin-bottom: 18px;
        padding: 10px 0;
    }
    
    .event-date {
        font-size: 1.1em;
    }
    
    h2.year-heading {
        font-size: 1.2rem !important;
        margin: 25px 0 20px !important;
    }
}

/* ===== AJOUT : STYLES POUR LES SECTIONS PAR DÉCENNIE ===== */

 .decade-section {
            margin: 50px 0;
            position: relative;
        }

        .decade-header {
            display: flex;
            align-items: center;
            gap: 30px;
            margin-bottom: 30px;
            padding: 20px;
            background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
            border-radius: 10px;
            border-left: 5px solid #4A618B;
        }

        .decade-image {
            flex-shrink: 0;
            width: 150px;
            height: 150px;
            border-radius: 50%;
            object-fit: cover;
            border: 4px solid #4A618B;
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
            transition: transform 0.3s ease;
        }

        .decade-image:hover {
            transform: scale(1.05);
        }

        .decade-info {
            flex: 1;
        }

        .decade-title {
            font-family: 'Roboto', Arial, sans-serif;
            font-size: 2.2rem;
            font-weight: bold;
            color: #2c3e50;
            margin-bottom: 10px;
        }

        .decade-subtitle {
            font-size: 1.1rem;
            color: #6c757d;
            font-style: italic;
            line-height: 1.4;
        }

/* Placeholders pour les images - à supprimer quand vous aurez les vraies images */
.placeholder-1990s {
    background: linear-gradient(45deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.6rem;
    text-align: center;
}

.placeholder-2000s {
    background: linear-gradient(45deg, #f093fb 0%, #f5576c 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.9rem;
    text-align: center;
}

.placeholder-2010s {
    background: linear-gradient(45deg, #4facfe 0%, #00f2fe 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.9rem;
    text-align: center;
}

.placeholder-hamilton {
    background: linear-gradient(45deg, #a8e6cf 0%, #7fcdcd 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.6rem;
    text-align: center;
}

/* Responsive pour les sections décennies */
@media (max-width: 768px) {
    .decade-header {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .decade-image {
        width: 120px;
        height: 120px;
    }

    .decade-title {
        font-size: 1.8rem;
    }

    .decade-subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .decade-image {
        width: 100px;
        height: 100px;
    }

    .decade-title {
        font-size: 1.5rem;
    }

    .decade-subtitle {
        font-size: 0.9rem;
    }
}

/* ===================================================================== */
/* CSS POUR TOUTES LES PHOTOS DE LA TIMELINE - À AJOUTER               */
/* ===================================================================== */

/* Photo normale (200px) - Usage standard */
.timeline-photo {
    max-width: 200px;
    height: auto;
    display: block;
    margin: 15px auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: 2px solid #e9ecef;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-photo:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

/* Photo petite (150px) - Pour événements secondaires */
.timeline-photo-small {
    max-width: 150px;
    height: auto;
    display: block;
    margin: 10px auto;
    border-radius: 6px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
    border: 2px solid #e9ecef;
    transition: transform 0.3s ease;
}

.timeline-photo-small:hover {
    transform: scale(1.08);
}

/* Photo grande (300px) - Pour événements majeurs */
.timeline-photo-large {
    max-width: 400px;
    height: auto;
    display: block;
    margin: 20px auto;
    border-radius: 10px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.18);
    border: 2px solid #e9ecef;
    transition: transform 0.3s ease;
}

.timeline-photo-large:hover {
    transform: scale(1.03);
}

/* Légendes de photos */
.photo-caption {
    font-size: 0.9rem;
    color: #6c757d;
    text-align: center;
    font-style: italic;
    margin-top: 8px;
    margin-bottom: 15px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.4;
}

/* Responsive - Tablettes */
@media (max-width: 768px) {
    .timeline-photo {
        max-width: 180px;
        margin: 12px auto;
    }
    
    .timeline-photo-small {
        max-width: 130px;
        margin: 8px auto;
    }
    
    .timeline-photo-large {
        max-width: 320px;
        margin: 15px auto;
    }
    
    .photo-caption {
        font-size: 0.85rem;
        max-width: 350px;
    }
}

/* Responsive - Petits mobiles */
@media (max-width: 480px) {
    .timeline-photo {
        max-width: 160px;
        margin: 10px auto;
        border-radius: 6px;
    }
    
    .timeline-photo-small {
        max-width: 120px;
        margin: 8px auto;
    }
    
    .timeline-photo-large {
        max-width: 280px;
        margin: 12px auto;
        border-radius: 8px;
    }
    
    .photo-caption {
        font-size: 0.8rem;
        max-width: 300px;
        margin-top: 6px;
    }
    
    /* Supprime l'effet hover sur mobile */
    .timeline-photo:hover,
    .timeline-photo-small:hover,
    .timeline-photo-large:hover {
        transform: none;
    }
}