/* GENERAL */

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
}

/* HEADER / NAV */

.menuButton {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 32px;
    cursor: pointer;
}

.navbar {
    position: relative;

    height: 90px;
    padding: 0 6%;
    margin-bottom: 0;

    display: flex;
    align-items: center;
    justify-content: space-between;

    background-color: #071421;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
    font-size: 24px;
    font-weight: bold;
}

.brand img {
    width: 65px;
    height: 65px;
    object-fit: contain;
}

nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

nav a {
    color: white;
    text-decoration: none;

    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
}

nav a:hover {
    color: #d4a94f;
}

.visit-btn {
    background-color: #c89b4b;
    padding: 10px 16px;
    border-radius: 4px;
}

.visit-btn:hover {
    background-color: #d8ad5a;
    color: white;
}

/* HERO */

.hero {
    background-image: url(multimedia/stage.webp);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 500px;
    margin: 0px;
    display:flex;
    flex-direction: column;
    align-items: start;

    color: white
}

.hero h1 {
    margin-top: 0px;
    padding: 60px 0px 0px 60px;
}

.hero p {
    padding-left: 60px;
    font-size: 20px;
}

.hero-buttons {
    padding-left: 60px;
}

.hero-buttons a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
}

.primary-btn {
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    background-color: #c89b4b;
    padding: 8px 11px;
    border-radius: 4px;
}

.secondary-btn {
    background-color: #c89b4b;
    padding: 8px 11px;
    border-radius: 4px;
}

.highlightsContainer {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;

    width: 100%;
    padding: 40px 100px;
    margin: 20px;
}

.highlightsContainer2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 150px;

    width: 100%;
    padding: 0px 250px;
    margin: 20px;
    height: 250px;
}

.highlightCard {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-self: center;
    width: 100%;
    max-width: 500px;
    background-color: #ffffff;
    box-shadow: 2px 4px 10px grey;
}

.highCardInfo {
    display: flex;
    flex-direction: row;
    gap: 25px;
    padding: 10px;
}

.highCardTitle {
     text-align: center;
    width: 100%;
}

.highlightIcon {
    width: 100px;
    height: 100px;
}

/* EVENTS */

.columnContainer {
    display: flex;
    flex-direction: column;
    gap: 2px
}

.eventRowSplit {
    display: flex;
    flex-direction: row;
    width: 100%;
}

.eventsSection {
    padding: 60px 8%;
    background-color: white;
    width: 50%;
}

.eventsHeading {
    text-align: center;
    margin-bottom: 35px;
}

.eventsHeading h2 {
    font-size: 2.2rem;
    margin: 0;
}

.eventContainer {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.eventCardHome {
    width: 100%;
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
    display: flex;
    flex-direction: row;
}

.eventCardHome img {
    width: 30%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.eventHomeInfo {
    padding: 20px;
}

.eventHomeInfo h3 {
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 1.4rem;
}

.eventHomeInfo p {
    margin: 6px 0;
}

#allevents-btn {
    display: inline-block;
    margin-top: 15px;
}

#planHome h2 {
    margin-bottom: 30px;
}

#planHome img {
    width: 100%;
    max-width: 430px;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Footer */

