/*
FELLOWSHIP RIGHT BAPTIST CHURCH
COLOR SCHEME: Burgundy and Cream
*/

:root {
    --primary-color: #800020; /* Burgundy */
    --secondary-color: #FFFDD0; /* Cream */
    --dark-overlay: rgba(0, 0, 0, 0.6);
    --text-light: #FFFFFF;
    --text-dark: #333333;
    --font-serif: 'Lora', serif;
    --font-sans-serif: 'Roboto', sans-serif;
}

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

body {
    font-family: var(--font-sans-serif);
    color: var(--text-dark);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header */
.sticky-header {
    position: sticky;
    top: 0;
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 1rem 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

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

.logo {
    font-family: var(--font-serif);
    font-size: 1.5em;
}

.nav-menu {
    list-style: none;
    display: flex;
}

.nav-menu li {
    margin-left: 2rem;
}

.nav-menu a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 700;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--secondary-color);
}

.donate-button {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    transition: background-color 0.3s, color 0.3s;
}

.donate-button:hover {
    background-color: #E6D8A7;
}

.hamburger-menu {
    display: none;
    cursor: pointer;
}

.hamburger-menu span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-light);
    margin: 5px 0;
}

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--dark-overlay);
}

.hero-content {
    position: relative;
    color: var(--text-light);
}

.hero-content h2 {
    font-family: var(--font-serif);
    font-size: 3.5em;
    margin-bottom: 0.5rem;
}

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

.cta-button {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    padding: 1rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2em;
    transition: background-color 0.3s, color 0.3s;
}

.cta-button:hover {
    background-color: #E6D8A7;
}

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

.about-us .container {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.about-content {
    flex: 1;
}

.about-content h3 {
    font-family: var(--font-serif);
    font-size: 2.5em;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
}

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

.events h3 {
    font-family: var(--font-serif);
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.event-cards {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 3rem;
}

.card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    overflow: hidden;
    flex: 1;
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card h4 {
    font-family: var(--font-serif);
    font-size: 1.5em;
    padding: 1rem 1rem 0.5rem;
}

.card p {
    padding: 0 1rem 1rem;
}

.involvement-info {
    text-align: center;
}

.involvement-info h4 {
    font-family: var(--font-serif);
    font-size: 2em;
    margin-bottom: 1rem;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 3rem 0 1rem;
}

footer .container {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
}

.footer-col {
    flex: 1;
}

.footer-col h4 {
    font-family: var(--font-serif);
    font-size: 1.2em;
    margin-bottom: 1rem;
}

.footer-col p, .footer-col a {
    color: var(--text-light);
    text-decoration: none;
    margin-bottom: 0.5rem;
}

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

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

/* 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: 2rem;
    border: 1px solid #888;
    width: 80%;
    max-width: 500px;
    border-radius: 10px;
    position: relative;
}

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

.close-button:hover, .close-button-ty:hover {
    color: black;
}

#contact-form input, #contact-form textarea {
    width: 100%;
    padding: 0.8rem;
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
}

#contact-form button {
    width: 100%;
    padding: 1rem;
    background-color: var(--primary-color);
    color: var(--text-light);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1em;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        right: 0;
        background-color: var(--primary-color);
        width: 100%;
        text-align: center;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        margin: 1rem 0;
    }

    .hamburger-menu {
        display: block;
    }

    .hero-content h2 {
        font-size: 2.5em;
    }

    .about-us .container {
        flex-direction: column;
    }

    .event-cards {
        flex-direction: column;
    }

    footer .container {
        flex-direction: column;
        text-align: center;
    }
}
