/* Astler Engineering Main Styles */
body { font-family: 'Inter', sans-serif; } 

/* Auth Display Rules */
body:not(.astler-logged-in) #auth-links,
body:not(.astler-logged-in) #mobile-auth-links { 
    display: none !important; 
}

body.astler-logged-in #guest-links,
body.astler-logged-in #mobile-guest-links { 
    display: none !important; 
}

body.astler-logged-in #auth-links,
body.astler-logged-in #mobile-auth-links { 
    opacity: 1 !important; 
    pointer-events: auto !important; 
    display: flex !important;
}

/* Mobile menu slider */
#mobile-menu {
    transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
}
#mobile-menu.open {
    max-height: 500px;
    opacity: 1;
}

/* Swup Transitions */
.transition-fade {
    transition: 0.4s;
    opacity: 1;
}
html.is-animating .transition-fade {
    opacity: 0;
    transform: translateY(10px);
}

/* Custom Scrollbar for better aesthetics */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}
