/* Style global pour la page */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-image: url('mount-mont-blanc-covered-snow-reflecting-water-evening-chamonix-france.jpg'); /* URL correcte */
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.7); /* Ombre pour lisibilité */
}

/* Conteneur principal avec effet de transparence */
.container {
    background: rgba(0, 0, 0, 0.6); /* Couleur de fond noir avec transparence */
    padding: 20px 40px;
    border-radius: 10px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.5); /* Ombre pour un effet de profondeur */
    transition: transform 0.3s ease; /* Animation subtile au survol */
}

.container:hover {
    transform: scale(1.02); /* Agrandissement léger au survol */
}

/* Style du titre */
h1 {
    font-size: 3em;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin: 0;
    padding: 20px;
    text-align: center;
}

/* Icône en haut à droite */
.top-right-icon {
    position: fixed;
    top: 20px; /* Ajustement précis pour le positionnement vertical */
    right: 20px; /* Ajustement précis pour le positionnement horizontal */
    z-index: 1000; /* Assure que l'icône reste visible */
}

.top-right-icon img {
    width: 30px; /* Taille réduite pour une meilleure intégration */
    height: 30px;
    border-radius: 50%; /* Forme circulaire pour l'icône */
    border: 2px solid white; /* Bordure fine pour élégance */
    cursor: pointer; /* Indique que l'icône est cliquable */
    transition: transform 0.2s ease, box-shadow 0.2s ease; /* Animation fluide au survol */
}

.top-right-icon img:hover {
    transform: scale(1.2); /* Zoom léger pour rendre le survol interactif */
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8); /* Lueur subtile au survol */
}

/* Boutons */
button {
    background-color: #FF69B4;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

button:hover {
    background-color: #FF1493;
    transform: scale(1.05);
}

/* Footer (si nécessaire) */
.footer {
    position: fixed;
    bottom: 10px;
    right: 10px;
    font-size: 0.9em;
    color: #ccc;
}

.footer a {
    text-decoration: none;
    color: #007BFF;
    transition: color 0.3s ease; /* Animation de la couleur au survol */
}

.footer a:hover {
    text-decoration: underline;
    color: #0056b3; /* Couleur plus foncée au survol */
}

/* Lien retour */
.back-link {
    color: #FFD700;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease, text-decoration 0.3s ease;
}

.back-link:hover {
    text-decoration: underline;
    color: #FFA500;
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 2em; /* Réduction de la taille du texte pour les petits écrans */
    }

    .container {
        padding: 15px 30px;
    }

    .top-right-icon img {
        width: 20px; /* Réduction de la taille de l'icône */
        height: 20px;
    }

    button {
        padding: 8px 16px;
        font-size: 0.9em;
    }
}

/* Galerie de photos */
.photo-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
}

.photo-gallery img {
    width: 150px; /* Taille des miniatures */
    height: auto;
    border-radius: 10px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.5);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.photo-gallery img:hover {
    transform: scale(1.1);
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.7);
}

/* Lightbox container */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

/* Image dans le lightbox */
.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    box-shadow: 0px 12px 25px rgba(255, 255, 255, 0.7);
    border-radius: 10px;
}

/* Bouton pour fermer */
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: white;
    font-size: 40px;
    cursor: pointer;
}
.common-home-icon {
    text-align: center;
    margin-top: 20px;
}

.common-home-icon img {
    width: 50px;
    height: 50px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.common-home-icon img:hover {
    transform: scale(1.1);
}

.common-home-icon a {
    color: #FFD700;
    text-decoration: none;
    font-weight: bold;
    margin-top: 10px;
    display: inline-block;
}

.common-home-icon a:hover {
    text-decoration: underline;
    color: #FFA500;
}
