/*
Theme Name: InfoGiant Charity Theme
Theme URI: https://megaone.geeaig.com
Author: InfoGiant Dev (megaone)
Description: A high-conversion charity theme (Red/White/Black) built for the InfoGiant Charity Core plugin.
Version: 1.0.0
*/

:root {
    --ig-red: #D32F2F; /* Primary Brand Color */
    --ig-red-dark: #b71c1c;
    --ig-black: #111827; /* Dark Text */
    --ig-grey: #f3f4f6; /* Light Backgrounds */
    --ig-white: #ffffff;
    --max-width: 1200px;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--ig-black);
    margin: 0;
    line-height: 1.6;
    background: var(--ig-white);
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; padding: 0; margin: 0; }

/* --- BUTTONS --- */
.btn {
    display: inline-block;
    padding: 14px 28px;
    font-weight: 700;
    border-radius: 6px;
    text-align: center;
    cursor: pointer;
}

.btn-primary {
    background: var(--ig-red);
    color: var(--ig-white);
    border: 2px solid var(--ig-red);
}

.btn-primary:hover {
    background: var(--ig-red-dark);
    border-color: var(--ig-red-dark);
    color: var(--ig-white);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--ig-white);
    color: var(--ig-white);
}

.btn-outline:hover {
    background: var(--ig-white);
    color: var(--ig-red);
}

/* --- HEADER --- */
.site-header {
    background: var(--ig-white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    font-size: 24px;
    font-weight: 800;
    color: var(--ig-black);
    text-transform: uppercase;
}

.site-logo span { color: var(--ig-red); }

.main-navigation ul {
    display: flex;
    gap: 30px;
    align-items: center;
}

.main-navigation a {
    font-weight: 600;
    font-size: 15px;
}

.main-navigation a:hover { color: var(--ig-red); }

/* --- HERO SECTION --- */
.hero-section {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('https://placehold.co/1920x1080/111827/FFF?text=Community+Support'); /* Replace with real image */
    background-size: cover;
    background-position: center;
    color: var(--ig-white);
    padding: 120px 20px;
    text-align: center;
}

.hero-content { max-width: 800px; margin: 0 auto; }
.hero-title { font-size: 48px; font-weight: 800; margin-bottom: 20px; line-height: 1.1; }
.hero-sub { font-size: 20px; margin-bottom: 40px; opacity: 0.9; }

/* --- MISSION SECTION --- */
.mission-section { padding: 80px 20px; background: var(--ig-white); }
.mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    max-width: var(--max-width);
    margin: 0 auto;
    align-items: center;
}
.section-title { font-size: 36px; font-weight: 800; margin-bottom: 20px; color: var(--ig-black); }
.section-title span { color: var(--ig-red); }
.mission-img img { width: 100%; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }

/* --- CASES SECTION --- */
.cases-section { padding: 80px 20px; background: var(--ig-grey); }
.cases-container { max-width: var(--max-width); margin: 0 auto; }
.cases-header { text-align: center; margin-bottom: 50px; }

/* Card Styling to override plugin default for this theme */
.ig-campaign-feed { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 30px; }
.ig-feed-card { background: white; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 6px rgba(0,0,0,0.05); }

/* --- DONATION SECTION --- */
.donate-section { padding: 80px 20px; background: var(--ig-black); color: var(--ig-white); }
.donate-wrapper { max-width: 800px; margin: 0 auto; text-align: center; }
.donate-wrapper h2 { color: var(--ig-white); }
.donate-wrapper p { color: #9ca3af; margin-bottom: 40px; }
.impact-text { color: var(--ig-red); font-weight: bold; margin-top: 15px; }

/* --- FOOTER --- */
.site-footer { background: #000; color: white; padding: 60px 20px 20px; }
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: var(--max-width);
    margin: 0 auto 40px;
    border-bottom: 1px solid #333;
    padding-bottom: 40px;
}
.footer-widget h4 { font-size: 18px; margin-bottom: 20px; color: var(--ig-white); }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: #9ca3af; }
.footer-links a:hover { color: var(--ig-red); }
.copyright { text-align: center; color: #6b7280; font-size: 14px; }

/* Responsive */
@media (max-width: 768px) {
    .mission-grid { grid-template-columns: 1fr; }
    .hero-title { font-size: 36px; }
    .main-navigation { display: none; } /* Simplified for example */
}