/* Styles pour les composants réutilisables */
/* Par exemple, les boutons, les cartes, etc. */
button {
    cursor: pointer;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    font-size: 1rem;
    transition: all 0.3s;
}

button:hover {
    opacity: 0.9;
}

/* Style du logo en haut de la page */
.logo-banner {
    background-color: #fff;
    padding: 2.5rem; /* Augmenter le padding pour plus d'espace autour du logo */
    text-align: center;
    box-shadow: 0 0.125rem 0.3125rem rgba(0, 0, 0, 0.1);
}

.logo-banner .logo img {
    height: 25rem; /* Augmenter davantage la taille du logo */
    width: auto;
}

/* Style de l'en-tête */
.header {
    display: flex;
    justify-content: center;
    padding: 1.25rem;
    background-color: #fff;
    box-shadow: 0 0.125rem 0.3125rem rgba(0, 0, 0, 0.1);
}

.navbar ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 1.25rem;
    justify-content: center;
}

.navbar ul li a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    font-size: 1rem;
}


/* Style du pied de page */
.footer {
    background-color: #fff;
    padding: min(50px, 10%) min(5%, 10%) min(20px, 5%);
    text-align: center;
    box-shadow: 0 0.125rem 0.3125rem rgba(0, 0, 0, 0.1);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: min(20px, 5%);
    margin-bottom: min(40px, 10%);
}

.footer-logo {
    flex: 1;
    min-width: min(250px, 100%);
}

.footer-logo img {
    height: clamp(10rem, 5vw, 15rem);
    width: auto;
    margin-bottom: min(20px, 5%);
}

.footer-logo p {
    color: #333;
    line-height: 1.6;
    font-size: clamp(0.8rem, 1.5vw, 1rem);
}

.footer-links {
    flex: 1;
    min-width: min(200px, 100%);
}

.footer-links h3 {
    margin-bottom: min(20px, 5%);
    color: #333;
    font-size: clamp(1rem, 2vw, 1.2rem);
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: min(10px, 2%);
}

.footer-links ul li a {
    text-decoration: none;
    color: #7f5137;
    font-size: clamp(0.8rem, 1.5vw, 1rem);
}

.footer-links ul li a:hover {
    color: #333;
}

.footer-contact {
    flex: 1;
    min-width: min(200px, 100%);
}

.footer-contact h3 {
    margin-bottom: min(20px, 5%);
    color: #333;
    font-size: clamp(1rem, 2vw, 1.2rem);
}

.footer-contact p {
    margin-bottom: min(10px, 2%);
    color: #7f5137;
    font-size: clamp(0.8rem, 1.5vw, 1rem);
}

.footer-contact a {
    color: #7f5137;
    text-decoration: none;
    font-size: clamp(0.8rem, 1.5vw, 1rem);
}

.footer-contact a:hover {
    color: #333;
}

.footer-social {
    flex: 1;
    min-width: min(200px, 100%);
}

.footer-social h3 {
    margin-bottom: min(20px, 5%);
    color: #333;
    font-size: clamp(1rem, 2vw, 1.2rem);
}

.footer-social ul {
    list-style: none;
}

.footer-social ul li {
    margin-bottom: min(10px, 2%);
}

.footer-social ul li a {
    color: #86b0f9;
    text-decoration: none;
    font-size: clamp(0.8rem, 1.5vw, 1rem);
}

.footer-social ul li a:hover {
    color: #333;
}

.footer-bottom {
    border-top: 1px solid #ddd;
    padding-top: min(20px, 5%);
    color: #333;
    font-size: clamp(0.8rem, 1.5vw, 1rem);
}

/* Style des boutons */
.donate-button {
    background-color: #000;
    color: #fff;
    border: none;
    padding: min(15px, 3%) min(30px, 6%);
    font-size: clamp(0.8rem, 2vw, 1.2rem);
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.donate-button:hover {
    background-color: #333;
}

/* Style des cartes */
.action-card {
    background-color: #f9f9f9;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    flex: 1;
    min-width: min(300px, 100%);
    max-width: min(400px, 100%);
}

.action-card img {
    width: 100%;
    height: auto;
    object-fit: cover;
    max-height: min(200px, 30vw);
}

.action-card h3 {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    margin: min(20px, 5%) 0 min(10px, 2%) 0;
    color: #333;
}

.action-card p {
    padding: 0 min(20px, 5%) min(20px, 5%) min(20px, 5%);
    color: #7f5137;
    font-size: clamp(0.8rem, 1.5vw, 1rem);
}

.stat-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    flex: 1;
    min-width: min(200px, 100%);
    max-width: min(300px, 100%);
    padding: min(20px, 5%);
}

.stat-card h3 {
    font-size: clamp(1rem, 2vw, 1.2rem);
    margin-bottom: min(10px, 2%);
    color: #333;
}

.stat-card p {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: bold;
    color: #333;
}

/* Media queries pour l'en-tête */
@media (max-width: 48rem) {
    .header {
        flex-direction: column;
        gap: 0.625rem;
    }

    .logo-container {
        flex-direction: column;
        gap: 0.3125rem;
    }

    .navbar ul {
        flex-direction: column;
        gap: 0.3125rem;
    }

    .footer-content {
        flex-direction: column;
    }

    .footer-logo,
    .footer-links,
    .footer-contact,
    .footer-social {
        min-width: 100%;
    }
}
