

:root {

    --primary: #C8102E;
    --dark: #8B0000;
    --gold: #D4A017;

    --background: #FFF8F2;
    --white: #FFFFFF;

    --text: #333333;

    --shadow:
        0 12px 35px rgba(0,0,0,.12);

}



/* =========================
   RESET
========================= */


* {

    margin:0;
    padding:0;
    box-sizing:border-box;

}



html {

    scroll-behavior:smooth;

}



body {

    font-family:
        "Noto Sans",
        Arial,
        sans-serif;

    background:
        var(--background);

    color:
        var(--text);

    line-height:
        1.7;

}



img {

    max-width:100%;
    display:block;

}



/* =========================
   HEADER
========================= */


#site-header {

    display:flex;

    align-items:center;

    justify-content:space-between;

    position:sticky;

    top:0;

    z-index:1000;

    background:
        rgba(255,255,255,.96);

    box-shadow:
        0 4px 20px rgba(0,0,0,.08);

}



#logo-container {

    padding:
        15px 30px;

}



#logo-container img {

    width:150px;

}



#main-navigation {

    padding:
        10px 30px;

    flex:1;

    display:flex;

    justify-content:center;

    align-items:center;

}


#main-navigation li {

    display:inline-block;

    list-style:none;

    margin-left:25px;

}


#main-navigation a {

    color:
        var(--text);

    text-decoration:none;

    font-weight:600;

}


#main-navigation ul {

    display:flex;

    gap:25px;

    list-style:none;

    justify-content:center;

}



#main-navigation a {

    color:
        var(--text);

    text-decoration:none;

    font-weight:600;

}



#main-navigation a:hover {

    color:
        var(--primary);

}



/* =========================
   MAIN
========================= */


#app {

    width:100%;

}



/* =========================
   HERO
========================= */


#hero {

    position:relative;

    min-height:650px;

    display:flex;

    flex-direction:column;

    justify-content:center;

    align-items:center;

    text-align:center;

    overflow:hidden;

    color:white;

    padding:
        80px 30px;

}



#heroImage {

    position:absolute;

    inset:0;

    width:100%;

    height:100%;

    object-fit:cover;

    z-index:0;

}



#hero::after {

    content:"";

    position:absolute;

    inset:0;

    background:
        rgba(0,0,0,.45);

    z-index:1;

}



#heroTitle,
#heroSubtitle,
#heroDescription,
#heroButtons {

    position:relative;

    z-index:2;

}



#heroTitle {

    font-size:
        clamp(2rem,5vw,4rem);

    margin-bottom:
        20px;

}



#heroSubtitle {

    font-size:
        1.4rem;

    margin-bottom:
        15px;

}



#heroDescription {

    max-width:
        900px;

    font-size:
        1.15rem;

}



#heroButtons {

    margin-top:
        30px;

}



/* =========================
   GENERAL SECTIONS
========================= */


#mission,
#purpose,
#community,
#membership,
#closing {

    padding:
        70px 30px;

}



#missionTitle,
#purposeTitle,
#communityTitle,
#membershipTitle,
#closingTitle {

    text-align:center;

    color:
        var(--primary);

    font-size:
        2.2rem;

    margin-bottom:
        30px;

}



#missionDescription,
#membershipDescription,
#closingDescription {

    max-width:
        1000px;

    margin:
        0 auto;

    text-align:center;

    font-size:
        1.1rem;

}



/* =========================
   CONTENT SECTIONS
========================= */

#contentSections {

    max-width:
        1000px;

    margin:
        0 auto;

    padding:
        70px 30px;

}

#contentSections section {

    margin-bottom:
        60px;

}

#contentSections h2 {

    color:
        var(--primary);

    font-size:
        2rem;

    margin-bottom:
        20px;

}

#contentSections p {

    font-size:
        1.1rem;

    line-height:
        1.8;

    color:
        var(--text);

}


/* =========================
   HISTORY TIMELINE
========================= */


#page-header {

    max-width:
        1000px;

    margin:
        50px auto 30px;

    text-align:
        center;

}


#page-header h1 {

    color:
        var(--primary);

    font-size:
        2.4rem;

    margin-bottom:
        20px;

}


#page-header p {

    color:
        var(--text);

    font-size:
        1.1rem;

    line-height:
        1.8;

}



#timelineSection {

    max-width:
        1000px;

    margin:
        60px auto;

    padding:
        20px;

}



#timelineTitle {

    text-align:
        center;

    color:
        var(--primary);

    font-size:
        2rem;

    margin-bottom:
        50px;

}



#timelineContainer {

    position:
        relative;

    margin:
        0 auto;

    padding-left:
        40px;

}



#timelineContainer::before {

    content:
        "";

    position:
        absolute;

    left:
        18px;

    top:
        0;

    bottom:
        0;

    width:
        3px;

    background:
        var(--primary);

}



