/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 0 2rem; /* Nav Horizontal padding must be same as the body padding */
    transition: all 0.3s ease;
}

.nav-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--very-dark-gray);
}

.logo {
    display: flex;
    align-items: center;
}

.logo svg {
    height: 80px;
    width: auto;
    margin: 0;
    margin-left: -24px; /* The logo image has 24px of padding and this is to remove it */
}

#logo-text {
    transform-origin: 88% 165%;
    transform: scale(1.7);
    transition: transform 0.3s ease-out, transform-origin 0.3s ease-out;
}

#logo-symbol {
    opacity: 0;
    transition: opacity 0.3s ease-out;
}

.navbar.scrolled #logo-text {
    transform: scale(1);
    transform-origin: center;
}

.navbar.scrolled #logo-symbol {
    opacity: 1;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin-bottom: 0;
}

.nav-item a {
    color: var(--primary-white);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.nav-item a:hover,
.nav-item a.active {
    background-color: var(--very-dark-gray);
    transform: translateY(-2px);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--primary-white);
    font-size: 1.5rem;
    cursor: pointer;
}