:root {
    --primary-color: #d4af37; /* Classic Gold */
    --primary-hover: #b59025;
    --dark-bg: #1a1a1a;
    --darker-bg: #111;
    --text-main: #333;
    --text-light: #666;
    --light-gray: #f4f6f8;
    --white: #ffffff;
    --font-heading: 'Merriweather', serif;
    --font-body: 'Open Sans', sans-serif;
    --shadow-sm: 0 2px 5px rgba(0,0,0,0.05);
    --shadow-md: 0 5px 15px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

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

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

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

/* Top Bar */
.top-bar {
    background: var(--darker-bg);
    color: #ccc;
    font-size: 0.85rem;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.top-bar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-info span {
    margin-right: 20px;
}

.top-info i {
    color: var(--primary-color);
    margin-right: 5px;
}

.top-social a {
    color: #ccc;
    margin-left: 15px;
    font-size: 0.9rem;
}

.top-social a:hover {
    color: var(--primary-color);
}

/* Header */
header {
    background: var(--white);
    color: var(--text-main);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--dark-bg);
    font-weight: 700;
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links li {
    margin-left: 25px;
}

.nav-links a {
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.btn-donate {
    background: #c00; /* Red Cross style red, or keep Gold? Let's keep Gold for brand consistency but make it bold */
    background: var(--primary-color);
    color: var(--white) !important;
    padding: 0.6rem 1.5rem;
    border-radius: 4px; /* Slightly rounded, more corporate */
    font-weight: 700 !important;
    letter-spacing: 0.5px;
}

.btn-donate:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    height: 80vh;
    min-height: 600px;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.6)), url('https://images.unsplash.com/photo-1532012197267-da84d127e765?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80') no-repeat center center/cover;
    display: flex;
    align-items: center;
    color: var(--white);
}

.hero-content {
    max-width: 800px;
    margin-left: 10%; /* Left aligned hero text is very corporate */
    padding: 2rem;
    background: rgba(0, 0, 0, 0.6); /* Text box overlay */
    border-left: 5px solid var(--primary-color);
}

.hero-tagline {
    display: block;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    font-weight: 700;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    font-weight: 300;
    opacity: 0.9;
}

.hero-btns {
    display: flex;
    gap: 1rem;
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
}

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

.btn-primary:hover {
    background: var(--primary-hover);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--text-main);
}

/* Impact Stats Section */
.impact-section {
    padding: 4rem 0;
    background: var(--primary-color);
    color: var(--white);
    position: relative;
    margin-top: -50px; /* Overlap hero */
    z-index: 10;
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.impact-item .count {
    font-size: 3rem;
    font-weight: 700;
    font-family: var(--font-heading);
    display: block;
}

.impact-item p {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.5rem;
    opacity: 0.9;
}

/* General Sections */
.section {
    padding: 5rem 0;
}

.section-header {
    max-width: 700px;
    margin: 0 auto 3rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--text-main);
    margin-bottom: 1rem;
}

.section-desc {
    font-size: 1.2rem;
    color: var(--text-light);
}

.sub-title {
    color: var(--primary-color);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.bg-light {
    background: var(--light-gray);
}

/* About Section */
.about-wrapper {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.about-image {
    flex: 1;
    position: relative;
}

.about-image img {
    border-radius: 4px;
    box-shadow: var(--shadow-md);
}

.about-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--primary-color);
    color: var(--white);
    padding: 1.5rem;
    border-radius: 50%;
    font-weight: 700;
    font-family: var(--font-heading);
    box-shadow: var(--shadow-sm);
}

.about-text {
    flex: 1;
}

