
@import url('https://fonts.googleapis.com/css2?family=Roboto+Flex:opsz,wght,XOPQ,XTRA,YOPQ,YTDE,YTFI,YTLC,YTUC@8..144,100..1000,96,468,79,-203,738,514,712&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

* {
    box-sizing:border-box;

}

body {
    margin-top: 60px;
    min-height: 100vh;
    background-color: #E6E7E7;
    font-family: 'Roboto', sans-serif;
}

img {
max-width:100%;
height:auto;
}


/*====HEADER====*/

/* nav */


.logo img {
    width: 100%;
    height: auto;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1000;
    width: 100%;
    background-color: white;
    padding: 0 20px;
    box-sizing: border-box;
}

.nav-links {
    display: flex;
    padding: 10px 15px;
    
    
}

.nav-links a {
    display: flex;
    text-decoration: none;
    color: navy;
    font-size: 18px;
    padding: 10px 10px;
   
}

.nav-links a:hover {
    color: navy;
    background-color: #f4f4f4;
    font-size: 18px;  
}

.side-nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 250px;
    z-index: 999;
    background-color: #f4f4f4;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}

.side-nav a {
    width: 100%;
    display: block;
    text-decoration: none;
    color: navy;
    font-size: 18px;
    padding: 10px 20px;
}

.side-nav a:hover {
    background-color: #ddd;
}

.menu {
    display: none;
}








.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
   
    box-sizing: border-box;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    background: #ffffff;
}

/* HERO */

.hero {
    min-height: 350px;
    background-image:     linear-gradient(rgba(0,0,0,.4), rgba(0,0,0,.4)),
    url("images/tabernacle2.png");
    background-size: cover;
    background-position: center;
    position: relative;

    display: flex;
    align-items: flex-end;
    justify-content: center;
    margin: 0;

    text-align: center;
    color: white;
    font-size: 24px;
}

.hero-title {
    height: auto;
    background-color: #ffffff;
    background-size: cover;
    background-position: center;
    position: relative;

    display: flex;
    align-items: flex-end;
    justify-content: center;
    margin: 0;

    text-align: center;
    color: #6d9eeb  ;
    font-size: 24px;
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    color: #6d9eeb;
}

.hero-title h1 {
    font-size: 48px;
    font-weight: 700;
    color: #6d9eeb;
    text-decoration: underline;
}

.hero .container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 40px;
   
}


/* ===CONTENTS AND SECTIONS===*/

.two-columns {
    display: flex;
    padding: 0 40px; 
    gap: 60px;
    justify-content: center;
    
}

.grid-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    padding: 10px 20px; 
    gap: 60px;
    justify-content: center;
}

    
.column {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 10px 20px;
    
}


.sermon-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 10px 20px;
    align-items: center;
    background-color: #dfdfdf;
    border: 2px #444444;
    border-radius: 12px;
}



.sermon-card button {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #3768aa;
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    border-color: #444444;
    transition: background-color 0.3s ease;
}

.radio-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    padding: 20px 40px;
    background-color: #f5f5f5;
    border-radius: 12px;
}

.radio-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 10px 20px;
    border-radius: 12px;
    align-items: center;

}

.column-no-bg {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 10px 20px;
    align-items: center;

}

.column img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
}

.title-section {
    background-color: #f5f5f5;
    color: #222222;
    margin-top: 60px;
    padding: 20px 40px;
    align-items: center;
       
}

.title-section h2 {
    font-size: 3rem;
    color: #537391;
    text-align: center;
    margin-bottom: 0px; 
}

.title-section p {
    font-size: 1.25rem;
    font-family: 'open sans', sans-serif;
    text-align: center;
}




/* =========================
   LIGHT SECTION
========================= */

.light-section {
    background-color: #f5f5f5;
    color: #222222;
    padding: 20px 40px;      
}

.light-section-title {
    background-color: #f5f5f5;
    color: #222222;
    margin: 55px auto;
    padding: 20px 40px;      
}

.light-section h2 {
    font-size: 3rem;
    color: #537391;
    text-align: center;
    margin-bottom: 0px; 
}

.light-section h3 {
    font-size: 1.5rem;
    color: #444444;
    text-align: center;
}

