/* Page de participation */
.participate-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.participate-intro {
    text-align: center;
    color: #666;
    margin-bottom: 3rem;
    font-size: 1.1rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

/* Options de don */
.donation-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.donation-option {
    background: #fff;
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.donation-option:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.donation-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.donation-option h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.donation-option p {
    color: #555;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.bank-details {
    text-align: left;
    background: #f9f9f9;
    padding: 1rem;
    border-radius: 5px;
    margin: 1rem 0;
    font-size: 0.9rem;
}

.bank-details p {
    margin: 0.5rem 0;
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-donate {
    background: var(--primary-color);
    color: white;
}

.btn-donate:hover {
    background: #c0955c;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 167, 106, 0.3);
}

.btn-gift-list {
    background: #6c757d;
    color: white;
}

.btn-gift-list:hover {
    background: #5a6268;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(108, 117, 125, 0.3);
}

/* Section remerciements */
.thank-you {
    text-align: center;
    margin: 5rem 0;
    padding: 3rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 10px;
}

.thank-you h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.thank-you p {
    color: #555;
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Modal de don */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: white;
    padding: 2.5rem;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal.active .modal-content {
    transform: translateY(0);
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 1.8rem;
    cursor: pointer;
    color: #999;
    transition: color 0.2s ease;
}

.close-modal:hover {
    color: #333;
}

.modal h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

.modal p {
    color: #555;
    margin-bottom: 1.5rem;
    text-align: center;
}

.donation-amounts {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 2rem 0;
}

.amount-btn {
    padding: 1rem;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    transition: all 0.2s ease;
}

.amount-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.amount-btn.selected {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.custom-amount {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.custom-amount input {
    flex: 1;
    padding: 0.8rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    text-align: center;
}

.custom-amount input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.payment-methods {
    margin: 2rem 0;
}

.payment-methods h3 {
    color: #555;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.payment-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.payment-option {
    display: flex;
    align-items: center;
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.payment-option:hover {
    border-color: var(--primary-color);
}

.payment-option input[type="radio"] {
    margin-right: 1rem;
    width: 1.2rem;
    height: 1.2rem;
    accent-color: var(--primary-color);
}

.payment-option i {
    font-size: 1.5rem;
    margin-right: 0.8rem;
    color: #555;
}

.btn-primary {
    width: 100%;
    padding: 1rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.btn-primary:hover {
    background: #c0955c;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 167, 106, 0.3);
}

.secure-payment {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.secure-payment i {
    color: #28a745;
}

/* Responsive */
@media (max-width: 768px) {
    .donation-options {
        grid-template-columns: 1fr;
    }
    
    .donation-amounts {
        grid-template-columns: 1fr 1fr;
    }
    
    .thank-you {
        padding: 2rem 1rem;
        margin: 3rem 0;
    }
    
    .modal-content {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .donation-amounts {
        grid-template-columns: 1fr;
    }
    
    .amount-btn {
        padding: 0.8rem;
    }
}
