/* CSS Variables */
:root {
    --primary-color: #001f3f; /* Navy Blue */
    --secondary-color: #FFD700; /* Gold */
    --white-color: #FFFFFF;
    --dark-overlay: rgba(0, 0, 0, 0.6);
    --serif-font: 'Lora', serif;
    --sans-serif-font: 'Lato', sans-serif;
}

/* General Styles */
body {
    font-family: var(--sans-serif-font);
    margin: 0;
    line-height: 1.6;
    color: #333;
}

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

h1, h2, h3, h4 {
    font-family: var(--serif-font);
}

/* Header */
.sticky-header {
    position: sticky;
    top: 0;
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 1rem 0;
    z-index: 1000;
}

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

.logo {
    font-size: 1.5em;
    font-weight: bold;
}

.donate-btn {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    font-weight: bold;
}

.hamburger {
    display: none;
    font-size: 2em;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: url('images/hero.jpg') no-repeat center center/cover;
    height: 100vh;
    color: var(--white-color);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-overlay {
    background-color: var(--dark-overlay);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content h1 {
    font-size: 3.5em;
    margin-bottom: 0.5em;
}

.hero-content p {
    font-size: 1.2em;
    margin-bottom: 1.5em;
}

.cta-btn {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    padding: 15px 30px;
    border: none;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
}

/* About Us Section */
.about-us {
    padding: 4em 0;
}

.about-us .container {
    display: flex;
    gap: 2em;
}

.about-content {
    flex: 2;
}

.about-image {
    flex: 1;
}

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

/* Events Section */
.events {
    padding: 4em 0;
    background-color: #f4f4f4;
}

.event-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2em;
    margin-bottom: 2em;
}

.event-item {
    background-color: var(--white-color);
    padding: 1.5em;
    border-left: 5px solid var(--primary-color);
}

.get-involved a {
    color: var(--primary-color);
}

.donate-btn-alt {
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    font-weight: bold;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 3em 0 1em;
}

footer .container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2em;
}

.footer-email {
    font-size: 1.2em;
}

footer a {
    color: var(--white-color);
    text-decoration: none;
}

.copyright {
    text-align: center;
    margin-top: 2em;
    padding-top: 1em;
    border-top: 1px solid #444;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 500px;
    position: relative;
}

.close-btn {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

#contact-form input, #contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
}

#contact-form button {
    width: 100%;
    padding: 10px;
    background-color: var(--primary-color);
    color: var(--white-color);
    border: none;
    cursor: pointer;
}

/* Popup */
.popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 20px;
    border-radius: 5px;
    z-index: 1002;
}

/* Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    nav {
        /* Basic mobile menu setup, can be improved with JS */
        position: absolute;
        top: 100%;
        left: 0;
        background-color: var(--primary-color);
        width: 100%;
        display: none;
    }

    .about-us .container, .event-list, footer .container {
        flex-direction: column;
        grid-template-columns: 1fr;
    }
}
