/* MeisterWartung Header CSS - Lila Theme */
.doctolib-header {
    background: #66228a;
    width: 100%;
    position: relative;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(102, 34, 138, 0.1);
    border-bottom: 3px solid #4c1d95;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

/* Logo Styling */
.header-logo {
    flex-shrink: 0;
    margin-left: -20px;
}

.logo-image {
    height: 70px;
    width: auto;
    filter: none;
    transition: all 0.3s ease;
    margin-top: -10px;
}

.logo-image:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 12px rgba(255, 255, 255, 0.3));
}

/* Navigation Styling */
.header-nav {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-right: -20px;
}

/* Unternehmen Button */
.nav-button {
    background: #ffffff;
    color: #66228a;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    border: none;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.nav-button:hover {
    background: #f8f9fa;
    color: #66228a;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    text-decoration: none;
}

.nav-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Hilfebereich Link */
.help-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    padding: 10px 16px;
    border-radius: 6px;
}

.help-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    text-decoration: none;
    transform: translateY(-1px);
}

.help-link i {
    font-size: 18px;
}

/* User Section */
.user-section {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    padding: 10px 16px;
    border-radius: 6px;
}

.nav-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    text-decoration: none;
    transform: translateY(-1px);
}

.nav-link i {
    font-size: 18px;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    color: #ffffff;
    font-size: 24px;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Mobile Navigation */
.mobile-nav {
    display: none;
    background: #ffffff;
    border-top: 1px solid #e9ecef;
    box-shadow: 0 4px 12px rgba(102, 34, 138, 0.1);
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1001;
}

.mobile-nav.active {
    display: block;
    animation: slideDown 0.3s ease;
}

.mobile-nav-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mobile-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    color: #333333;
    text-decoration: none;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
}

.mobile-nav-item:hover {
    background: #e9ecef;
    color: #333333;
    text-decoration: none;
    transform: translateX(5px);
}

.mobile-nav-item i {
    font-size: 18px;
    color: #66228a;
    width: 20px;
    text-align: center;
}

/* Animationen */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .header-container {
        padding: 0 20px;
    }
    
    .logo-image {
        height: 55px;
        margin-top: -5px;
    }
    
    .header-logo {
        margin-left: -10px;
    }
}

@media (max-width: 480px) {
    .header-container {
        padding: 0 15px;
    }
    
    .logo-image {
        height: 50px;
        margin-top: -3px;
    }
    
    .mobile-nav-content {
        padding: 15px;
    }
    
    .mobile-nav-item {
        padding: 12px;
        font-size: 14px;
    }
}

/* Hover Effects für Desktop */
@media (min-width: 769px) {
    .nav-button:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
    }
    
    .help-link:hover,
    .nav-link:hover {
        transform: translateY(-2px);
        background: rgba(255, 255, 255, 0.15);
    }
}

/* Focus States für Accessibility */
.nav-button:focus,
.help-link:focus,
.nav-link:focus {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}

/* Smooth Transitions */
* {
    transition: all 0.3s ease;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #66228a;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #4c1d95;
}
