/* app/static/css/landing/navbar.css */

/* Navbar Container */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    /* Edgemant Blue background, high transparency for glassmorphism */
    background: rgba(10, 23, 51, 0.5); 
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0, 242, 254, 0.1); 
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Nav Layout - Full width, logo to the left */
.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem 3rem;
    width: 100%;
}

/* Brand / Logo */
.nav-brand {
    flex: 1;
    display: flex;
    justify-content: flex-start;
}

.nav-brand-container {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
}

.brand-icon-box {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-text-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.brand-main-title {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
    letter-spacing: 1px;
}

.brand-subtitle {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.75rem;
    color: var(--accent-cyan, #00f2fe);
    font-weight: 500;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

/* Menu Links */
.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 1.5rem;
}

.nav-menu li a {
    font-family: 'Inter', 'Space Grotesk', sans-serif;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
}

.nav-menu li a:hover {
    color: var(--accent-cyan, #00f2fe);
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-cyan, #00f2fe);
    transition: width 0.3s ease;
}

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

/* Actions Area */
.header-actions {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
}

/* Language Selector */
.language-select-form {
    margin: 0;
}

.form-select-language {
    background-color: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    padding: 0.4rem 2rem 0.4rem 0.8rem;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.5rem center;
    background-size: 1.2em;
    transition: all 0.3s ease;
}

.form-select-language:hover,
.form-select-language:focus {
    border-color: var(--accent-cyan, #00f2fe);
    outline: none;
}

/* Buttons */
.auth-link.cta-button {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: #ffffff;
    background: linear-gradient(135deg, #00e6ff 0%, #0099cc 100%);
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 230, 255, 0.3);
}

.auth-link.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 230, 255, 0.4);
}

/* User Info */
.user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.profile-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.profile-link:hover {
    transform: translateY(-1px);
}

.avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(0, 230, 255, 0.15);
    border: 1px solid var(--accent-cyan, #00f2fe);
    color: var(--accent-cyan, #00f2fe);
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-welcome {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.9rem;
    color: #ffffff;
    font-weight: 500;
}

/* Mobile Menu & Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #ffffff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100vh;
    background: rgba(10, 23, 51, 0.98);
    z-index: 1000;
    padding: 80px 2rem 2rem;
    transition: right 0.4s ease;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.5);
    border-left: 1px solid rgba(0, 242, 254, 0.1);
}

.mobile-nav[aria-hidden="false"] {
    right: 0;
}

.mobile-nav ul {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.mobile-nav ul li a {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.2rem;
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.mobile-nav ul li a:hover {
    color: var(--accent-cyan, #00f2fe);
}

.mobile-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 1024px) {
    .hamburger {
        display: flex;
    }
    .nav-menu, .header-actions {
        display: none;
    }
}

