.top-nav {
    background: linear-gradient(135deg, rgba(72, 187, 120, 0.95) 0%, rgba(56, 178, 172, 0.95) 25%, rgba(79, 172, 254, 0.95) 50%, rgba(129, 140, 248, 0.95) 75%, rgba(168, 162, 158, 0.95) 100%);
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    font-family: 'Montserrat', sans-serif;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
}

.brand {
    font-family: 'Playfair Display', serif;
    color: white;
    text-decoration: none;
    font-size: 1.8rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: white;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.menu-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
}

.nav-links {
    display: flex;
    gap: 24px;
    align-items: center;
}

.nav-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    padding: 8px 16px;
    border-radius: 8px;
}

.nav-link:hover {
    color: white;
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.nav-link.active {
    color: white;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.2);
}

.user-menu {
    position: relative;
    display: inline-block;
}

.user-menu-toggle {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    padding: 8px 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    transition: all 0.3s;
}

.user-menu-toggle:hover {
    color: white;
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.user-menu-content {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    background: rgb(71, 172, 255);
    box-shadow: 0 4px 12px rgba(44,62,80,0.1);
    border-radius: 8px;
    min-width: 180px;
    padding: 8px 0;
    margin-top: 8px;
}

.user-menu-content.show {
    display: block;
}

.user-menu-item {
    display: block;
    padding: 8px 16px;
    color: #555;
    text-decoration: none;
    transition: all 0.3s;
}

.user-menu-item:hover {
    background: rgba(191, 164, 111, 0.1);
    color: #bfa46f;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        color: white;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background: rgba(72, 187, 120, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
        border-radius: 0 0 15px 15px;
        gap: 8px;
    }

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

    .nav-link {
        color: white;
        padding: 12px 16px;
        border-radius: 8px;
        font-weight: 600;
    }

    .nav-link:hover {
        background: rgba(255, 255, 255, 0.2);
        transform: translateX(5px);
    }

    .user-menu-content {
        position: static;
        box-shadow: none;
        margin-top: 0;
        padding-left: 16px;
        background: transparent;
    }

    .user-menu-item {
        color: white;
    }

    .user-menu-item:hover {
        background: rgba(255, 255, 255, 0.2);
        color: white;
    }
}