/* Fichier : style_promotions.css */

/* Inclusion des styles de base pour l'intégration visuelle */
.promotions-list {
    padding: 2rem 0;
}

.promotions-list .container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Styles pour les cards de promotion */
.promotion-card {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.promo-details {
    flex: 1;
}

.promo-details h2 {
    font-size: 1.5em;
    color: #333;
    margin: 0 0 10px;
}

.promo-details p {
    margin: 5px 0;
}

.promo-prices {
    text-align: right;
    margin-top: 10px;
}

.old-price {
    text-decoration: line-through;
    color: #888;
    font-size: 1.1em;
}

.new-price {
    font-size: 1.8em;
    color: #FFD700;
    font-weight: bold;
}

.promo-button-container {
    margin-left: 20px;
}

.promo-button {
    display: inline-block;
    padding: 12px 25px;
    background-color: #FFD700;
    color: #333; /* Texte sombre pour un meilleur contraste */
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.promo-button:hover {
    background-color: #FFC400;
}

.promo-details-list {
    text-align: left;
    font-size: 0.9em;
    margin-top: 15px;
}

.promo-details-list ul {
    list-style: none;
    padding-left: 0;
}

.promo-details-list li {
    margin-bottom: 5px;
}

.promo-details-list .included {
    color: #28a745;
}

.promo-details-list .not-included {
    color: #dc3545;
}

.reduction-info {
    margin-top: 5px;
    font-size: 1em;
    font-weight: bold;
    color: #008000;
}

.reduction-amount, .reduction-percent {
    margin-right: 5px;
}

/* Styles pour la section Héro */
.hero-agenda {
    padding: 3rem 0;
    text-align: center;
}

.hero-agenda h1 {
    font-size: 2.5em;
    margin-bottom: 0.5rem;
    color: #333;
}

.agenda-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 20px 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-icon-agenda {
    font-size: 2.5em;
    color: #FFD700;
    margin: 0 15px;
    flex-shrink: 0;
}

.agenda-icon-wrapper .line {
    flex-grow: 1;
    height: 2px;
    background-color: #FFD700;
    max-width: 50%;
}

/* Styles pour la section d'explication */
.explanation-section {
    padding: 2rem 0;
    background-color: #f8f8f8;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    margin-bottom: 3rem;
}

.explanation-section h2 {
    text-align: center;
    font-size: 1.8em;
    color: #444;
    margin-bottom: 2rem;
}

.three-columns-text-agenda {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
}

.column-text-agenda {
    flex: 1;
    min-width: 280px;
    background-color: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.column-text-agenda.full-width {
    flex: 0 0 100%;
    max-width: 800px;
}

/* Style pour le message "Aucune promotion" */
.no-promos {
    text-align: center;
    font-size: 1.2em;
    color: #888;
    margin-top: 40px;
}

/* --- Media Queries pour la Responsivité --- */
@media (max-width: 768px) {
    .hero-agenda h1 {
        font-size: 2em;
    }
    .hero-icon-agenda {
        font-size: 2em;
    }
    .explanation-section h2 {
        font-size: 1.5em;
    }
    .promotion-card {
        flex-direction: column;
        align-items: center;
    }
    .promo-details, .promo-prices, .promo-button-container {
        width: 100%;
        text-align: center;
        margin-left: 0;
    }
    .promo-prices {
        margin-top: 20px;
    }
    .promo-details-list {
        text-align: center;
    }
    .three-columns-text-agenda {
        flex-direction: column;
        gap: 20px;
    }
    .column-text-agenda {
        min-width: unset;
        width: 100%;
        padding: 20px;
    }
    .column-text-agenda.full-width {
        max-width: 100%;
    }
}