/* Donation Page Styles */
.donate-page {
    padding-top: var(--header-height);
}

.donate-hero {
    /* Inherit standard hero styles from styles.css */
    /* Only set the page-specific background */
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.7)),
                url('../images/heroes/hero-donate.webp');
}

/* Style specific overrides for donate section */
.donate-section {
    padding: var(--section-padding);
}

/* Add subtle movement to hero background for devices that support it */
@media (hover: hover) {
    .donate-hero:hover {
        background-position: center 10%;
        transition: background-position 8s ease-out;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.6));
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
    animation: fadeInUp 1s ease-out forwards;
}

.donate-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.donate-hero .lead-text {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.95;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* For mobile devices, adjust hero height and text size */
@media (max-width: 768px) {
    .donate-hero {
        min-height: 50vh;
        background-attachment: scroll; /* Disable parallax on mobile */
    }
    
    .donate-hero h1 {
        font-size: 2.5rem;
    }
    
    .donate-hero .lead-text {
        font-size: 1rem;
    }
}

/* Impact Stats */
.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.impact-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.impact-card:hover {
    transform: translateY(-5px);
}

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

.impact-card h3 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

/* Donation Methods */
.donation-methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.donation-method {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

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

.amount-btn {
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    background: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.amount-btn:hover,
.amount-btn.active {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.amount-btn.custom {
    grid-column: span 2;
}

/* Other Ways to Give */
.other-ways {
    margin-top: 4rem;
}

.ways-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.way-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.way-card i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.way-card h4 {
    margin-bottom: 0.5rem;
}

.way-card p {
    margin-bottom: 1.5rem;
    color: var(--light-text);
}

/* FAQ Section */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.faq-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.faq-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

/* Bank Details Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--light-text);
}

.bank-details,
.mobile-money-details {
    margin-top: 1rem;
}

.bank-details dt,
.mobile-money-details dt {
    font-weight: 600;
    margin-top: 1rem;
}

.bank-details dd,
.mobile-money-details dd {
    color: var(--light-text);
    margin-bottom: 0.5rem;
}

/* Success Message */
.success-message {
    background: var(--success-color);
    color: white;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    text-align: center;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .amount-buttons {
        grid-template-columns: 1fr;
    }

    .amount-btn.custom {
        grid-column: auto;
    }

    .donation-method {
        padding: 1.5rem;
    }
}

/* Loading State */
.loading {
    opacity: 0.5;
    pointer-events: none;
}

/* Form Validation Styles */
.form-group.error input {
    border-color: #E53E3E;
}

.error-message {
    color: #E53E3E;
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

.donate-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.donate-info {
    padding-right: 2rem;
}

.impact-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.impact-list li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.impact-list li i {
    color: var(--primary-color);
    margin-right: 1rem;
}

.donation-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.payment-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.payment-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.payment-btn i {
    font-size: 1.25rem;
}

.donation-options {
    position: sticky;
    top: calc(var(--header-height) + 2rem);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .donate-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .donate-info {
        padding-right: 0;
    }

    .donation-options {
        position: static;
    }
}

@media (max-width: 768px) {
    .donate-hero {
        min-height: 40vh;
    }

    .donate-section {
        padding: 3rem 0;
    }

    .payment-buttons {
        gap: 0.75rem;
    }

    .payment-btn {
        padding: 0.875rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .donate-hero {
        min-height: 35vh;
    }

    .donate-section {
        padding: 2rem 0;
    }

    .impact-list li {
        font-size: 1rem;
    }

    .donation-card {
        padding: 1.5rem;
    }
} 