.timelineItem {

    position:
        relative;

    background:
        var(--white);

    margin-bottom:
        35px;

    padding:
        25px 30px;

    border-radius:
        8px;

    box-shadow:
        0 4px 12px rgba(0,0,0,.08);

}



.timelineItem::before {

    content:
        "";

    position:
        absolute;

    left:
        -31px;

    top:
        28px;

    width:
        14px;

    height:
        14px;

    border-radius:
        50%;

    background:
        var(--primary);

}



.timelinePeriod {

    color:
        var(--primary);

    font-size:
        1.3rem;

    margin-bottom:
        15px;

}



.timelineDescription {

    color:
        var(--text);

    line-height:
        1.8;

    font-size:
        1rem;

}


/* =========================
   PURPOSE CARDS
========================= */


#purposeCards,
#communityCards {

    max-width:
        1200px;

    margin:
        0 auto;

    display:grid;

    grid-template-columns:
        repeat(3,1fr);

    gap:
        30px;

}



#purposeCards .card,
#communityCards .card {

    background:
        var(--white);

    padding:
        30px;

    border-radius:
        20px;

    box-shadow:
        var(--shadow);

    text-align:
        center;

}



#purposeCards .card img,
#communityCards .card img {

    width:100%;

    border-radius:
        15px;

    margin-bottom:
        20px;

}



#purposeCards h3,
#communityCards h3 {

    color:
        var(--primary);

    margin-bottom:
        15px;

}



#purposeCards p,
#communityCards p {

    color:
        var(--text);

}



/* =========================
   MEMBERSHIP
========================= */


#membership {

    background:
        var(--white);

    padding:
        70px 30px;

}



#membershipBenefits {

    max-width:
        1000px;

    margin:
        45px auto;

    padding:
        0;

    list-style:
        none;

    display:
        grid;

    grid-template-columns:
        repeat(auto-fit, minmax(260px, 1fr));

    gap:
        25px;

}



#membershipBenefits li {

    background:
        #ffffff;

    border:
        1px solid #eeeeee;

    border-radius:
        12px;

    padding:
        28px 25px;

    min-height:
        120px;

    line-height:
        1.7;

    font-size:
        1rem;

    box-shadow:
        0 4px 12px rgba(0,0,0,0.06);

    position:
        relative;

}



#membershipBenefits li::before {

    content:
        "✓";

    display:
        block;

    color:
        var(--primary);

    font-size:
        1.5rem;

    font-weight:
        bold;

    margin-bottom:
        12px;

}



#membershipCTA {

    max-width:
        850px;

    margin:
        60px auto 20px;

    padding:
        45px 40px;

    background:
        var(--light);

    border-top:
        4px solid var(--primary);

    border-radius:
        14px;

    text-align:
        center;

}



#membershipCTATitle {

    margin-bottom:
        18px;

    color:
        var(--primary);

    font-size:
        2rem;

}



#membershipCTADescription {

    max-width:
        700px;

    margin:
        0 auto;

    line-height:
        1.8;

    font-size:
        1.05rem;

}



#membershipButton {

    margin-top:
        35px;

    text-align:
        center;

}



#membershipButton a,
#membershipButton button {

    display:
        inline-block;

    padding:
        14px 36px;

    background:
        var(--primary);

    color:
        var(--white);

    border-radius:
        30px;

    text-decoration:
        none;

    font-weight:
        bold;

    transition:
        0.3s ease;

}



#membershipButton a:hover,
#membershipButton button:hover {

    opacity:
        0.85;

}


/* =========================
   CLOSING
========================= */


#closing {

    background:
        linear-gradient(
            135deg,
            #fff8f2,
            #ffffff
        );

}



#closingDescription {

    max-width:
        900px;

}

/* =========================
   CONTACT PAGE
========================= */


#contactInformation,
#contactFormSection,
#membershipPrompt {

    max-width:
        1000px;

    margin:
        60px auto;

}


#contactInformation {

    text-align:center;

}



#contactForm {

    background:
        var(--white);

    padding:
        40px;

    border-radius:
        15px;

    box-shadow:
        0 5px 20px rgba(0,0,0,0.08);

}



#contactFields {

    display:flex;

    flex-direction:column;

    gap:
        20px;

}



#contactFields label {

    font-weight:
        bold;

    color:
        var(--primary);

}



#contactFields input,
#contactFields textarea {


    width:
        100%;
        }
        
        

    padding:
        12px;

    border:
        1px solid #ddd;

    border-radius:
        8px;

    font-size:
        1rem;

}



#contactFields textarea {

    min-height:
        150px;

}



#contactButton {

    margin-top:
        25px;

    padding:
        12px 30px;

    background:
        var(--primary);

    color:
        var(--white);

    border:
        none;

    border-radius:
        25px;

    cursor:pointer;

}



