/* =============================
   Palette globale
============================= */
body {
    color: #333;
    background-color: #fafafa;
}


a {
    color: #EF7C66;
    text-decoration: none;
}
a:hover { color: #EF7C66; }

/* =============================
   Section Événements
============================= */
.event-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin: 2rem auto;
    max-width: 1200px;
}

.event-card {
    flex: 1 1 calc(33.333% - 2rem);
    max-width: 340px;
    background: #fafafa;
    border: 2px solid #BCDB4A;
    border-radius: 14px;
    padding: 1.5rem;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    text-align: center;
    transition: all 0.25s ease-in-out;
}

.event-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

.event-thumb {
    width: 100%;
    height: 190px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.event-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.4rem;
}

.event-date { color: #333; font-weight: bold; margin-bottom: 0.3rem; }
.event-lieu { color: #777; font-size: 0.95rem; margin-bottom: 0.6rem; }

.event-btn {
    display: inline-block;
    background-color: #BCDB4A;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 10px;
    font-weight: bold;
    transition: background-color 0.2s;
}

.event-btn:hover { background-color: #EF7C66; }

/* Responsive événements */
@media (max-width: 900px) { .event-card { flex: 1 1 calc(50% - 1.5rem); } }
@media (max-width: 600px) { .event-card { flex: 1 1 100%; } }

/* =============================
   Boutique WooCommerce
============================= */
.woocommerce ul.products, .products {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    padding: 0;
    list-style: none;
}

.woocommerce ul.products li.product, .products li.product {
    flex: 1 1 calc(33.333% - 2rem);
    max-width: 300px;
    background: #fafafa;
    border: 2px solid #BCDB4A;
    border-radius: 14px;
    padding: 1rem;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    text-align: center;
    transition: all 0.25s ease-in-out;
}

.woocommerce ul.products li.product:hover, .products li.product:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

.woocommerce ul.products li.product img, .products li.product img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.woocommerce ul.products li.product h2,
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.products li.product h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.woocommerce ul.products li.product .price, .products li.product .price {
    color: #333;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.woocommerce ul.products li.product a.button, .products li.product a.button {
    background-color: #BCDB4A;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.2s;
}

.woocommerce ul.products li.product a.button:hover, .products li.product a.button:hover {
    background-color: #EF7C66;
}

/* Responsive boutique */
@media (max-width: 900px) { .woocommerce ul.products li.product, .products li.product { flex: 1 1 calc(50% - 1.5rem); } }
@media (max-width: 600px) { .woocommerce ul.products li.product, .products li.product { flex: 1 1 100%; } }

/* =============================
   Boutons généraux
============================= */
.button, button {
    background-color: #BCDB4A;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 10px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
}

.button:hover, button:hover { background-color: #EF7C66; }

.eo-events-shortcode {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    padding: 0;
    list-style: none;
}

.eo-events-shortcode li {
    flex: 1 1 calc(33.333% - 2rem);
    max-width: 340px;
    list-style: none; /* retire les puces */
}

.eo-events-shortcode li .event-card {
    width: 100%;
}


/* Parent de toutes les cartes événements */
.event-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;           /* espace entre les cartes */
    margin: 2rem auto;
    max-width: 1200px;   /* largeur maximale pour que les cartes aient de la place */
    padding: 0 1rem;     /* un petit padding pour ne pas coller aux bords */
}

/* Chaque carte */
.eo-events-shortcode li, .event-card {
    flex: 1 1 calc(33.333% - 2rem); /* 3 cartes + gap */
    max-width: 340px;                /* limite pour ne pas être trop large */
    box-sizing: border-box;          /* inclut padding/border dans la largeur */
}

/* Responsive */
@media (max-width: 900px) {
    .eo-events-shortcode li, .event-card { flex: 1 1 calc(50% - 1.5rem); }
}
@media (max-width: 600px) {
    .eo-events-shortcode li, .event-card { flex: 1 1 100%; }
}

/* =============================
   HEADER APEEF
============================= */
header.site-header {
    background-color: #000000;
    color: #fff;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

header.site-header .logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.4rem;
    font-weight: bold;
    color: #FCCF38;
    text-transform: uppercase;
    letter-spacing: 1px;
}

header.site-header .logo img {
    height: 42px;
    width: auto;
    border-radius: 6px;
}

header.site-header nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

header.site-header nav a {
    color: #F6A7A4;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.25s;
}

header.site-header nav a:hover {
    color: #EF7C66;
}

header.site-header .cta-btn {
    background-color: #BCDB4A;
    color: #000000;
    padding: 0.6rem 1.2rem;
    border-radius: 10px;
    font-weight: bold;
    transition: all 0.25s ease;
}

header.site-header .cta-btn:hover {
    background-color: #EF7C66;
    color: #fff;
}

/* =============================
   SECTION HERO (optionnelle)
============================= */
.hero-section {
    background: linear-gradient(135deg, #F6A7A4 0%, #EF7C66 100%);
    color: #000000;
    text-align: center;
    padding: 4rem 2rem;
    border-bottom: 5px solid #FCCF38;
}

.hero-section h1 {
    font-size: 2.4rem;
    margin-bottom: 1rem;
}

.hero-section p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 2rem;
}

.hero-section .hero-btn {
    background-color: #BCDB4A;
    color: #000000;
    font-weight: bold;
    padding: 0.8rem 1.6rem;
    border-radius: 12px;
    transition: all 0.25s ease;
}

.hero-section .hero-btn:hover {
    background-color: #FCCF38;
}

/* =============================
   FOOTER APEEF
============================= */
footer.site-footer {
    background-color: #000000;
    color: #F6A7A4;
    padding: 2rem 1.5rem;
    text-align: center;
    border-top: 5px solid #EF7C66;
}

footer.site-footer a {
    color: #FCCF38;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.25s;
}

footer.site-footer a:hover {
    color: #BCDB4A;
}

footer.site-footer .socials {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 1.2rem;
}

footer.site-footer .socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #EF7C66;
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    transition: all 0.25s;
}

footer.site-footer .socials a:hover {
    background: #FCCF38;
    color: #000000;
}

footer.site-footer small {
    display: block;
    margin-top: 1.2rem;
    color: #777;
    font-size: 0.9rem;
}
