/* Base Header Layout */
.site-header {
    background-color: #ffffff;
    box-shadow: 0 5px 5px rgba(0,0,0,0.1);
    position: relative;
    width: 100%;
    padding-bottom: 25px;
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
}
.site-logo a {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    text-decoration: none;
}

.custom-logo {
    width: 100%;
    margin: 0 auto;
    display: flex;
}

.menu-toggle {
    display: none; /* Hidden on desktop */
}

.nav-menu{
    list-style: none;
    display: flex;
    padding: 0;
    justify-content: center;
}

.nav-menu li {
    margin: 12px;
}

.nav-menu li a {
    text-decoration: none;
    font-family: "Fredoka";
    font-weight: 500;
    font-size: 1em;
    color: var(--wp--preset--color--primary);
    letter-spacing: 0.5px;
}

.nav-menu li a:hover, .nav-menu li a:focus {
    color: var(--wp--preset--color--active-color);
    transition: color 0.3s ease;
}

.menu-btn {
    float: right;
    position: absolute;
    right: 0;
    margin: 0px !important;
    background: var(--wp--preset--color--active-color);
    padding: 10px 15px;
    border-radius: 16px;
}

.menu-btn a {
    color: var(--wp--preset--color--base) !important;
    font-weight: 400 !important;
}

.menu-btn a:hover, .menu-btn a:focus {
    color: var(--wp--preset--color--contrast) !important;
}


/* Mobile Responsive Breakpoint (768px and below) */
@media screen and (max-width: 768px) {
    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 21px;
        background: transparent;
        border: none;
        cursor: pointer;
        z-index: 999;
    }
    .hamburger-bar {
        width: 100%;
        height: 3px;
        background-color: #333;
        transition: all 0.3s ease;
    }

    /* Target the nav container to slide-out or drop down */
    .main-navigation {
        position: fixed;
        top: 0;
        right: -100%; /* Off-screen by default */
        width: 250px;
        height: 100vh;
        background-color: #f9f9f9;
        padding: 80px 20px 20px 20px;
        box-shadow: -2px 0 5px rgba(0,0,0,0.1);
        transition: right 0.3s ease;
    }
    .main-navigation.is-active {
        right: 0; /* Slides into view */
    }
    .nav-menu {
        flex-direction: column;
    }
    .nav-menu li {
        margin: 15px 0;
    }
}