/* Desktop Navbar Styling */

/* Ensure navbar has proper layout on desktop */
@media (min-width: 992px) {
    .navbar {
        display: flex;
        align-items: center;
        padding: 15px 30px;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
        background-color: var(--dark);
    }
    
    /* Style the navbar brand */
    .navbar-brand {
        margin-right: 30px;
    }
    
    /* Style the navbar navigation - centered */
    .navbar-nav {
        display: flex;
        flex-direction: row;
        align-items: center;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
    
    /* Style the navigation links */
    .navbar-nav .nav-link {
        padding: 0 15px;
        color: var(--light);
        font-weight: 500;
        transition: all 0.3s ease;
    }
    
    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link.active {
        color: var(--primary);
    }
    
    /* Hide mobile menu toggle button in desktop view */
    .navbar-toggler {
        display: none;
    }
    
    /* User dropdown styles */
    .dropdown-toggle-no-caret::after {
        display: none;
    }
    
    .nav-item.dropdown {
        margin-left: 15px;
        position: relative;
    }
    
    .nav-item.dropdown .fa-user-circle {
        font-size: 1.2rem;
        color: #fff;
    }
    
    .user-dropdown {
        display: none;
        position: absolute;
        min-width: 160px;
        background-color: #fff;
        box-shadow: 0 8px 16px rgba(0,0,0,0.1);
        border-radius: 4px;
        padding: 8px 0;
        z-index: 1000;
        top: 100%;
        right: 0;
        transition: all 0.3s ease;
        margin-top: 10px;
    }
    
    .nav-item.dropdown:hover .user-dropdown {
        display: block;
    }
    
    .dropdown-item {
        display: block;
        width: 100%;
        padding: 8px 16px;
        clear: both;
        font-weight: 400;
        color: #212529;
        text-align: inherit;
        white-space: nowrap;
        background-color: transparent;
        border: 0;
        text-decoration: none;
        transition: background-color 0.2s ease;
    }
    
    .dropdown-item:hover, .dropdown-item:focus {
        color: #16181b;
        text-decoration: none;
        background-color: #f8f9fa;
    }
    
    /* Add a small triangle/arrow to the dropdown */
    .user-dropdown::before {
        content: '';
        position: absolute;
        top: -10px;
        right: 10px;
        border-left: 10px solid transparent;
        border-right: 10px solid transparent;
        border-bottom: 10px solid #fff;
    }
    
    /* Desktop Social Media Icons */
    .desktop-social-icons {
        /* Ensure social icons container is always visible on all pages */
        display: flex !important;
        align-items: center;
        position: absolute;
        right: 30px;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .desktop-social-icons .social-icon {
        margin-left: 15px;
        font-size: 1.2rem;
        color: #fff;
        transition: all 0.3s ease;
    }
    
    .desktop-social-icons .social-icon:hover {
        transform: scale(1.1);
    }
    
    .desktop-social-icons .fa-instagram:hover {
        color: #e1306c;
    }
    
    .desktop-social-icons a[aria-label="TikTok"] {
        /* Ensure TikTok link is always visible on all pages */
        display: flex !important;
    }
    
    .desktop-social-icons .fa-tiktok {
        /* Ensure TikTok icon is always visible on all pages */
        display: inline-block !important;
    }
    
    .desktop-social-icons .fa-tiktok:hover {
        color: #69C9D0;
    }
    
    .desktop-social-icons .fa-yelp:hover {
        color: #d32323;
    }
}