/* style.css — Sowelya Group (pour index.html, catalogue.html, et toutes les pages) */

body {
    font-family: Arial, sans-serif;
    background: #fefaf3;
    color: #1e2e2d;
    margin: 0;
    padding: 0;
}

header {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
    padding: 10px 0;
}

.nav-container {
    max-width: 1150px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
}

header img {
    height: 48px;
}

nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}
nav a {
    margin: 0 8px;
    text-decoration: none;
    color: #1e2e2d;
    font-weight: bold;
    font-size: 1.07em;
    padding: 7px 0;
    transition: color 0.15s;
    white-space: nowrap;
}
nav a:hover {
    color: #d1b000;
}
.lang-switcher a {
    font-size: 1.05em;
    margin-left: 10px;
}

/* Structure générale des sections */
.section {
    max-width: 1080px;
    margin: 40px auto 32px auto;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.07);
    padding: 34px 20px 20px 20px;
}
.section h2 {
    color: #1e2e2d;
    margin-bottom: 18px;
    border-bottom: 2px solid #d1b000;
    display: inline-block;
    padding-bottom: 5px;
}

.responsive-img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px auto 0 auto;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.more-info-link, .cta-btn {
    display: inline-block;
    margin-top: 12px;
    color: #fff;
    background: #1e2e2d;
    border-radius: 24px;
    padding: 9px 23px;
    font-size: 1em;
    font-weight: bold;
    text-decoration: none;
    transition: background 0.18s;
}
.more-info-link:hover, .cta-btn:hover {
    background: #d1b000;
    color: #1e2e2d;
}

/* Catalogue produits */
.produits {
    display: flex;
    flex-wrap: wrap;
    gap: 34px 24px;
    justify-content: flex-start;
}
.produit {
    flex: 1 1 370px;
    min-width: 320px;
    background: #faf8ef;
    margin-bottom: 32px;
    border-radius: 9px;
    padding: 18px 14px 20px 14px;
    box-shadow: 0 2px 8px #0001;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.produit h3 {
    margin-top: 0;
    color: #d1b000;
}
.galerie {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 12px;
    align-items: center;
}
.galerie img {
    display: block;
    max-width: 340px;
    width: auto;
    height: auto;
    border-radius: 7px;
    border: 1.5px solid #e3e0c6;
    object-fit: contain;
    background: #fff;
    margin-bottom: 8px;
    margin-left: 0;
    margin-right: 0;
}

.produit p {
    font-size: 1.07em;
}

/* WhatsApp bouton flottant */
#whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    background: #25D366;
    border-radius: 50%;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    padding: 8px;
    transition: box-shadow 0.2s;
}
#whatsapp-float:hover {
    box-shadow: 0 6px 24px rgba(0,0,0,0.23);
    background: #1ebe5d;
}

/* Responsive stacking and scaling for images on mobile */
@media (max-width: 900px) {
    .section {padding: 18px 2vw 18px 2vw;}
    .produits {flex-direction: column;}
    .produit {min-width: 0;}
    .galerie {
        flex-direction: column !important;
        align-items: center;
        gap: 8px;
    }
    .galerie img {
        max-width: 96vw;
        width: auto;
        height: auto;
        margin-left: 0;
        margin-right: 0;
    }
}
@media (max-width: 760px) {
    .nav-container {
        flex-direction: column;
        align-items: flex-start;
        padding: 0 7px;
    }
    nav {
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 0;
    }
    nav a {
        font-size: 1em;
        margin: 5px 10px 5px 0;
        padding: 7px 0;
    }
    header img {
        margin-bottom: 10px;
        height: 44px;
    }
    .section {
        padding: 14px 1vw 14px 1vw;
    }
}
