
/* =========================================
   FIX RESPONSIVE MOBILE NAVIGATION
========================================= */

.sf-header {
    position: sticky;
    top: 0;
    z-index: 99999;
    width: 100%;
}

.sf-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

/* DESKTOP MENU */
.sf-navigation {
    display: block;
}

.sf-menu {
    display: flex;
    align-items: center;
    gap: 18px;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* HAMBURGER */
.sf-menu-toggle {
    display: none;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.4);
    width: 44px;
    height: 44px;
    border-radius: 7px;
    padding: 8px;
    cursor: pointer;
    position: relative;
    z-index: 100001;
}

.sf-menu-toggle span {
    display: block;
    height: 2px;
    width: 25px;
    margin: 5px auto;
    background: #ffffff;
    transition: all 0.25s ease;
}

/* BUTTON ANIMATION */
.sf-menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

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

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

/* MOBILE AND TABLET */
@media screen and (max-width: 1000px) {

    .sf-menu-toggle {
        display: block !important;
    }

    .sf-navigation {
        display: none !important;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        background: #0B1F3A;
        z-index: 100000;
        box-shadow: 0 8px 20px rgba(0,0,0,0.25);
        max-height: calc(100vh - 80px);
        overflow-y: auto;
    }

    .sf-navigation.open {
        display: block !important;
    }

    .sf-menu {
        display: flex !important;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        width: 100%;
    }

    .sf-menu li {
        display: block;
        width: 100%;
        margin: 0;
    }

    .sf-menu li a {
        display: block;
        width: 100%;
        padding: 15px 22px;
        color: #ffffff !important;
        text-decoration: none;
        border-bottom: 1px solid rgba(255,255,255,0.12);
        font-size: 15px;
    }

    .sf-menu li a:hover {
        background: #17365b;
        color: #1E90FF !important;
    }

    .sf-menu li a::after {
        display: none !important;
    }
}

/* SMALL MOBILE */
@media screen and (max-width: 480px) {

    .sf-logo img {
        width: 40px;
        height: 40px;
    }

    .sf-logo h2 {
        font-size: 13px;
        max-width: 220px;
        line-height: 1.3;
    }

    .sf-menu-toggle {
        width: 42px;
        height: 42px;
    }
}


/* ======================================
   SWIFTSEA MOBILE MENU - FINAL OVERRIDE
====================================== */

#siteHeader {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 999999;
    background: #0B1F3A;
}

#siteHeader .sf-nav {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Desktop navigation */
#siteHeader #sfMainMenu {
    display: block;
}

#siteHeader .sf-menu {
    display: flex;
    flex-direction: row;
    list-style: none;
    gap: 16px;
    padding: 0;
    margin: 0;
}

/* Hamburger button */
#siteHeader #sfMenuToggle {
    display: none;
    width: 44px;
    height: 44px;
    background: transparent;
    border: 1px solid #ffffff;
    border-radius: 6px;
    cursor: pointer;
    padding: 7px;
    z-index: 1000000;
}

#siteHeader #sfMenuToggle span {
    display: block;
    height: 2px;
    width: 25px;
    background: #ffffff;
    margin: 5px auto;
}

/* Tablet / mobile */
@media (max-width: 1000px) {

    #siteHeader #sfMenuToggle {
        display: block !important;
    }

    #siteHeader #sfMainMenu {
        display: none !important;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        background: #0B1F3A;
        z-index: 999999;
        box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    }

    #siteHeader #sfMainMenu.open {
        display: block !important;
    }

    #siteHeader .sf-menu {
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important;
        width: 100%;
        padding: 0;
        margin: 0;
    }

    #siteHeader .sf-menu li {
        width: 100%;
        display: block;
    }

    #siteHeader .sf-menu li a {
        display: block;
        width: 100%;
        padding: 15px 20px;
        color: white !important;
        text-decoration: none;
        border-bottom: 1px solid rgba(255,255,255,0.15);
    }

    #siteHeader .sf-menu li a:hover {
        background: #17365b;
    }
}

/* Hamburger animation */
#siteHeader #sfMenuToggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

#siteHeader #sfMenuToggle.active span:nth-child(2) {
    opacity: 0;
}

#siteHeader #sfMenuToggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 480px) {
    #siteHeader #sfMenuToggle {
        width: 42px;
        height: 42px;
    }
}
