/* ===== Base ===== */
body {
    font-family: 'PT Sans', Arial, sans-serif;
}

/* ===== Hero Section ===== */
.hero-bg {
    background: linear-gradient(135deg, #991b1b 0%, #b91c1c 50%, #7f1d1d 100%);
}

/* ===== Section Divider ===== */
.section-title {
    position: relative;
    display: inline-block;
}
.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: #b91c1c;
    margin-top: 8px;
}

/* ===== Social Buttons ===== */
.social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    color: white;
    transition: all 0.2s ease;
    text-decoration: none;
}
.social-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

/* ===== Counter ===== */
.counter-bar {
    height: 100%;
    background: linear-gradient(90deg, #b91c1c, #dc2626);
    border-radius: 9999px;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 4px;
}

/* ===== Gallery ===== */
.gallery-item {
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
}
.gallery-item img {
    transition: transform 0.4s ease;
    width: 100%;
    height: 220px;
    object-fit: cover;
}
.gallery-item:hover img {
    transform: scale(1.07);
}

/* ===== Lightbox ===== */
#lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.92);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}
#lightbox.active {
    display: flex;
}
#lightbox img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 0 60px rgba(0,0,0,0.8);
}

/* ===== Cards ===== */
.card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.card:hover {
    box-shadow: 0 8px 32px rgba(185,28,28,0.12);
    transform: translateY(-3px);
}

/* ===== Red accent border ===== */
.border-accent {
    border-left: 4px solid #b91c1c;
}

/* ===== Donate button pulse ===== */
@keyframes pulse-red {
    0%, 100% { box-shadow: 0 0 0 0 rgba(185,28,28,0.4); }
    50% { box-shadow: 0 0 0 12px rgba(185,28,28,0); }
}
.btn-donate-pulse {
    animation: pulse-red 2s infinite;
}

/* ===== Scroll to top ===== */
#scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: #b91c1c;
    color: white;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s, transform 0.3s;
    z-index: 100;
    border: none;
    box-shadow: 0 4px 16px rgba(185,28,28,0.4);
}
#scroll-top.visible {
    opacity: 1;
    pointer-events: auto;
}
#scroll-top:hover {
    transform: translateY(-3px);
}

/* ===== Mobile menu animation ===== */
#mobile-menu {
    transition: max-height 0.3s ease;
}

/* ===== Blockquote ===== */
blockquote {
    border-left: 4px solid #b91c1c;
    padding-left: 1.5rem;
    font-style: italic;
    color: #374151;
    background: #fef2f2;
    padding: 1rem 1.5rem;
    border-radius: 0 8px 8px 0;
}

/* ===== News content ===== */
.news-content p,
.news-content ul,
.news-content ol,
.news-content h2,
.news-content h3 {
    margin-bottom: 1rem;
}
.news-content ul,
.news-content ol {
    padding-left: 1.25rem;
}
.news-content ul {
    list-style: disc;
}
.news-content ol {
    list-style: decimal;
}
.news-content a {
    color: #b91c1c;
    font-weight: 700;
}

/* ===== Table ===== */
table {
    width: 100%;
    border-collapse: collapse;
}
table th {
    background: #b91c1c;
    color: white;
    text-align: left;
    padding: 10px 16px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
table td {
    padding: 10px 16px;
    border-bottom: 1px solid #f3f4f6;
    font-size: 0.9rem;
}
table tr:hover td {
    background: #fef2f2;
}

/* ===== Smooth scroll ===== */
html {
    scroll-behavior: smooth;
}