#contactButton:hover {

    opacity:
        0.85;

}



#membershipPrompt {

    display:grid;

    grid-template-columns:
        repeat(2,1fr);

    gap:
        30px;

}



#memberCard,
#nonMemberCard {

    background:
        var(--white);

    padding:
        30px;

    border-radius:
        15px;

    box-shadow:
        0 5px 20px rgba(0,0,0,0.08);

}



#memberCard h3,
#nonMemberCard h3 {

    color:
        var(--primary);

}


@media(max-width:768px){

    #membershipPrompt {

        grid-template-columns:
            1fr;

    }

}

/* =========================
   GENERIC CARDS
========================= */


#cardContainer {

    max-width:
        1200px;

    margin:
        40px auto;

    display:
        grid;

    grid-template-columns:
        repeat(auto-fit,minmax(300px,1fr));

    gap:
        30px;

}


.card {

    background:
        var(--white);

    padding:
        30px;

    border-radius:
        20px;

    box-shadow:
        var(--shadow);

}



.card h3 {

    color:
        var(--primary);

    margin-bottom:
        15px;

}



.card p {

    color:
        var(--text);

}



/* =========================
   GALLERY SUPPORT
========================= */

.gallery-item {

    background:
        var(--white);

    padding:
        20px;

    border-radius:
        20px;

    box-shadow:
        var(--shadow);

}


.gallery-item h3 {

    color:
        var(--primary);

    margin-top:
        15px;

}

#galleryContainer {

    max-width:
        1200px;

    margin:
        0 auto;

    display:grid;

    grid-template-columns:
        repeat(3,1fr);

    gap:
        25px;

}



#galleryContainer img {

    width:100%;

    border-radius:
        15px;

    box-shadow:
        var(--shadow);

}



/* =========================
   FOOTER
========================= */


#site-footer {

    background:
        var(--dark);

    color:
        white;

    text-align:
        center;

    padding:
        40px 30px;

}



/* =========================
   RESPONSIVE
========================= */


@media(max-width:900px){


    #purposeCards,
    #communityCards {

        grid-template-columns:
            repeat(2,1fr);

    }


}



@media(max-width:700px){


    #main-navigation {

        flex-direction:
            column;

        align-items:
            center;

    }


    #main-navigation li {

        margin-left:0;

        margin-bottom:10px;

    }


    #hero {

        min-height:
            500px;

    }



    #purposeCards,
    #communityCards,
    #galleryContainer {

        grid-template-columns:
            1fr;

    }



    #heroTitle {

        font-size:
            2rem;

    }


}


/* =========================
   CONTACT PAGE
========================= */

#contactInformation,
#contactFormSection,
#membershipPrompt {

    max-width:1000px;

    margin:60px auto;

}


#contactInformation {

    text-align:center;

}


/* =========================
   CONTACT INTRO POLISH
========================= */

#contactInformation {

    max-width:850px;

    margin:50px auto;

    padding:40px 30px;

    text-align:center;

    background:var(--white);

    border-radius:18px;

    box-shadow:var(--shadow);

}


#contactInformation h2 {

    color:var(--primary);

    font-size:2rem;

    margin-bottom:20px;

    line-height:1.3;

}


#contactInformation p {

    font-size:1.05rem;

    line-height:1.8;

    max-width:750px;

    margin:0 auto 30px;

}


#contactFormSection h2 {

    text-align:center;

    color:var(--primary);

    font-size:1.8rem;

    margin-bottom:25px;

}



/* CONTACT FORM */

#contactForm {

    background:var(--white);

    padding:40px;

    border-radius:15px;

    box-shadow:0 5px 20px rgba(0,0,0,0.08);

}


#contactFields {

    display:grid;

    gap:20px;

}


#contactFields label {

    display:block;

    margin-bottom:6px;

    font-weight:bold;

}


#contactFields input,
#contactFields textarea {

    width:100%;

    padding:12px;

    border:1px solid #ddd;

    border-radius:8px;

    font-size:1rem;

}


#contactFields textarea {

    min-height:140px;

}



#contactButton {

    margin-top:25px;

    padding:12px 30px;

    background:var(--primary);

    color:white;

    border:none;

    border-radius:30px;

    cursor:pointer;

    font-size:1rem;

}


#contactButton:hover {

    opacity:0.85;

}



/* MEMBERSHIP PROMPT */

#membershipPrompt {

    text-align:center;

}


#memberCard,
#nonMemberCard {

    background:var(--white);

    padding:30px;

    margin-top:25px;

    border-radius:15px;

    box-shadow:0 5px 20px rgba(0,0,0,0.08);

}


#memberCard h3,
#nonMemberCard h3 {

    color:var(--primary);

    margin-bottom:15px;

}


