/*
Theme Name: OceanWP Child
Template: oceanwp
Version: 1.0
*/

.main-navigation {
    position: fixed;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background: #ffffff;
    width: 100%;
    z-index: 1000;
}
body{
    padding-top: 80px;
}

.menu-container {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: space-between;
}

#top-bar-wrap{
    display: none;
}

.search-toggle-li{
    display: none;
}

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 2.5rem;
}

.main-navigation li {
    position: relative;
    text-transform: uppercase;
}

.main-navigation a {
    text-decoration: none;
    color: #37373D;
    font-weight: bold;
    font-size: 12px;
    padding: 8px 0;
    display: inline-block;
    position: relative;
    transition: color 0.3s ease-in-out;
}

.main-navigation a::after{
    content: "";
    display: block;
    height: 2px;
    width: 100%;
    background-color: #4158A6;
    margin-top: 5px;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.main-navigation a:hover,
.main-navigation a:focus {
    color: #4158A6;
}

.main-navigation a:hover::after,
.main-navigation a:focus::after {
    opacity: 1;
}


.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a,
.main-navigation a.active {
    color: #4158A6;
    text-decoration: none;
}

.main-navigation .current-menu-item > a::after,
.main-navigation .current_page_item > a::after,
.main-navigation a.active::after {
    content: "";
    display: block;
    height: 2px;
    width: 100%;
    background-color: #4158A6;
    margin-top: 5px;
}

.main-navigation a:hover::after,
.main-navigation a:focus::after {
    content: "";
    display: block;
    height: 2px;
    width: 100%;
    background-color: #4158A6;
    margin-top: 5px;
}

body.pojo-a11y-focusable .main-navigation .menu-item a:focus {
    outline: none !important;
}
body.pojo-a11y-focusable .footer-links a:focus {
    outline: none !important;
}

#mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 20px;
    z-index: 1001;
}

.hamburger {
    width: 30px;
    height: 3px;
    background: black;
    display: block;
    position: relative;
    transition: all 0.3s ease-in-out;
}

.hamburger::before,
.hamburger::after {
    content: "";
    width: 30px;
    height: 3px;
    background: black;
    position: absolute;
    left: 0;
    transition: all 0.3s ease-in-out;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    top: 8px;
}

#mobile-menu-toggle.active .hamburger {
    background: transparent;
}

#mobile-menu-toggle.active .hamburger::before {
    transform: translateY(8px) rotate(45deg);
}

#mobile-menu-toggle.active .hamburger::after {
    transform: translateY(-8px) rotate(-45deg);
}

.footer {
    background-color: #161616;
    color: #FFFFFF;
    padding: 20px 0;
    text-align: center;
    font-size: 14px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-copyright {
    font-size: 14px;
    opacity: 0.8;
    text-align: left;
}

.footer-links {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.footer-links a {
    color: #FFFFFF;
    text-decoration: none;
    font-size: 14px;
}

.footer-links a:hover {
    text-decoration: underline;
    color: white;
}

.menu-logo {
    display: flex;
    align-items: center;
}

.menu-logo img {
    max-height: 50px;
    width: auto;
}

.main-navigation {
    display: flex;
    align-items: center;
}

#footer-widgets{
    display: none;
}

#footer-bottom{
    display: none;
}

@media screen and (max-width: 768px) {
    #site-navigation{
        top: 0;
    }
    .menu-container {
        flex-direction: row;
        justify-content: space-between;
    }

    .menu-logo img {
        max-height: 40px;
    }

    #top-bar-wrap{
        display: none;
    }
    #mobile-menu-toggle {
        padding: 10px;
        display: block;
        border-radius: 50%;
    }

    .main-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100%;
        background: white;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        text-align: center;
        gap: 2rem;
        transition: right 0.3s ease-in-out;
        padding-top: 20px;
        z-index: 1000;
    }

    .main-menu.show {
        right: 0;
    }

    .main-menu li {
        font-size: 20px;
    }

    .main-menu a {
        font-size: 18px;
        padding: 10px;
    }

    .hamburger {
        width: 30px;
        height: 3px;
        background: #4158A6;
        display: block;
        position: relative;
        transition: all 0.3s ease-in-out;
    }

    .hamburger::before,
    .hamburger::after {
        content: "";
        width: 30px;
        height: 3px;
        background: #4158A6;
        position: absolute;
        left: 0;
        transition: all 0.3s ease-in-out;
    }

    .hamburger::before {
        top: -8px;
    }

    .hamburger::after {
        top: 8px;
    }

    #mobile-menu-toggle.active .hamburger {
        background: transparent;
    }

    #mobile-menu-toggle.active .hamburger::before {
        transform: translateY(8px) rotate(45deg);
    }

    #mobile-menu-toggle.active .hamburger::after {
        transform: translateY(-8px) rotate(-45deg);
    }
    body.no-scroll,
    html.no-scroll {
        overflow: hidden;
    }

    #site-header{
        display: none;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .footer-copyright {
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }
}