.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    height: 60px;
    background: -webkit-linear-gradient(90deg, #b2f326, #f3c200, #ff8a2a, #ff5264, #ed3896);
    background: linear-gradient(90deg, #b2f326, #f3c200, #ff8a2a, #ff5264, #ed3896);
    background-size: 600% 600%;
    animation: carnavalGradientRTL 12s ease infinite;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);

    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.navbar .brand-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-family: "Kablammo", system-ui;
    text-align: center;
}

.navbar ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 20px;
}

.navbar ul li a {
    text-decoration: none;
    font-weight: 500;
    color: var(--white);
    transition: color 0.2s ease;
}

.navbar ul li a:hover {
    color: var(--black);
}

.sidenav-trigger {
    display: none;
    cursor: pointer;
}

.sidenav-trigger i {
    font-size: 1.8rem;
    color: var(--white);
}

#mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 250px;
    height: 100%;
    background-color: var(--white);
    padding-top: 60px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-left: 20px;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 999;
}

#mobile-nav.active {
    transform: translateX(0);
}

#mobile-nav li {
    margin-bottom: 12px;
    list-style: none;
}

#mobile-nav li a {
    display: block;
    padding: 12px 20px;
    font-size: 1.2rem;
    color: var(--gray-900);
    text-decoration: none;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

#mobile-nav li a:hover {
    background: -webkit-linear-gradient(90deg, #b2f326, #f3c200, #ff8a2a, #ff5264, #ed3896);
    background: linear-gradient(90deg, #b2f326, #f3c200, #ff8a2a, #ff5264, #ed3896);
    background-size: 600% 600%;
    animation: carnavalGradientRTL 12s ease infinite;
    color: var(--white);
    transform: translateX(5px);
}

.nav-icons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.nav-icons a {
    color: var(--white);
    font-size: 1.2rem;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

.nav-icons a:hover {
    color: var(--orange-500);
    transform: scale(1.1);
}

body.no-scroll {
    overflow: hidden;
    height: 100vh;
}

#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 998;
    pointer-events: auto;
}

#overlay.active {
    display: block;
}