body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #f0f0f0;
}

.section {
    width: 100%;
    min-height: 768px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
}

.section:nth-child(1) {
    background: url('images/section1-background.jpg') no-repeat center center/cover;
    color: #fff;
}

.section:nth-child(2), .section:nth-child(5) {
    background-color: #bfbfbf;
    color: #000;
    display: flex;
}

.section:nth-child(2) img,
.section:nth-child(5) img {
    max-width: 25%;
    height: auto;
}

.section:nth-child(3), .section:nth-child(4) {
    background-color: #343434;
    color: #fff;
    display: flex;
    justify-content: space-around;
}

.section:nth-child(3) img {
    max-width: 23%;
    height: auto;
}

.section:nth-child(4) img {
    max-width: 33%;
    height: auto;
}

.interactive-content {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    gap: 10px;
}

.tab-button {
    background-color: #eaeaea;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 1rem;
    border-radius: 5px;
}

.tab-button.active {
    background-color: #dcdcdc;
    font-weight: bold;
}

.tab-content {
    display: none;
    text-align: left;
    font-size: 1rem;
}

.tab-content ul {
    list-style: none;
    padding: 0;
}

.tab-content li {
    margin: 10px 0;
}

.tab-content:not(.hidden) {
    display: block;
}

/* Masquer les sections d'onglets par défaut */
.hidden {
    display: none;
}

form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    background-color: rgba(255, 255, 255, 0.8); /* Fond blanc clair */
    color: rgb(0, 0, 0);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px #aeaeae;
}

form label {
    display: flex;
    flex-direction: column;
}

form input, form textarea {
    background-color: #ffffff;
    border: 1px solid #ffffff;
    color: #ccc;
    padding: 10px;
    border-radius: 5px;
    font-size: 1rem;
}

/* Style des champs de formulaire avec un dégradé blanc */
form input,
form textarea {
    background: linear-gradient(to bottom, #ffffff, #f0f0f0); /* Dégradé blanc */
    border: 1px solid #ccc; /* Bordure grise claire */
    border-radius: 5px; /* Arrondir les coins (optionnel) */
    color: #000; /* Texte noir */
    padding: 10px; /* Espacement interne */
    font-size: 16px; /* Taille de police */
    box-shadow: none; /* Retirer tout effet d'ombre */
}

/* Effet au focus */
form input:focus,
form textarea:focus {
    background: linear-gradient(to bottom, #ffffff, #e6e6e6); /* Dégradé plus clair au focus */
    border: 1px solid #6f42c1; /* Bordure violette pour correspondre au bouton */
    outline: none; /* Retirer la bordure par défaut */
}

form input:focus, form textarea:focus {
    outline: none;
    border-color: #5b2fd3;
    box-shadow: 0 0 5px rgba(91, 47, 211, 0.5);
}

form button {
    background-color: #5b2fd3;
    border: none;
    color: white;
    padding: 10px 15px;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

form button:hover {
    background-color: #4a23b0;
}

.download-button {
    display: inline-block;
    background-color: #007bff;
    color: #fff;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.download-button:hover {
    background-color: #0056b3;
}

@media (max-width: 768px) {
    .section {
        flex-direction: column;
        text-align: center;
    }

    .section:nth-child(2) img,
    .section:nth-child(5) img {
        max-width: 60%;
    }
}

@media (max-width: 480px) {
    .section {
        min-height: 300px;
        padding: 10px;
    }

    .interactive-content {
        padding: 10px;
    }

    form input, form textarea {
        font-size: 0.9rem;
    }
}

/* Galerie d'images */
.section img {
    width: 100%;
    max-width: 300px;
    cursor: pointer;
    margin: 10px;
}

/* Galerie d'images */
.section img {
    width: 100%;
    max-width: 300px;
    cursor: pointer;
    margin: 10px;
}



/* Style pour l'image en plein écran dans un modal */
#fullscreenModal {
    display: none; /* Par défaut, il est caché */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

#fullscreenModal img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    margin: auto;
}

/* Style pour fermer le modal */
#closeModal {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 30px;
    color: white;
    background-color: transparent;
    border: none;
    cursor: pointer;
}

.image-carousel {
    position: relative;
    width: 100%;
    max-width: 1000px;  /* Ajustez selon la taille souhaitée */
    margin: 0 auto;
    overflow: hidden;
}

.carousel-images {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-image {
    width: 100%;  /* Chaque image occupe 100% de la largeur du conteneur */
    height: auto;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 10;
}

.left {
    left: 10px;
}

.right {
    right: 10px;
}

/* Fullscreen Container */
.fullscreen-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
    display: none;
}

/* Fullscreen Image */
#fullscreen-image {
    max-width: 90%;
    max-height: 80%;
}

/* Navigation Arrows */
.fullscreen-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.nav-arrow {
    font-size: 3em;
    color: white;
    cursor: pointer;
    user-select: none;
}

/* Style pour la page de connexion */
body {
    background: #f5f5f5;
    font-family: 'Segoe UI', Arial, sans-serif;
}

.login-container {
    max-width: 350px;
    margin: 60px auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    padding: 32px 24px;
}

.login-container h2 {
    text-align: center;
    margin-bottom: 24px;
    color: #222;
}

.login-container form label {
    display: block;
    margin-bottom: 16px;
    color: #444;
}

.login-container input[type="text"],
.login-container input[type="password"] {
    width: 100%;
    padding: 8px 10px;
    margin-top: 6px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1em;
    background: #fafafa;
}

.login-container button[type="submit"] {
    width: 100%;
    padding: 10px;
    background: #2d7cf2;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 1em;
    cursor: pointer;
    margin-top: 12px;
    transition: background 0.2s;
}

.login-container button[type="submit"]:hover {
    background: #195bb5;
}

.login-container p {
    text-align: center;
    margin-top: 10px;
}

/* Global styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

/* Container */
.container {
    width: 80%;
    margin: 0 auto;
    padding-top: 20px;
}

/* Title */
h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2rem;
}

/* Photos section */
.photos-container {
    margin-top: 30px;
}

/* Gallery */
.photos-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.photo-card {
    width: 200px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 10px;
    background-color: #f9f9f9;
}

.photo-img {
    width: 100%;
    border-radius: 10px;
}

.download-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 15px;
    background-color: #4CAF50;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

.download-btn:hover {
    background-color: #45a049;
}

/* Logout button */
.logout-btn {
    display: inline-block;
    margin-top: 30px;
    padding: 10px 20px;
    background-color: #f44336;
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
}

.logout-btn:hover {
    background-color: #e53935;
}

/* Responsive Design */
@media (max-width: 768px) {
    .photos-gallery {
        flex-direction: column;
        align-items: center;
    }
}

