﻿
:root {
    --primary: #d97706;
    --primary-dark: #b45309;
    --accent: #ea580c;
    --bg: #FFFDF9;
    --card-bg: #ffffff;
    --text: #1c1917;
    --muted: #78716c;
    --border: #e7e5e4;
    --emerald: #059669;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Plus Jakarta Sans', 'Noto Sans Devanagari', -apple-system, sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.topbar {
    background: #451a03;
    color: #fef3c7;
    font-size: 12px;
    padding: 8px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.topbar-badge {
    background: rgba(245, 158, 11, 0.2);
    border: 1px solid rgba(245, 158, 11, 0.4);
    color: #fde68a;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header {
    background: #ffffff;
    border-bottom: 1px solid var(--border);
    padding: 14px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}

.logo-badge {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: linear-gradient(135deg, #d97706, #ea580c);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(217, 119, 6, 0.25);
}

    .logo-badge span:first-child {
        font-family: 'Rozha One', serif;
        font-size: 20px;
        line-height: 1;
    }

    .logo-badge span:last-child {
        font-size: 8px;
        font-weight: 900;
        letter-spacing: 1px;
    }

.brand-title {
    font-size: 18px;
    font-weight: 800;
    color: #1c1917;
    line-height: 1.2;
}

.brand-sub {
    font-size: 11px;
    color: #78716c;
    font-family: 'Noto Sans Devanagari', sans-serif;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

    .nav-links a {
        color: #44403c;
        text-decoration: none;
        font-size: 13px;
        font-weight: 600;
        transition: color 0.2s;
    }

        .nav-links a:hover, .nav-links a.active {
            color: var(--primary);
        }

.nav-donate-pill {
    background: linear-gradient(135deg, #d97706, #ea580c);
    color: #ffffff !important;
    padding: 8px 18px;
    border-radius: 8px;
    font-weight: 700 !important;
    box-shadow: 0 4px 12px rgba(217, 119, 6, 0.25);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: 1px solid var(--border);
    font-size: 20px;
    padding: 6px 10px;
    border-radius: 6px;
    cursor: pointer;
}

@media (max-width: 980px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #ffffff;
        padding: 20px;
        border-bottom: 1px solid var(--border);
        box-shadow: 0 10px 25px rgba(0,0,0,0.1);
        align-items: flex-start;
        gap: 12px;
    }

        .nav-links.show {
            display: flex;
        }
}

.hero {
    background: linear-gradient(135deg, #431407, #7c2d12);
    color: #fff;
    padding: 55px 24px;
    text-align: center;
}

.hero-tag {
    background: rgba(245, 158, 11, 0.25);
    border: 1px solid rgba(251, 191, 36, 0.4);
    color: #fde68a;
    display: inline-block;
    padding: 5px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 12px;
}

.hero h1 {
    font-size: 34px;
    font-weight: 800;
    margin-bottom: 10px;
}

.hero p {
    font-size: 16px;
    color: #fed7aa;
    max-width: 700px;
    margin: 0 auto;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 40px 20px 80px;
}

/* Summary Bar */
.summary-strip {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 20px 28px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    text-align: center;
}

@media (max-width: 768px) {
    .summary-strip {
        grid-template-columns: repeat(2, 1fr);
    }
}

.summary-strip strong {
    display: block;
    font-size: 22px;
    font-weight: 800;
    color: #1c1917;
}

.summary-strip span {
    font-size: 12px;
    color: #78716c;
    text-transform: uppercase;
    font-weight: 600;
}

/* Campaigns Grid */
.campaigns-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

@media (max-width: 980px) {
    .campaigns-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .campaigns-grid {
        grid-template-columns: 1fr;
    }
}

.camp-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s, box-shadow 0.2s;
}

    .camp-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 10px 28px rgba(0,0,0,0.08);
    }

.camp-img-wrap {
    position: relative;
    height: 200px;
}

    .camp-img-wrap img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.camp-cat-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(0,0,0,0.75);
    color: #fde68a;
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
}

.camp-tax-tag {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
}

.camp-body {
    padding: 22px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

    .camp-body h3 {
        font-size: 18px;
        font-weight: 800;
        color: #1c1917;
        margin-bottom: 4px;
    }

.camp-hindi-title {
    font-size: 13px;
    color: #d97706;
    font-weight: 700;
    margin-bottom: 10px;
}

.camp-body p {
    font-size: 13px;
    color: #57534e;
    line-height: 1.6;
    margin-bottom: 16px;
    flex-grow: 1;
}

/* Progress bar */
.progress-bar-wrap {
    margin-bottom: 16px;
}

.progress-track {
    background: #f5f5f4;
    border-radius: 999px;
    height: 8px;
    overflow: hidden;
    margin-bottom: 8px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #f59e0b, #ea580c);
    border-radius: 999px;
}

.progress-meta {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
}

    .progress-meta strong {
        color: #1c1917;
        font-family: monospace;
        font-size: 13px;
    }

    .progress-meta span {
        color: #78716c;
    }

/* Campaign Footer with Preset Buttons */
.camp-action {
    padding: 16px 22px 22px;
    border-top: 1px solid #f5f5f4;
    background: #fafaf9;
}

.preset-row {
    display: flex;
    gap: 6px;
    margin-bottom: 12px;
}

.preset-chip {
    flex: 1;
    padding: 5px 0;
    text-align: center;
    background: #ffffff;
    border: 1px solid #e7e5e4;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    color: #44403c;
    text-decoration: none;
    transition: all 0.15s;
}

    .preset-chip:hover {
        background: #fffbeb;
        border-color: #f59e0b;
        color: #92400e;
    }

.camp-donate-btn {
    display: block;
    width: 100%;
    text-align: center;
    background: linear-gradient(135deg, #d97706, #ea580c);
    color: #ffffff;
    text-decoration: none;
    padding: 10px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    transition: all 0.2s;
}

    .camp-donate-btn:hover {
        box-shadow: 0 4px 12px rgba(217, 119, 6, 0.3);
        transform: translateY(-1px);
    }

.footer {
    background: #1c1917;
    color: #d6d3d1;
    padding: 50px 24px 24px;
    font-size: 13px;
    border-top: 4px solid var(--primary);
}

.footer-grid {
    max-width: 1280px;
    margin: 0 auto 40px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 32px;
}

@media (max-width: 860px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 500px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

.footer h4 {
    color: #fff;
    font-size: 15px;
    margin-bottom: 16px;
    font-weight: 700;
}

.footer ul {
    list-style: none;
}

    .footer ul li {
        margin-bottom: 8px;
    }

        .footer ul li a {
            color: #a8a29e;
            text-decoration: none;
            transition: color 0.2s;
        }

            .footer ul li a:hover {
                color: #f59e0b;
            }

.footer-bottom {
    max-width: 1280px;
    margin: 0 auto;
    padding-top: 24px;
    border-top: 1px solid #292524;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 12px;
    color: #78716c;
}