
/* ==========================================
   SAMOWEB NAVBAR - RESPONSIVE FIX
========================================== */

/* Navbar base */
.samoweb-navbar {
    background: #ffffff !important;
    border-bottom: 1px solid rgba(11, 31, 68, 0.08);
    box-shadow: 0 5px 24px rgba(11, 31, 68, 0.05);
    z-index: 1030;
}

.samoweb-navbar .container {
    min-height: 76px;
}

/* Logo */
.samoweb-navbar .samoweb-logo {
    display: block;
    width: 155px;
    height: auto;
    max-height: 68px;
    object-fit: contain;
}

/* Desktop navigation */
.samoweb-nav-links {
    gap: 5px;
}

.samoweb-navbar .nav-link {
    color: #0B1F44 !important;
    font-weight: 600;
    font-size: 15px;
    padding: 12px 14px !important;
    border-radius: 10px;
    transition: 0.25s ease;
}

.samoweb-navbar .nav-link:hover {
    background: #EFF6FF;
    color: #2563EB !important;
}

/* Desktop: Hide hamburger, always show navigation */
@media (min-width: 992px) {

    .samoweb-navbar .samoweb-mobile-toggle {
        display: none !important;
    }

    .samoweb-navbar .navbar-collapse {
        display: flex !important;
        flex-basis: auto;
    }

    .samoweb-navbar .navbar-nav {
        flex-direction: row !important;
    }
}

/* Hamburger button */
.samoweb-mobile-toggle {
    border: 1px solid rgba(11, 31, 68, 0.15) !important;
    border-radius: 11px;
    width: 46px;
    height: 44px;
    padding: 10px;
    box-shadow: none !important;
    background-color: #ffffff !important;
}

.samoweb-mobile-toggle:focus {
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15) !important;
}

/* Mobile / Tablet navigation */
@media (max-width: 991.98px) {

    .samoweb-navbar .container {
        min-height: 68px;
    }

    .samoweb-navbar .samoweb-logo {
        width: 130px;
        max-height: 58px;
    }

    .samoweb-navbar .navbar-collapse {
        margin-top: 10px;
        margin-bottom: 14px;
        padding: 12px;
        background: #ffffff;
        border: 1px solid rgba(11, 31, 68, 0.08);
        border-radius: 16px;
        box-shadow: 0 12px 30px rgba(11, 31, 68, 0.08);
        max-height: calc(100vh - 90px);
        overflow-y: auto;
    }

    .samoweb-nav-links {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 4px;
    }

    .samoweb-navbar .nav-link {
        display: flex;
        align-items: center;
        width: 100%;
        padding: 13px 14px !important;
        color: #0B1F44 !important;
    }

    /* Mobile dropdown */
    .samoweb-navbar .dropdown-menu {
        position: static !important;
        width: 100%;
        margin: 3px 0 8px;
        border: none;
        border-radius: 12px;
        background: #F8FAFC;
        box-shadow: none;
        padding: 6px;
    }

    .samoweb-navbar .dropdown-item {
        padding: 12px 14px;
        border-radius: 9px;
        color: #0B1F44;
        white-space: normal;
    }

    .samoweb-navbar .dropdown-item:hover {
        background: #EAF2FF;
        color: #2563EB;
    }

    /* Contact CTA */
    .samoweb-navbar .nav-cta-item {
        margin-top: 8px;
    }

    .samoweb-navbar .btn-navbar {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 8px;
        width: 100%;
        min-height: 48px;
    }
}

/* Small mobile */
@media (max-width: 575.98px) {

    .samoweb-navbar .samoweb-logo {
        width: 120px;
    }

    .samoweb-mobile-toggle {
        width: 42px;
        height: 40px;
    }

    .samoweb-navbar .navbar-collapse {
        padding: 8px;
    }
}
