/* MOBILE MENU STYLING */

/* HAMBURGER BUTTON */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 40px;
    height: 40px;
    padding: 0;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
}

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

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

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

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

/* MOBILE MENU OVERLAY */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 99;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* MOBILE SIDEBAR MENU */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 280px;
    height: 100vh;
    background-color: #fff;
    box-shadow: 2px 0 20px rgba(0, 0, 0, 0.15);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 101;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.mobile-menu.active {
    transform: translateX(0);
}

/* MOBILE MENU HEADER */
.mobile-menu-header {
    padding: 15px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu-header-logo {
    max-height: 50px;
    width: auto;
    max-width: 100px;
}

.mobile-menu-close {
    background: none;
    border: none;
    font-size: 28px;
    color: #000;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.mobile-menu-close:active {
    color: #fccf3a;
}

/* MOBILE MENU LIST */
.mobile-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1;
}

.mobile-menu-list > li {
    border-bottom: 1px solid #f0f0f0;
}

.mobile-menu-list > li > a,
.submenu-toggle {
    display: block;
    padding: 15px 20px;
    text-decoration: none;
    color: #000;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.2s ease;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
}

.mobile-menu-list > li > a:active,
.submenu-toggle:active {
    background-color: #f5f5f5;
    color: #fccf3a;
}

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

.submenu-toggle i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.submenu-toggle.active i {
    transform: rotate(180deg);
}

/* SUBMENU */
.submenu {
    list-style: none;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.submenu.active {
    max-height: 500px;
}

.submenu li a {
    display: block;
    padding: 12px 20px 12px 40px;
    text-decoration: none;
    color: #000;
    font-size: 14px;
    font-weight: 400;
    transition: all 0.2s ease;
}

.submenu li a:active {
    color: #fccf3a;
    background-color: #f0f0f0;
}

/* MOBILE MENU FOOTER */
.mobile-menu-footer {
    background: linear-gradient(135deg, #07295c 0%, #0a1f47 100%);
    color: #fff;
    padding: 25px 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: auto;
}

.mobile-footer-logo {
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.mobile-footer-logo img {
    max-width: 100px;
    height: auto;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

/* CONTACT INFO IN FOOTER */
.mobile-footer-contact {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.contact-item i {
    font-size: 18px;
    color: #fccf3a;
    margin-top: 2px;
    min-width: 24px;
    text-align: center;
}

.contact-item p {
    margin: 0;
    color: #fff;
    font-size: 13px;
    line-height: 1.4;
}

.contact-item .label {
    font-size: 11px;
    font-weight: 700;
    color: #fccf3a;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 3px;
    display: block;
}

.contact-item a {
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    display: block;
    transition: color 0.2s ease;
}

.contact-item a:active {
    color: #fccf3a;
}

/* SOCIAL MEDIA */
.mobile-footer-social {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 15px;
}

.social-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 12px;
}

.social-list li a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 16px;
}

.social-list li a:active {
    background-color: #fccf3a;
    color: #07295c;
}

/* MEDIA QUERY - MOBILE */
@media (max-width: 991px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .navbar-collapse {
        display: none !important;
    }

    .header-contact {
        display: none !important;
    }
}

/* MEDIA QUERY - DESKTOP */
@media (min-width: 992px) {
    .mobile-menu-toggle {
        display: none !important;
    }

    .mobile-menu,
    .mobile-menu-overlay {
        display: none !important;
    }
}