.lead-text {
    font-size: 1.2rem;
    color: var(--text-main);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.btn-link {
    background: none;
    padding: 0;
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    border-radius: 0;
}

.btn-link:hover {
    color: var(--primary-hover);
    border-color: var(--primary-hover);
}

/* Mission Cards */
.mission-cards {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 4px;
    box-shadow: var(--shadow-sm);
    flex: 1;
    min-width: 280px;
    text-align: center;
    transition: var(--transition);
    border-top: 4px solid transparent;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-top-color: var(--primary-color);
}

.card-icon {
    width: 70px;
    height: 70px;
    background: var(--light-gray);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 1.5rem;
    font-size: 1.8rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.card:hover .card-icon {
    background: var(--primary-color);
    color: var(--white);
}

.card h3 {
    font-family: var(--font-heading);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.project-item {
    background: var(--white);
    border: 1px solid #eee;
    border-radius: 4px;
    overflow: hidden;
    transition: var(--transition);
}

.project-item:hover {
    box-shadow: var(--shadow-md);
}

.project-img {
    height: 220px;
    position: relative;
    overflow: hidden;
}

.project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-item:hover .project-img img {
    transform: scale(1.05);
}

.category-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary-color);
    color: var(--white);
    padding: 0.3rem 0.8rem;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 2px;
}

.project-info {
    padding: 1.5rem;
}

.project-info h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
}

.project-info p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.read-more {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
}

/* Quote Parallax */
.parallax-section {
    background: url('https://images.unsplash.com/photo-1575320181282-9afab399332c?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80') no-repeat center center/cover;
    background-attachment: fixed;
    padding: 8rem 0;
    position: relative;
    color: var(--white);
    text-align: center;
}

.parallax-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
}

.quote-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    position: relative;
}

.quote-text {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-style: italic;
    margin-bottom: 2rem;
    position: relative;
    max-width: 900px;
    margin: 0 auto 2rem;
    line-height: 1.4;
}

.quote-author {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

/* CTA Section */
.cta-section {
    padding: 6rem 0;
    background: var(--light-gray);
}

.cta-box {
    background: var(--dark-bg);
    color: var(--white);
    padding: 4rem;
    border-radius: 4px;
    text-align: center;
    background-image: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)), url('https://images.unsplash.com/photo-1531206715517-5c0ba140b2b8?ixlib=rb-1.2.1&auto=format&fit=crop&w=1000&q=80');
    background-size: cover;
    background-position: center;
}

.cta-content h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin: 0 auto 2.5rem;
}

.btn-white {
    background: var(--white);
    color: var(--text-main);
}

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

/* Newsletter */
.newsletter-section {
    background: var(--primary-color);
    padding: 3rem 0;
    color: var(--white);
}

.newsletter-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}

.newsletter-text h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.newsletter-form {
    display: flex;
    flex: 1;
    max-width: 500px;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 0.8rem;
    border: none;
    border-radius: 4px;
}

.newsletter-form button {
    background: var(--dark-bg);
    color: var(--white);
    border: none;
    padding: 0 1.5rem;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
}

/* Footer */
.main-footer {
    background: #222;
    color: #ccc;
    padding-top: 5rem;
    font-size: 0.95rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h3 {
    color: var(--white);
    font-family: var(--font-heading);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col a {
    color: #bbb;
}

.footer-col a:hover {
    color: var(--primary-color);
}

.footer-social {
    margin-top: 1.5rem;
}

.footer-social a {
    margin-right: 15px;
    font-size: 1.2rem;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-list i {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid #333;
    padding: 2rem 0;
    text-align: center;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content {
        margin-left: 0;
        border-left: none;
        border-top: 5px solid var(--primary-color);
        text-align: center;
    }
    
    .about-wrapper {
        flex-direction: column;
    }

    .top-bar {
        display: none; /* Hide top bar on mobile */
    }

    .nav-links {
        position: absolute;
        right: 0px;
        height: 100vh;
        top: 0;
        background-color: var(--white);
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 80%;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
        padding-top: 5rem;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    }
    
    .nav-links li {
        margin: 1.5rem 0;
    }

    .burger {
        display: block;
        z-index: 1001;
    }
    
    .burger div {
        background-color: var(--text-main);
    }

    .nav-active {
        transform: translateX(0%);
    }

    .impact-section {
        margin-top: 0;
    }
}
