/* =========================================================
   NAVIGATION — MODERN
   ========================================================= */
nav {
    width: 100%;
    background-color: #C8102E;
    height: 60px;
    text-align: center;
    line-height: 60px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3); /* subtle shadow */
    border-bottom: 2px solid #A50B1B; /* darker border at bottom */
    border-radius: 0 0 10px 10px; /* rounded bottom corners */
}

nav a {
    margin: 0 25px;
    font-size: 20px;
    text-decoration: none;
    color: white;
    font-family: monospace;
    padding: 8px 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

nav a:hover {
    background-color: white;
    color: #C8102E;
    border: 1px solid #C8102E;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
}

.HOME {
    border-bottom: 2px solid white;
}

/* =========================================================
   GENERAL PAGE SETTINGS
   ========================================================= */
body {
    margin: 0;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    background-color: #fafafa;
}

.mainimg {
    width: 100%;
}

hr {
    width: 100%;
    background-color: #213F64;
    height: 6px;
    border: none;
}

.UP {
    text-align: center;
    padding-top: 40px;
    padding-bottom: 20px;
}

/* =========================================================
   ROW 1 — ABOUT / JOIN (SAME COLOR BOTH HALVES)
   ========================================================= */
.row1 {
    width: 100%;
    display: flex;
    position: relative;
    margin: 0;
    padding: 0;
    box-sizing: border-box;


}

.row1 .col {
    flex: 1; /* 50% each */
    padding: 40px 20px;
    text-align: center;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
    background-color: #C8102E; /* Same for both halves */

}

/* Vertical divider */
.row1::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: white;
    transform: translateX(-1px);
    pointer-events: none;

}

/* Headings */
.row1 .col h2 {
    margin-bottom: 15px;
    font-size: 26px;
}

/* Paragraphs */
.row1 .col p {
    width: 80%;
    margin: 0 auto;
    line-height: 1.6;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 25px;
    margin-top: 20px;
    background-color: white;
    color: #C8102E;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: 0.3s;
}

.btn:hover {
    background-color: #E03A3E;
    color: white;
}

/* =========================================================
   BANNER SECTION (ROW 2)
   ========================================================= */
.banner-section {
    width: 100%;
    height: 420px;
    background-image: url("images/bannercopy.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    text-align: center;
}

.banner-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
}

.banner-content {
    position: relative;
    z-index: 2;
    width: 70%;
    max-width: 800px;
    color: white;
}

.banner-section h2 {
    font-size: 32px;
    margin-bottom: 15px;
}

.banner-section p {
    font-size: 18px;
    line-height: 1.6;
}

/* =========================================================
   ROW 3 — UPCOMING EVENTS
   ========================================================= */
.row3 {
    width: 80%;
    margin: auto;
}

.row3 .col {
    width: 25%;
    float: left;
    text-align: center;
    margin-bottom: 40px;
    box-sizing: border-box;
}

.row3 .col h2 {
    background-color: #213F64;
    color: white;
    padding: 10px;
    width: 80%;
    margin: auto;
    border-radius: 8px;
    text-align: center;
}

/* Event images with shadow and border */
.row3 .col img.beans {
    width: 80%;
    height: auto;
    margin-top: 15px;
    margin-bottom: 15px;
    border-radius: 15px;
    box-shadow: 0 8px 15px rgba(0,0,0,0.3);
    border: 4px solid #213F64;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.row3 .col img.beans:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 20px rgba(0,0,0,0.5);
}

.row3 p {
    line-height: 1.6;
    margin: 20px auto 40px auto;
    width: 80%;
}

/* Clear floats in row3 */
.row3::after {
    content: "";
    display: table;
    clear: both;
}



/* ---------- FOOTER ---------- */
.footer {
    background-color: #213F64; /* dark blue */
    color: white;
    padding: 40px 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    text-align: left;
    flex-wrap: wrap; /* allows wrapping on smaller screens */
    gap: 20px; /* spacing between columns */
    text-align: center;
}

.footer-col {
    flex: 1 1 200px; /* minimum width 200px, columns grow naturally */
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}



/* Footer links */
.footer a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    line-height: 1.8;
    white-space: nowrap;
    transition: opacity 0.2s ease;
}

.footer a:hover {
    opacity: 0.7;
}


/* ---------- GENERAL PAGE STYLES ---------- */

body {
    margin: 0;
    font-family: Arial, sans-serif;
}

.mainimg {
    width: 100%;
}





/* ---------- ROW 1: WHO WE ARE ---------- */

.aboutrow1 {
    width: 80%;
    margin: 40px auto;
    text-align: center;
}

.aboutrow1 h2 {
    font-size: 2rem;
}

.aboutrow1 p {
    font-size: 1.1rem;
    line-height: 1.6;
}

/* ---------- ROW 2: MISSION & VISION ---------- */

.row2color {
    background-color: #213F64;
    padding: 40px 0;
    color: white;
}

.aboutrow2 {
    width: 80%;
    margin: auto;
}

.mv-row {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}

.mv-box {
    flex: 1;
    background: #ffffff;
    color: black;
    border: 4px solid #213F64;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.32);
}

.mv-box h2 {
    margin-top: 0;
    font-size: 1.6rem;
}