#memberCard p,
#nonMemberCard p {

    line-height:
        1.7;

}




/* =========================
   MEMBERSHIP RADIO FIX
========================= */

.membership-options {

    display:flex;

    justify-content:center;

    gap:40px;

    margin-top:25px;

}


.membership-options label {

    display:flex;

    align-items:center;

    gap:10px;

    font-weight:bold;

    cursor:pointer;

}


.membership-options input[type="radio"] {

    width:auto;

    margin:0;

    transform:scale(1.2);

}


#membershipPrompt {

    display:block;

    text-align:center;

}




















/* =========================
   EVENTS PAGE (grid/list toggle + filters + modal)
========================= */

.events-filter-bar {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto 20px;
}

.events-filter-bar select {
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 14px;
    background: var(--white);
    color: var(--text);
}

.events-view-toggle {
    display: flex;
    gap: 6px;
    margin-left: auto;
}

.events-view-btn {
    padding: 8px 16px;
    border-radius: 8px;
    border: 1px solid #ddd;
    background: var(--white);
    color: var(--text);
    cursor: pointer;
    font-size: 14px;
}

.events-view-btn.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 10px;
    max-width: 1200px;
    margin: 0 auto 40px;
}

.events-tile {
    position: relative;
    aspect-ratio: 1;
    border-radius: 10px;
    padding: 14px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.15s ease;
    border: none;
}

.events-tile:hover,
.events-tile:focus {
    transform: scale(1.03);
    outline: none;
}

.events-tile-icon {
    align-self: flex-end;
}

.events-tile-date {
    font-size: 13px;
    font-weight: 600;
}

.events-tile-title {
    font-size: 12px;
    opacity: 0.85;
    line-height: 1.3;
    margin-top: 2px;
}

.events-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 900px;
    margin: 0 auto 40px;
}

.events-list-item {
    background: var(--white);
    border-radius: 16px;
    padding: 16px 20px;
    box-shadow: var(--shadow);
}

.events-list-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.events-list-icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.events-list-category {
    font-size: 12px;
    color: var(--text);
}

.events-list-date {
    font-size: 12px;
    color: var(--text);
    opacity: 0.7;
    margin-left: auto;
}

.events-list-title {
    margin: 0 0 8px;
    color: var(--primary);
}

.events-list-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 8px;
}

.events-tag {
    font-size: 11px;
    background: #F1EFE8;
    color: #555;
    padding: 2px 8px;
    border-radius: 12px;
}

.events-list-link {
    font-size: 13px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.events-list-link:hover {
    text-decoration: underline;
}

.events-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
}

.events-modal {
    background: var(--white);
    width: 80%;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
    border-radius: 16px;
    padding: 32px;
    position: relative;
    box-shadow: var(--shadow);
}

.events-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    color: var(--text);
}

.events-modal-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding-right: 36px;
}

.events-modal-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.events-modal-category {
    font-size: 13px;
    color: var(--text);
}

.events-modal-date {
    font-size: 13px;
    color: var(--text);
    opacity: 0.7;
    margin-left: auto;
}

.events-modal-title {
    margin: 0 0 12px;
    color: var(--primary);
}

.events-modal-description {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text);
    margin: 0 0 16px;
}

.events-modal-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
}

.events-modal-link {
    font-size: 14px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.events-modal-link:hover {
    text-decoration: underline;
}

@media (max-width: 600px) {
    .events-modal {
        width: 92%;
        padding: 20px;
    }
    .events-view-toggle {
        margin-left: 0;
    }
}


/* =========================
   FOOTER EIN LINE (added)
   ========================= */
.footer-ein {
    margin: 0;
    padding: 0;
    font-size: 0.875rem;
    opacity: 0.85;
}

/* =========================
   MEMBERSHIP BUTTON (added)
   ========================= */
#membershipButton {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.75rem 1.75rem;
    background-color: #C8102E;
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 600;
    border-radius: 6px;
    transition: opacity 0.2s ease;
}

#membershipButton:hover {
    opacity: 0.85;
    text-decoration: none;
}


/* =========================
   UPCOMING EVENTS BANNER (added)
   ========================= */
.events-upcoming-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto 16px;
    padding: 16px 20px;
    border-radius: 10px;
    background: #FDF0D5;
    color: #8A5A00;
    text-decoration: none;
    transition: transform 0.15s ease;
}

.events-upcoming-banner:hover {
    transform: translateY(-2px);
}

.events-upcoming-banner-title {
    font-size: 16px;
    font-weight: 700;
}

.events-upcoming-banner-description {
    font-size: 13px;
    opacity: 0.85;
    margin-top: 2px;
}

.events-upcoming-banner-arrow {
    font-size: 20px;
    flex-shrink: 0;
    margin-left: 12px;
}
