/* ==================== */
/* MENU MOBILE CSS PURE */
/* ==================== */

.mobile-nav {
    display: none;
    background-color: white;
    position: relative;
    z-index: 100;
    width: 100%;
}

@media (max-width: 1199px) {
    .mobile-nav {
        display: block;
    }
}

.mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 1rem;
}

.mobile-logo img {
    max-height: 50px;
    width: auto;
}

.menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #495b67;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

.mobile-menu {
    display: none;
    background-color: #C99E61;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.mobile-menu.show {
    display: block;
    max-height: 100vh;
}

.mobile-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-menu > ul > li {
    border-bottom: 1px solid #495b67;
}

.mobile-menu a,
.mobile-menu .submenuToggle {
    display: block;
    width: 100%;
    padding: 0.8rem 1rem;
    color: white;
    text-decoration: none;
    background: none;
    border: none;
    font-size: 1rem;
    text-align: left;
    cursor: pointer;
    font-family: inherit;
}

.mobile-menu a:hover,
.mobile-menu .submenuToggle:hover {
    background-color: #B8913C;
}

.submenuToggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.submenuToggle span {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.submenuToggle.active span {
    transform: rotate(180deg);
}

.submenu {
    display: none;
    list-style: none;
    margin: 0;
    padding: 0;
    background-color: #495b67;
}

.submenu.show {
    display: block;
}

.submenu li {
    border-bottom: 1px solid #C99E61;
}

.submenu a {
    padding-left: 2rem;
    padding-top: 0.6rem;
    padding-bottom: 0.6rem;
    font-size: 0.9rem;
}

.submenu a:hover {
    background-color: #8F6B34;
}