.columnContainerNav {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

footer {
    height: auto;
    padding: 10px 6%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #071421;
    color: white;
}

footer h2 {
    font-size: 20px;
    margin: 0px;
    padding: 5px;
}

.socialIcon {
    fill: white;
    width: 30px;
    height: 30px;
}

.socialsFlex {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ABOUT US */

.aboutusContainer {
    padding: 20px 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.aboutLeadershipContainer {
    padding: 20px 60px;
    display:flex;
    flex-direction: row;
}

.leadershipSection {
    padding: 20px 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.aboutRowSplit {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.secondaryImage {
    padding: 20px;
    align-items: center;
}

.secondaryImage img {
    width: 400px
}

/* MINISTRIES */

.ministrySection {
    padding: 60px 8%;
    background-color: white;
    width: 100%;
}

.ministryHeading {
    text-align: center;
    margin-bottom: 35px;
}

.ministryHeading h1 {
    font-size: 2.2rem;
    margin: 0;
}

.ministryContainer {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.ministryCard {
    width: 100%;
    height: 200px;
    background-color: rgba(239, 242, 252, 0.815);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 14px rgba(0, 0, 0, 0.12);
    display: flex;
    flex-direction: row;
    align-items: center;
}

.ministryCard img {
    width: 150px;
    height: 100%;
    object-fit: cover;
    display: block;
    flex-shrink: 0;
}

.ministryInfo {
    padding: 20px;
}

.ministryInfo h2 {
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 1.4rem;
}

.ministryInfo h3 {
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 1rem;
}

.ministryInfo p {
    margin: 6px 0;
}

/* LIVESTREAM */

.mainVideoContainer {
    width: 90%;
    max-width: 1000px;
    margin: 30px auto;
    aspect-ratio: 16 / 9;
}

#mainVideo {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

#videoHeading {
    text-align: center;
}

.sermonInfo {
    text-align: center;
}

/* past sermon / videos */
#recentSermonTitle {
    text-align: center;
}

.recentSermons {
    padding-bottom: 40px;
}

.videoContainer {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 25px;

    width: 100%;
    padding: 0 25px;

    box-sizing: border-box;
}

.videoCard {
    width: 100%;
    min-width: 0;
}

.videoCard iframe {
    display: block;

    width: 100%;
    aspect-ratio: 16 / 9;

    height: auto;
    border: 0;
}

/* EVENTS PAGE */

.eventsMainContainer {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    padding-bottom: 40px;
}

.eventsMainContainer H1 {
    margin-bottom: 0px;
}

.eventsMain {
    min-height: 600px;
    max-height: 600px;
    overflow-y: auto;
    padding: 10px;
    display: grid;
    align-content: start;
    gap: 10px;
    width: 60%;
    border: 6px solid black;
    background-color: rgb(232, 228, 228);
}

.eventCard {
    width: 100%;
    height: 200px;
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
    display: flex;
    flex-direction: row;
    padding: 10px;
}

.eventCard img {
    height: 100%;
    object-fit: contain;
    object-position: center;
    background-color: white;
}

.eventInfo {
    padding: 20px;
}

.eventInfo h3 {
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 1.4rem;
}

.eventInfo p {
    margin: 6px 0;
}

.eventFilters {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.filterButton {
    padding: 10px 20px;
    border: 1px solid #071421;
    border-radius: 25px;
    background: white;
    color: #071421;
    font-weight: bold;
    cursor: pointer;
    transition: 0.2s;
}

.filterButton:hover,
.filterButton.active {
    background: #071421;
    color: white;
}

/* GIVE PAGE */

.giveTitle {
    text-align: center;
    margin-bottom: 10px;
}

.giveVenmo {
    max-width: 600px;
    margin: 40px auto;
    padding: 40px;
    text-align: center;

    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
}

.venmoQR {
    width: 220px;
    max-width: 100%;
    margin: 25px auto;
    display: block;
}

.giveButton {
    display: inline-block;
    padding: 14px 30px;

    background-color: #071421;
    color: white;

    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
}

.giveButton:hover {
    opacity: 0.85;
}

.otherGive {
    display: flex;
    gap: 40px;
    justify-content: space-evenly;
    align-items: start;
    margin-bottom: 20px;
}

.otherGiveColumn {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.otherGiveColumn p {
    text-align: center;
}

.envelopeIcon {
    width: 50px;
}

.cashIcon {
    width: 50px;
}

.phoneIcon {
    width: 50px;
}

.otherTitle {
    margin-bottom: 0px;
}




/* CONTACT US */

.contactContainer {
    display:flex;
    flex-direction: column;
    gap: 22px;
    margin: 50px auto;
    padding: 40px;
    width: min(90%, 700px);
    background-color: #f7f7f7;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
}

#titleWidget {
    text-align: center;
}

#contactTitle {
    margin: 0 0 10px;
    font-size: 36px;
    color: #071421;
}

.contactWidget {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contactWidget label {
    font-size: 15px;
    font-weight: bold;
    color: #071421;
}

.contactWidget input,
.contactWidget textarea {
    width: 100%;
    padding: 12px 14px;

    font-family: inherit;
    font-size: 16px;

    border: 1px solid #ccc;
    border-radius: 6px;

    background-color: white;
}

.contactWidget input:focus,
.contactWidget textarea:focus {
    outline: none;
    border-color: #071421;
    box-shadow: 0 0 0 2px rgba(7, 20, 33, 0.1);
}

.contactWidget textarea {
    min-height: 180px;
    resize: vertical;
}

.buttonWidget {
    display: flex;
    justify-content: center;
}

.buttonWidget input {
    padding: 12px 35px;

    border: none;
    border-radius: 6px;

    background-color: #071421;
    color: white;

    font-size: 16px;
    font-weight: bold;

    cursor: pointer;
}

.buttonWidget input:hover {
    opacity: 0.85;
}


/* =========================
   TABLET / MOBILE LANDSCAPE
   ========================= */
@media (max-width: 980px) {

    /* HEADER / NAV */

    .menuButton {
        display: block;
    }

    nav {
        display: none;

        position: absolute;
        top: 100%;
        left: 0;

        width: 100%;

        background-color: #08131f;

        flex-direction: column;
        align-items: center;

        padding: 25px 0;
        gap: 20px;

        z-index: 1000;
    }
    .navbar {
        padding: 15px 20px;

    }

    nav.active {
        display: flex;
    }

    nav a {
        font-size: 16px;
    }

    .visit-btn {
        width: 80%;
        text-align: center;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        padding: 0;
    }

    /* HERO */
    .hero {
        min-height: 350px;
        height: auto;

        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;

        padding: 40px 20px;

    }

   .hero h1 {
    padding: 0;
    margin: 0 0 20px;
    text-align: left;
    }

    .hero p {
        padding: 0;
        margin: 0 0 25px;
        text-align: left;
    }

    .highlightsContainer {
        gap: 10px;
        padding: 10px 40px;
        margin: 20px;
    }

    .highCardTitle {
        font-size: 20px;
    }

    .highlightsContainer2 {
        display: none;
    }

    .eventsSection {
        padding: 40px 20px;
    }

    .eventContainer {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .eventCard {
        width: 100%;
        max-width: 100%;
        min-width: 0;

        display: flex;
        flex-direction: row;

        border-radius: 12px;
        overflow: hidden;
    }

    .eventCard img {
        width: 110px;
        height: 150px;

        flex-shrink: 0;

        object-fit: cover;
    }

    .eventInfo {
        flex: 1;
        min-width: 0;
        padding: 15px;
    }

    .eventInfo h3 {
        margin: 0 0 10px;
        font-size: 1.2rem;

        overflow-wrap: anywhere;
    }

    .eventInfo p {
        margin: 5px 0;
        font-size: 0.95rem;

        overflow-wrap: anywhere;
    }

    /* BUTTONS */
    .hero-buttons {
        display: flex;
        flex-direction: column;
        width: 100%;
        align-items: start;
        gap: 12px;
        padding-left: 0px;
    }

    .hero-buttons a {
        width: 100%;
        max-width: 200px;
        text-align: center;
        padding: 4px;
    }

    /* LIVESTREAM */

    .mainVideoContainer {
        justify-items: center;
        align-items: center;
        width: 75%;
    }

    .videoContainer {
        grid-template-columns: repeat(2, 1fr);
        justify-items: center;
        align-items: center;
        gap: 10px;
        width: 100%;
        margin: 0 auto;
        padding: 0 25px;
        box-sizing: border-box;
    }

    /* GENERAL */

    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.8rem;
    }
    img {
        max-width: 100%;
    }
    footer {
        width: 100%;
        padding: 30px 20px;

        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 2px;

        text-align: center;
    }
    .columnContainerNav {
        display:none;
    }
    .brand span {
        display: none;
    }

    /* EVENTS PAGE  */

    .eventCard img {
        width: fit-content;
    }    

    /* MINISTRIES */

    .ministryContainer {
    grid-template-columns: repeat(2, 1fr);
    }
}

/* =========================
   MOBILE PORTRAIT
   ========================= */

@media (max-width: 768px) {

     /* EVENTS*/
     .eventRowSplit {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .eventsSection {
        width: 100%;
        padding: 40px 20px;
    }

    .eventCard {
        width: 100%;
        display: flex;
        flex-direction: row;
    }

    .eventContainer {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    /* BUTTONS */
    .hero-buttons a {
        width: 100%;
        max-width: 150px;
        text-align: center;
        padding: 4px;
    }

    /* General */
    #planHome {
        display: none;
    }

    .highlightsContainer {
        display: none;
    }

    /* ABOUT US */

    .aboutusContainer {
        padding: 10px 40px;
        width: 100%;
    }

    .aboutLeadershipContainer {
        padding: 0px 10px;
    }

    .leadershipSection {
        padding: 10px 30px;
    }

    .aboutRowSplit {
        grid-template-columns: repeat(1, 1fr);
    }

    .secondaryImage {
        display: none;
    }


    /* LIVESTREAM */

    .videoContainer {
        grid-template-columns: repeat(1, 1fr);
        justify-items: center;
        align-items: center;
        gap: 10px;
        width: 80%;
        margin: 0 auto;
        padding: 0 25px;
        box-sizing: border-box;
    }

      /* EVENTS PAGE  */

    .eventsMainContainer {
        padding:20px;
    } 
    .filterButton {
        width: fit-content;
    }
    .eventsMain {
        width: 100%;
    }

    /* MINISTRIES */

    .ministryContainer {
    grid-template-columns: repeat(1, 1fr);
    }

    /*  CONTACT US */

    .contactContainer {
        width: calc(100% - 30px);
        margin: 30px auto;
        padding: 25px 20px;
    }

    #contactTitle {
        font-size: 28px;
    }
}
