/* Clean Text-Based Navigation Enhancements */

/* Subtle background on hover */
.masthead .greedy-nav .visible-links .masthead__menu-item a:hover {
    background: rgba(255, 255, 255, 0.12) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
}

/* Active/current page enhanced styling */
.masthead .greedy-nav .visible-links .masthead__menu-item.current-page a,
.masthead .greedy-nav .visible-links .masthead__menu-item a.current {
    background: rgba(255, 255, 255, 0.18) !important;
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
}

/* Theme toggle button enhanced styling */
.masthead .greedy-nav .masthead__menu-item--theme #theme-toggle {
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
}

.masthead .greedy-nav .masthead__menu-item--theme #theme-toggle:hover {
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2) !important;
}

/* Smooth loading animation */
.masthead {
    opacity: 0;
    animation: fadeInMasthead 0.8s ease-out 0.2s forwards;
}

@keyframes fadeInMasthead {
    from {
        opacity: 0;
        transform: translateY(-15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Add smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Responsive text adjustments */
@media (max-width: 768px) {
    .masthead .greedy-nav .visible-links .masthead__menu-item a {
        font-size: 0.95rem !important;
        padding: 12px 24px !important;
    }
}

@media (max-width: 480px) {
    .masthead .greedy-nav .visible-links .masthead__menu-item a {
        font-size: 0.85rem !important;
        padding: 8px 16px !important;
    }
}
