/* USER ICON */
.fa-circle-user {
    color: white !important;
}

/* User Dropdown Styling */
.user-dropdown {
    position: relative !important;
}

.user-dropdown-toggle {
    background: none;
    border: none;
    padding: 0;
    color: white;
    display: flex !important;
    align-items: center !important;
}

.user-dropdown-toggle::after {
    display: none; /* Remove default dropdown arrow */
}

.user-dropdown-toggle:hover {
    color: #4f4d4e;
}

.user-dropdown-menu {
    position: absolute !important;
    right: 0 !important;
    left: auto !important;
    transform: none !important;
    min-width: 200px !important;
    background-color: #2d2d2d !important;
    border: 1px solid #3d3d3d !important;
    border-radius: 0.5rem !important;
    margin-top: 0.5rem !important;
    z-index: 100001 !important; /* Higher than blog sort dropdown */
    box-shadow: 0 8px 16px rgba(0,0,0,0.2) !important;
}

/* Add this to ensure the user dropdown stays in place */
.user-dropdown .dropdown-menu.show {
    position: absolute !important;
    inset: 0px auto auto 0px !important;
    transform: translate3d(0px, 40px, 0px) !important;
    right: 0 !important;
    left: auto !important;
}

.user-dropdown-menu .dropdown-header {
    color: #4f4d4e !important;
    font-weight: 600;
    padding: 0.75rem 1rem;
}

.user-dropdown-menu .dropdown-divider {
    border-color: #3d3d3d !important;
    margin: 0.25rem 0;
}

