
/* --- Global Styles & Main Layout Fix --- */
body {
    font-family: sans-serif;
    margin: 0;
    background-color: #f0f0f0;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* --- Header Styles: New Two-Column, Two-Row Layout --- */
header {
    background-color: #fff;
    padding: 15px 20px;
    border-bottom: 2px solid #ccc;
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
}

.header-logo-column {
    display: flex;
    align-items: center;
    padding-right: 15px;
}

.logo {
    height: 90px;
}

.header-content-column {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
    position: relative;
}

.header-content-column h1 {
    font-size: 32px;
    color: #333;
    margin: 0;
    padding-bottom: 5px;
}

/* --- Navigation Styles: Making the links into buttons --- */
header nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-start;
}

header nav a {
    display: inline-block;
    text-decoration: none;
    color: #fff;
    background-color: #2789e3;
    padding: 8px 12px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

header nav a:hover {
    background-color: #fff;
    color: #2789e3;
}

/* --- Hamburger Button Styles --- */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
    position: absolute;
    top: 15px;
    right: 15px;
}

.hamburger-bar {
    display: block;
    width: 30px;
    height: 3px;
    background-color: #333;
    margin: 6px 0;
    transition: all 0.3s ease-in-out;
}

/* Hamburger icon animation when menu is open */
body.menu-open .nav-toggle .hamburger-bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}
body.menu-open .nav-toggle .hamburger-bar:nth-child(2) {
    opacity: 0;
}
body.menu-open .nav-toggle .hamburger-bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* --- Responsive Adjustments for Header --- */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        position: relative;
    }

    .header-logo-column {
        padding-right: 0;
    }

    .header-content-column {
        align-items: center;
        text-align: center;
        position: relative;
        width: 100%;
    }

    .header-content-column h1 {
        font-size: 28px;
        margin-right: 60px;
        margin-left: 60px;
    }

    /* Show the hamburger button on mobile */
    .nav-toggle {
        display: block;
        position: absolute;
        top: 15px;
        right: 15px;
        padding: 8px;
    }

    /* Hide the main navigation on mobile by default and style as overlay */
    header nav.main-nav {
        /* Hides the menu completely */
        display: none; 
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(255, 255, 255, 0.98);
        padding-top: 100px;
        z-index: 1000;
        overflow-y: auto;
    }
    
    /* Show the navigation when the 'menu-open' class is active on the body */
    body.menu-open header nav.main-nav {
        display: block;
    }

    /* Style the list items and links for the mobile menu */
    header nav.main-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        width: 100%;
        padding: 0 20px;
        box-sizing: border-box;
    }

    header nav.main-nav a {
        display: block;
        width: 100%;
        max-width: 300px;
        text-align: center;
        padding: 15px 0;
        font-size: 20px;
        border: 1px solid #2789e3;
    }

    header nav.main-nav a:hover {
        background-color: #2789e3;
        color: #fff;
    }
}

:root {
    --primary-color: #333;
    --secondary-color: #555;
    --background-color: #f4f4f4;
    --accent-color: #a02222; /* A dark red for accents */
    --link-color: #1a0dab;
    --header-bg: #fff;
    --footer-bg: #333;
    --footer-text: #fff;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: var(--primary-color);
    background-color: var(--background-color);
}

a {
    text-decoration: none;
    color: var(--link-color);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-color);
}

}

/*
 * Main Content
 * General layout for the main body of the page.
 */
main {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 2rem;
    font-weight: bold; /* Added bold style */
}

.event-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #ccc;
}

.event-image {
    flex-basis: 25%;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    min-height: 200px;
}

.event-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.event-details {
    flex-basis: 75%;
    flex-shrink: 0;
}


.event-details {
    flex: 1; /* Takes up the remaining space */
}

.event-details h2 {
    font-size: 1.8rem;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    font-weight: bold; /* Added bold style */
}

.event-details p {
    margin-bottom: 1rem;
}

/*
 * Media Queries for Responsiveness
 * This ensures the layout is mobile-friendly.
 * The layout will stack vertically on screens smaller than 768px.
 */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: flex-start;
    }

    nav {
        margin-top: 1rem;
    }

    nav ul {
        flex-direction: column;
        gap: 0.5rem;
    }

    .event-container {
        flex-direction: column;
    }

    .event-image, .event-image img {
        flex: 1;
        max-width: 100%;
    }

    .event-details {
        flex: 1;
        width: 100%;
    }
}

.bold-text {
    font-weight: bold;
}

.italic-text {
    font-style: italic;
}

.bold-italic-text {
    font-weight: bold;
    font-style: italic;
}



/* --- Three-Column Section Styles --- */
.three-column-section {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 20px;
    padding: 40px 20px;
    max-width: 1200px;
    margin: 40px auto;
}

.column {
    flex: 1;
    min-width: 280px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.column:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.column h2 {
    font-size: 22px;
    color: #333;
    margin-bottom: 15px;
}

.column p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.column-link {
    display: inline-block;
    text-decoration: none;
    color: #2789e3;
    font-weight: bold;
    padding: 8px 12px;
    border: 2px solid #2789e3;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.column-link:hover {
    background-color: #2789e3;
    color: #fff;
}

@media (max-width: 768px) {
    .three-column-section {
        flex-direction: column;
        align-items: center;
        gap: 0;
    }
    .column {
        min-width: 90%;
        margin-bottom: 20px;
    }
}

/* --- Footer Styles --- */
footer {
    display: flex;
    justify-content: center;
    gap: 50px;
    padding: 40px 20px;
    background-color: #fff;
    color: #333;
    text-align: center;
    flex-wrap: wrap;
}

.footer-contact, .footer-social {
    margin: 0;
    flex: 1;
    min-width: 250px;
}

.footer-social .social-links a img {
    height: 30px;
    margin: 0 5px;
}

.footer-contact a {
    color: #333;
    text-decoration: underline;
}

.footer-contact p {
    margin: 5px 0;
}

/* Mailchimp form specific style */
.mc-field-group input-group {
    list-style: none;
}