/* Réinitialisation des marges et du padding */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Fond global pour la boutique */
body {
    background-image: url('images/background.png'); /* Remplacez par le chemin de votre image */
    background-size: cover; /* L'image couvre tout l'écran */
    background-position: center; /* Centrer l'image */
    background-attachment: fixed; /* L'image reste fixe lors du défilement */
    background-repeat: no-repeat; /* Pas de répétition de l'image */
    color: white; /* Assurez que le texte reste lisible */
    font-family: Arial, sans-serif;
}

/* Style de la barre de navigation */
#navbar {
    background-color: #222; /* Gris très foncé */
    color: white;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
    padding: 15px 20px;
}

#navbar.minimized {
    padding: 5px 20px;
    background-color: rgba(100, 100, 100, 0.8); /* Gris plus foncé, légèrement transparent */
    color: black; /* Texte noir pour correspondre au fond */
}

/* Masquer les noms des pages avec animation */
#navbar.minimized nav ul li a span {
    opacity: 0;
    transform: translateX(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Afficher les noms des pages normalement */
#navbar nav ul li a span {
    opacity: 1;
    transform: translateX(0);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Recentrer les logos lorsque la barre est minimisée */
#navbar.minimized nav ul {
    justify-content: center; /* Recentrer les éléments horizontalement */
    align-items: center; /* Assurer l'alignement vertical */
    display: flex; /* S'assurer que le conteneur utilise flexbox */
    gap: 10px; /* Réduire l'espacement entre les logos */
}

/* Alignement par défaut des éléments de navigation */
#navbar nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
    justify-content: flex-start; /* Alignement par défaut à gauche */
    align-items: center;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-content .logo {
    font-size: 1.5rem;
    font-weight: bold;
}

.nav-content nav ul li a {
    text-decoration: none;
    color: white;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.nav-content nav ul li a img {
    width: 20px; /* Taille réduite des logos */
    height: 20px;
    transition: transform 0.3s ease;
}

.nav-content nav ul li a img:hover {
    transform: scale(1.2); /* Agrandissement au survol */
}

.nav-content nav ul li a:hover {
    color: #ffcc00; /* Couleur de survol */
}

.social-icons a {
    margin-left: 10px;
    display: inline-block;
}

.social-icons img {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.social-icons img:hover {
    transform: scale(1.2);
}

.hero {
    background: url('images/background.jpg') no-repeat center center/cover;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    padding: 20px;
}

.hero .overlay {
    background: rgba(0, 0, 0, 0.5);
    padding: 30px;
    border-radius: 10px;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 20px;
}
