/* ===== CSS Variables ===== */
:root {
    --brand-green: #2d6a2d;
    --brand-green-light: #4a9b4a;
    --brand-green-dark: #1a4a1a;
    --brand-red: #c0392b;
    --brand-red-light: #e74c3c;
    --brand-dark: #0f1a0f;
    --brand-dark-mid: #1a2e1a;
    
    --bg-light: #f8faf8;
    --bg-white: #ffffff;
    --text-dark: #1a2e1a;
    --text-muted: #4a5f4a;
    --text-light: #f0f4f0;
    --border-color: #d4e0d4;
    
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
    
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    
    --transition: 0.3s ease;
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    line-height: 1.2;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
}

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

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: all var(--transition);
}

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

.btn-primary:hover {
    background-color: var(--brand-green-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: rgba(255,255,255,0.2);
    color: white;
    border: 1px solid rgba(255,255,255,0.3);
}

.btn-secondary:hover {
    background-color: rgba(255,255,255,0.3);
}

.btn.full {
    width: 100%;
}

/* ===== Navbar ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(15, 26, 15, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.75rem 1.5rem;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: white;
    font-family: 'Oswald', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
}

.nav-logo img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link {
    padding: 0.5rem 1rem;
    color: rgba(255,255,255,0.8);
    font-size: 0.875rem;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}

.nav-link:hover {
    color: white;
    background-color: rgba(255,255,255,0.1);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: white;
    transition: all var(--transition);
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(15, 26, 15, 0.7) 0%,
        rgba(15, 26, 15, 0.8) 50%,
        rgba(15, 26, 15, 0.9) 100%
    );
}

.hero-content {
    text-align: center;
    color: white;
    padding: 2rem;
    max-width: 800px;
}

.hero-logo {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1.5rem;
    border: 4px solid rgba(255,255,255,0.2);
    box-shadow: var(--shadow-xl);
}

.hero h1 {
    font-size: 1.25rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--brand-green-light);
    margin-bottom: 0.5rem;
}

.hero h2 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-location {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 1rem;
}

.hero-tagline {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.6);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* ===== Section Styles ===== */
section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.section-header.light {
    color: white;
}

.section-header.light p {
    color: rgba(255,255,255,0.8);
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: rgba(45, 106, 45, 0.1);
    color: var(--brand-green);
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 999px;
    margin-bottom: 1rem;
}

.section-header.light .section-badge {
    background-color: rgba(255,255,255,0.1);
    color: var(--brand-green-light);
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.125rem;
}

/* ===== About Section ===== */
.about {
    background-color: var(--bg-white);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.about-card {
    padding: 2rem;
    background-color: var(--bg-light);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all var(--transition);
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.about-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-lg);
    margin: 0 auto 1.5rem;
}

.about-icon.green {
    background-color: rgba(45, 106, 45, 0.1);
    color: var(--brand-green);
}

.about-icon.red {
    background-color: rgba(192, 57, 43, 0.1);
    color: var(--brand-red);
}

.about-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.about-card p {
    color: var(--text-muted);
    font-size: 0.9375rem;
}

/* ===== Projects Section ===== */
.projects {
    background-color: var(--bg-light);
}

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

.project-card {
    position: relative;
    padding: 2rem;
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    transition: all var(--transition);
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--brand-green-light);
}

.project-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(45, 106, 45, 0.1);
    color: var(--brand-green);
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
}

.project-status {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: 999px;
}

.project-status.active {
    background-color: rgba(45, 106, 45, 0.1);
    color: var(--brand-green);
}

.project-status.planned {
    background-color: rgba(192, 57, 43, 0.1);
    color: var(--brand-red);
}

.project-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.project-card p {
    color: var(--text-muted);
    font-size: 0.9375rem;
}

/* ===== Donations Section ===== */
.donations {
    background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand-dark-mid) 100%);
    color: white;
}

.donations-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 2rem;
}

.donation-card {
    padding: 2rem;
    border-radius: var(--radius-lg);
}

.donation-card.main {
    background-color: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
}

.donation-card.secondary {
    background-color: rgba(45, 106, 45, 0.2);
    border: 1px solid rgba(45, 106, 45, 0.3);
}

.donation-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    color: var(--brand-green-light);
}

.donation-header h3 {
    font-size: 1.25rem;
    color: white;
}

.donation-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.info-row:last-child {
    border-bottom: none;
}

.info-row .label {
    color: rgba(255,255,255,0.7);
    font-size: 0.875rem;
}

.info-row .value {
    font-weight: 500;
    font-family: monospace;
}

.value-copy {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.copy-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    background-color: rgba(255,255,255,0.1);
    border: none;
    border-radius: var(--radius-sm);
    color: white;
    cursor: pointer;
    transition: all var(--transition);
}

.copy-btn:hover {
    background-color: rgba(255,255,255,0.2);
}

.copy-btn.copied {
    background-color: var(--brand-green);
}

.donation-card.secondary h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.help-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.help-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255,255,255,0.9);
}

.help-list svg {
    color: var(--brand-green-light);
    flex-shrink: 0;
}

.note {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.7);
    font-style: italic;
}

/* QR Code Card Styles */
.donation-card.qr-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.qr-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

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

