/* --- FOND + FUMÉE --- */
body {
    background: url('../images/jamaica_flag.png') ;
    background-color: #1e7f1e; /* Vert Jamaïque foncé */
    font-family: Arial, sans-serif;
    color: #222;
    margin: 0;
    padding: 0;
    
}

/* --- TITRES --- */
h1 {
    width: 700px;
    margin: 20px auto;
    background: #ffd700; /* Jaune rasta */
    color: #e60000; /* Rouge vif */
    font-family: 'Rock Salt', cursive;
    font-size: 38px;
    text-align: center;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 0 8px rgba(255, 0, 0, 0.4);
    animation: reggae-bounce 1.5s infinite alternate;
}

h2 {
    width: 700px;
    margin: 10px auto;
    font-family: 'Rock Salt', cursive;
    font-size: 22px;
    text-align: center;
    background-color: #43a047;
    color: #ffd700;
    padding: 10px;
    border-radius: 5px;
    border: 2px solid #e60000;
    box-shadow: 0 0 5px rgba(255, 215, 0, 0.4);
}

h3, h4 {
    color: #e60000;
    font-family: 'Rock Salt', cursive;
}

/* --- PARAGRAPHES --- */
p {
    color: #1b1b1b;
    line-height: 1.6;
}

/* --- IMAGE --- */
.portrait {
    display: block;
    margin: 20px auto;
    border: 4px solid #ffd700;
    box-shadow: 0 0 8px rgba(255, 0, 0, 0.3);
    border-radius: 6px;
    animation: float 3s ease-in-out infinite;
}

/* --- CARTE PRINCIPALE --- */
.cadrage {
    margin: 0 auto;
    max-width: 800px;
    padding: 20px;
    background: #a5d6a7; /* Vert clair */
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(67, 160, 71, 0.4);
    position: relative;
    z-index: 1;
}

/* --- CONTRIBUTION --- */
.contributions {
    margin-top: 30px;
    padding: 20px;
    background: #81c784;
    border-left: 5px solid #e60000;
}

.contributions ul {
    list-style: disc;
    padding-left: 20px;
}

.contributions ul li {
    color: #1b1b1b;
    margin-bottom: 8px;
}

/* --- CITATION --- */
.citation {
    text-align: center;
    font-style: italic;
    color: #e60000;
    margin: 20px auto;
    padding: 10px;
    background: #ffd700;
    border-left: 4px solid #43a047;
    animation: fadeIn 2s ease forwards;
    opacity: 0;
}

/* --- AUDIO --- */
.audio {
    text-align: center;
    margin: 20px 0;
}
audio {
    border: 2px solid #e60000;
    background: #fefefe;
}

/* --- BOUTON --- */
.btn-container {
    text-align: center;
    margin: 25px 0;
}

.btn {
    background: #ffd700;
    color: #e60000;
    padding: 10px 20px;
    border: 2px solid #43a047;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 4px;
}
.btn:hover {
    background: #e60000;
    color: #fff;
    border-color: #ffd700;
    transform: scale(1.1) rotate(-2deg);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.6);
}

/* --- DRAPEAUX --- */
.flags {
    text-align: center;
    margin: 20px 0;
}
.flags img {
    margin: 0 5px;
    opacity: 0.9;
}

/* --- TIMELINE --- */
.timeline {
    position: relative;
    max-width: 700px;
    margin: 40px auto;
    padding-left: 20px;
    border-left: 4px solid #ffd700;
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
    padding-left: 20px;
    opacity: 0;
    transform: translateX(-20px);
    animation: slideIn 0.8s forwards;
}

.timeline-item:nth-child(1) { animation-delay: 0.3s; }
.timeline-item:nth-child(2) { animation-delay: 0.6s; }
.timeline-item:nth-child(3) { animation-delay: 0.9s; }
.timeline-item:nth-child(4) { animation-delay: 1.2s; }
.timeline-item:nth-child(5) { animation-delay: 1.5s; }

.timeline-dot {
    position: absolute;
    top: 0;
    left: -10px;
    width: 16px;
    height: 16px;
    background: #e60000;
    border-radius: 50%;
    border: 2px solid #ffd700;
    animation: pulse 2s infinite ease-in-out;
}

.timeline-content {
    background: #c5e1a5;
    padding: 12px;
    border-left: 3px solid #43a047;
    color: #1b1b1b;
    border-radius: 4px;
    box-shadow: 0 0 5px rgba(67, 160, 71, 0.2);
}
/* --- GALERIE ALBUMS --- */
.gallery {
    text-align: center;
    margin: 40px 0;
}
.gallery h3 {
    color: #e60000;
    font-family: 'Rock Salt', cursive;
    margin-bottom: 20px;
}

.albums {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.albums img {
    border: 3px solid #ffd700;
    border-radius: 5px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 120px;
    height: 120px;
    object-fit: cover;
}

.albums img:hover {
    transform: scale(1.1) rotate(-2deg);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}


/* --- ANIMATIONS --- */
@keyframes smoke {
    0% { transform: translateY(0) translateX(0) scale(1);}
    50% { transform: translateY(-20px) translateX(10px) scale(1.05);}
    100% { transform: translateY(0) translateX(0) scale(1);}
}

@keyframes reggae-bounce {
    from { transform: translateY(0); }
    to { transform: translateY(-5px); }
}

@keyframes slideIn {
    to { opacity: 1; transform: translateX(0); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.7; }
}

@keyframes fadeIn {
    to { opacity: 1; }
}

@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
    100% { transform: translateY(0); }
}
