/* Update .nav-left to include the underline effect */
.nav-left {
    position: relative; /* Essential for the underline to sit correctly */
    font-weight: 600;
    letter-spacing: 0.08em;
    text-decoration: none;
    color: #fff;
    opacity: 0.8;
    padding-bottom: 4px; /* Space for the line */
    transition: opacity 0.25s ease;
    cursor: pointer;
}

/* The underline for "Garrett" */
.nav-left::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 0;
    background: #fff;
    transition: width 0.25s ease;
}

/* Hover state for both opacity and the underline */
.nav-left:hover {
    opacity: 1;
}

.nav-left:hover::after {
    width: 100%;
}

/* Rest of your navbar styles stay exactly the same */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    height: 70px;
    width: 100%;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #222;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    z-index: 10;
}

.nav-right a {
    position: relative;
    margin-left: 2rem;
    text-decoration: none;
    color: #fff;
    opacity: 0.8;
    padding-bottom: 4px;
    transition: opacity 0.25s ease;
}

.nav-right a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 0;
    background: #fff;
    transition: width 0.25s ease;
}

.nav-right a:hover {
    opacity: 1;
}

.nav-right a:hover::after {
    width: 100%;
}