/* Reset de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    color: #333;
    background-color: #f5f5f5; /* Gris clair pour un fond propre et professionnel */
    line-height: 1.6;
}

/* Styles pour le header */
header {
    background-color: #336699; /* Bleu inspiré du logo */
    color: #ffffff;
    padding: 5px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

header h1 {
    font-size: 2.2em;
    margin-bottom: 5px;
    font-weight: 600;
}

header p {
    font-size: 1.1em;
}

nav a {
    color: #ffffff;
    text-decoration: none;
    padding: 8px 15px;
    margin: 0 5px;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

nav a:hover {
    background-color: #25527a; /* Variation du bleu pour effet de survol */
}

/* Styles pour les sections */
section {
    padding: 30px 20px;
    max-width: 1200px;
    margin: auto;
}

section h2 {
    text-align: left;
    font-size: 1.8em;
    margin-bottom: 15px;
    color: #336699; /* Couleur bleu uniforme */
    font-weight: 600;
}

/* Style pour les produits */
.product {
    background-color: #ffffff;
    padding: 20px;
    margin: 15px 0;
    border-left: 5px solid #336699; /* Bande bleue */
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    text-align: left;
}

.product h3 {
    font-size: 1.4em;
    color: #336699;
    margin-bottom: 8px;
}

.product p {
    color: #666;
    margin-bottom: 10px;
}

.product button {
    padding: 8px 15px;
    font-size: 0.9em;
    color: #ffffff;
    background-color: #e63946; /* Rouge du logo pour contraste */
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.product button:hover {
    background-color: #d62828; /* Rouge plus foncé pour effet de survol */
}

/* Styles pour la section Actualités */
#news article {
    background-color: #ffffff;
    padding: 20px;
    margin: 15px 0;
    border-left: 5px solid #fcbf49; /* Jaune pour rappeler le logo */
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

#news article h3 {
    color: #336699;
    font-size: 1.3em;
    margin-bottom: 10px;
}

#news article a {
    color: #2a9d8f; /* Vert doux pour les liens */
    text-decoration: none;
    font-weight: bold;
}

#news article a:hover {
    text-decoration: underline;
}

/* Styles pour le formulaire de contact */
form {
    max-width: 600px;
    margin: auto;
    background-color: #ffffff;
    padding: 25px;
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

form label {
    display: block;
    font-size: 1em;
    color: #336699;
    margin-bottom: 5px;
}

form input, form textarea {
    width: 100%;
    padding: 8px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

form button {
    width: 100%;
    padding: 10px;
    background-color: #2a9d8f; /* Vert du logo pour les boutons de formulaire */
    color: #ffffff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.2s ease;
}

form button:hover {
    background-color: #21867a;
}

/* Styles pour le pied de page */
footer {
    background-color: #336699;
    color: #ffffff;
    text-align: center;
    padding: 10px 0;
    margin-top: 20px;
}

/* Ajustements pour les petits écrans */
@media (max-width: 768px) {
    header, section, footer {
        padding: 0px;
    }
    
    nav a {
        display: block;
        margin: 0px 0;
    }
    
    .product, #news article, form {
        padding: 15px;
        margin: 10px 0;
    }
    
    /* Réduction de la taille des boutons et du texte */
    h1 {
        font-size: 1.8em;
    }

    h2 {
        font-size: 1.2em;
    }

    p, label, button {
        font-size: 1em;
    }
}
