:root {
    --off-white: #ebebeb;
    --light-grey: #e5e5e5;
    --med-grey: #dadada;
    --dark-grey: #242424;
    --accent-color: red;
    --background-color:#fbfbfb;
    --lighter-text: #212121;
}

html{
    height: 100%;
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
    background-color: var(--background-color);
}

body{
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a, a:link{
    text-decoration: none;
    transition: all .15s ease-in;
}

ul{
    list-style: none;
}

/* Hide menu by default */
  
.menu-toggle {
    display: none;
    font-size: 40px;
    cursor: pointer;
    background: none;
    border: none;
    color: var(--light-grey);
}

/* 

Brand Section(Site Logo, title)

*/

.brand-section {
    display: flex;
    background-color: var(--dark-grey);
    align-items: center;
    justify-content: start;
    position: relative;
    padding: 10px 30px;
    box-shadow: 0 5px 5px -5px rgba(0, 0, 0, 0.2);
    border-bottom: solid 2px var(--accent-color);   
}

.logo-slogan-container {
    display: flex;
    align-items: center;
}

.brand-logo{
    margin: 0;
    width: 150px;
}

/* 

Nav Styling

*/

.primary_menu{
    margin: 0 ; 
    padding: 0;
    border: 0;
    vertical-align: baseline;
    max-width: 500px; 
    width: 100%;
    text-align: center;
}

.primary_menu .nav-container{
    display: block;
    background: #242424fc;
    color: var(--med-grey);
    opacity: 0.95;
    width: 100%;
    box-sizing: border-box;
}

.primary_menu nav{
    display: block;
    max-width: 940px;
    text-align: center;
    padding: 0.8em 0;
    overflow: hidden;
}

/* Add gap between nav items */
.menuItems li a{
    margin-right: 10px; 
}

/*Remove the margin on the last item */
.menuItems li:last-child a{
    margin-right: 0;
}

.primary_menu a{
    color: var(--med-grey);
    background: 0;
    font-size: 1.3em;
    font-weight: bold;
    float: left;
    padding: 3px .6em;
    border-bottom: 1px solid transparent;
}

.primary_menu a:hover{
    color: white;
    border-bottom: 1px solid var(--accent-color);
}

.current_page_item a{
    color: white;
    border-bottom: 1px solid var(--accent-color);
}
/* 

Main Content section

*/

/* Main container CSS for the page */
.body-container {
    min-height: 650px;
    display: flex;
    align-items:start;
    justify-content: center;
    height: 90vh;
    margin: 0 auto;
    max-width: 1280px;
}

/* Content container */
.content-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%; 
    height: 100%; 
}

.page-title{
    width: 100%;
    max-width: 1280px;
    font-size: 3rem;
    font-weight: 600;
    padding: 10px 0px;
    margin-left: auto;
    margin-right: auto;
}

/* Styling to fix the bottom caption across all images on the site */
.wp-block-gallery.has-nested-images figure.wp-block-image figcaption {
	bottom: 20px;	
}


/* footer */

.footer{
    display: flex;
    margin-top: 30px;
    background: #242424;
    width: 100%;
    flex-shrink: 0;
    font-size: .8em;
    color: white;
    margin-top: auto;
}

.footer-content{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 30px 15px 30px;
    border-top: 4px solid var(--accent-color);
    -webkit-box-shadow: 0 -5px 5px -5px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 -5px 5px -5px rgba(0, 0, 0, 0.2);
    box-shadow: 0 -5px 5px -5px rgba(0, 0, 0, 0.2);
}

.fa-brands{
    font-size: 2rem;
    color: var(--light-grey);
}

.social-media-list {
    display: flex;
    list-style-type: none; 
    padding: 0; 
    margin: 0; 
}

.social-media-list li {
    margin-right: 15px; 
}

.social-media-list li:last-child {
    margin-right: 0; 
}

.secondary_menu{
    margin: 0 ; 
    margin-left: auto;
    padding: 0;
    border: 0;
    vertical-align: baseline;
    max-width: 400px; 
    width: 100%;
    text-align: center; 
}

.secondary_menu .nav-container{
    display: block;
    background: #242424fc;
    color: #dadada;
    opacity: 0.95;
    width: 100%;
    box-sizing: border-box;
}

.secondary_menu nav{
    display: block;
    max-width: 940px;
    text-align: center;
    padding: 0.8em 0;
    overflow: hidden;
}

.secondary_menu a{
    color: #dadada;
    background: 0;
    font-size: 1.2em;
    font-weight: bold;
    float: left;
    padding: 3px .9em;
    border-bottom: 1px solid transparent;
}

.secondary_menu a:hover{
    color: white;
    border-bottom: 1px solid var(--accent-color);
}


/* Mobile Navigation */
@media screen and (max-width: 768px) {
    .brand-section{
        display: flex;
        justify-content: space-between;
    }

    .primary_menu {
        z-index: 1000;
    }
    
    .nav-container {
        z-index: 1000; 
    }

    /* Hide the menu items initially */
    .nav-container nav ul {
        display: none;
        flex-direction: column;
        width: 100%;
        text-align: center;
        background-color: var(--dark-grey);
        padding: 0;
        position: absolute; 
        top: 100%; 
        left: 0;
        right: 0;
        z-index: 1000; 
    }

    /* When showing, adjust the display and add a smooth transition */
    .nav-container nav ul.menuItems.show {
        display: flex;
        opacity: 0;
        max-height: 0;
        transition: opacity 0.3s ease, max-height 0.3s ease;
        overflow: hidden;
    }

    /* Transition to fully visible state */
    .nav-container nav ul.menuItems.show.active {
        opacity: 1;
        max-height: 500px; 
        padding: 10px 0;
    }

    .nav-container nav ul li {
        margin: 10px 0;
    }

    /* Mobile toggle button styles */
    .menu-toggle {
        display: block;
    }

    /* Mobile menu item styles */
    .primary_menu a {
        padding: 10px 0;
    }
}