/**
 * @file navigation.css
 * @description Bluedot Consulting - Navigation & Header Styles
 * Contains styles for the main header navigation, mobile menu,
 * navigation link hover effects, and responsive logo sizing
 * used across all pages of the Bluedot Consulting website.
 *
 * @version 1.0.0
 */

/* ============================================================================
   Desktop Navigation Links
   ============================================================================ */

#mainHeader .container .nav-link {
    position: relative;
}

#mainHeader .container .nav-link::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    left: 0;
    bottom: -5px;
    background-color: #fff;
    opacity: 0;
    transition: opacity 0.5s ease;
}

#mainHeader .container .nav-link:hover::after {
    opacity: 1;
}

#mainHeader .container .nav-link.active::after {
    opacity: 1;
}

/* ============================================================================
   Mobile Navigation Menu
   ============================================================================ */

#mobileMenu {
    transition: height 1s ease;
}

#mobileMenu.active {
    height: calc(100vh - 60px);
}

#mobileMenu .nav-link.active {
    background-color: #e6e6e6;
}

/* ============================================================================
   Responsive Logo Sizing
   ============================================================================ */

@media (min-width: 768px) and (max-width: 1024px) {
    .logo-img {
        width: 100px;
    }
}

@media (max-width: 768px) {
    .logo-img {
        width: 100px;
    }

    .favicon-icon {
        width: 40px !important;
        height: 40px !important;
    }
}
