/* Styles de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-color: #262626;
    color: #fff;
    line-height: 1.6;
}



/* Bloc principal : header */
.header {
    position: relative;
    background: #262626;
    text-align: center;
    padding: 0; 
    height: 100vh; 
    overflow: hidden; 
}

.header__title {
    font-size: 3rem;
    font-weight: bold;
}

.header__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    filter: brightness(0.5);
    z-index: 1; 
}

.header__title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    font-weight: bold;
    color: white;
    z-index: 2; 
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7); 
}

.header__logo {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 10;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.header__logo img {
    width: 60px;
    height: 60px;
    cursor: pointer;
}



/* Bouton de traduction */
.header__translate {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #D2D2D2;
    border-radius: 50%;
    cursor: pointer;
}

.header__translate-btn {
    width: 20px;
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    color: black;
}



/* Bloc : menu */
.menu {
    position: absolute;
    top: 20px;
    right: 70px; 
    z-index: 10;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #D2D2D2;
    border-radius: 50%;
}

.menu__icon {
    width: 20px;
    height: 20px;
}

.menu__icon img {
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.menu__list {
    display: none;
    position: absolute;
    top: 60px;
    right: 0;
    background-color: #444;
    border-radius: 8px;
    list-style: none;
    overflow: hidden;
    z-index: 20;
}

.menu__list--active {
    display: block;
}

.menu__item {
    padding: 20px 60px;
    border-bottom: 1px solid #555;
}

.menu__item:last-child {
    border-bottom: none;
}

.menu__item a {
    color: #fff;
    text-decoration: none;
}



/* Bloc : content */
.content {
    padding: 20px;
    text-align: center;
}

.content__subtitle {
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-align: left;
    color: #017C99;
}

.content__description {
    font-size: 1rem;
    margin: 80px auto 80px; 
    line-height: 1.8;
    text-align: left;
}

.content__image {
    width: 100%;
    max-width: 500px;
    border-radius: 20px;
}



/* Bloc Objet */
.object {
    padding: 20px;
    text-align: left;
}

.object__title {
    font-size: 2.5rem;
    color: #017C99;
    font-weight: bold;
    margin-bottom: 10px;
}

.object__description {
    font-size: 1rem;
    margin-bottom: 20px;
}



/* Bloc Carte */
.card {
    position: relative;
    display: inline-block;
    max-width: 600px;
    margin: 10px auto 100px; 
    overflow: hidden;
    border-radius: 20px;
}

.card__image {
    width: 100%;
    display: block;
    filter: brightness(0.5);
}

.card__button {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #017C99;
    color: #fff;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 1.2rem;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.card__button:hover {
    background-color: #0088a0;
    transform: translateX(-50%) scale(1.05);
}



/* Footer */
.footer {
    background-color: #d3d3d3;
    text-align: left;
    color: black;
    padding: 20px;
    text-align: left;
}

.footer__header {
    display: flex;
    align-items: center;
}

.footer__logo {
    width: 80px;
    height: auto;
    margin-bottom: 10px;
}

.footer__title {
    font-size: 2rem;
    font-weight: bold;
}



/* Section Contact */
.footer__contact {
    margin-bottom: 20px;
}

.footer__contact-title {
    font-size: 1.5rem;
    font-weight: bold;
}

.footer__contact-info {
    font-size: 1rem;
    margin: 5px 0;
}



/* Réseaux sociaux */
.footer__socials {
    display: flex;
    justify-content: left;
    gap: 20px;
    margin-bottom: 20px;
}

.footer__social-link {
    text-decoration: none;
}

.footer__social-icon {
    width: 40px;
    height: 40px;
    transition: transform 0.3s ease;
}

.footer__social-icon:hover {
    transform: scale(1.1);
}



/* Timeline container */
.timeline {
    position: relative;
    width: 90%;
    margin: 50px auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Timeline item */
.timeline-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin: 50px 0;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

/* Year and text */
.timeline-content {
    text-align: center;
    flex: 0 0 30%;
}

.timeline-year {
    font-size: 4rem;
    font-weight: bold;
    color: #017C99;
    margin: 0;
}

.timeline-text {
    font-size: 1.5rem;
    margin: 10px 0 0;
    color: #017C99;
}

/* Vertical line */
.timeline::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    background-color: #fff;
    transform: translateX(-50%);
    z-index: -1;
}

/* Image */
.timeline-image {
    flex: 0 0 40%;
    max-width: 270px;
    height: auto;
}



/* Galerie */
.gallery figure {
    display: inline-block;
    text-align: center;
    margin: 0; 
    padding: 0; 
}

.gallery figcaption {
    display: inline-block; 
    margin-top: 0; 
    padding-top: 0;
    font-size: 12px; 
    color: #c8c8c8;
    font-family: Arial, sans-serif;
}



.video-container {
    text-align: center;
    margin-top: 20px;
}

video {
    width: 100%;
    max-width: 500px;
    border-radius: 20px;
}



.form-container {
    background-color: #262626;
    padding: 20px;
    border-radius: 8px;
    width: 100%;
    max-width: 400px;
    margin: 20px 0; 
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #017C99;
}

input, textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
}

button {
    width: 100%;
    padding: 10px;
    background-color: #ccc;
    color: #017C99;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
}



/* Crédit */
.footer__credit {
    font-size: 0.9rem;
    color: #333;
}

