/* AppBar — gradient with soft shadow, vertically center all children.
   64px to match the logged-in app bar so the two shells feel uniform. */
.shaped-appbar.mud-appbar {
    box-shadow: 0 2px 12px rgba(30, 34, 64, 0.35) !important;
    z-index: 1300;
    overflow: visible !important;
}
.shaped-appbar.mud-appbar .mud-toolbar {
    height: 64px !important;
    min-height: 64px !important;
    display: flex;
    align-items: center;
}

/* Oversized logo — breaks out of the 64px bar and overhangs significantly
   below it. The ::after pseudo-element draws a soft elliptical drop-shadow
   under the swirl so it reads as a 3D element pushing through the bar. */
.logo-container {
    position: relative;
}
.logo-container::after {
    content: '';
    position: absolute;
    left: -26px;
    bottom: -30px;
    width: 200px;
    height: 50px;
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.25) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1300;
    pointer-events: none;
}
.logo-container .logo-image {
    height: 176px;
    position: relative;
    z-index: 1301;
    margin-top: 120px;
}

.logo-container .logo-text {
    color: white;
    margin-left: -4px;
    font-size: 1.75rem;
    font-weight: 450;
    letter-spacing: 0.04em;
}

/* Nav text button hover underline animation */
.nav-text-btn {
    position: relative;
    overflow: visible !important;
}
.nav-text-btn::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 1px;
    transition: width 0.25s ease, left 0.25s ease;
}
.nav-text-btn:hover::after {
    width: 60%;
    left: 20%;
}

/* Login CTA button — suppress MudBlazor default hover overlay */
.nav-login-btn .mud-button-root:hover,
.nav-login-btn:hover {
    background: rgba(255, 255, 255, 0.92) !important;
}

/* Desktop Menu - visible on larger screens */
.desktop-menu {
    display: flex;
    align-items: center;
}

/* Mobile Menu Button - hidden on larger screens */
.mobile-menu-button {
    display: none;
}

/* Responsive breakpoints */
@media (max-width: 960px) {
    .desktop-menu {
        display: none;
    }
    
    .mobile-menu-button {
        display: inline-flex;
    }
    
    .logo-container .logo-image {
        height: 160px;
        margin-top: 102px;
    }
    
    .logo-container .logo-text {
        font-size: 1.1rem;
    }
}

@media (max-width: 600px) {
    .logo-container .logo-image {
        height: 136px;
        margin-top: 84px;
    }
    
    .logo-container .logo-text {
        font-size: 1rem;
    }
}

/* Phone — at <=480px the "GP Clarity" wordmark next to the swirl logo
   crowds the hamburger button on the right side of the app bar. The
   swirl alone is recognisable enough on a small viewport (we still
   navigate to /  on click), so we hide the wordmark and shrink the
   swirl a touch further. The shadow ellipse also shrinks proportionally
   so it doesn't paint past the swirl's silhouette. */
@media (max-width: 480px) {
    .logo-container .logo-image {
        height: 116px;
        margin-top: 72px;
    }

    .logo-container .logo-text {
        display: none;
    }

    .logo-container::after {
        left: -20px;
        bottom: -22px;
        width: 160px;
        height: 40px;
    }

    /* Tighter app-bar inner padding so the swirl + spacer + hamburger
       fit comfortably without overlap on a 360px viewport. */
    .shaped-appbar.mud-appbar .mud-toolbar {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
}

/* Mobile Nav Menu Styling */
.mobile-nav-menu .mud-nav-link {
    color: white !important;
}

.mobile-nav-menu .mud-nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
}

.mobile-nav-menu .mud-nav-link.active {
    background-color: rgba(255, 255, 255, 0.15) !important;
}