.qr-instruction {
    color: rgba(255,255,255,0.8);
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.qr-wrapper {
    background-color: white;
    padding: 1.25rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
    margin-bottom: 1.5rem;
}

.qr-image {
    display: block;
    width: 200px;
    height: 200px;
    object-fit: contain;
}

.qr-account {
    width: 100%;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.15);
}

.qr-account-label {
    display: block;
    font-size: 0.875rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 0.5rem;
}

.qr-account-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.qr-account-number {
    font-family: monospace;
    font-size: 1.125rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.qr-account-row .copy-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
}

.copy-text {
    font-size: 0.875rem;
    font-weight: 500;
}

/* Classic Payment Info */
.classic-payment {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.15);
}

.classic-payment h4 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
    color: rgba(255,255,255,0.9);
}

.classic-info {
    background-color: rgba(255,255,255,0.05);
    padding: 1rem;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
}

.classic-info p {
    margin-bottom: 0.5rem;
    color: rgba(255,255,255,0.8);
}

.classic-info p:last-child {
    margin-bottom: 0;
}

.classic-info strong {
    color: white;
}

/* ===== Social Section ===== */
.social {
    background-color: var(--bg-white);
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 700px;
    margin: 0 auto;
}

.social-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2.5rem 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all var(--transition);
}

.social-card.instagram {
    background: linear-gradient(135deg, #833AB4 0%, #E1306C 50%, #F77737 100%);
    color: white;
}

.social-card.instagram:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(131, 58, 180, 0.3);
}

.social-card.facebook {
    background-color: #1877F2;
    color: white;
}

.social-card.facebook.disabled {
    background-color: var(--bg-light);
    color: var(--text-muted);
    cursor: not-allowed;
}

.social-icon {
    margin-bottom: 1rem;
}

.social-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.social-card p {
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.social-btn {
    padding: 0.5rem 1.5rem;
    background-color: rgba(255,255,255,0.2);
    border-radius: 999px;
    font-weight: 500;
    transition: all var(--transition);
}

.social-card:not(.disabled):hover .social-btn {
    background-color: rgba(255,255,255,0.3);
}

.social-btn.disabled {
    background-color: transparent;
    border: 1px solid var(--border-color);
}

/* ===== Contact Section ===== */
.contact {
    background: linear-gradient(135deg, var(--brand-dark-mid) 0%, var(--brand-dark) 100%);
    color: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255,255,255,0.1);
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.contact-item p,
.contact-item a {
    color: rgba(255,255,255,0.8);
}

.contact-item a:hover {
    color: var(--brand-green-light);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    padding: 0.875rem 1rem;
    background-color: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-md);
    color: white;
    font-family: inherit;
    font-size: 1rem;
    transition: all var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--brand-green-light);
    background-color: rgba(255,255,255,0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255,255,255,0.4);
}

/* ===== Footer ===== */
.footer {
    background-color: var(--brand-dark);
    color: white;
    padding: 4rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-logo img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.footer-logo span {
    font-family: 'Oswald', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
}

.footer-brand p {
    color: rgba(255,255,255,0.7);
    font-size: 0.9375rem;
    margin-bottom: 0.5rem;
}

.footer-brand .founded {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.5);
}

.footer-links h4,
.footer-contact h4,
.footer-social h4 {
    font-size: 1rem;
    margin-bottom: 1.25rem;
    color: var(--brand-green-light);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    font-size: 0.9375rem;
    transition: color var(--transition);
}

.footer-links a:hover {
    color: white;
}

.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255,255,255,0.7);
    font-size: 0.9375rem;
}

.footer-contact a {
    color: rgba(255,255,255,0.7);
    transition: color var(--transition);
}

.footer-contact a:hover {
    color: var(--brand-green-light);
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.1);
    border-radius: var(--radius-md);
    color: white;
    transition: all var(--transition);
}

.social-links a:hover {
    background-color: var(--brand-green);
    transform: translateY(-2px);
}

.footer-bottom {
    padding: 1.5rem 0;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255,255,255,0.5);
    font-size: 0.875rem;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-grid .about-card:last-child {
        grid-column: span 2;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        flex-direction: column;
        background-color: var(--brand-dark);
        padding: 1rem;
        transform: translateY(-150%);
        transition: transform var(--transition);
    }
    
    .nav-menu.active {
        transform: translateY(0);
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .hero h2 {
        font-size: 2.5rem;
    }
    
    .hero-logo {
        width: 100px;
        height: 100px;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-grid .about-card:last-child {
        grid-column: span 1;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .donations-grid {
        grid-template-columns: 1fr;
    }
    
    .social-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-contact li {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    section {
        padding: 3rem 0;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .hero-tagline {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .info-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    /* QR Card Mobile */
    .qr-image {
        width: 180px;
        height: 180px;
    }
    
    .qr-wrapper {
        padding: 1rem;
    }
    
    .qr-account-number {
        font-size: 1rem;
    }
    
    .qr-account-row .copy-btn {
        padding: 0.5rem 0.75rem;
    }
    
    .copy-text {
        font-size: 0.75rem;
    }
    
    .classic-info {
        font-size: 0.8rem;
    }
}
