/* ============================================
   NAVBAR STYLING
   Extracted from: master.blade.php
   Used in: Homepage navigation
============================================ */

/* Navbar Base Styles */
.navbar-sticky {
    transition: all 0.3s ease;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Desktop: Sticky on scroll */
@media (min-width: 992px) {
    .navbar-sticky {
        position: sticky;
        top: 0;
        background-color: #ffffff;
    }

    .navbar-sticky .logo-navy {
        display: block !important;
    }

    .navbar-sticky .logo-white {
        display: none !important;
    }

    .navbar-sticky.scrolled {
        background-color: #001f49 !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    }

    .navbar-sticky.scrolled .logo-navy {
        display: none !important;
    }

    .navbar-sticky.scrolled .logo-white {
        display: block !important;
    }

    .navbar-sticky.scrolled .nav-link {
        color: #ffffff !important;
    }

    .navbar-sticky.scrolled .nav-link:hover {
        color: #00aeef !important;
    }
}

/* Desktop Navigation */
@media (min-width: 992px) {
    .navbar>.container {
        padding: 0 1rem;
    }

    .navbar-nav {
        margin-left: auto;
        display: flex;
        align-items: center;
    }

    .nav-item {
        margin: 0 0.75rem;
    }

    .navbar-sticky .nav-link {
        padding: 1rem !important;
        font-weight: 500;
        white-space: nowrap;
        color: #2c3e50 !important;
        transition: all 0.2s ease;
    }

    .navbar-sticky.scrolled .nav-link {
        color: white !important;
    }

    .navbar-sticky .nav-link:hover,
    .navbar-sticky .nav-link.active,
    .navbar-sticky.scrolled .nav-link:hover,
    .navbar-sticky.scrolled .nav-link.active {
        color: #00B5EC !important;
    }
}

/* Logo & Icon Styles */
.logo-white {
    display: none;
}

.mobile-user-icon {
    color: white;
    font-size: 1.4rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: transform 0.2s ease;
}

.mobile-user-icon:active {
    transform: scale(0.95);
}

/* User Icon */
.nav-link .bi-person-circle {
    transition: transform 0.2s ease;
}

.nav-link:hover .bi-person-circle {
    transform: scale(1.1);
}

.nav-hilang {
    display: none;
}
