/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 1rem;
    border-bottom: 1px solid rgba(100, 116, 139, 0.2);
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
    position: relative;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.nav-logo img {
    height: 2.5rem;
    width: auto;
    transition: all 0.3s ease;
    filter: brightness(1) contrast(1.1) drop-shadow(0 0 10px rgba(96, 165, 250, 0.3));
}

.nav-logo:hover img {
    transform: scale(1.05);
    filter: brightness(1.2) contrast(1.2) drop-shadow(0 0 15px rgba(96, 165, 250, 0.4));
}

.nav-logo span {
    font-size: 1.25rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.025em;
}

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

.nav-links a {
    color: var(--text-dark-muted);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--text-dark);
    text-shadow: 0 0 20px rgba(96, 165, 250, 0.3);
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    margin-left: 1rem;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--text-dark-muted);
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Menu Mobile */
@media (max-width: 768px) {
    .nav-container {
        flex-wrap: nowrap;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100vw;
        background: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(12px);
        padding: 1rem;
        box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
        flex-direction: column;
        gap: 1rem;
        transform: translateX(-1rem);
        border-top: 1px solid rgba(100, 116, 139, 0.2);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-toggle {
        display: flex;
        order: 3;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
        background: var(--primary-color);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
        background: var(--primary-color);
    }
}

/* Ajustes para telas muito pequenas */
@media (max-width: 320px) {
    .nav-logo span {
        display: none;
    }
}

/* Ajustes para telas grandes */
@media (min-width: 1920px) {
    .nav-container {
        max-width: 1400px;
    }
} 