/* ======================= */
/* Police globale et corps */
/* ======================= */
body, h1, h2, h3, p, td, th, a, li, span {
    font-family: "Times New Roman", Times, serif;
    color: #ffffff;
    line-height: 1.6;
    letter-spacing: 0.5px;
    margin: 0;
    padding: 0;
    text-align: center;
    background-color: #558B2F;
}

/* ======================= */
/* Titres */
/* ======================= */
h1 {
    font-size: 2.5rem;
    margin: 2rem 0 1rem 0;
}

h2 {
    font-size: 3rem; /* taille plus grande pour l'accueil */
    margin: 1.5rem 0 1rem 0;
}

/* ======================= */
/* Liens généraux */
/* ======================= */
a {
    color: #ffffff;
    text-decoration: underline;
}

/* ======================= */
/* Navigation / menu */
/* ======================= */
nav a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1.8rem !important; /* taille plus grande pour les menus */
    margin: 0 1rem;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s ease;
    display: inline-block;
}

nav a:hover {
    border-color: #ffffff;
}

/* ======================= */
/* Texte mis en avant / phrase accueil */
/* ======================= */
.highlight-text {
    font-size: 1.5rem;
    font-weight: normal;
    margin: 1rem 0;
    line-height: 1.6;
}

/* ======================= */
/* Logos accueil – alignement et taille */
/* ======================= */
.logo-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap; /* passe sur plusieurs lignes si écran petit */
}

.logo-row img {
    width: auto;
    max-width: 150px; /* taille par défaut pour tous les logos */
    height: auto;
    object-fit: contain;
}

/* Logo accueil – logo-carre limité à 2cm x 2cm */
.logo-carre {
    width: 2cm !important;
    height: 2cm !important;
    object-fit: contain;
}

/* ======================= */
/* Tables et colonnes */
/* ======================= */
table {
    width: 95%;
    max-width: 700px;
    margin: 0 auto 2rem auto;
    border-collapse: collapse;
    table-layout: fixed;
    text-align: center; /* centre le contenu par défaut */
}

td.title, td.price {
    padding: 0.5rem 1rem;
}

td.title {
    text-align: left;
}

td.price {
    text-align: right;
}

/* Description sur plusieurs lignes */
td.description {
    text-align: center; /* centre la description */
    font-size: 0.95rem;
}

/* ======================= */
/* Galerie de 3 images sur une ligne */
/* ======================= */
.gallery.gallery-three {
    display: flex;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 1rem;
    margin: 2rem auto;
    max-width: 1000px;
}

.gallery.gallery-three img {
    flex: 1 1 30%;
    max-width: 30%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

/* ======================= */
/* Footer */
/* ======================= */
footer {
    margin-top: 2rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* ======================= */
/* Responsive pour mobile */
/* ======================= */
@media (max-width: 700px) {
    .gallery.gallery-three {
        flex-wrap: wrap; /* images passent sur 2 lignes si nécessaire */
    }
    .gallery.gallery-three img {
        max-width: 45%;
        flex: 1 1 45%;
    }
}

@media (max-width: 600px) {
    h1 {
        font-size: 2.2rem;
    }
    h2 {
        font-size: 2rem;
    }
    nav a {
        display: block;
        margin: 0.5rem 0;
        font-size: 1.6rem !important;
    }
    .logo-row img {
        max-width: 120px;
    }
    .logo-carre {
        width: 2cm !important;
        height: 2cm !important;
    }
}