.light-section p {
    font-size: 1.25rem;
    font-family: 'open sans', sans-serif;
}

.light-section-text-box {
    max-width: 500px;
    width: 100%;
    height: auto;
    margin: 0 auto;
    align-items: center;
}

.mission {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;

}

.mission h2 {
    font-size: 3rem;
    color: #c4e1fb;
    text-align: center;
    margin-bottom: 0px; 
    margin-top: 0px;
}

.mission p {
    font-size: 1.25rem;
    line-height: 1.6;
    font-family: 'open sans', sans-serif;
    color: #ffffff;
}


/* =========================
   GREY SECTION
========================= */

.grey-section {
    background-color: #576C7E;
    color: #E6E7E7;
    padding: 20px 40px;   
}

.grey-section .container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.grey-section h2 {
    font-size: 3rem;
    color: #FFF2CC;
    text-align: center;
    margin-bottom: 0px; 
}

.grey-section h3 {
    font-size: 2rem;
    color: #444444;
    text-align: center;
}

.grey-section p {
    font-size: 1.25rem;
    line-height: 1.6;
    font-family: 'open sans', sans-serif;
    color: #222222;
}

.grey-section-text-box {
    max-width: 500px;
    max-height: 300px;
    margin: 0 auto;
    align-items: center;
}

.column-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 10px 20px;
    border-radius: 12px;
    align-items: center;
    background-color: #dfdfdf;
    color: #222222;
}

.column-card h2 {
    color: #222222;
}


/* =========================
   TAN SECTION
========================= */

.tan-section {
    background-color: #E6E7E7;
    color: #222222;
    padding: 20px 40px;
    
}

.tan-section h2 {
    font-size: 3rem;
    color: #537391;
    text-align: center;
    margin-bottom: 0px; 
    text-decoration: underline;
}

.tan-section h3 {
    font-size: 1.5rem;
    color: #444444;
    text-align: center;
}

.tan-section p {
    font-size: 1.25rem;
    font-family: 'open sans', sans-serif;
}

.tan-section-text-box {
    max-width: 800px;
    margin: 0 auto;
    align-items: center;

}

.map-container {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.map-container iframe {
    width: 100%;
    max-width: 600px;
    height: 450px;
    border: 0;
    border-radius: 12px;
}



/*   social media icons */

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.social-icons h3 {
    font-size: 1.5rem;
    color: #1300bb;
    margin-bottom: 10px; 
}

.fa-brands {
    font-size: 2rem;
    color: #1d4f91;
    margin-top: 20px;
    transition: color 0.3s ease;
    padding: 10px;
}

.fa-youtube {
    color: #FF0000;
}

.button {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #3768aa;
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    border-color: #444444;
    transition: background-color 0.3s ease;
    
}

/* =========================
    FOOTER
========================= */

.site-footer {
    background: #2f4355;
    color: white;
    padding: 50px 30px 20px;
}


.footer-container {
    max-width: 1200px;
    margin: 0 auto;

    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 50px;
}


.footer-column {
    flex: 1;
}


.footer-brand {
    flex: 1.2;
}


.site-footer h2 {
    color: white;
    font-size: 28px;
    margin-bottom: 15px;
}


.site-footer h3 {
    color: white;
    font-size: 20px;
    margin-bottom: 15px;
}


.site-footer p {
    color: #e2e8ed;
    line-height: 1.6;
}


.footer-bottom {
    max-width:1200px;
    margin:40px auto 0;
    padding-top:20px;
    border-top:1px solid rgba(255,255,255,.25);
    text-align:center;
    font-size:.9rem;
}

@media(max-width:768px){

    .footer-container {
        flex-direction:column;
        text-align:center;
        gap:30px;
    }

    .footer-column {
        width:100%;
    }

}
/*====SERMON SECTION====*/


.feature-sermon {
    background-color: #576C7E;
    padding: 10px 40px; 
}

@media(max-width:768px){

    .feature-sermon {
        background-color: #576C7E;
        padding: 2px 15px; 
    }
}

.feature-sermon .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 20px;
    border-radius: 12px;
    box-shadow: #222222;
   
}

@media(max-width:768px){

    .feature-sermon .container {
        width: 100%;
        height: auto;
        max-width: 100%;
        margin: 0 auto;
        padding: 0;
        border-radius: 12px;
        box-shadow: #222222;
        
    }
}