.user-dropdown-menu .dropdown-item {
    color: #e0e0e0 !important;
    padding: 0.6rem 1rem !important;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.user-dropdown-menu .dropdown-item i {
    width: 20px;
    margin-right: 8px;
    color: #4f4d4e;
}

.user-dropdown-menu .dropdown-item:hover {
    background-color: rgba(79, 77, 78, 0.15) !important;
    color: #ffffff !important;
}

.user-dropdown-menu .dropdown-item-form {
    margin: 0;
    padding: 0;
}

.user-dropdown-menu .dropdown-item-form button {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    color: #e0e0e0 !important;
    padding: 0.6rem 1rem !important;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.user-dropdown-menu .dropdown-item-form button:hover {
    background-color: rgba(220, 53, 69, 0.15) !important; /* Keep red for logout */
    color: #ff0000 !important;
}

/* Logout button styling desktop */
.user-dropdown-menu .dropdown-item-form button,
.user-dropdown-menu .dropdown-item-form button i {
    color: #dc3545 !important; /* Bootstrap Rot */
}

.user-dropdown-menu .dropdown-item-form button:hover {
    background-color: rgba(220, 53, 69, 0.15) !important; /* Rötlicher Hover-Effekt */
    color: #ff0000 !important;
}

/* User Info Header in Desktop Dropdown */
.user-info-header {
    padding: 0.75rem 1rem 1rem; /* Mehr Padding unten */
    background: linear-gradient(135deg, #1d1d1b 0%, #2d2d2d 100%);
    margin: -0.5rem -1px 0 -1px; /* Margin bottom auf 0 gesetzt */
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
}

.user-info {
    display: flex;
    align-items: center;
    padding: 0.25rem;
}

.desktop-user-avatar {
    width: 40px;
    height: 40px;
    margin-right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.desktop-user-avatar i {
    font-size: 2.2rem;
    color: #4f4d4e;
}

.user-info-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.user-info .username {
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 0.15rem; /* Reduziert von 0.25rem */
    line-height: 1.2; /* Hinzugefügt für kompaktere Darstellung */
}

.user-info .role {
    color: #6f6f6f;
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.2; /* Hinzugefügt für kompaktere Darstellung */
}

/* Remove blue dots/outline from account icon link */
a.color-black {
    text-decoration: none;
    outline: none;
    box-shadow: none;
}

a.color-black:focus,
a.color-black:active {
    outline: none;
    box-shadow: none;
    border: none;
}

/* MAIN ICON */
.trichtertrupp-logo {
    width: 64px;
    height: auto;
}

/* Make MAIN ICON selector more specific */
.tt-header-area .navbar .navbar-brand .trichtertrupp-logo,
.tt-header-area .trichtertrupp-logo {
    width: 64px;
    height: auto;
    background-color: transparent !important;
    background: none !important;
}

/* Ensure navbar-brand has no background */
.tt-header-area .navbar .navbar-brand {
    background-color: transparent !important;
    background: none !important;
}

/* HEADING BACKGROUND*/
.navbar {
    background-color: #1d1d1b !important;
    padding-top: 5px !important;
    padding-bottom: 5px !important;
}

/* HEADING LINKS*/
.navbar .nav-link, 
.offcanvas .nav-link {
    color: #ffffff !important;
    padding: 0.75rem 1rem;
    text-align: center;
    transition: color 0.3s ease; /* Für einen sanften Übergang */
}

/* HEADING LINK HOVER - nur Desktop */
@media (min-width: 768px) {
    .navbar .nav-link:hover {
        color: #4f4d4e !important;
        background-color: transparent;
    }
}

/* Mobile Hover-Effekt bleibt unverändert */
@media (max-width: 767.98px) {
    .navbar .nav-link:hover,
    .offcanvas .nav-link:hover {
        color: #d1d1d1 !important;
        background-color: rgba(255, 255, 255, 0.1);
        border-radius: 4px;
    }
}

/* LOGIN / LOGOUT BUTTONS HOVER */
.btn-primary {
    background-color: #666 !important;
    border-color: #666 !important;
    transition: background-color 0.3s ease-in-out, transform 0.2s ease-in-out;
}

.btn-primary:hover {
    background-color: #4f4d4e !important; /* Changed from purple */
    border-color: #4f4d4e !important;
    transform: scale(1.05);
    box-shadow: 0 0 10px #4f4d4e;
}

/* Enhanced Profile Image Styles - make these super specific to prevent override */
.tt-header-area .profile-thumbnail,
.navbar .profile-thumbnail,
.user-dropdown-toggle .profile-thumbnail,
.user-dropdown-toggle img.profile-thumbnail,
.user-dropdown .user-dropdown-toggle img.profile-thumbnail {
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    border: 2px solid #2d2d2d !important;
    background-color: transparent !important;
    background: none !important;
}

.tt-header-area .user-dropdown-toggle img,
.navbar .user-dropdown-toggle img {
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    background-color: transparent !important;
}

/* Fix for user icon */
.tt-header-area .fa-circle-user,
.navbar .fa-circle-user {
    color: white !important;
    background-color: transparent !important;
}

/* TEXT RIGHT NEXT TO MAIN ICON*/
.navbar-brand span {
    color: #ffffff !important;
}

/*MENU ICON COLOR WHITE*/
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba%28255, 255, 255, 1%29' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* Floating mobile menu button - fixed positioning */
.mobile-menu-floating-button {
    position: fixed !important;
    bottom: 20px !important;
    right: 20px !important;
    left: auto !important;
    transform: none !important;
    width: 56px !important;
    height: 56px !important;
    border-radius: 28px !important;
    background: #4f4d4e !important;
    border: none !important;
    color: white !important;
    box-shadow: 0 4px 12px rgba(79, 77, 78, 0.3) !important;
    display: none !important; /* Hide by default */
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s ease !important;
    z-index: 9999 !important;
}

/* Only show mobile menu elements on small screens */
@media (max-width: 767.98px) {
    .mobile-menu-floating-button {
        display: flex !important;
    }
    
    .offcanvas-bottom {
        display: block !important;
    }
}

/* Always hide mobile elements on desktop */
@media (min-width: 768px) {
    .mobile-menu-floating-button,
    .offcanvas-bottom#sideMenu {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }
}

/* Ensure any page-specific overlays don't cover the menu button */
.blog-filters-container,
.blog-sorting-container,
.filter-bar .dropdown-menu,
.sort-dropdown-menu {
    z-index: 1500 !important; /* Lower z-index than mobile menu */
}

/* Mobile menu button styling */
.mobile-menu-button {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    margin-bottom: 0.5rem;
    width: 100%;
    color: #e0e0e0;
    text-decoration: none;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
    background-color: #2d2d2d;
    border: 1px solid #3d3d3d;
    font-size: 1.1rem;
}

.mobile-menu-button i {
    width: 20px;
    margin-right: 10px;
    color: #4f4d4e;
    transition: color 0.2s ease;
}

.mobile-menu-button:hover {
    background-color: rgba(79, 77, 78, 0.15);
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.mobile-menu-button:hover i {
    color: #ffffff;
}

.mobile-menu-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Mobile menu section with improved spacing for buttons */
.mobile-menu-section {
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #3d3d3d;
    padding-bottom: 1rem;
}

/* Adjust spacing between mobile menu buttons */
.mobile-menu-section .mobile-menu-button:last-child {
    margin-bottom: 0;
}

/* Side menu styling (now bottom menu) */
.offcanvas {
    background-color: #1d1d1b !important;
    z-index: 100002 !important; /* Höher als alle anderen Elemente */
    border-top-left-radius: 20px !important;
    border-top-right-radius: 20px !important;
}

.offcanvas-bottom {
    height: auto !important;
    max-height: 90vh !important; /* Allow some space at top but don't take full height */
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

/* Offcanvas header styling */
.offcanvas-header {
    border-bottom: 1px solid #2d2d2d;
    padding: 1rem 1.5rem;
}

.offcanvas-title {
    color: #ffffff;
    font-size: 1.5rem;
}

.btn-close {
    background-color: #666 !important;
    opacity: 1;
    padding: 0.75rem;
    margin: 0;
}

/* Mobile auth container styles - updated */
.mobile-auth-container {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    gap: 15px !important;  /* Ensure consistent spacing */
    padding: 0 1rem !important;
}

/* Account icon in mobile menu - updated */
.account-icon-mobile {
    display: none !important;
}

/* Make the mobile auth elements more prominent */
.mobile-auth-container form#logout-form-mobile button {
    min-width: 120px !important;
}

.mobile-auth-container .fa-circle-user {
    font-size: 2.5rem !important;  /* Make icon slightly larger */
}

/* Mobile profile options */
.mobile-profile-options {
    width: 100%;
    max-width: 300px;
    margin-bottom: 1rem !important;
}

.mobile-profile-options .btn-outline-light {
    background-color: transparent;
    border-color: #3d3d3d;
    color: #e0e0e0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0.75rem 1rem;
}

.mobile-profile-options .btn-outline-light i {
    width: 20px;
    margin-right: 10px;
    color: #4f4d4e;
}

.mobile-profile-options .btn-outline-light:hover {
    background-color: rgba(79, 77, 78, 0.15);
    border-color: #4f4d4e;
    color: #ffffff;
    transform: translateY(-2px);
}

/* Verbesserte mobile Buttons */
.mobile-auth-container .btn-primary {
    width: 100% !important;
    padding: 0.75rem !important;
    margin-bottom: 0 !important;
    font-size: 1.1rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: #4f4d4e !important;
    border-color: #4f4d4e !important;
}

/* Mobile menu styling */
.mobile-menu-content {
    padding: 0 1rem;
}

/* User info section */
.mobile-user-info {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: linear-gradient(135deg, #1d1d1b 0%, #2d2d2d 100%);
    border-radius: 15px;
    margin-bottom: 1.5rem;
}

.user-avatar {
    width: 50px;
    height: 50px;
    margin-right: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-avatar i {
    font-size: 2.5rem;
    color: #4f4d4e;
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* User details in mobile menu */
.user-details {
    display: flex;
    flex-direction: column;
}

.user-details h4 {
    color: #ffffff;
    margin: 0;
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
}

.user-details .user-role {
    color: #6f6f6f;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Section styling */
.mobile-menu-section {
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #3d3d3d;
    padding-bottom: 1rem;
}

.mobile-menu-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.section-title {
    color: #666;
    font-size: 0.8rem; /* Vergrößert von 0.5rem */
    letter-spacing: 0.5px;
    margin-bottom: 0.6rem; /* Etwas mehr Abstand */
    padding-left: 0.5rem;
    opacity: 0.7; /* Etwas weniger transparent */
    font-weight: 400; /* Etwas dicker */
}

/* Navigation links */
.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mobile-menu-item {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    color: #e0e0e0;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease;
    background: rgba(45, 45, 45, 0.5);
}

.mobile-menu-item:hover,
.mobile-menu-item:active {
    background: rgba(79, 77, 78, 0.15);
    color: #ffffff;
    transform: translateX(5px);
}

.mobile-menu-item i {
    width: 24px;
    margin-right: 12px;
    color: #4f4d4e;
}

/* Logout button */
.mobile-logout-btn {
    width: 100%;
    padding: 1rem;
    background: #dc3545; /* Rot statt Lila */
    color: white;
    border: none;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.mobile-logout-btn:hover {
    background: #c82333; /* Dunkleres Rot beim Hover */
    transform: translateY(-2px);
}

.mobile-logout-btn i {
    margin-right: 10px;
}

/* Auth buttons for non-authenticated users */
.auth-buttons {
    display: flex;
    gap: 1rem;
}

.auth-button {
    flex: 1;
    padding: 1rem;
    text-align: center;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-button i {
    margin-right: 8px;
}

.auth-button.login {
    background: #2d2d2d;
    color: #e0e0e0;
}

.auth-button.register {
    background: #4f4d4e;
    color: white;
}

.auth-button:hover {
    transform: translateY(-2px);
    color: white;
}

.auth-button.login:hover {
    background: #3d3d3d;
}

.auth-button.register:hover {
    background: #6f6f6f;
}

/* Mobile specific styles */
@media (max-width: 767.98px) {
    /* Taller header */
    .navbar {
        padding-top: 25px !important;
        padding-bottom: 25px !important;
        min-height: 85px !important; /* Enforces minimum height */
    }
    
    /* Larger logo */
    .trichtertrupp-logo {
        width: 84px; /* Increased from 72px */
        height: auto;
    }
    
    .navbar-brand {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        align-items: center;
    }
    
    /* Larger brand text */
    .navbar-brand span {
        font-size: 1.5rem; /* Increased from 1.3rem */
        font-weight: 500;
    }
    
    /* Better spacing for menu items to fit all without scrolling */
    .offcanvas .nav-link {
        padding: 0.8rem 1rem;
        margin: 0.3rem 0;
        font-size: 1.2rem;
    }
    
    /* More compact spacing for the mobile menu */
    .offcanvas-body {
        padding-top: 0.5rem;
        padding-bottom: 1rem;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        min-height: 300px !important; /* Ensure enough height for centering */
    }
    
    /* Make sure buttons section doesn't push content too low */
    .offcanvas-body .d-flex.justify-content-center {
        margin-top: 1rem !important;
        flex: 1 !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important; /* This centers vertically */
        margin: auto 0 !important;
    }
    
    /* Ensure all content is visible */
    .offcanvas-body ul.navbar-nav {
        flex-grow: 0;
    }
    
    /* Better buttons in mobile menu */
    .offcanvas .btn-primary {
        padding: 10px 15px;
        font-size: 1.1rem;
    }
    
    /* Improved mobile menu animation */
    .offcanvas-bottom.showing,
    .offcanvas-bottom.show {
        transform: translateY(0);
    }
    
    .offcanvas-bottom.hiding,
    .offcanvas-bottom.hide {
        transform: translateY(100%);
    }
    
    /* Add some spacing above and below buttons */
    .offcanvas-body .d-flex.justify-content-center .d-flex.flex-column {
        margin: auto 0 !important;
        width: 100% !important;
    }
    
    /* Make buttons more prominent */
    .offcanvas-body .btn-primary {
        padding: 12px 15px !important;
        margin: 8px 0 !important;
        font-size: 1.2rem !important;
    }
    
    /* Change flex direction for button container to row */
    .offcanvas-body .d-flex.justify-content-center .d-flex.flex-column {
        flex-direction: row !important;
        justify-content: center !important;
        width: 100% !important;
        margin: auto 0 !important;
    }
    
    /* Remove the top margin between buttons and add horizontal spacing */
    .offcanvas .d-flex.flex-column a.btn-primary + a.btn-primary {
        margin-top: 0 !important;
        margin-left: 15px !important;
    }
    
    /* Adjust button sizing for side-by-side layout */
    .offcanvas-body .btn-primary {
        padding: 10px 15px !important;
        margin: 8px 0 !important;
        font-size: 1.1rem !important;
        /* Make buttons a bit narrower to fit side by side */
        min-width: 120px !important;
    }

    /* Ensure equal button sizes in mobile menu */
    .offcanvas-body .d-flex.justify-content-center .d-flex.flex-column a.btn-primary {
        padding: 10px 15px !important;
        margin: 8px 8px !important;
        font-size: 1.1rem !important;
        min-width: 120px !important;
        max-width: 120px !important;
        width: 120px !important;
        height: 44px !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }

    /* Clean up spacing between buttons */
    .offcanvas .d-flex.flex-column a.btn-primary:first-child {
        margin-right: 8px !important;
    }

    .offcanvas .d-flex.flex-column a.btn-primary:last-child {
        margin-left: 8px !important;
    }

    /* Make sure the auth container stays horizontal */
    .mobile-auth-container {
        flex-direction: row !important;
        flex-wrap: nowrap !important;
    }
    
    /* Ensure button and icon are properly sized and aligned */
    .mobile-auth-container form#logout-form-mobile button {
        height: auto !important;
        padding: 8px 15px !important;
    }
    
    .account-icon-mobile {
        padding: 8px !important;
    }

    /* Force horizontal layout for auth container */
    .offcanvas-body .d-flex.justify-content-center .mobile-auth-container {
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        display: flex !important;
        align-items: center !important;
    }
    
    /* Ensure logout button has proper sizing */
    .mobile-auth-container form#logout-form-mobile button {
        height: 44px !important;
        padding: 8px 15px !important;
        margin: 0 !important;
    }
    
    /* Remove any padding that might push icon down */
    .account-icon-mobile {
        padding: 0 !important;
        margin: 0 !important;
    }
    
    /* Force flexbox parent to use row direction */
    .offcanvas-body .d-flex.justify-content-center {
        flex-direction: row !important;
    }

    /* Ermöglicht Scrollen im mobilen Offcanvas-Menü */
    .mobile-offcanvas-scroll {
        max-height: 70vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 1.5rem;
    }
}

/* Make auth buttons smaller on desktop */
@media (min-width: 768px) {
    .navbar .d-flex .btn-tt-default {
        font-size: 1rem;
        padding: 0.25rem 0.8rem;
        height: auto;
    }
}

/* NOT HERE ANYMORE */
.hidden {
    display: none;
}

/* Fix for hidden items - make this more specific */
.navbar .nav-item.hidden,
.offcanvas .nav-item.hidden {
    display: none !important;
}

/* Fix for logout button alignment */
.navbar .d-flex.justify-content-center.align-items-center {
    display: flex !important;
    align-items: center !important;
    height: 100% !important;
}

/* Form containing logout button */
.navbar form#logout-form,
.offcanvas form#logout-form-mobile {
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
}

/* Consistent button styling */
.navbar .btn-primary,
.offcanvas .btn-primary {
    margin: 0 !important;
    line-height: 1.5 !important;
    height: auto !important;
    padding: 0.375rem 0.75rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Ensure consistent button styling across all pages */
.navbar .btn-primary,
.navbar .dropdown-toggle {
    padding: 0.375rem 0.75rem !important;
    font-size: 1rem !important;
    margin: 0 0.25rem !important;
}

/* User icon alignment */
.navbar a.color-black,
.offcanvas a.color-black {
    display: flex !important;
    align-items: center !important;
    height: 100% !important;
    margin-left: 0.5rem !important;
}

/* Add space between login and register buttons */
.navbar .d-flex.justify-content-center a.btn-primary + a.btn-primary {
    margin-left: 15px !important;
}

/* Also ensure spacing in mobile view */
.offcanvas .d-flex.flex-column a.btn-primary + a.btn-primary {
    margin-top: 10px !important;
}

/* Dropdown divider */
.dropdown-divider {
    margin: 0.25rem 0 !important;
    border-color: #3d3d3d !important;
    opacity: 0.8 !important;
}

/* Profile Image Styles 
.profile-thumbnail {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #2d2d2d;
}*/

.user-dropdown-toggle img {
    width: 40px;
    height: 40px;
}

/* 
 * High-specificity selectors for header to override any page-specific styles
 * These rules ensure consistent header styling across all pages
 */
.tt-header-area .navbar .nav-link {
    color: #ffffff !important;
    padding: 0.75rem 1rem !important;
    margin: 0 !important;
}

.tt-header-area .navbar .nav-link:hover {
    color: #4f4d4e !important;
    background-color: transparent !important;
}

/* Force spacing between buttons */
.tt-header-area .navbar .btn-primary {
    margin: 0 0.25rem !important;
    padding: 0.375rem 0.75rem !important;
    font-size: 1rem !important;
    line-height: 1.5 !important;
    box-shadow: none !important;
    transform: none !important;
}

/* Always hide hidden elements with maximum specificity */
.tt-header-area .navbar .hidden, 
.tt-header-area .navbar .nav-item.hidden,
.tt-header-area .navbar li.hidden,
.tt-header-area .navbar li.nav-item.hidden {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
    position: absolute !important;
    overflow: hidden !important;
}

/* Fix button hover effects */
.tt-header-area .navbar .btn-primary:hover {
    background-color: #4f4d4e !important;
    border-color: #4f4d4e !important;
    transform: scale(1.05) !important;
    box-shadow: 0 0 10px #4f4d4e !important;
}