/* 
 * FEUILLE DE STYLE POUR LA GALERIE D'IMAGES
 * 
 * Ce fichier contient tous les styles pour la galerie d'images minimaliste.
 * Les sections sont clairement identifiées pour faciliter les modifications.
 */

/* ===== STYLES GÉNÉRAUX ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 
 * COULEURS PRINCIPALES
 * Pour changer la couleur de fond du site, modifiez la valeur #000 (noir) ci-dessous
 * Pour changer la couleur du texte, modifiez la valeur #fff (blanc) ci-dessous
 */
body {
    font-family: 'Arial', sans-serif; /* Pour changer la police, modifiez 'Arial' */
    background-color: #000; /* Couleur de fond - actuellement noir */
    color: #fff; /* Couleur du texte - actuellement blanc */
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 90vh;
}

/* ===== STYLES POUR LA PAGE D'ACCUEIL ===== */
.home-container {
    text-align: center;
}

/* Style du nom de l'auteur sur la page d'accueil */
.author-name {
    font-size: 2.5rem;
    margin-bottom: 30px;
    font-weight: 300;
    letter-spacing: 2px;
}

/* Style de l'image de présentation sur la page d'accueil */
.presentation-image {
    max-width: 100%;
    height: auto;
    margin-bottom: 40px;
    max-height: 70vh;
    object-fit: contain;
}

/* Style du bouton "Entrer dans la galerie" */
.enter-gallery {
    display: inline-block;
    padding: 12px 30px;
    background-color: transparent;
    color: #fff; /* Couleur du texte du bouton - actuellement blanc */
    text-decoration: none;
    border: 1px solid #fff; /* Bordure du bouton - actuellement blanc */
    font-size: 1.2rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.enter-gallery:hover {
    background-color: rgba(255, 255, 255, 0.1); /* Effet de survol - légèrement blanc transparent */
}

/* ===== STYLES POUR LES PAGES D'IMAGES ===== */
.gallery-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.image-container {
    margin-bottom: 20px;
    max-width: 100%;
    text-align: center;
}

/* Style des images dans la galerie */
.gallery-image {
    max-width: 100%;
    height: auto;
    max-height: 80vh;
    object-fit: contain;
}

/* Style des légendes sous les images */
.image-caption {
    margin-top: 15px;
    font-size: 1rem;
    font-style: italic;
    text-align: center;
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
}

/* ===== STYLES DE NAVIGATION ===== */
.navigation {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 400px;
    margin-top: 30px;
}

/* Style des boutons de navigation (Précédent/Suivant) */
.nav-button {
    padding: 10px 20px;
    background-color: transparent;
    color: #fff; /* Couleur du texte des boutons - actuellement blanc */
    text-decoration: none;
    border: 1px solid #fff; /* Bordure des boutons - actuellement blanc */
    transition: all 0.3s ease;
    cursor: pointer;
}

.nav-button:hover {
    background-color: rgba(255, 255, 255, 0.1); /* Effet de survol - légèrement blanc transparent */
}

/* Style du bouton Accueil */
.home-button {
    padding: 10px 20px;
    background-color: transparent;
    color: #fff; /* Couleur du texte du bouton - actuellement blanc */
    text-decoration: none;
    border: none; /* Suppression de la bordure */
    transition: all 0.3s ease;
    cursor: pointer;
}

.home-button:hover {
    background-color: rgba(255, 255, 255, 0.1); /* Effet de survol - légèrement blanc transparent */
}

/* ===== STYLES RESPONSIVE ===== */
/* Pour les tablettes */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    .author-name {
        font-size: 2rem;
    }
    
    .gallery-image {
        max-height: 70vh;
    }
    
    .navigation {
        max-width: 300px;
    }
}

/* Pour les smartphones */
@media (max-width: 480px) {
    .container {
        padding: 10px;
    }
    
    .author-name {
        font-size: 1.8rem;
    }
    
    .nav-button, .home-button {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
    
    .image-caption {
        font-size: 0.9rem;
    }
}
