/* Root Variables - Warm, Rustic Color Palette */
:root {
    --primary-color: #8B4513;
    --secondary-color: #D2691E;
    --accent-color: #DAA520;
    --earth-green: #556B2F;
    --cream: #FFF8DC;
    --warm-white: #FAF9F6;
    --text-dark: #2C1810;
    --text-medium: #5D4E37;
    --border-color: #D2B48C;
    --success-green: #6B8E23;
    --shadow: rgba(139, 69, 19, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--warm-white);
}

h1, h2, h3, h4 {
    font-family: 'Merriweather', serif;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2rem;
    font-weight: 700;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero {
    position: relative;
    height: 600px;
    background-image: url('assets/images/farm-painting.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(139, 69, 19, 0.7) 0%, rgba(85, 107, 47, 0.6) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 900px;
    padding: 2rem;
}

.hero-title {
    color: white;
    font-size: 3rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: var(--accent-color);
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.cta-button:hover {
    background-color: #FFD700;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.story {
    padding: 5rem 0;
    background-color: var(--cream);
}

.story h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.story-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: var(--text-medium);
    line-height: 1.8;
}

.story-content p {
    margin-bottom: 1.5rem;
}

.progress-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--earth-green) 100%);
    color: white;
    text-align: center;
}

.progress-section h3 {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.progress-bar-container {
    max-width: 600px;
    margin: 0 auto 1rem;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    height: 50px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-color) 0%, #FFD700 100%);
    width: 49.8%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: width 1s ease;
    border-radius: 50px;
}

.progress-text {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-dark);
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.5);
}

.progress-supporters {
    font-size: 1.1rem;
    margin-top: 1rem;
}

.donation {
    padding: 5rem 0;
    background-color: var(--warm-white);
}

.donation h2 {
    text-align: center;
    margin-bottom: 0.5rem;
}

.donation-subtitle {
    text-align: center;
    color: var(--text-medium);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.amount-selection {
    background-color: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px var(--shadow);
    margin-bottom: 2rem;
}

.amount-selection h3 {
    margin-bottom: 1.5rem;
    text-align: center;
}

.amount-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.amount-btn {
    padding: 1rem 2rem;
    border: 2px solid var(--border-color);
    background-color: white;
    color: var(--text-dark);
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 100px;
}

.amount-btn:hover {
    border-color: var(--secondary-color);
    background-color: var(--cream);
}

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

.custom-amount {
    margin-top: 1rem;
    text-align: center;
}

.custom-amount label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-medium);
}

.input-wrapper {
    display: inline-flex;
    align-items: center;
    position: relative;
    max-width: 300px;
    width: 100%;
}

.currency-symbol {
    position: absolute;
    left: 15px;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-medium);
}

.input-wrapper input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    font-size: 1.1rem;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    outline: none;
}

.input-wrapper input:focus {
    border-color: var(--secondary-color);
}

.selected-amount {
    text-align: center;
    font-size: 1.3rem;
    margin-top: 1.5rem;
    padding: 1rem;
    background-color: var(--cream);
    border-radius: 10px;
}

.selected-amount strong {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.payment-methods {
    background-color: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px var(--shadow);
    margin-bottom: 2rem;
}

.payment-methods h3 {
    text-align: center;
    margin-bottom: 2rem;
}

.payment-option {
    border: 2px solid var(--border-color);
    border-radius: 10px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.payment-header {
    padding: 1.25rem;
    background-color: var(--cream);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.payment-header:hover {
    background-color: var(--border-color);
}

.payment-header input[type="radio"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.payment-header label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    flex: 1;
}

.payment-header svg {
    color: var(--primary-color);
}

.payment-details {
    display: none;
    padding: 2rem;
    background-color: white;
    border-top: 2px solid var(--border-color);
}

.payment-details.active {
    display: block;
}

.donate-button {
    width: 100%;
    padding: 1rem 2rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 1rem 0;
}

.donate-button:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.paypal-btn {
    background-color: #0070BA;
}

.paypal-btn:hover {
    background-color: #005EA6;
}

.payment-note {
    text-align: center;
    color: var(--text-medium);
    font-size: 0.9rem;
    font-style: italic;
}

.crypto-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    justify-content: center;
}

.crypto-tab {
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--border-color);
    background-color: white;
    color: var(--text-dark);
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.crypto-tab:hover {
    border-color: var(--secondary-color);
}

.crypto-tab.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.crypto-wallet {
    display: none;
    text-align: center;
}

.crypto-wallet.active {
    display: block;
}

.crypto-wallet h4 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.qr-code {
    display: inline-block;
    padding: 1rem;
    background-color: white;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    margin-bottom: 1rem;
}

.qr-code canvas {
    display: block;
    max-width: 200px;
    height: auto;
}

.wallet-address {
    display: flex;
    gap: 0.5rem;
    max-width: 600px;
    margin: 0 auto 1rem;
}

.wallet-address input {
    flex: 1;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-family: monospace;
    font-size: 0.9rem;
    background-color: var(--cream);
}

.copy-btn {
    padding: 0.75rem 1.5rem;
    background-color: var(--earth-green);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.copy-btn:hover {
    background-color: var(--success-green);
}

.crypto-note {
    color: var(--text-medium);
    font-size: 0.9rem;
    font-style: italic;
}

.privacy-notice {
    background-color: var(--cream);
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid var(--earth-green);
}

.privacy-notice p {
    color: var(--text-medium);
    margin: 0;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    animation: fadeIn 0.3s;
}

.modal-content {
    background-color: white;
    margin: 10% auto;
    padding: 3rem;
    border-radius: 20px;
    max-width: 500px;
    text-align: center;
    position: relative;
    animation: slideDown 0.3s;
}

.close {
    position: absolute;
    right: 1.5rem;
    top: 1rem;
    font-size: 2rem;
    font-weight: bold;
    color: var(--text-medium);
    cursor: pointer;
    transition: color 0.3s;
}

.close:hover {
    color: var(--primary-color);
}

.modal-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

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

.modal-content p {
    color: var(--text-medium);
    margin-bottom: 1rem;
    line-height: 1.6;
}

footer {
    background-color: var(--text-dark);
    color: var(--cream);
    padding: 2rem 0;
    text-align: center;
}

footer a {
    color: var(--accent-color);
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .hero {
        height: 500px;
        background-attachment: scroll;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.3rem;
    }

    .container {
        padding: 0 1rem;
    }

    .story {
        padding: 3rem 0;
    }

    .story-content {
        font-size: 1rem;
    }

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

    .donation {
        padding: 3rem 0;
    }

    .amount-selection,
    .payment-methods {
        padding: 1.5rem;
    }

    .amount-buttons {
        gap: 0.5rem;
    }

    .amount-btn {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
        min-width: 80px;
    }

    .wallet-address {
        flex-direction: column;
    }

    .modal-content {
        margin: 20% auto;
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 400px;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .cta-button {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }

    .amount-buttons {
        flex-direction: column;
    }

    .amount-btn {
        width: 100%;
    }

    .crypto-tabs {
        flex-direction: column;
    }

    .crypto-tab {
        width: 100%;
    }
}
