/* Navigation */
.navbar {
    background-color: white;
    padding: 1rem 2rem;
    min-height: 5rem;
    box-shadow: 0 2px 6px rgba(10,10,10,.05);
}

.navbar-item img {
    max-height: 3.5rem; /* Using max-height instead of height */
}

.logo-item {
    padding: 0.5rem 0;
}

.navbar-item {
    color: var(--aa-navy);
    font-weight: 500;
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
    position: relative;
}

/* Desktop-only underline hover effect */
@media screen and (min-width: 1024px) {
    .navbar-item:not(.logo-item)::after {
        content: '';
        position: absolute;
        width: 0;
        height: 2px;
        bottom: 0;
        left: 50%;
        background-color: var(--aa-gold);
        transition: all 0.3s ease;
    }

    .navbar-item:not(.logo-item):hover::after {
        width: 80%;
        left: 10%;
    }
}

.navbar-item:hover {
    color: var(--aa-gold);
    background-color: transparent !important;
}

/* Mobile menu styling */
.navbar-burger {
    color: var(--aa-navy);
    height: 5rem; /* Adjusted to match new navbar height */
}

.navbar-burger:hover {
    background-color: transparent;
}

.navbar-menu {
    padding: 1rem;
    box-shadow: none;
}

.navbar-menu.is-active {
    box-shadow: 0 8px 16px rgba(10,10,10,.1);
    margin-top: 0.5rem;
    background-color: white;
}

@media screen and (max-width: 1023px) {
    .navbar-menu {
        padding: 0;
        background-color: white;
    }

    .navbar-item {
        padding: 1rem;
        margin: 0;
    }

    .navbar-item:hover {
        color: var(--aa-gold);
    }

    .navbar-menu.is-active {
        animation: slideIn 0.2s ease;
    }
}

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