/* Navigation Menu Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.navigation-container {
    width: 197px;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.navigation-container:hover {
    transform: none;
}

.nav-header {
    background: url('/Designer/l-quick-u.jpg') no-repeat;
    height: 40px;
    border: none;
    padding: 0;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-title {
    color: #666;
    font-size: 14px;
    font-weight: 600;
    text-shadow: none;
}

.nav-menu {
    background: url('/Designer/l-quick-bg.jpg') repeat-y;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-footer {
    background: url('/Designer/l-quick-b.jpg') no-repeat;
    height: 12px;
    width: 197px;
}

.nav-item {
    border-bottom: none;
}

.nav-item:last-child {
    border-bottom: none;
}

.nav-link {
    display: flex;
    align-items: center;
    padding: 8px 20px;
    color: #808080;
    text-decoration: none;
    font-size: 12px;
    font-weight: 400;
    transition: all 0.3s ease;
    position: relative;
    background: transparent;
    line-height: 10px;
    margin-bottom: 8px;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 15px;
    width: 160px;
    height: calc(100% - 4px);
    background: linear-gradient(90deg, transparent, rgba(128, 128, 128, 0.05), transparent);
    transition: opacity 0.3s ease;
    opacity: 0;
    border-radius: 4px;
}

.nav-link:hover::before {
    opacity: 1;
}

.nav-link:hover {
    background: transparent;
    color: #666;
    transform: none;
    box-shadow: none;
}

.nav-link:focus {
    outline: 1px solid #999;
    outline-offset: -1px;
    border-radius: 4px;
    /* Create a custom focus area that's narrower */
}

.nav-link:focus::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 10px;
    width: 154px;
    height: calc(100% - 4px);
    border: 1px solid #999;
    border-radius: 4px;
    pointer-events: none;
}

/* Hide the default outline when using custom focus */
.nav-link:focus {
    outline: none;
}

.nav-icon {
    width: 24px;
    height: 24px;
    margin-right: 5px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
    opacity: 1;
    transition: all 0.3s ease;
    vertical-align: middle;
}

.nav-link:hover .nav-icon {
    opacity: 1;
    transform: none;
}

/* Use your original icon files */
.icon-home { background-image: url('/Designer/Logo.png'); }
.icon-about { background-image: url('/Designer/About.png'); }
.icon-contact { background-image: url('/Designer/Contact.png'); }
.icon-invoices { background-image: url('/Designer/Excel.png'); }
.icon-maps { background-image: url('/Designer/Maps.png'); }
.icon-facebook { background-image: url('/Designer/Facebook.png'); }
.icon-instagram { background-image: url('/Designer/Instagram.png'); }

/* Responsive Design */
@media (max-width: 768px) {
    .navigation-container {
        width: 100%;
        max-width: 197px;
        margin: 0 auto;
    }
    
    .nav-link {
        padding: 10px 20px;
        font-size: 12px;
    }
    
    .nav-icon {
        width: 24px;
        height: 24px;
    }

    .nav-menu {
        background-size: 100% auto;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    body {
        background-color: #1a1a1a;
    }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    .navigation-container,
    .nav-link,
    .nav-icon,
    .nav-link::before {
        transition: none;
    }
    
    .navigation-container:hover {
        transform: none;
    }
    
    .nav-link:hover {
        transform: none;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .navigation-container {
        border: 2px solid white;
    }
    
    .nav-link {
        border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    }
}