.mv-box p {
    font-size: 1.05rem;
    line-height: 1.5;
}

/* Mobile stacking */
@media (max-width: 700px) {
    .mv-row {
        flex-direction: column;
    }
}

/* ---------- ROW 3: MEET THE TEAM ---------- */

.aboutcolor1 {
    background-color: #C8102E;
    padding: 40px 0;
    color: white;
}

.aboutrow3 {
    width: 80%;
    margin: auto;
    text-align: center;
}

.aboutrow3 h1 {
    font-size: 2.4rem;
    margin-bottom: 40px;
}

.aboutrow3 .col {
    width: 250px;
    padding: 25px;
    background: #ffffff;
    border-radius: 12px;
    border: 5px solid white;
    color: black;
    display: inline-block;
    margin: 20px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.35);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.aboutrow3 .col:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.55);
}

.aboutrow3 img {
    width: 220px;
    height: 220px;
    object-fit: cover;
    border-radius: 10px;
    border: 4px solid white;
}

.aboutrow3 h2 {
    font-size: 1.3rem;
    margin-top: 15px;
    margin-bottom: 8px;
    font-weight: bold;
}

.aboutrow3 p {
    font-size: 1.1rem;
    margin: 0;
}

.aboutcolor1 hr {
    background-color: #C8102E;
}

/* Mobile resizing */
@media (max-width: 600px) {
    .aboutrow3 .col {
        width: 80%;
    }

    .aboutrow3 img {
        width: 70%;
        height: auto;
    }
}






/* ---------- EVENTS PAGE ---------- */

.eventscolor1 {
    background-color: #C8102E;
}

.eventshr {
    background-color: #C8102E;
    box-shadow: 0 4px 8px rgba(0.3,0,0,0.3); /* subtle shadow */
}

.upcoming-title {
    text-align: center;
    color: white;
}

.eventsrow1 {
    width: 80%;
    margin: 40px auto;
    text-align: center;
}

.eventsrow1 h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.eventsrow1 p {
    font-size: 1.1rem;
}

/* GRID CONTAINER */
.event-grid {
    width: 90%;
    margin: 40px auto;
    display: grid;
    grid-template-columns: 1fr 1fr; /* 2 columns */
    gap: 40px;
}

/* EACH EVENT + DESCRIPTION PAIR */
.event-pair {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

/* EVENT CARD */
.event-card {
    width: 220px;
    background: white;
    border: 4px solid #ffffff;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.event-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 22px rgba(0,0,0,0.4);
}

.event-card img {
    width: 100%;
    height: 170px;
    object-fit: cover;
    border-radius: 8px;
    border: 3px solid #fff;
}

.event-card h3 {
    margin-top: 12px;
    font-size: 1.25rem;
    font-weight: 700;
}

/* DESCRIPTION SECTION */
.event-desc {
    flex: 1;
    background: #213F64;
    color: white;
    padding: 20px;
    border-radius: 10px;
    border: 4px solid white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.25);
}

.event-desc h2 {
    margin-top: 0;
    color: #fff;
}

.left-desc {
    order: -1; /* Moves it to the LEFT of the image */
}

.right-desc {
    order: 1; /* Default, stays on the RIGHT */
}

/* RESPONSIVE FOR MOBILE */
@media (max-width: 800px) {
    .event-grid {
        grid-template-columns: 1fr; /* stack rows vertically */
    }

    .event-pair {
        flex-direction: column;
    }

    .left-desc, .right-desc {
        order: 0; /* stack naturally */
    }

    .event-card {
        width: 80%;
    }
}

/* ---------- Join Page ---------- */

.joinrow2 {
    width: 80%;
    display: flex;
    position: relative;
    margin: 0;
    padding: 0;
    box-sizing: border-box;


}

.joinrow2 .joincol {
    flex: 1; /* 50% each */
    padding: 40px 20px;
    text-align: center;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;

}


/* Headings */
.joinrow2 .joincol h2 {
    margin-bottom: 15px;
    font-size: 26px;
}

/* Paragraphs */
.joinrow2 .joincol p {
    width: 80%;
    margin: 0 auto;
    line-height: 1.6;
}



/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 900px) {
    nav {
        height: auto;
        line-height: normal;
    }

    nav a {
        display: block;
        margin: 10px 0;
    }

    .row1 .col, .aboutrow3 .col, .joinrow2 .joincol, .event-card, .event-desc {
        width: 90%;
        margin: 15px auto;
    }

    .mv-row {
        flex-direction: column;
    }

    .row3 .col {
        width: 90%;
        margin-bottom: 30px;
    }

    .event-pair {
        flex-direction: column;
    }

    .left-desc, .right-desc {
        order: 0;
    }

    
}

/* ---------- RESPONSIVE FOOTER ---------- */
@media (max-width: 900px) {
    .footer {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 30px 20px;
    }

    .footer-col {
       
        border-bottom: 2px solid white; /* horizontal divider between stacked columns */
        margin-bottom: 20px;
    }

    .footer-col:last-child {
        
        margin-bottom: 0;
    }
}

@media (max-width: 700px) {
    .mv-row {
        flex-direction: column;
    }

    .aboutrow3 .col {
        width: 80%;
    }

    .aboutrow3 img {
        width: 70%;
        height: auto;
    }
}