.feature-title {
    width: 100%;
    max-width: 800px;
    padding: 0 40px;
    margin: auto;
    text-align: center;
    
}
@media (max-width: 768px) {
    .feature-title {
        padding: 0 10px;
    }
}

.feature-title h3 {
    font-size: 36px;
    text-align: center;
    
}

.scripture {
    font-weight: 300;
}

.date {
    font-weight: 400;
    font-style: italic;
}

.divider {
    font-size: 1.2rem;
    margin: 0 5px;
    opacity: 0.5;
}

.feature-video {
    width: 100%;
    max-width: 750px;
    height: auto;
    position: relative;
    display: flex;
    justify-content: center;
    padding: 10px 20px;
    margin: 0 auto;
   
}

@media(max-width:768px){

    .feature-video {
        width: 100%;
        height: auto;
        display: flex;
        justify-content: center;
        padding: 0;
        margin: 0 auto;
    
    }
}

.feature-video iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    border: 0;
}


.feature-description {
    width: 100%;
    max-width: 700px;
    padding: 10px 20px;
    margin: 0 auto ;
    background-color: #dfdfdf;
    border-radius: 30px;
    text-align: left;
}

@media screen and (max-width: 768px) {  
    .feature-description {
        width: 100%;
        padding: 5px 5px;
        margin: 0 auto;
        background-color: #dfdfdf;
        border-radius: 30px;
        text-align: left;
    }
    
}

/*===MORE SERMONS====*/

.explore-sermons {
    padding: 20px 40px;
    text-align: center;
    background-color: #FFFFFF;
}

.explore-sermons h3 {
    font-size: 36px;
    margin-bottom: 0;
    margin-top: 10px;
    color: #467acd;
}



.sermon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    padding: 10px 20px; 
    gap: 60px;
    justify-content: center;
    
}

.feature-image {
    background-image: url('images/faith-tabernacle-front.jpg');
    background-size: cover;       /* Fill the section */
    background-position: center;  /* Keep image centered */
    background-repeat: no-repeat;
    padding: 100px 20px;
}

.page-section {
    padding: 10px 20px;
}
    

.page-content {
    max-width: 1400px;
    width: 100%;
    padding: 20px 40px;
    background-color: #576C7E;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.page-content h2 {
    font-size: 2.5rem;
    color: #FFF2CC;
    margin-bottom: 0px;
}

.page-content p {
    font-size: 1.25rem;
    line-height: 1.6;
    font-family: 'open sans', sans-serif;
    color: #FFF2CC;
}


@media(max-width:800px){

    .nav {
        flex-direction: column;
        align-items: flex-start;
        padding: 0 15px;
    }
   
    .nav-links {
        display: none;
    }

    .menu {
        display: flex;
    }


    .two-columns {
        flex-direction:column;
        padding:0;
    }

    .light-section h2,
    .grey-section h2,
    .tan-section h2 {
        font-size:2rem;
    }

    .hero h1,
    .hero-title h1 {
        font-size:32px;
    }

    .light-section-text-box {
        width:100%;
    }

    .container {
        width:100%;
        padding:0 10px;
    }

    .grey-section {
    background-color: #576C7E;
    color: #222222;
    padding: 10px 15px;   
    }

    .light-section {
    background-color: #f5f5f5;
    color: #222222;
    padding: 10px 15px;   
    }

    .page-content h2 {
    font-size: 2rem;
    color: #FFF2CC;
    text-align: left;
    margin-bottom: 0px;
    }

    .page-content p {
    font-size: 1.25rem;
    line-height: 1.6;
    font-family: 'open sans', sans-serif;
    color: #FFF2CC;
    }
   

    .sermon-card {
        padding: 15px;
    }

    .sermon-card h3 {
        font-size: 1.2rem;
        line-height: 1.25;
    }

    .sermon-card p {
        font-size: 0.95rem;
    }

    .site-footer{
        padding:45px 20px;
    }

    .footer-info{
        flex-direction:column;
        text-align:center;
        gap:30px;
    }

    .footer-section{
        min-width:100%;
    }

    .footer-section h3{
        border:none;
        padding-bottom:0;
    }

}

}

}  
