* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    height: 100%;
    font-family: Arial, sans-serif;
    color: #fff;
}

section {
    width: 100%;
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1rem;
}

/* 1ère section : image de fond alignée à gauche + logo disque à droite */
#section1 {
    background: url('images/tembo_large_low.jpg') no-repeat center left / cover;
    position: relative; /* Pour que le positionnement absolu du logo soit relatif à la section */
    padding-right: 2rem;
}

#section1 .logo {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 250px;
    height: 250px;
    border-radius: 100%;
    background: url('images/logo_250px.png') center center/cover no-repeat;
    box-shadow: 0 0 8px rgba(0,0,0,0.5);
}

#section1 .image-legend {
    position: absolute;
    bottom: 10px;
    left: 10px;
    z-index: 2; /* above the background image */
    color: rgba(255, 255, 255, 0.8);
    background-color: rgba(0, 0, 0, 0.4); /* dark background for readability */
    padding: 5px 10px;
    font-size: 0.9em;
    border-radius: 3px;
    max-width: 40%;
    font-family: sans-serif;
}

#section1 .arrow-down {
    position: absolute;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    text-decoration: none;
    cursor: pointer;
    z-index: 10;
}

#section1 .arrow-down span {
    display: block;
    width: 32px;
    height: 32px;
    border-left: 4px solid #fff;
    border-bottom: 4px solid #fff;
    transform: rotate(-45deg);
    margin-bottom: 4px;
    animation: bounce 1.5s infinite;
}

/* 2ème section : image de fond + liste centrée */
#section2 {
    background: url('images/La_carte_générale_du_monde_Duval_2.jpeg') no-repeat center center/cover;
    color: #000000;
    font-size: 1.5rem;
    font-family: 'ITC Avant Garde Gothic Bold', sans-serif;
    font-weight: 600;
    padding: 0 2rem 2rem 2rem;
    box-shadow:
    inset 0 16px 32px -16px rgba(0, 0, 0, 1),  /* Ombre interne en haut */
    inset 0 -16px 32px -16px rgba(0,0,0, 1);  /* Ombre interne en bas */
}

#section2 .texte-limite {
    width: 60%;
    margin: 0 auto; /* centre le texte dans la section */
    padding: 2rem 2rem 2rem 2rem;
    /*background-color: rgba(255, 255, 255, 0.4);  dark background for readability */
}

/* 3ème section : couleur de fond + infos contact */
#section3 {
    background-color: #99510a;
    color: #ffffff;
    font-size: 1.2rem;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

/* 4ème section : couleur de fond + citation */
#section4 {
    background-color: #b96200;
    color: #ffffff;
    font-style: italic;
    font-family:Georgia, "Times New Roman", Times, serif;
    font-size: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 3rem;
    text-align: center;
    min-height: 40vh;
    box-shadow:
    inset 0 16px 32px -16px rgba(0, 0, 0, 0.50),  /* Ombre interne en haut */
    inset 0 -16px 32px -16px rgba(0,0,0,0.50);  /* Ombre interne en bas */
}

/* 5ème section : copyright */
#section5 {
    background-color: #252525;
    color: #d6d6d6;
    font-size: 0.7rem;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 3rem;
    text-align: center;
    min-height: 40vh;
}

#section3, #section4, #section5 {
    min-height: auto;
}

/* Responsive */
@media (max-width: 768px) {
    #section1 {
    background: url('images/tembo_small_low.jpg') no-repeat center left / cover;
    background-size: auto 100%; /* garde aligné à gauche */
    padding-right: 1rem;
    justify-content: flex-end;
    }
    #section1 .logo {
    background: url('images/logo_200px.png') center center/cover no-repeat;
    width: 200px;
    height: 200px;
    }
    #section1 .image-legend {
        position: absolute;
        bottom: 10px;
        left: 10px;
        padding: 5px 10px;
        font-size: 0.8em;
    }
    #section2 {
    font-size: 1.2rem;
    padding: 0 1rem;
    }
    #section3 {
    font-size: 1rem;
    padding: 1.5rem 1rem;
    }
    #section4 {
    font-size: 1.2rem;
    padding: 1.5rem 1rem;
    min-height: 30vh;
    }
    #section5 {
    font-size: 0.65rem;
    padding: 1.5rem 1rem;
    min-height: 3vh;
    }
}

@media (max-width: 480px) {
    #section1 {
    background: url('images/tembo_small_low.jpg') no-repeat center left / cover;
    justify-content: flex-end; /* toujours logo à droite */
    padding-right: 1rem;
    background-size: auto 100%;
    }
    #section1 .logo {
    background: url('images/logo_150px.png') center center/cover no-repeat;
    width: 150px;
    height: 150px;
    }
    #section1 .image-legend {
        position: absolute;
        bottom: 10px;
        left: 10px;
        padding: 5px 10px;
        font-size: 0.7em;
    }
    #section2 {
    font-size: 0.8rem;
    }
    #section3 {
    font-size: 0.9rem;
    }
    #section4 {
    font-size: 1rem;
    padding: 1rem;
    min-height: 25vh;
    }
    #section5 {
    font-size: 0.6rem;
    padding: 1rem;
    min-height: 2vh;
    }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0) rotate(-45deg);}
    50% { transform: translateY(10px) rotate(-45deg);}
}

@font-face {
    font-family: 'ITC Avant Garde Gothic Bold';
    src: url('./fonts/ITC_Avant_Garde_Gothic_Bold.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}