/* Styles généraux */
body {
    font-family: Arial, sans-serif;
    background-color: #f8f8f8;
    margin: 0;
    padding: 0;
}

.logo-container img {
    display: flex;
    align-items: center; /* Centre verticalement si nécessaire */
    max-width: 200px;
    height: auto;
}
/* Styles pour le header */
header {
    background: linear-gradient(135deg, #6AB7F5, #A3D8F4);
    color: black;
    padding: 30px 0;
    text-align: center;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

/* Styles pour le container du header */
.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
}

/* Texte du header */
.header-text {
    flex: 2;
    text-align: center;
}

/* Bouton de retour */
.back-container {
    text-align: center;
    margin: 20px 0;
}

.back-btn {
    background-color: #3498DB;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.back-btn:hover {
    background-color: #2980B9;
}

/* Conteneur principal pour les recommandations */
.recommendations-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Style pour les sections de catégories */
.category {
    margin-bottom: 40px;
}

/* Titre des catégories */
.category h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #333;
    text-align: center;
}

/* Styles pour la galerie d'éléments */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

/* Styles pour les éléments de la galerie */
.gallery-item {
    background-color: #f4f4f4;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

/* Effet de survol sur les éléments */
.gallery-item:hover {
    transform: scale(1.05);
}

/* Couleurs pastel associées aux éléments */
.gallery-item:nth-child(1) {
    background-color: #FFEBEE; /* Rose clair */
}

.gallery-item:nth-child(2) {
    background-color: #E8F5E9; /* Vert clair */
}

.gallery-item:nth-child(3) {
    background-color: #FFF3E0; /* Orange clair */
}

.gallery-item:nth-child(4) {
    background-color: #E3F2FD; /* Bleu clair */
}

.gallery-item:nth-child(5) {
    background-color: #F3E5F5; /* Violet clair */
}

.gallery-item:nth-child(6) {
    background-color: #FFF9C4; /* Jaune clair */
}

.gallery-item:nth-child(7) {
    background-color: #E0F7FA; /* Cyan clair */
}

/* Styles pour les liens dans les éléments */
.gallery-item a {
    text-decoration: none;
    color: #333;
}

/* Styles pour le texte des éléments */
.gallery-item p {
    margin: 10px 0;
    font-size: 1rem;
}

/* Styles pour le footer */
footer {
    background-color: #f4f4f4;
    text-align: center;
    padding: 20px;
    color: #666;
    margin-top: 50px;
    font-size: 0.9rem;
}
.gallery-item img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 10px;
}