/* components/navbar/NavBar.css */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 90px;
    background-color: rgba(10, 10, 10, 0.7);
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: all 0.4s ease;
    box-sizing: border-box;
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 25px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box; 
}

.navbar.navbar-active {
    height: 70px;
    background-color: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 0, 128, 0.3);
}

/* --- LOGO --- */
.logo {
    text-decoration: none;
    min-width: 0;
    max-width: calc(100% - 50px);
}
.logo h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1rem, 5vw, 1.5rem);
    color: #fff;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.logo h1 span { color: #ff0080; }

/* --- LINKS --- */
.nav-links {
    display: flex;
    gap: 25px;
    list-style: none;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-links li a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    font-weight: 600;
    transition: 0.3s;
}

.nav-links li a:hover, .nav-links li a.active { color: #ff0080; }

/* --- BOTÃO --- */
.btn-nav {
    padding: 10px 22px;
    background: linear-gradient(90deg, #FF0080, #7928CA);
    color: #fff;
    border-radius: 50px;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
    transition: 0.3s;
    text-align: center;
}

.btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 0, 128, 0.4);
}

.btn-desktop { display: inline-block; }
.mobile-menu-header, .mobile-menu-footer { display: none; }

/* --- HAMBÚRGUER --- */
.mobile-menu-icon {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1100;
}

.mobile-menu-icon span {
    width: 100%;
    height: 3px;
    background-color: #fff;
    border-radius: 10px;
    transition: 0.4s;
}

/* --- RESPONSIVO --- */
@media (max-width: 1024px) {
    .btn-desktop { display: none; } 
    .mobile-menu-icon { display: flex; }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        height: 100vh;
        height: 100dvh;
        background-color: #0f0f0f;
        flex-direction: column;
        justify-content: flex-start;
        padding: 100px 30px;
        transition: 0.5s ease-in-out;
        z-index: 1050;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .nav-links.active { right: 0; }
    
    .mobile-menu-header { display: block; margin-bottom: 30px; }
    .mobile-menu-header h2 { color: #fff; font-size: 1.4rem; border-bottom: 2px solid #ff0080; }
    
    .mobile-menu-footer { display: block; margin-top: 40px; margin-bottom: 50px; width: 100%; }
    .mobile-menu-footer .btn-nav { display: block; width: 100%; text-align: center; }

    .mobile-menu-icon.toggle span:nth-child(1) { transform: rotate(-45deg) translate(-5px, 6px); }
    .mobile-menu-icon.toggle span:nth-child(2) { opacity: 0; }
    .mobile-menu-icon.toggle span:nth-child(3) { transform: rotate(45deg) translate(-6px, -8px); }
}