/**
 * navigation.css - Navigation styles for itsavibe.ai
 * Clean, modern nav bar with Inter font.
 */

.nav-container {
    position: sticky;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 15, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0, 200, 212, 0.12);
    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.5),
        0 1px 0 rgba(0, 200, 212, 0.06) inset;
    z-index: 1000;
}

.nav-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

.menu-items {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu-items li {
    margin: 0;
    padding: 0;
}

.menu-items li a {
    display: block;
    color: #9a93a8;
    text-decoration: none;
    padding: 15px;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
    font-size: 0.9rem;
    letter-spacing: 0.3px;
}

.menu-items li a:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #e8587a, #d4723c, #00c8d4);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.menu-items li a:hover:before {
    transform: scaleX(1);
}

.menu-items li a:hover {
    color: #00c8d4;
    text-shadow: 0 0 8px rgba(0, 200, 212, 0.25);
}

/* Auth nav link — Sign In / Dashboard */
.auth-nav-link {
    color: #00c8d4 !important;
    border: 1px solid rgba(0, 200, 212, 0.3);
    border-radius: 6px;
    padding: 8px 14px !important;
    margin-left: 4px;
    font-size: 0.85rem !important;
    transition: all 0.3s ease;
}

.auth-nav-link:hover {
    background: rgba(0, 200, 212, 0.1);
    border-color: #00c8d4;
    box-shadow: 0 0 12px rgba(0, 200, 212, 0.15);
}

.auth-nav-dashboard {
    color: #e8587a !important;
    border-color: rgba(232, 88, 122, 0.3);
}

.auth-nav-dashboard:hover {
    background: rgba(232, 88, 122, 0.1);
    border-color: #e8587a;
    box-shadow: 0 0 12px rgba(232, 88, 122, 0.15);
}

.auth-nav-admin {
    color: #d4723c !important;
    border-color: rgba(212, 114, 60, 0.3);
}

.auth-nav-admin:hover {
    background: rgba(212, 114, 60, 0.1);
    border-color: #d4723c;
    box-shadow: 0 0 12px rgba(212, 114, 60, 0.15);
}

.hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    color: #9a93a8;
    font-size: 1.5rem;
    padding: 10px;
    position: absolute;
    right: 20px;
    transition: color 0.3s ease;
}

.hamburger:hover {
    color: #00c8d4;
}

@media (max-width: 768px) {
    .nav-menu {
        padding: 10px 20px;
    }

    .menu-items {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: rgba(10, 10, 15, 0.95);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border-bottom: 1px solid rgba(0, 200, 212, 0.12);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        z-index: 100;
    }

    .menu-items.active {
        max-height: 500px;
    }

    .hamburger {
        display: block;
    }

    .menu-items li {
        width: 100%;
        text-align: center;
    }

    .menu-items li a {
        padding: 12px;
        border-bottom: 1px solid rgba(0, 200, 212, 0.05);
    }

    .auth-nav-link {
        margin-left: 0;
        border-radius: 0;
        border: none;
        border-bottom: 1px solid rgba(0, 200, 212, 0.05);
    }
}
