.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 2rem;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    z-index: 1000;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.navbar-logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
    margin-right: 1rem;
}

.navbar-logo {
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
}

.navbar-logo:hover {
    color: #ffd700;
}

.navbar-logo span {
    transition: opacity 0.3s ease;
}

@media (max-width: 1510px) {
    .navbar-logo span {
        font-size: 1rem;
    }
}

@media (max-width: 1400px) {
    .navbar-logo span {
        display: none;
    }
}

.navbar-burger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.navbar-burger span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: white;
    transition: all 0.3s ease;
}

.navbar-burger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.navbar-burger.active span:nth-child(2) {
    opacity: 0;
}

.navbar-burger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.navbar-menu {
    display: flex;
    gap: 1rem;
}

.navbar-item {
    color: white;
    background-color: rgba(255, 255, 255, 0.2);
    position: relative;
    padding: 0.5rem 1rem;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.05rem;
    border-radius: 22px;
    transition: background 0.3s, color 0.3s, box-shadow 0.3s;
    overflow: hidden;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-item::after {
    content: '';
    position: absolute;
    left: 20%;
    right: 20%;
    bottom: 8px;
    height: 2px;
    background: #ffd700;
    border-radius: 2px;
    transform: scaleX(0);
    transition: transform 0.3s cubic-bezier(.4,0,.2,1);
    z-index: 2;
}

.navbar-item i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.navbar-item:hover,
.navbar-item:focus {
    background: rgba(255, 215, 0, 0.15);
    color: #ffd700;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.2);
}

.navbar-item:hover::after,
.navbar-item:focus::after {
    transform: scaleX(1);
}

.navbar-item:hover i {
    transform: scale(1.1);
}

@media (max-width: 968px) {
    .navbar {
        padding: 0.5rem 1rem;
    }

    .navbar-brand {
        width: 100%;
        justify-content: space-between;
    }

    .navbar-burger {
        display: flex;
        margin-left: auto;
    }

    .navbar-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: rgba(0, 0, 0, 0.9);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 1rem;
        gap: 0.5rem;
    }

    .navbar-menu.active {
        display: flex;
    }

    .navbar-item {
        width: 100%;
        justify-content: center;
        padding: 0.75rem 1rem;
    }

    .navbar-item::after {
        display: none;
    }
} 