/* navbar.css - Modern styles for Laravel 12 navbar */

/* Modern navbar styling */
.modern-navbar {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%) !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    padding: 0.8rem 0;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

/* Navbar brand styling */
.modern-navbar .navbar-brand {
    font-size: 1.8rem;
    background: linear-gradient(to right, #ffffff, #cccccc);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    padding: 0.2rem 0;
    transition: all 0.3s ease;
}

.modern-navbar .navbar-brand:hover {
    transform: scale(1.05);
}

/* Navbar link styling */
.modern-navbar .nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 500;
    margin: 0 0.2rem;
    padding: 0.5rem 1rem !important;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.modern-navbar .nav-link:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, #6366f1, #8b5cf6);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.modern-navbar .nav-link:hover {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.modern-navbar .nav-link:hover:before {
    width: 70%;
}

/* Dropdown menu styling */
.modern-navbar .dropdown-menu {
    background: #2d2d2d;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    overflow: hidden;
}

.modern-navbar .dropdown-item {
    color: rgba(255, 255, 255, 0.85);
    padding: 0.75rem 1.25rem;
    transition: all 0.2s ease;
}

.modern-navbar .dropdown-item:hover {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
}

/* Spacer to account for fixed navbar */
.navbar-spacer {
    height: 76px; /* Adjust based on your navbar height */
}

/* Mobile responsiveness */
@media (max-width: 991.98px) {
    .modern-navbar .navbar-collapse {
        background: #2d2d2d;
        padding: 1rem;
        border-radius: 0 0 8px 8px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
        margin-top: 0.5rem;
    }
    
    .modern-navbar .nav-link {
        margin: 0.2rem 0;
    }
    
    .navbar-spacer {
        height: 70px;
    }
}

/* Animation for navbar toggler */
.navbar-toggler {
    border: none;
    outline: none !important;
    box-shadow: none !important;
}

.navbar-toggler:focus {
    outline: none;
    box-shadow: none;
}

/* Subtle animation for dropdown */
.dropdown-menu {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}